LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Xscreensaver directories (https://www.linuxquestions.org/questions/linux-newbie-8/xscreensaver-directories-455628/)

Extreme Tomato 06-17-2006 06:35 AM

Xscreensaver directories
 
Hello,
I have been trying to set up sonar such that it can ping the rest of my network when I'm idle, however, I can't setuid root because I can't find it! I've done some research using google and the rest of this site and it seems that it should reside in /usr/X11R6/lib/xscreensaver, however, on my system that directory just doesn't exist.

The man page for xscreensaver states that for it to execute a command the path must be in my $PATH environment variable, yet no screensavers are in any of the directories in my $PATH, and I cannot start any manually merely by typing their command. Xscreensaver, however, is fully functional, so it must be capable of executing commands somehow.

I'm running XFCE 4.3.90.2 (4.4b2) and Xscreensaver 5 on what is essentially slackware.

Although I realise this isn't a particularly important issue I'd like to learn where my xscreensaver directory has gone (I have tried whereis xscreensaver to no avail) and how xscreensaver is capable of starting commands that aren't in my $PATH at all (am I missing something obvious here?).

Thanks

Axo 06-17-2006 07:09 AM

On my Debian box the screensavers are located in '/usr/lib/xscreensaver' and to execute any of them I use
Code:

./xmatrix

Extreme Tomato 06-17-2006 11:56 AM

I'm afraid I don't have a /usr/lib/xscreensaver either.

Axo 06-17-2006 05:56 PM

Could you try
Code:

which xscreensaver
and see where it points.

Extreme Tomato 06-18-2006 06:25 PM

Code:

$ which xscreensaver
/usr/X11R6/bin/xscreensaver

The command resides there but there are no other screensaver commands in /usr/X11R6/bin (though there are plenty of other X-related commands, including X itself) and /usr/X11R6/bin/xscreensaver is not a directory.

Axo 06-22-2006 05:31 PM

Sorry I haven't replied sooner been working away all week.
Ok can you try this
Code:

xscreensaver-demo --debug
you should see something along the lines of 'xscreensaver: 08:51:43: added "/usr/lib/xscreensaver" to $PATH'

Good luck

Extreme Tomato 06-23-2006 09:06 AM

Code:

xscreensaver: 14:59:22: added "/usr/X11R6/libexec/xscreensaver" to $PATH
Great, thanks for all your help!
That explains how it manages to execute things too :)

Axo 06-23-2006 04:10 PM

Your welcome.


All times are GMT -5. The time now is 03:36 PM.