Re: Post your handy self made command line utilities

I wrote a script that changes performance levels for my 9800GT with a threshold i defined.Before i've had choppy kde effects and choppy firefox scrolling, due to the default policy being too much "conservative" and my card clocked to a very low speed when in powersave mode.I then decided to "overclock" my powersave frequencies to an higher value, but that means more watts.

With this script is SO much better, i can keep default frequencies and switch faster.

Probably the two "cut" in the sed line could be simplified by just using sed, but i'm not that smart.I will test this deeper, and if it really works as it is doing right now, i'll make a .service file.

Re: Post your handy self made command line utilities

A little program I use to automate installation. I have a laptop and netbook and I often reinstall Arch on them (I like changing desktop environments, and if I have a desktop with KDE, then replace it with MATE, often I end up with little programs which end up clogging stuff up, such as Amarok, which is not in anything like kdemultimedia-amarok, so I forget to remove). It can be found at https://github.com/ThatPerson/ANI. In order to use it I configure the JSON file on a working computer, and run the Python script. This gives me a shell script. Then, I install the base bit (ie, Partition, mount to /mnt, and pacstrap base and base-devel, and then chroot in. Then, I can use the shell script to create users, generate locales, etc. I am planning on making it support more stuff, such as setting up GRUB, and doing keymaps, however generally I set the keymap in the desktop environment.In the Git repo there is an example of one I used earlier, which installs the MATE desktop environment with NetworkManager.

Re: Post your handy self made command line utilities

C CLI Wlan Managerccwm allows you to easily connect to any wlan network.There is no need for configuration.Uses iproute2, iw, wpa_supplicant and dhcpcd.Newest version with Makefile can be found from my github.

Re: Post your handy self made command line utilities

Why adjust the filename in xinitrc every time? Just have one "wallpaper" file that is a link the the current background of choice. Xinitrc can just set the background to /path/to/wallpaper_link, and changes can made by linking wallpaper to the new file.

Re: Post your handy self made command line utilities

I'm probably missing something; but when called from imlibsetroot, the background is set as background.{jpg,png,etc}; and if I switch between formats, I either have to update .xinitrc or a symlink (which is your suggestion). Is there an advantage to the latter over the former?