hazard
Background | Linux and Photography Blog Skip to main content

Linux and Photography Blog

  • Contact Form
  • Privacy Policy

Tag: background

NIce backgrounds with Fedora with Yearly calnedar

January 31, 2013January 27, 2013 Amit Agarwal Leave a comment

Here is something that you can try

sudo yum install yearcalendar-backgrounds

This will install 3 wallpapers with yearly calendars. There is no interesting background in the calendar but then you get the clarity since there is no background. The calendars are quite nice by the way.

Link to this post!

Socialize

Add a image to the list of background files in gnome

March 23, 2010March 23, 2010 Amit Agarwal 1 Comment

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.

So I wrote a simple script to add the images to the menu from command line. This was a quick script so no checks done, use at your own risk and after taking backup of related files 🙂

#Remove the last line from the file.

sed -n \’$!p\’ ~/.gnome2/backgrounds.xml > /tmp/outfile
mv /tmp/outfile ~/.gnome2/backgrounds.xml

#Start adding the wallpaper
echo \”<wallpaper deleted=\”false\”>\” >> ~/.gnome2/backgrounds.xml
echo \”    <name>$1</name>\” >> ~/.gnome2/backgrounds.xml
echo \”    <filename>\” >> ~/.gnome2/backgrounds.xml
echo \”`pwd`/$1\” >> ~/.gnome2/backgrounds.xml
echo \”</filename>\” >> ~/.gnome2/backgrounds.xml
echo \”    <options>zoom</options>\” >> ~/.gnome2/backgrounds.xml
echo \”    <shade_type>solid</shade_type>\” >> ~/.gnome2/backgrounds.xml
echo \”    <pcolor>#76848F</pcolor>\” >> ~/.gnome2/backgrounds.xml
echo \”    <scolor>#142C3D</scolor>\” >> ~/.gnome2/backgrounds.xml

echo \”    </wallpaper>\” >> ~/.gnome2/backgrounds.xml

#Add the last line again
echo \”</wallpapers>\” >> ~/.gnome2/backgrounds.xml

Link to this post!

Socialize

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