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=”/tmp/screenshot”
[[ ”$1” == ”” ]] && time=5 || time=$1
[[ ”$2” == ”” ]] && (
cd ~/.themes
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/interface/gtk_theme ”$i”
sleep 1
j=$(echo ”$path/$i”).jpg
import -window root -quality 95 ”$j”
sleep $time
)
done
) || gconftool-2 –type string -s  /desktop/gnome/interface/gtk_theme ”$2”

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 ”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’s of file, like say 50 then you are done.

Continue reading

Just days wait to a great operating system.

2010-03-22 1 min read Fedora Linux

Was thinking about writing this for some time now.. but guess someone already did that <a href="http://www.junauza.com/2009/05/fedora-11-leonidas-is-almost-ready-to.html" target="_blank">here.

To get the list of features you can check out this <a href="http://fedoraproject.org/wiki/Releases/11/FeatureList" target="_blank">page.

Here is a brief from the page:<table border="0">A simple, modular system service to manage devices and designed to partially replace

  <td>
    <div class="text codecolorer">
      hal
    </div>
  </td>
</tr>
1

. Users gain a graphical disk management application called

Continue reading

More windows Microsoft like openoffice and keet it working.

2010-03-22 2 min read Fedora Linux

Some people say that <a href="http://www.openoffice.org/" target="_blank">OpenOffice doesn&#8217;t completely suit their requirement as compared to the Microsoft Office. Though most of the times I do not have that problem 🙂 But there are still couple of things that do not work with OO seamlessly and thus if you want better OO (with respect to working with MS files more seamlessly) here&#8217;s something worth a try.

You can try the <a href="http://go-oo.org/" target="_blank">go-oo OO.

Continue reading

Fedora 12 Released

2010-03-12 0 min read Fedora
\"Image
Image via CrunchBase

Fedora 12, the latest version of the popular open-source operating systems for desktops and servers, has been released: &#8221;The Fedora Project, a Red Hat, Inc. sponsored and community-supported open source collaboration, today announced the availability of Fedora 12, the latest version of its free, open-source operating system distribution…..

Continue reading

Fedora 11 - Mount options for vfat and other volumes for automount.

2010-03-11 2 min read Fedora

I have been searching to look for how to change the default umask and dmask for the auto-mounted directories. I searched all the google and bing pages that I could, but to no avail. But I found some interesting info though.

Fedora now uses DeviceKit for managing the disks and Devicekit calls udev for actually mounting and unmounting the disks. The operation is controlled by policykit to determine who can do what?

Continue reading

Mount and unmount/umount images(iso/img) from nautilus (Fixed not mounting in Fedora)

2010-03-09 2 min read Fedora GNOME

Get the Nautilus Script <a href="http://gnome-look.org/content/show.php/moiso?content=84301" target="_blank">here. So what is required is that you have the necessary permission to run mount and umount as normal user with sudo command. If you are using gksu or gnomesu then you can change this in the script that you will get. Once you have got the script then you can run the installer for the script that comes in the package.

If you are running this is Fedora then you would need to make one more change other than the ones done by the installer, which is to allow sudo from non tty devices. Since this will be running from the nautilus so the script will not have any tty device and hence you would need to comment the following in the /etc/sudoers file:

Continue reading
Older posts Newer posts