LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 05-08-2007, 06:59 AM   #1
matiasar
Member
 
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 314
Blog Entries: 1

Rep: Reputation: 31
set wallpaper in twm?


Some days a go I installed netBSD in an old handheld pc a friend of mine gave me. There's no network and seems difficult to compile programs because that box is quite slow and have no swap (to preserve the CF).
So I started using twm as window manager. I have never used it before, so it took some time.

Does anybody knows if there is any way of setting a wallpaper? I prepared a couple of images (640x240, 8 bits) but I couldn't find the way to set them as wallpaper. Anybody knows if that is possible?
 
Old 05-08-2007, 08:03 AM   #2
deroB
Member
 
Registered: Dec 2005
Location: Sydney, Australia
Distribution: Arch Linux
Posts: 208

Rep: Reputation: 30
I would try using feh.
ftp://ftp.netbsd.org/pub/NetBSD/pack...eh/README.html

to set a wallpaper type:
Code:
feh --bg-scale [image_name]
If this works you can probably add this to your ~/.xinitrc file to get a wallpaper to load all the time.

...let us know how you go, I'm at work so unfortunatley I can't test it
 
Old 05-08-2007, 08:39 AM   #3
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
You should already have "xsetroot" as part of X11. This is about as minimalistic as background managers get
 
Old 05-08-2007, 10:43 AM   #4
matiasar
Member
 
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 314
Blog Entries: 1

Original Poster
Rep: Reputation: 31
I'll give it a try

DeroB, OnoandOne,

Tkanks for the advice.
I think I'll have to use xsetroot, because using pkgsrc or compilling in that handheld seems a little hard.

With xsetroot I could use small bitmap images, right? I won't be able to use a whole image (640x240) as "backgroud", right?
 
Old 05-08-2007, 10:49 AM   #5
deroB
Member
 
Registered: Dec 2005
Location: Sydney, Australia
Distribution: Arch Linux
Posts: 208

Rep: Reputation: 30
I just had a look at xsetroot,

I think you can only use .xbm files (not bmp files).
xbm files can be created with the "bitmap" program, and can be created any size....the problem is they are only monochrome.
 
Old 05-08-2007, 02:40 PM   #6
matiasar
Member
 
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 314
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Thanks!

Thanks for the information!! I'll see if I can do something with bitmaps files.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set wallpaper via terminal? Vitalka Linux - General 3 05-13-2010 01:35 AM
How to set wallpaper in fluxbox at startup? donJulio Linux - Software 8 08-20-2009 06:19 AM
Saving A Set Wallpaper..... Colonel-1990 Linux - Software 18 04-12-2005 06:57 AM
Wallpaper: SLide show wallpaper from online pictures eponymous Linux - Software 0 11-29-2004 01:28 PM
Can't set a wallpaper in Fluxbox 0.98 AMMullan Linux - Software 5 02-24-2004 09:01 PM


All times are GMT -5. The time now is 05:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration