Compendiaria released – New section added

What is Compendiaria?

Compendiaria is a root/sudo program, which gives you abilities to hibernate,suspend,reboot,shutdown your computer. With Compendiaria you can also select your Alsa sound device and enable it easily via terminal. Opportunities to setup Wlan via terminal are also available. See the screenshot below for more details. The word compendiaria comes from Latin and means quick or easy method or a short cut.

Important notes: Run Compendiaria as a root or a sudo user. After decompressing the archive save Compendiaria to your user’s home directory and invoke it with command: sh settings.sh (if you are a root user) OR sudo sh settings.sh if you are using sudo.

To run Compendiaria you need the following programs for complete functionality:

################################################

wireless_tools for Wlan wpa_supplicant for Wlan pm-utils for suspend/hibernation features Alsa for sound settings. Alsa is usually installed by default.

##################################################

About usage:

Every section asks if you would like to continue or abort the action. Pressing Enter before selecting anything is an escape key, which quits the program altogether.

Choice 1: On some setups hibernation might actually shutdown the computer completely. The previous happened to me in Arch. For the fix see: https://bbs.archlinux.org/viewtopic.php?id=94674

Observation. The hibernation command and its functionality seems to be tied to your computer hardware more than to the system you are using.

Choice 2:

About pm-suspend: this program uses pm-suspend-hybrid. Explanation from:

“Hybrid-suspend is the process where the system does everything it needs to hibernate, but suspends instead of shutting down. This means that your computer can wake up quicker than for normal hibernation if you do not run out of power, and you can resume even if you run out of power. s2both(8) is an hybrid-suspend implementation.”

Choices 3 and 4: Reboot and shutdown. Once selected the commands will wait 10 seconds before executing.

Choices 5 and 7 do things to /etc/modprobe.d/sound.blacklist.conf:

Choice 5 blacklists Alsa sound devices, which are not used and writes changes to/etc/modprobe.d/sound.blacklist.conf .

Choice 7 undoes any changes made and removes /etc/modprobe.d/sound.blacklist.conf .

Choice 6: Setting up Wlan: Choice 6 scans available Wlan interfaces and then asks user to write some values to finalize the interface setup. Wlan values are written to local file /etc/wpa_supplicant.conf. When choice 6 is selected the old file /etc/wpa_supplicant.conf gets removed and then some new user prefered values will get written to this file. The end result should be a working Wlan connection, which gets its values from /etc/wpa_supplicant.conf

/etc/wpa_supplicant.conf itself remains as a clear text file so that wpa_supplicant can actually read the values from it.