You are not logged in.
in GNOME it was easy to set background by just right clicking on the desktop and choosing a wallpaper. now i no longer use Desktops, rather i use a Window Manager, "stumpwm" or "ratpoison" and there are no menus in Window Managers
i even read the man page of "xsetroot" but that deals with "bmp" images only. i have wallpapers in jpeg/png format. how can i set the background using them?
Last edited by geek.arnuld (2007-07-24 08:01:52)
Offline
check the openbox wiki page about feh. same goes for all WM's
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
I use feh. Put something like this in ~/.fehbg
feh --bg-scale /path/to/your/image.jpg
And then use
eval `cat ~/.fehbg`
in your .xinitrc or openbox's autostart.sh file.
To get something done, a committee should consist of no more than three persons, two of them absent.
--
My Github
Offline
I use feh. Put something like this in ~/.fehbg
feh --bg-scale /path/to/your/image.jpg
And then use
eval `cat ~/.fehbg`
in your .xinitrc or openbox's autostart.sh file.
sorry, it does not work.i still get a black background :-(
-------- ~/.fehbg -----------------
feh --bg-scale /home/arnuld/.local/wallpapers/background
---------- ~/.xinitrc --------------
# set background
eval 'cat ~/.fehbg'
# exec wmii
# exec ratpoison
exec /usr/local/bin/stumpwm
# exec wmaker
NOTE: "background" is just a symbolic link to the original wallpaper
Offline
onearm wrote:I use feh. Put something like this in ~/.fehbg
feh --bg-scale /path/to/your/image.jpg
And then use
eval `cat ~/.fehbg`
in your .xinitrc or openbox's autostart.sh file.
sorry, it does not work.i still get a black background :-(
-------- ~/.fehbg -----------------
feh --bg-scale /home/arnuld/.local/wallpapers/background---------- ~/.xinitrc --------------
# set background
eval 'cat ~/.fehbg'# exec wmii
# exec ratpoison
exec /usr/local/bin/stumpwm
# exec wmakerNOTE: "background" is just a symbolic link to the original wallpaper
OK, i got it. it was my mistake i entered this:
'
instead of
`
thanks anyway
Offline
exec /usr/local/bin/stumpwm
its recommended to install all applicatons via pacman using pkgbuilds. arch doesnt install anything on /usr/local
writing pkgbuilds for applications not already done also means u can contribute by uploading them to AUR
Last edited by dolby (2007-07-24 09:02:27)
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
its recommended to install all applicatons via pacman using pkgbuilds. arch doesnt install anything on /usr/local
i installed that myself as Stumpwm was not available in pacman. Stumpwm is written in Common Lisp. i use it because i do not feel any difficulty in setting-up configuration files in my favourite language :-)
writing pkgbuilds for applications not already done also means u can contribute by uploading them to AUR
ok, i will try that :-)
Offline
i was still interested if somebody can tell me "how to set a PNG/JPEG wallpaper as background on a window manager using "xsetroot" or "xsetbg"
BTW, "xsetbg" and "xloadimage' commands do not exist on my system . Why ?
Offline
AFAIK, xsetroot can only use bitmaps for window pattern, so you will either have to convert the image to bmp to use it with xsetroot, or you can convert the file to a raw format, and render/write them to the root window - the second one would be the recommended solution, and will require you to use a separate program to decompress the image, and to render them directly on the root window.
Conveniently, many image viewers support rendering images as background, so you will only need to tell the image viewer to render it as background (like the -x parameter to qiv, and the --bg-scale to feh).
Offline