segunda-feira, 28 de setembro de 2020

bashtop com snap - Debian 10

 instalação do snap 

# apt update

# apt install snapd

# snap install core

# snap install bashtop


para rodar o bashtop

$ /snap/bin/bashtop

alterar a cor das notifições i3wm - notify-send, dunst

crie o diretorio dunst em ./config/

$ mkdir .config/dunst

copie o arquivo dunstrc

$ cp /etc/xdg/dunst/dunstrc ~/.config/dunst

para alterar a cor e estilo edite o arquivo dunstrc que foi copiado

 

OBS: após a alteração reinicie a maquina 

notificações no cron - notify-send i3wm

 é preciso ter instalado as bibliotecas

libnotify-bin

dbus-x11


$ crontab -e 

adicione as linhas no arquivo

DISPLAY=:0.0

* * * * * /bin/notify-send "mostra texto a cada 1 minuto"

quinta-feira, 17 de setembro de 2020

Debian 10 - shutdown e mkfs.vfat - command not found

Solução

 

# vim /etc/environment

adicione a linha

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"

ou

adiciona a linha abaixo no arquivo .bashrc

$ vim .bashrc

export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin

sábado, 15 de agosto de 2020

instalar Debian - RetroArch - flatpak

 instale o flatpak

 # apt-get install flatpak

Instalar RetroArch

$ flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

$ flatpak install --user flathub org.libretro.RetroArch

 

executar RetroArch

 $ flatpak run org.libretro.RetroArch

Atualizar RetroArch

 $ flatpak update --user org.libretro.RetroArch

 

OBS: caso de algum problema para rodar o flatpak ou a mensagem abaixo 

Note that '/opt/myapp/share' is not in the search pathset by the XDG_DATA_HOME and XDG_DATA_DIRSenvironment variables, so applications may notbe able to find it until you set them. Thedirectories currently searched are:

tente...

$ echo export 'XDG_DATA_DIRS="/opt/myapp/share:$XDG_DATA_DIRS"' >> ~/.xsessionrc

$ reboot