You are not logged in.
i can't seem to get xsetroot to work.
::xsetroot -solid black
xsetroot: unable to open display ''
im unsure what to do to get it to recognize the display
i've searched a couple different forums and haven't found anything that pertains or solves my issue
"Alright it's settled. Zorak is the hammer, Moltar you suck."
Offline
You probably run it too early, or some other way that the DISPLAY environ variable isn't set. If you just want to have a nice black background in X then start it with the -br option. For instance, I use "startx -- -dpi 96 -nolisten tcp -br".
Offline
i tried running it in my .xinitrc file then from my .ratpoisonrc file. the command won't run in xterm either.
where can i set the DISPLAY variable?
for reference im trying to set the bg color to #c3c4bc however xsetroot fails no matter the color. (which is no suprise)
"Alright it's settled. Zorak is the hammer, Moltar you suck."
Offline
The DISPLAY variable is automatically set by X, so if you start a program after X (e.g. in .xinitrc) then it should work.
Is it only xsetroot which doesn't work or also other X apps? Does xsetroot work if you execute it in a xterm?
Offline
ok i've determined it's an error with ratpoison as it works with openbox and evilwm :?
"Alright it's settled. Zorak is the hammer, Moltar you suck."
Offline
another issue i've been haveing that may be related is that mplayer doesnt display video in ratpoison. sound is there and it workks in other wm's bot not ratpoison.
"Alright it's settled. Zorak is the hammer, Moltar you suck."
Offline
If you like Ratpoison but are having problems with it, perhaps you should try WMI? From what I've heard, it's rather similar to Ratpoison.
Offline
i have used wmi before and while it is a nice wm it's not for me. my window manager needs are very basic. i don't need borders, buttons. i use screen often and ratpoison compliments it very well.
"Alright it's settled. Zorak is the hammer, Moltar you suck."
Offline
well i just got a new hard drive and reinstalled arch and everything is working now so i guess that means problem solved.
"Alright it's settled. Zorak is the hammer, Moltar you suck."
Offline
it would have been fixed by runing "DISPLAY=:0.0;xsetroot whatever"
Offline
a) My WM of choice went WMI -> WMII -> ratpoison
b) you can do "export DISPLAY=:0.0" somewhere to fix the display variable (though it should be set)
Offline