Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
First open a terminal window so that you can use the command line. Now you should be in your home directory ($HOME). Use the cd command to move through the directory tree they have listed (cd .kde/share/applnk-redhat). If you use the ls -al command, you'll see that there is no directory called System. So go ahead and make the directories they have listed (System/Screensavers).
cd System to make sure it's there,
Now that you've made the directories you can copy over one or all of the screensavers from /usr/share/apps/kscreensaver/ScreenSavers. In my case, I just wanted the Matrix screensaver so there was no need to copy/link them all.
cp MatrixScreensaver.something /home/username/.kde/share/applnk-redhat/MatrixScreensaver.something (not sure what the actual name is, but you get the idea)
Make sure that you copied it to the right place, then voila your screensaver will come on after the appropriate time has elapsed. If you want all the screensavers, you can copy them all over or just make a hardlink using the ln command.
Don't know how much Linux knowledge you have. Do you know how to make directories and copy files from the command line?
The instructions just mean make a directory called System inside of your own /home/mutley101/.kde/share/applnk-redhat directory. Then make a directory called ScreenSavers inside of /home/mutley101/.kde/share/applnk-redhat/System.
Then copy all the files that are in /usr/share/apps/kscreensaver/ScreenSavers to your /home/mutley101/.kde/share/applnk-redhat/System/ScreenSavers directory.
The part about you may also have to do this for the files above the ScreenSavers directory means that you may have to copy the files from the /usr/share/apps/kscreensaver directory too (kscreensaver is the directory just above ScreenSavers in this case). I don't think I had to do this step to make it work, but you may have to.
Finally, the instructions talk about your $HOME directory. If your user name on your Linux system is mutley101, then your home directory is /home/mutley101, as I have assumed above. $HOME is a system variable that contains the name of your home directory, i.e. $HOME=/home/mutley101. If your user name on your Linux system is not mutley101, just substitute whatever it is for mutley101 in the above instructions.
I'm working a double shift at the nursing home this Friday so will attempt this over the weekend.
Originally posted by cpv204 Don't know how much Linux knowledge you have.
In a word, 'none'!
I've only ever used MS Windows since version 3.1 so am only used to working with a GUI not CLI
The closest I've come to program language is some elementary attempt at QBasic and a flawed attempt at Visual Basic and a passable attempt at coding HTML in Notepad. (see profile for website address)
Mutley, if you can handcraft HTML you shouldn't have too much trouble with the CLI. Most of what you do there is issue one-line commands, so you don't really need to think of using the CLI as "programming" per se.
Just wanted to point out a little typo in the good Capt's instructions, since he gave you what to type verbatim
cp MatrixScreensaver.something /home/username/.kde/share/applnk-redhat/MatrixScreensaver.something
(not sure what the actual name is, but you get the idea)
Note that the destination directory in the cp command is actually
After you make the new directories:
Then copy the file using:
cp KMatrix.desktop /home/Mutley/.kde/share/applnk-redhat/System/ScreenSavers/
Where "Mutley" is whatever username you login as.
That should get your screensaver to work. The cp (copy) command uses the syntax:
cp file1 file2
Where file1 is what you want to make a copy of and file2 is where you want to copy it to. In this case, we just use a path to the directory we want to put it in, instead of file2. Linux is just kind enough to name it the same thing for us. As cpv204 was sharp enough to catch, I had just forgotten to add the 2 directories (System/Screensavers) we created to the path.
Last edited by Capt_Caveman; 04-18-2003 at 09:14 PM.
I get the following message when I try to cp in the kscreensaver directory.
cp: cannot stat 'KMatrix.desktop': No such file or directory.
I even tried 'kmatrix.desktop': No such file or directory.
I used the ls -al command in my home directory and yes I've created both:
So I decided to use the ls -al command in the kscreensaver directory and I find that 'KMatrix' or even 'kmatrix' is not listed. So I tried the cp command using a file that did show up in the ls -al command 'kscience.png' I tried it using '.desktop' and '.png' but kept getting the afore mentioned style of messages.
Here is exactly, letter for letter what I did and typed perhaps you can spot the mistake I made:
I opened a terminal window and typed in:
(Note: I'm the only user so can't get mixed up with other users)
Then I cd system to make sure both are there. (yes)
I then typed the following.
cd /usr/share/apps/ksceensaver/screensavers (yes)
I then typed the following.
cp KMatrix.desktop /home/my username/.kde/share/applnk-redhat/system/ScreenSavers/ (no)
I even tried
cp KMatrix.desktop /home/my username/.kde/share/applnk-redhat/system/Screensavers/ (no)
cp kmatrix.desktop /home/my username/.kde/share/applnk-redhat/system/Screensavers/ (no)