hazard
Look And Feel | Linux and Photography Blog - Page 2 Skip to main content

Linux and Photography Blog

  • Contact Form
  • Privacy Policy

Tag: Look and Feel

Desktop with cairo-dock

June 25, 2010June 25, 2010 Amit Agarwal 2 Comments


Just love the look now.

Heres the screenshot:

\"Desktop\"
Link to this post!

Socialize

bash script to change icon theme to check out all the installed themes (personal)

May 19, 2010May 19, 2010 Amit Agarwal 7 Comments

I am really annoyed with the time that is required and the number of clicks that it takes to change the gnome icon theme. So here\’s a small script that I wrote to quickly check out all the icon themes that I have in my ~/.icons folder.

#!/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/interface/icon_theme \”$i\”
sleep $time
)
done
) || gconftool-2 –type string -s  /desktop/gnome/interface/icon_theme \”$2\”

How does it work/How to use:

just copy paste the script in ~/bin or any other directory and make it executable. Now run the script without any parameter to check out all the themes one after the other, changing your icons every 5 seconds.

If you want to chnage the timer, just provide the time in seconds as first parameter.

If you want to chnage to specific theme, just provide the theme name as second parameter.

This can also be used as a script running in the background to change the icons every specified time and thus making your friends dazzled.

Link to this post!

Socialize

bash script to periodically change the cursor theme.

May 7, 2010May 7, 2010 Amit Agarwal 1 Comment

#!/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\”

How does it work/How to use:

just copy paste the script in ~/bin or any other directory and make it executable. Now run the script without any parameter to check out all the themes one after the other, changing your cursor every 5 seconds.

If you want to chnage the timer, just provide the time in seconds as first parameter.

If you want to chnage to specific theme, just provide the theme name as second parameter.

This can also be used as a script running in the background to change the cursor every specified time and thus making your friends dazzled.

Link to this post!

Socialize

Posts navigation

Newer posts 1 2 3 4 Older posts

Search

Pages

  • Contact Form
  • Privacy Policy
  • Sitemap

Blog

  • Android App
  • Contact Me
  • G+ Profile
  • Homepage
  • Login
  • My Photo Gallery
  • My Photos
  • RSS Feed

Cal

December 2019
M T W T F S S
« Oct    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Email Subscribe

Myself

raj77in

raj77in

Linux and Photography is my passion. Blog: http://blog.amit-agarwal.co.in

Personal Links

  • Linux Blog
  • Linux and Photography Blog
  • Docker Hub
  • Github

Verified Services

View Full Profile →

sparkling Theme by Colorlib Powered by WordPress