Ubuntu – Desativar Caps Lock via linha de comando

Dica rápida e rasteira

Fonte: https://askubuntu.com/questions/80254/how-do-i-turn-off-caps-lock-the-lock-not-the-key-by-command-line/80301

Using xdotool

  1. Install it
    sudo apt-get install xdotool
    
  2. Send a CAPS down/up event
    xdotool key Caps_Lock
    

Another tool is xte

  1. Install it
    sudo apt-get install xautomation
    
  2. Send a CAPS lock down/up event
    xte "key Caps_Lock"

 

Anúncios

Alterando botões das janelas – Ubuntu MATE

$ dconf-editor

opção:

org > mate > marco > general

button-layout

Seleção_044

 

 

FIREFOX – Error code: SEC_ERROR_OCSP_TRY_SERVER_LATER

Solução:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(2) In the search box above the list, type or paste ocsp and pause while the list is filtered

(3) Double-click the security.ssl.enable_ocsp_stapling preference to switch it from true to false

 

fonte: https://support.mozilla.org/en-US/questions/1120024

verificar configurações do pc via linha de comando

sudo dmidecode

ou colocando o nome [hardware]

bios
system
baseboard
chassis
processor
memory
cache
connector
slot

sudo dmidecode –type [hardware]

convertendo mp4 para gif

via linha de comando:

ffmpeg -i video.mp4 -pix_fmt rgb24 saida.gif

Raiz quadrada por subtrações

Fonte: https://m.facebook.com/matematicario/?refid=28&_ft_=qid.6425222885790652380%3Amf_story_key.5448959895964719049%3Atop_level_post_id.1350117815105105&__tn__=C

Método da borboleta

Para soma de frações

Fonte: https://m.facebook.com/CarlSaganIronico/?refid=28&_ft_=qid.6424806858089504046%3Amf_story_key.6320874588181913306%3Atop_level_post_id.1469008679824481&__tn__=C