bash script to periodically change the cursor theme.

2010-05-07 1 min read Fedora GNOME

#!/bin/bash
[[ ”$1” == ”” ]] && time=5 || time=$1
[[ ”$2” == ”” ]] && (
cd ~/.icons
cont=”y”
echo ”Select one of the icon themes”
echo ”When you like some theme just press Ctrl+c”
for i in *
do
[[ -d $i/cursors ]] && (
echo ”Now trying …. : $i”
gconftool-2 –type string -s  /desktop/gnome/peripherals/mouse/cursor_theme ”$i”
sleep $time
)
done
) || gconftool-2 –type string -s  /desktop/gnome/peripherals/mouse/cursor_theme ”$2”

Continue reading

My project in sourceforge.net gnomedesktopwal

2010-04-07 1 min read GNOME Linux

My project is accepted in sourceforge.net and I have a stable version released today in sourceforge.

The link for the project is :
<a class="aligncenter" href="https://sourceforge.net/projects/gnomedesktopwal/" target="_blank">Gnome Desktop Wallpaper changer

This is a simple command line application to change the desktop wallpaper in gnome. This version has the capability to recurse directories and put the images in the directory as wallpaper. <a name="more">

Change background in gnome from shell script.

2010-04-05 1 min read GNOME

I learnt this just now but this is something I wanted to try for some time. I wanted to know a way to change the background from the shell without actually using the change background GUI option. I always find that option very slow.

So what do you do.. write a shell script

gconftool-2 type string -s /desktop/gnome/background/picture_filename &#8221;`pwd`/$1&#8221;

Use this script to change the desktop. Some other time we will delve into why this works. For now you can just run this shell script with the filename and see your Desktop background change. Cool 🙂

Continue reading

using gigolo for all your network mounting needs

2010-04-01 0 min read Fedora GNOME Linux
\"A
Image via Wikipedia

Have you ever thought that there should be one central location or application to connect to all you required servers with whichever <a class="zem_slink freebase/en/protocol" title="Protocol (computing)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Protocol_%28computing%29">protocol. If you did, the you wishes are granted.

Continue reading

Gnome 3.0 – the beginning of workflow era

2010-03-31 1 min read GNOME

There is  a nice article <a href="http://d0od.blogspot.com/2009/09/gnome-3-quick-visual-tour.html">here. This talks about gnome 3.0 with screenshot. Definately worth looking at. And if you want to see the plan then you can head over <a href="http://live.gnome.org/ThreePointZero"> here.

bash – change theme for gtk in gnome and take screenshot from script.

2010-03-24 1 min read Bash Fedora GNOME

I wrote a blog on bash script to change the icon/cursor theme using a bash script. Lets extend the same concept a little more and use the script to change the gtk theme for gnome and at the same time take a screenshot also.

#!/bin/bash
path=&#8221;/tmp/screenshot&#8221;
[[ &#8221;$1&#8221; == &#8221;&#8221; ]] && time=5 || time=$1
[[ &#8221;$2&#8221; == &#8221;&#8221; ]] && (
cd ~/.themes
cont=&#8221;y&#8221;
echo &#8221;Select one of the icon themes&#8221;
echo &#8221;When you like some theme just press Ctrl+c&#8221;
for i in *
do
[[ -d $i/cursors ]] || (
echo &#8221;Now trying …. : $i&#8221;
gconftool-2 –type string -s  /desktop/gnome/interface/gtk_theme &#8221;$i&#8221;
sleep 1
j=$(echo &#8221;$path/$i&#8221;).jpg
import -window root -quality 95 &#8221;$j&#8221;
sleep $time
)
done
) || gconftool-2 –type string -s  /desktop/gnome/interface/gtk_theme &#8221;$2&#8221;

Continue reading

Add a image to the list of background files in gnome

2010-03-23 1 min read Fedora GNOME Photo

In Gnome, when you right click on the desktop background you will get a menu for &#8221;Change Desktop backgound. The images displayed in this menu are quite a few but if you want to add your own (read: more than some 5-6 files) then it takes really some time in using the GUI to add them. And if you want to add a few 10&#8217;s of file, like say 50 then you are done.

Continue reading
Older posts Newer posts