This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Remover partição swap duplicada | |
* Identificar a partição com 'lsblk'; | |
* Executar os comandos... | |
$ sudo swapoff -a | |
$ sudo swapon /dev/xxxx <--- xxxx=nome do dispositivo a ser utilizado | |
* Editar '/etc/fstab' para comentar/remover a entrada da swap duplicada | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Usar o 'lsblk' para identificar o dispositivo da partição | |
* Exemplo: sda1 | |
2. Executar 'sudo blkid' para descobrir o UUID do dispositivo identificado | |
* Exemplo: 2d602b27-8eef-46e7-90d1-fed447dcef2d | |
3. Criar o ponto de montagem da partição, por exemplo... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
# O caminho para a minha pasta local | |
# de executáveis... | |
script_path="$HOME/.local/bin" | |
# O editor da minha preferência... | |
script_editor="geany" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
IDESKTOP=$(xdotool get_desktop) # índice do desktop atual | |
NDESKTOP=$(xdotool get_num_desktops) # número de desktops | |
desk_next() { | |
xdotool set_desktop --relative 1 | |
xfce4-panel --plugin-event=genmon-1:refresh:bool:true | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
ml=$(xdotool getmouselocation | cut -d' ' -f1-2 | sed -e 's/.://g') | |
xdotool mousemove 100 1030 | |
xdotool click 1 | |
xdotool mousemove $ml | |
exit 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Name=Compositor... | |
Comment= | |
Exec=/home/gda/.local/bin/xfce4-composite-toggle | |
Icon=/home/gda/docs/pics/icons/composite-true.svg | |
Path= | |
Terminal=false | |
StartupNotify=false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# ---------------------------------------------------------- | |
# Script : debian-iso-download.sh | |
# Author : Blau Araujo <[email protected]> | |
# Version: 1.1 | |
# License: GNU/GPL-3.0 | |
# | |
# Description: | |
# |