LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 04:07 PM   #31
Mutley101
Member
 
Registered: Apr 2003
Location: Essex, UK
Distribution: Red Hat 8.0 and (XP)
Posts: 30

Original Poster
Rep: Reputation: 15

No
 
Old 04-19-2003, 04:08 PM   #32
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
If that fails try:
Code:
ln -s /usr/share/apps/kscreensaver/ScreenSavers/KMatrix.desktop /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/KMatrix.desktop
 
Old 04-19-2003, 04:19 PM   #33
Mutley101
Member
 
Registered: Apr 2003
Location: Essex, UK
Distribution: Red Hat 8.0 and (XP)
Posts: 30

Original Poster
Rep: Reputation: 15
That appears to be ok, as the cursor is waiting for a new command.

No error messages.
 
Old 04-19-2003, 04:27 PM   #34
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Does it work now?
 
Old 04-19-2003, 04:33 PM   #35
Mutley101
Member
 
Registered: Apr 2003
Location: Essex, UK
Distribution: Red Hat 8.0 and (XP)
Posts: 30

Original Poster
Rep: Reputation: 15
In a word. No
 
Old 04-19-2003, 08:50 PM   #36
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Try using the cd command to move through the directory tree to where you want to put the file.
First open a terminal window (you will be in /home/Lee)
cd .kde
cd share
cd applnk-redhat
cd System
cd Screensavers

When you do that, be very careful to note which directories are upper-case and which ones are lower case. If at any point you get a "no such file or directory" error, then you made a mistake when creating the directories. Most likely the case of one of the directories is wrong. Once you can navigate to the target directory alright then move back to the directory where the KMatrix screensaver resides:
cd /usr/share/apps/kscreensaver/ScreenSavers
ls (to make sure the KMatrix file is there)

Now copy it:
cp KMatrix.desktop /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/KMatrix.desktop

Make sure you enter all the upper and lowercase stuff properly and that you have all the slashes correct
 
Old 04-20-2003, 06:44 AM   #37
Mutley101
Member
 
Registered: Apr 2003
Location: Essex, UK
Distribution: Red Hat 8.0 and (XP)
Posts: 30

Original Poster
Rep: Reputation: 15
I did exactly as you suggested, I even triple checked every thing before entering the command.

cd .kde
cd share
cd applnk-redhat
cd System
cd Screensavers

KMatrix.desktop

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

cp: Missing destination file

(My brother double checked my command string and I checked it once again. Hence triple check)

So I did it all again except I used 'ls -al' after entering cd ScreenSavers. And I was alarmed to see the following flashing at me:

Code:
KMatrix.desktop -> /usr/share/apps/kscreensaver/ScreenSavers/KMatrix.desktop/home/Lee/.kde.share/applnk-redhat/System/ScreenSavers/KMatrix.desktop
(Note: '->' was not flashing)

Why is this flashing?

Last edited by Mutley101; 04-20-2003 at 06:49 AM.
 
Old 04-20-2003, 06:57 AM   #38
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
because the filename does not exist. You don't say that you did any symlinking in that post, but there is no way at all that the bit after -> is a real file... it's just gibberish. i assume it's just two paths joined together and also has a spelling mistake at .kde.share (should be .kde/share ?)
 
Old 04-20-2003, 07:23 AM   #39
Mutley101
Member
 
Registered: Apr 2003
Location: Essex, UK
Distribution: Red Hat 8.0 and (XP)
Posts: 30

Original Poster
Rep: Reputation: 15
acid_kewpie


In my haste to post the offending flasher I hit '.' instead of '/' however the remainder of the 'giberish' is as typed. I should have previewed that post before submiting it.

Code:
KMatrix.desktop -> /usr/share/apps/kscreensaver/ScreenSavers/KMatrix.desktop/home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/KMatrix.desktop
But why is it there and could this be the reason for not being able to fix my original problem?
 
Old 04-20-2003, 08:43 AM   #40
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
It is there because I suggested making a symlink to the file but you didn't link it to a file that existed you used a command other than the one I suggested in post 31.

No offense but it really does look like you are hving problems with these commands. Maybe you should copy and paste them rather than typing them.
 
Old 04-20-2003, 11:39 AM   #41
Mutley101
Member
 
Registered: Apr 2003
Location: Essex, UK
Distribution: Red Hat 8.0 and (XP)
Posts: 30

Original Poster
Rep: Reputation: 15
I would prefer to cut and paste but can KDE or RedHat recognise Note Pad. I thought that the two OS were incompatable, which is why I was printing them and then typing them in to my other PC downstairs.
 
Old 04-20-2003, 12:51 PM   #42
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
I'm not sure what you mean by being incompatable.

Are teh systems networked or do they both have net access?
 
Old 04-20-2003, 12:52 PM   #43
Mutley101
Member
 
Registered: Apr 2003
Location: Essex, UK
Distribution: Red Hat 8.0 and (XP)
Posts: 30

Original Poster
Rep: Reputation: 15
Ok here is a "cut and paste" of the most recent commands that I have entered:


[Lee@localhost Lee]$ mkdir /home/Lee/.kde/share/applnk-redhat/System
mkdir: cannot create directory `/home/Lee/.kde/share/applnk-redhat/System': File exists


[Lee@localhost Lee]$ mkdir /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers
mkdir: cannot create directory `/home/Lee/.kde/share/applnk-redhat/System/ScreenSavers': File exists


[Lee@localhost Lee]$ cp /usr/share/apps/kscreensaver/ScreenSavers/KMatrix.desktop /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/
cp: cannot stat `/home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/KMatrix.desktop': Not a directory


[Lee@localhost Lee]$ cd /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers
[Lee@localhost ScreenSavers]$ cp /usr/share/apps/kscreensaver/ScreenSavers/KMatrix.desktop
cp: missing destination file Try `cp --help' for more information.


[Lee@localhost ScreenSavers]$ ln -s /usr/share/apps/kscreensaver/ScreenSavers/KMatrix.desktop /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/KMatrix.desktop

ln: `/home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/KMatrix.desktop': File exists
[Lee@localhost ScreenSavers]$

(Note: All commands were cut and paste into the terminal, so there should be no error in upper-lower case or forward slash etc, etc.)

As you can see, I'm still having trouble despite cut and paste. What is going on? Because I still don't have a screen saver!
 
Old 04-20-2003, 12:56 PM   #44
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
I'm not sure what you mean by being incompatible.

Are teh systems networked or do they both have net access?
No they are both stand alone machines. Only my XP machine is capable of net access, as the Linux one has a win-modem and does not work. I'm going to rectify this by buying a hardware modem come next pay day.

By incompatible I mean can they read each other. But I now know that they can so that one is mute now.
 
Old 04-20-2003, 01:05 PM   #45
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
OK - at least we can now see what stage you are at. The directories are definately there. Try these 3 commands:
Code:
rm -f /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers/KMatrix.desktop
cd /home/Lee/.kde/share/applnk-redhat/System/ScreenSavers
cp /usr/share/apps/kscreensaver/ScreenSavers/KMatrix.desktop ./KMatrix.desktop
 
  


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 12:24 PM
Screensaver himyuza Slackware 2 01-18-2005 04:21 PM
Screensaver Harryc SUSE / openSUSE 4 10-18-2004 12:39 PM
screensaver jdphjp Red Hat 1 10-04-2003 08:03 AM
Screensaver Ray Linux - Newbie 0 08-16-2001 09:53 PM


All times are GMT -5. The time now is 12:17 AM.

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