User Tools

Site Tools


wiki:cmds:cmds-linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:cmds:cmds-linux [2026/01/13 13:10] – [comando du - disk usage] cleitonwiki:cmds:cmds-linux [2026/04/03 01:52] (current) – [Headset Bluetooth Arch] cleiton
Line 33: Line 33:
   * https://github.com/yt-dlp/   * https://github.com/yt-dlp/
   * https://github.com/ytdl-org/youtube-dl   * https://github.com/ytdl-org/youtube-dl
 +
 +  #download direto formato opus, áudio
 +  yt-dlp --extract-audio https://www.youtube.com/watch?v=ncvq6XnxUlg
 +
 +  #download somente áudio em formato mp3 melhor qualidade
 +  yt-dlp -i --extract-audio --audio-format mp3 --audio-quality 0 "https://www.youtube.com/watch?v=ncvq6XnxUlg"
 +
 +  #download de playlist em mp3
 +  yt-dlp -i --extract-audio --audio-format mp3 --audio-quality 0 --yes-playlist  "https://www.youtube.com/watch?v=YNef4zocPBg&list=OLAK5uy_nPcAiV4RPwvot463VwZFOH1wI3yibxUeM&index=1"
 +
 ===== Virtualbox ===== ===== Virtualbox =====
  
Line 190: Line 200:
  
  
-===== Headset Bluetooth Arch ===== 
  
-  $ pikaur -S pulseaudio-alsa pulseaudio-bluetooth bluez-utils 
-  $ sudo systemctl status bluetooth.service 
-  $ sudo systemctl enable bluetooth.service 
-  $ sudo systemctl start bluetooth.service 
-  $ sudo systemctl status bluetooth.service 
-   
-  #GUI para gerenciamento 
-  $ pikaur -Sy blueman 
- 
-Caso não reconheça, use a cli: 
- 
-<cli> 
-$ bluetoothctl 
-[bluetooth]# power on 
-[bluetooth]# agent on 
-[bluetooth]# default-agent 
-[bluetooth]# scan on 
-[NEW] Device 00:1D:43:6D:03:26 Lasmex LBT10 
-[bluetooth]# pair 00:1D:43:6D:03:26 
-[bluetooth]# connect 00:1D:43:6D:03:26 
-[bluetooth]# trust 00:1D:43:6D:03:26 
-[bluetooth]# scan off 
-[bluetooth]# exit 
- 
-</cli> 
- 
-Para fazer com que seu fone de ouvido se conecte automaticamente, você precisa ativar o módulo ''switch-on-connect'' do PulseAudio. Faça isso adicionando as seguintes linhas ao ''/etc/pulse/default.pa'': 
- 
-  $ sudo vim /etc/pulse/default.pa 
-  --- 
-  ### Automatically switch to newly-connected devices 
-  load-module module-switch-on-connect 
- 
- 
-Se necessário, reinicie o computador. 
- 
-<code> 
-Pacotes usados no Manjaro: 
- 
-pikaur -Sy \ 
-pulseaudio pulseaudio-alsa \ 
-pulseaudio-bluetooth pulseaudio-ctl \ 
-pulseaudio-equalizer pulseaudio-jack \ 
-pulseaudio-lirc pulseaudio-rtp \ 
-pulseaudio-zeroconf xfce4-pulseaudio-plugin 
-</code> 
- 
-Fonte: https://wiki.archlinux.org/title/bluetooth_headset 
- 
-Para um equalizador gráfico: 
- 
-  pikaur -Sy pulseaudio-equalizer-ladspa 
- 
-Adicionando o Pulse Audio Equalizer ao startup do sistema 
- 
-Edite o arquivo: 
- 
-  $ sudo vi /etc/pulse/system.pa 
-  --- 
-  #add as linhas ao final 
-  load-module module-equalizer-sink 
-  load-module module-dbus-protocol 
-  --- 
- 
-Repo: https://github.com/pulseaudio-equalizer-ladspa/equalizer 
- 
-Em caso que o pulse não inicie e fique sem áudio com mensagem ''No PulseAudio daemon running, or not running as session daemon.'', testar os comandos: 
-  systemctl --user start pulseaudio 
-  systemctl --user status pulseaudio 
- 
-Para o erro: 
-  pulseaudio[1865]: module-rescue-stream is obsolete and should no longer be loaded. Please remove it from your configuration. 
-   
-Desabilite o módulo editando o arquiv abaixo e comentando a linha: 
-  /home/USER/.config/pulse/default.pa 
 ===== Install pikaur by git ===== ===== Install pikaur by git =====
  
Line 323: Line 257:
  
 Use du com --max-depth=1 ou com * para ver apenas o tamanho de cada diretório logo abaixo de /home. Use du com --max-depth=1 ou com * para ver apenas o tamanho de cada diretório logo abaixo de /home.
- + 
-Opção 1: max-depth+Opção 1: max-depth ou -d
  
   du -h --max-depth=1 /home   du -h --max-depth=1 /home
 +  du -h -d 1 /home
 +  du -hd 1 /home
 +  
   -h: mostra em formato legível (K, M, G).   -h: mostra em formato legível (K, M, G).
-  --max-depth=1: lista só /home e os diretórios imediatamente dentro dele.+  --max-depth=1 ou -d 1: lista só /home e os diretórios imediatamente dentro dele.
  
 Opção 2: apenas subdiretórios Opção 2: apenas subdiretórios
Line 334: Line 271:
 Se preferir listar apenas os subdiretórios (sem a linha do /home em si): Se preferir listar apenas os subdiretórios (sem a linha do /home em si):
  
 +  (lista tudo)
 +  du -sh /home/*
 +  du -sh /home/* | sort -h
 +  
 +  (somente diretórios)
   du -sh /home/*/   du -sh /home/*/
   du -sh /home/*/ | sort -h   du -sh /home/*/ | sort -h
 +
 +
      
   -s: mostra apenas o total de cada item informado.   -s: mostra apenas o total de cada item informado.
wiki/cmds/cmds-linux.1768309826.txt.gz · Last modified: by cleiton

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki