[kde-linux] KDE 4 and monitor powering off.

Dale rdalek1967 at gmail.com
Thu Feb 25 21:25:33 UTC 2010


chrome://messenger/locale/messengercompose/composeMsgs.properties:
> Dale posted on Thu, 25 Feb 2010 13:09:57 -0600 as excerpted:
>
>    
>> I don't appear to be doing something correctly here.  I typed in "xset
>> q" and "xset -q" but I get a error.  I looked at the man page and the
>> option is there but it's not working for some reason.  This is what I
>> got:
>>
>> root at smoker ~ # man xset
>> root at smoker ~ # xset q
>> No protocol specified
>> xset:  unable to open display ":0.0"
>>      
> OK, that "unable to open display ":0.0" is the key to that one.  That's an
> X error seen when an X app can't find the X display to use.  Perhaps you
> were trying to do it as a different user, or from a text console, not a
> terminal window (such as konsole) inside of X/KDE itself?
>
> Try it with X and kde running, as the user the kde session is running as,
> in a konsole or similar window.
>
> Or set and export the DISPLAY environmental variable as appropriate,
> probably to ":0" unless you're doing something fancy.
>
> DISPLAY=":0" xset q
>
> (Normally, within KDE the DISPLAY variable should be set/exported
> automatically.  Try entering "echo $DISPLAY" (w/o the quotes) in a konsole
> window and see.)
>
> Or use xset's -display option, as so:
>
> xset -display :0 q
>
> If X is running and you're running as the same user in X, that /should/
> work.  If it doesn't, there's something else more complex happening.
>
>    

Ahhh, I see.  I was running it in a Konsole but as root.  I did try to 
change to my user from root but it was the same.  Soooo, I set up a menu 
entry to run Konsole as my user from the start.  That seems to work MUCH 
better.  I get what I think we were both expecting.

I have one more question.  When I set this the way I want it, will this 
affect ONLY kde or will it affect everything?  When I am at the login 
screen, kdm, I want it to turn off after 5 minutes.  I have that set in 
xorg.  When I log out I am usually leaving the house so no need for it 
to be on for very long.  I do want it to stay on for a long while when I 
am logged in tho.  I have a slide show set up for the background and I 
watch it until I fall asleep.  Plus, I watch TV shows on it sometimes too.

Now to go tinker with this a bit.  Thanks.  I'm getting these issues 
dealt with one at a time but we're making progress.

Dale

:-)  :-)



More information about the kde-linux mailing list