Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Yes, it is.
1) Create a shell script. Call it whatever you like. For example purposes, I'll call it "screensaver".
Shell script:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#!/bin/bashxscreensaver --nosplash
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2. Within your home directory, save the script in .kde/Autostart.
If you want to see the splash, where you can adjust settings to xscreensaver, eliminate the "--nosplash" option from the script.
3. Make the script executable:
# chmod 755 .kde/Autostart/screensaver
4. Restart KDE, or logout and log back in.
Xscreensaver will automatically start everytime you enter the KDE desktop.PS: DO NOT FORGET TO DISABLE KDE'S SCREENSAVER IN THE KDE CONTROL CENTER.
Enjoy.

One more thing:
You may have to add an .sh extension to file name. In the above example, that would mean naming the file: screensaver.sh
I believe you may have to do that to get KDE to recognize it as a shell script that it needs to execute.

thankyou very much im am going to test that shortly, not quite sure if i did the executable right...but here goes nothing :)
Will let you know soonthankyou

hello again, the script worked great, everything was done correctly except for one itty bitty thing.
It doesnt set the gnome screensaver for the kde enviroment. I disabled, enable the kde screensaver tons of time but alas no luck.
Did i miss a step? I see the screensaver in the xscreensaver window as well as preview it but i cant set it for kde :(

At a console type:
$ xscreensaver-demoThis will allow you to choose your screensaver or selection of random screensavers (the ones with the ticks by them will be displayed when "random screensaver mode" is selected)

3Dave thanks for your help. Im using the lock screen feature on the menu bar in kde 3.1 to try and preview the screensaver. I do not see the desired gnome screensaver. Should i turn the screensaver on in kde?

If you turn or the KDE screensavers, AFAIK you lose out on all the other ones available in xscreensaver. Perhaps you want to have a look at the xloxk program....

nevermid, the screensavers worked :)
all i had to do was wait for the screensavers to pop up.
ALthough i wish i was able to set it to manually lock the screen ah well, good enough.Thanks alot for your help :)

Whoops, that should have been xlock and not xloxk.
Why not create a simple script for you to leave on your desktop/menu and double-click when you want to lock it?
#!/bin/bash
xlock -mode screensavername

wow!! Thankyou very much!! That did the trick:) i f i may ask, and this is my last question, do you know where i can obtain an index of all the commands used in the command promp? most appreciated thanks for the help :)

Easiest way is to press TAB twice quickly, although this will also list files and folders in the current working directory too. On my system it brings back 2958 possibilities(!) so you may want to go through letter by letter, ie start with "a" and then press TAB twice. If you are unsure as to what something does you can get help by either:
$ command --help
$ man command
$ info commandIf you want to find out commands about a specific subject (eg networking):
$ apropos networkYou can get a list of all files with the execute permission set:
$ find / -perm +a=x -type f
although the list will be looooong!Another way would be to look through /bin, /usr/bin. /usr/local/bin, /sbin, /usr/sbin and /usr/local/sbin etc. To get a list of your path for executables:
$ echo $PATH
have a look through the directories in the output.

Search this forum for a list of commands, I saw a post in here just a few days ago that had a web site link that did just that.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |