Bash script for a mono wallch indicator

I wrote this simple script to change wallch indicator to a mono one because I didn’t like the current one. I once participated in adding Arabic to wallch and I just love this program. What is Wallch? Wallch is a wallpaper changer. It doesn’t simply change your desktop background with the wallpapers that you have in your hard disk, though. While it does that well by monitoring the folder that you have selected for new or deleted pictures, it has lots of features, like Picture of the day, Live Earth, Wallpaper Clocks and Live Website! Wallch is Open Source, which means that anyone can download and inspect the code. It currently works on Gnome (with or without Unity integration), LXDE, XFCE and Mate. Wallch version 4.0 is now available for download. http://melloristudio.com/wallch/ you can do it manually by downloading quick icon i did from here and replacing it in “/usr/share/wallch/files/” or simply download and run the script or just copying it #!/bin/bash echo “Changing Wallch indicator icon to mono” wget https://www.dropbox.com/s/vi7emuehp7krayj/indicator_ambiance_normal.png sudo cp /usr/share/wallch/files/indicator_ambiance_normal.png /usr/share/wallch/files/indicator_ambiance_normal_original.png sudo cp indicator_ambiance_normal.png /usr/share/wallch/files/ rm indicator_ambiance_normal.png echo “Done” have fun.  […]

Read More from

Bash script for a mono wallch indicator

StatusR

I love the command line interface..I love the terminal. i wanted to create a script that runs after login on my ubuntu machine and do something or show something interesting -at least to me- so I started thinking of something I can do with a script that will show information that I might find it useful. StatusR The main idea of this bash script is to get and show status report quickly on weather, Internet status, Google DNS status, OpenDNS status, Internet threat level, and space weather. Possibly other information in the future. it could be altered easily to show more or less. its great for fun and can be really useful. Its also a great way to learn about bash script.  here is the code #!/bin/bash ######################################################### # The main idea of this bash script is to # # get and show status report quickly on # # Weather, Internet threat level, and Space # # Weather. Possibly other information in the # # future. # # It could be altered easily to show more or # # less. # ######################################################### # https://sourceforge.net/projects/statusr # originally written by: Mohamed Adel # e-mail: mohamedation[at]gmail[dot]com # this v2 is a minor edit […]

Read More from

StatusR

shutdown bash script

you can remove the first 2 echos if you like. #!/bin/bash echo -e “Welcome to auto shutdown” sleep 1 echo -e “Brught to you by Mohamed Adel” sleep 1 echo -e “Please insert the time you want the computer to shutdown at in Minutes.  For example : ‘5’ will auto shutdown after 5 minutes.”  read time notify-send “Your system is going to auto shut down in $time minutes” sudo shutdown -P  $time | echo -e “Now enter your password, set back and relax :)” […]

Read More from

shutdown bash script