Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ beginners] How to set your wallpaper
09-05-2011, 02:45 PM
Post: #1
[ beginners] How to set your wallpaper
How to set your wallpaper

A lot of linux-distro's providing programs to set a wallpaper.
Deli doesn't have that, in fact it doesn't need that.
There are probably several ways to this and this is the one I use.
It works for me, and should be working for others too.

What do you need:
Midnight Commander
MTPaint

Let's start.

In my case I liked it to be sorted, so I go with Midnight Commander (type mc in a terminal window) to my home/username directory and create with [F7] a new directory called 'Wallpapers'.
Find a picture that you wanted as the wallpaper.
Be sure that the image has a resolution that fits with your desktop.
Start MTPaint and load the image, save the image as .xpm file in the wallpaper directory. Close MTPaint and go with Midnight Commander to the .icewm directory and edit the 'preferences' file.
Remove the '#' before the 'DesktopBackgroundScaled=' line, and add a '1' to it.
In the same file you have to put the path and wallpaper.
That must be done in the following line:
DesktopBackground="home/yourusername/Wallpapers/yourimage.xpm"
Ofcourse you need to remove the '#'at the beginning.
Save it with [F2] and go to the /home/yourusername/.xinitrc and edit it with[F4]
Put a new line under the 'exec icewm-session' with the following text
'exec icewmbg',save it with [F2].
Close all programs, and restart it.

And voila, you have a desktop with a wallpaper.

Other things you need to know Wink
Setting a wallpaper costs memory.
xpm files are bigger then jpg's.
Sometimes you need to reduce the colors, otherwise you can't save them in the xpm format.
Visit this user's website Find all posts by this user
Quote this message in a reply
09-06-2011, 06:32 PM (This post was last modified: 09-06-2011 06:39 PM by tavvva.)
Post: #2
RE: [ beginners] How to set your wallpaper
Thanks for this procedure ....

I plan to build ticebg for DeLi(cate) ... It's a piece of software written by me. It takes a JPEG picture, resizes it to the desktop size (otherwise it's done by icewmbg each time the IceWM is started and that costs a lot of CPU time) and restart icewmbg to apply the change.
But since I'm still fighting with more important backports, things like this are delayed Sad

[Image: ticebg.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
09-07-2011, 09:57 AM
Post: #3
RE: [ beginners] How to set your wallpaper
Okay nice to know.
But it isn't the most important thing, and there will be always things on a TODO list. Otherwise we will be bored Smile

I'm at this moment busy trying to learn a bit about Perl.
After that I hope to write a simple MealMasterRecipe-viewer.
Gourmet, Krecipes or Anymeal are recipemanagers but using dependencies that I don't want to use on Deli. And installing a complete manager with KDE or GNOME dependencies for just viewing text files is an overkill in my opinion. So at least I have an idea, otherwise I don't have to learn how to program.
Visit this user's website Find all posts by this user
Quote this message in a reply
09-07-2011, 05:09 PM
Post: #4
RE: [ beginners] How to set your wallpaper
(09-07-2011 09:57 AM)nl2stk Wrote:  otherwise I don't have to learn how to program.

Nice reason to learn Perl Big Grin
Visit this user's website Find all posts by this user
Quote this message in a reply
09-07-2011, 08:57 PM
Post: #5
RE: [ beginners] How to set your wallpaper
(09-07-2011 05:09 PM)tavvva Wrote:  Nice reason to learn Perl Big Grin

I know a few other reasons.
Compared to Python the syntax is easier for me to understand.
Perhaps it's my age :]
And Delicate has Perl as a standard language.
Correct me if I'm wrong, but as far as I know Perl is lighter then Python.

Now just after a couple of hours I know a bit about text, strings and how to open files.
So there is some hope...
Visit this user's website Find all posts by this user
Quote this message in a reply
09-08-2011, 10:23 AM
Post: #6
RE: [ beginners] How to set your wallpaper
I like Python more than Perl ... but that's a matter of taste :]
Visit this user's website Find all posts by this user
Quote this message in a reply
09-12-2011, 08:57 AM
Post: #7
RE: [ beginners] How to set your wallpaper
An alternative way to set your wallpaper is this:
Create a file called 'startup' with an editor and put it in your .icewm directory.

Code:
#!/bin/sh
rox --pinboard=yourusername &
exit 0

Make this file executable with: chmod u+x startup

When you restart IceWM, on the left corner appears a home icon. When you right click on it or on another place on the desktop, there is an option 'Backdrop' if you have a wallpaper somewhere on the HD just open Rox-Filer and drag it in the 'backdrop window'. There are several options 'centre, scale, fit, stretch or tile' to choose out. Perhaps is this a better way to change the background in case you change the wallpaper a lot.

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
09-12-2011, 01:47 PM
Post: #8
RE: [ beginners] How to set your wallpaper
cool ... :]
Visit this user's website Find all posts by this user
Quote this message in a reply
09-12-2011, 09:08 PM
Post: #9
RE: [ beginners] How to set your wallpaper
(09-12-2011 01:47 PM)tavvva Wrote:  cool ... :]

In fact it gives more options than just put a wallpaper on IceWM. Adding extra panels or icons on the desktop is no problem. Another nice option is to change the icon theme from Rox-Filer (Right click -> ROX-Filer ->Options ->Themes).
Just In case if you're tired of blue icons :]

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | DeLi(cate) Linux | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication