LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 04-19-2003, 11:50 AM   #16
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69

If you can see the kscience file, then you're up one directory from where you need to be. At least on my RH8.0 system kscience is in /usr/share/apps/kscreensavers. You want to cd into the Screensavers directory to get to all the other screensaver files.

$ cd /usr/share/apps/kscreensaver/ScreenSavers/
$ls -al
total 176
drwxr-xr-x 2 root root 4096 Mar 30 20:12 .
drwxr-xr-x 3 root root 4096 Mar 30 20:12 ..
-rw-r--r-- 1 root root 4253 Jun 24 2002 .directory
-rw-r--r-- 1 root root 6805 Jun 24 2002 KBanner.desktop
-rw-r--r-- 1 root root 7428 Jun 24 2002 KBlankscreen.desktop
-rw-r--r-- 1 root root 6651 Jun 24 2002 KBlob.desktop
-rw-r--r-- 1 root root 6526 Jun 24 2002 KBouboule.desktop
-rw-r--r-- 1 root root 6960 Jun 24 2002 KLines-saver.desktop
-rw-r--r-- 1 root root 7348 Jun 24 2002 KLorenz.desktop
-rw-r--r-- 1 root root 6801 Jun 24 2002 KMatrix.desktop
-rw-r--r-- 1 root root 6684 Jun 24 2002 KMorph3D.desktop
-rw-r--r-- 1 root root 7577 Aug 5 2002 kpartsaver.desktop
-rw-r--r-- 1 root root 7133 Jun 24 2002 KPipes.desktop
-rw-r--r-- 1 root root 7204 Jun 24 2002 KPolygon.desktop
-rw-r--r-- 1 root root 6732 Jun 24 2002 KPyro.desktop
-rw-r--r-- 1 root root 7198 Jun 24 2002 KRandom.desktop
-rw-r--r-- 1 root root 6942 Jun 24 2002 KRock.desktop
-rw-r--r-- 1 root root 7075 Jun 24 2002 KScience.desktop
-rw-r--r-- 1 root root 7401 Jun 24 2002 KSlidescreen.desktop
-rw-r--r-- 1 root root 7317 Jun 24 2002 KSlideshow.desktop
-rw-r--r-- 1 root root 7239 Jun 24 2002 KSpace.desktop
-rw-r--r-- 1 root root 6904 Jun 24 2002 KSwarm.desktop
-rw-r--r-- 1 root root 7515 Jun 24 2002 KVm.desktop
$ cp KMatrix.desktop /home/apollo/.kde/share/applnk-redhat/System/ScreenSavers

Obviously substitute your usename for "apollo" in the path. Also be careful with the case of files and directories. I think System should be upper case.
 
Old 04-19-2003, 01:53 PM   #17
Mutley101
Member
 
Registered: Apr 2003
Location: Essex, UK
Distribution: Red Hat 8.0 and (XP)
Posts: 30

Original Poster
Rep: Reputation: 15
Capt_Caveman. I found the KMatrix.desktop

I then entered the following command.

cp KMatrix.desktop /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/

This is the error message I got.

cp: cannot create regular file '/home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/KMatrix.desktop' : No such file or directory.

I know to some people this is really easy and I must appear stupid, but I'm obviously having difficulty with it.

I know about case sensitivity and have followed the directions to the letter every i doted and every t crossed so to speak. What you see typed above is exactly how I entered it!

What am I doing wrong.

Do I have to come out of the kscreensaver/ScreenSavers directory before I enter in the above command? I'm sure it should work from there!

(Note: I have been using my username "Lee" all along, I originally didn't want to broadcast it. But I got the impression that people were thinking I was actualy typing in the word "username" instead of my real username)
 
Old 04-19-2003, 01:59 PM   #18
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
That error message means that the directory:
/home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/

does not exist - make sure that it exists before copying again.
 
Old 04-19-2003, 02:13 PM   #19
Mutley101
Member
 
Registered: Apr 2003
Location: Essex, UK
Distribution: Red Hat 8.0 and (XP)
Posts: 30

Original Poster
Rep: Reputation: 15
david_ross

When I first opened a terminal window I entered this command.

mkdir System
I then entered this command
mkdir Screensavers

Surely this is where "/home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/" should be found?

So I ask again what am I doing wrong, because I can't see where I'm going wrong!

At first I thought it was because originaly I was advised to eneter "Screensavers" but when I tried using the command string in either varient of the word screensavers (to take into consideration case sensitivity) it still claims "No such file or directory".
 
Old 04-19-2003, 02:22 PM   #20
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
That would only make System and Screensavers in the current directory. Try:
Code:
mkdir /home/Lee/.kde/share/applnk-redhat/System
mkdir /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers
cp /usr/share/apps/kscreensaver/ScreenSavers/KMatrix.desktop /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/

Last edited by david_ross; 04-19-2003 at 02:26 PM.
 
Old 04-19-2003, 03:59 PM   #21
Mutley101
Member
 
Registered: Apr 2003
Location: Essex, UK
Distribution: Red Hat 8.0 and (XP)
Posts: 30

Original Poster
Rep: Reputation: 15
david_ross

I copied letter for letter the solution below.

mkdir /home/Lee/.kde/share/applnk-redhat/System
mkdir /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers
cp /usr/share/apps/kscreensaver/ScreenSavers/KMatrix.desktop /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/

But when I hit the return key after this line.
cp /usr/share/apps/kscreensaver/ScreenSavers/KMatrix.desktop /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/

I got the following message.
cp: Missing destination file.

Could it be because there wasnt a cd string before the cp string?
 
Old 04-19-2003, 04:08 PM   #22
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
the cp line should all be one line - the forum word wrapped it the first time - I edited it earlier - you must have seen it before I put it in a code bracket.
 
Old 04-19-2003, 04:26 PM   #23
Mutley101
Member
 
Registered: Apr 2003
Location: Essex, UK
Distribution: Red Hat 8.0 and (XP)
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by david_ross
the cp line should all be one line - the forum word wrapped it the first time - I edited it earlier - you must have seen it before I put it in a code bracket.
I assumed that was the case and entered the cp line as one line.
 
Old 04-19-2003, 04:29 PM   #24
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
What happens when you just type:
/home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/

It should say it is a directory - I take it that the 2 previous commands gave no errors.
 
Old 04-19-2003, 04:35 PM   #25
Mutley101
Member
 
Registered: Apr 2003
Location: Essex, UK
Distribution: Red Hat 8.0 and (XP)
Posts: 30

Original Poster
Rep: Reputation: 15
The first two commands are fine

When I enter /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/

I get the following message:

"Bash: /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/ Is a directory".
 
Old 04-19-2003, 04:39 PM   #26
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
This is very odd - try:

cp /usr/share/apps/kscreensaver/ScreenSavers/KMatrix.desktop /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/KMatrix.desktop
 
Old 04-19-2003, 04:48 PM   #27
Mutley101
Member
 
Registered: Apr 2003
Location: Essex, UK
Distribution: Red Hat 8.0 and (XP)
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by david_ross
This is very odd - try:

cp /usr/share/apps/kscreensaver/ScreenSavers/KMatrix.desktop /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/KMatrix.desktop
I get the following message.

cp: Missing destination file.
 
Old 04-19-2003, 04:51 PM   #28
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
OK - this is very odd and doesn't seem possible - try these 2 commands:
Code:
cd /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers
cp /usr/share/apps/kscreensaver/ScreenSavers/KMatrix.desktop .
 
Old 04-19-2003, 05:02 PM   #29
Mutley101
Member
 
Registered: Apr 2003
Location: Essex, UK
Distribution: Red Hat 8.0 and (XP)
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by david_ross
OK - this is very odd and doesn't seem possible - try these 2 commands:
Code:
cd /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers
cp /usr/share/apps/kscreensaver/ScreenSavers/KMatrix.desktop .
Well.
The first command was ok
The seond command got the following error message:

cp: Missing destination file.
 
Old 04-19-2003, 05:06 PM   #30
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Did you type the " ."?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
screensaver -=MaGo=- Mandriva 5 01-30-2005 01:24 PM
Screensaver himyuza Slackware 2 01-18-2005 05:21 PM
Screensaver Harryc SUSE / openSUSE 4 10-18-2004 01:39 PM
screensaver jdphjp Red Hat 1 10-04-2003 09:03 AM
Screensaver Ray Linux - Newbie 0 08-16-2001 10:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration