You are not logged in.

#1 2005-05-28 03:15:33

Master Beef
Member
Registered: 2005-05-28
Posts: 37

xsetroot error (doesn't work with ratpoison ? )

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

#2 2005-05-28 11:07:47

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: xsetroot error (doesn't work with ratpoison ? )

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

#3 2005-05-29 04:26:30

Master Beef
Member
Registered: 2005-05-28
Posts: 37

Re: xsetroot error (doesn't work with ratpoison ? )

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

#4 2005-05-29 09:33:43

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: xsetroot error (doesn't work with ratpoison ? )

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

#5 2005-05-29 14:08:32

Master Beef
Member
Registered: 2005-05-28
Posts: 37

Re: xsetroot error (doesn't work with ratpoison ? )

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

#6 2005-05-30 02:25:58

Master Beef
Member
Registered: 2005-05-28
Posts: 37

Re: xsetroot error (doesn't work with ratpoison ? )

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

#7 2005-05-30 02:27:59

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: xsetroot error (doesn't work with ratpoison ? )

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

#8 2005-05-30 02:40:31

Master Beef
Member
Registered: 2005-05-28
Posts: 37

Re: xsetroot error (doesn't work with ratpoison ? )

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

#9 2005-05-31 04:43:59

Master Beef
Member
Registered: 2005-05-28
Posts: 37

Re: xsetroot error (doesn't work with ratpoison ? )

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

#10 2005-05-31 07:15:41

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: xsetroot error (doesn't work with ratpoison ? )

it would have been fixed by runing "DISPLAY=:0.0;xsetroot whatever"

Offline

#11 2005-05-31 14:37:34

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: xsetroot error (doesn't work with ratpoison ? )

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

Board footer

Powered by FluxBB