Config location: /home/$USER/.config/tmuxinator
you can modify your system's power management settings, primarily using systemd. You can mask or disable the relevant systemd units to prevent suspend or hibernate actions. Additionally, you can adjust X.org's screen saver and power-saving settings using xset
If you want to permanently opt-in to all phased upgrades in the future, you can create a conf file so that you don't have to add a long command-option each time you issue apt upgrade.
sudo nano /etc/apt/apt.conf.d/30phased-upgrades
APT::Get::Always-Include-Phased-Updates "true";
sudo apt update && sudo apt upgrade -y
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/bash | |
| # IP Route over wireguard | |
| alias ip:r:l="ip -o -4 route show" | |
| alias ip:r:s="sudo ip route show" | |
| alias ip:r:ssh="sudo ip rule add dport 22 ipproto tcp table main priority 123" |
Another possibility using systemctl
Disable hibernate:
sudo systemctl mask hibernate.targetTest
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/bash | |
| # $HOME/.local/share/tmux/resurrect | |
| # $HOME/.tmux/resurrect | |
| 0 12 * * * /usr/bin/find $HOME/.local/share/tmux/resurrect -name "*.txt" -type f -mtime +3 -exec rm -rf {} \; > /dev/null 2>&1 | |
| # OR | |
| # 0 12 * * * /usr/bin/find $HOME/.tmux/resurrect -name "*.txt" -type f -mtime +3 -exec rm -rf {} \; > /dev/null 2>&1 |
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
| #### RULES FOR SPECIFIC APPLICATIONS #### | |
| # from: http://www.linuxlusers.com/2012/12/24/i3-window-manager-tip-making-specific-applications-and-child-windows-open-in-floating-mode-or-with-other-custom-settings/ | |
| # by APPLICATION (WM_CLASS) | |
| # Note: class is typically useful for applying custom settings to | |
| # to entire applications, including child windows. If this | |
| # isn't want you want see the ROLE section, below. | |
| # Tip: To find out what these values might be run: | |
| # xprop | grep -i 'class' | |
| for_window [class="File-roller"] floating enable, border normal | |
| for_window [class="Speedcrunch"] floating enable, border normal |