LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-16-2003, 08:15 PM   #1
beckwith
Member
 
Registered: Nov 2002
Location: Western Australia
Distribution: Debian Gnu/Linux 7.8.0
Posts: 113

Rep: Reputation: 15
icon name keeps changing


I have an icon in the top left of the KDE desktop, a scanner with the name "dynamic_dev_usb_scanner0". I drag it to the bottom right next to one that is also a scanner named "scan dox", and I change it's name to "scan pix" (to match the other one). I found the properties in /usr/share/apps/...esktop/Desktop/dynamic_dev_usb_scanner0.desktop. When I reboot, the icon has gone back to the top left and reverted its name to "dynamic_dev_usb_scanner0" again.
How do I make my changes permanent?
 
Old 09-16-2003, 08:20 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,854

Rep: Reputation: 310Reputation: 310Reputation: 310Reputation: 310
"How do I make my changes permanent?"

Ignore /usr/share/apps/...esktop/Desktop/dynamic_dev_usb_scanner0.desktop.

Instead right click on the icon, click on properties, and edit the properties.
 
Old 09-17-2003, 10:25 PM   #3
beckwith
Member
 
Registered: Nov 2002
Location: Western Australia
Distribution: Debian Gnu/Linux 7.8.0
Posts: 113

Original Poster
Rep: Reputation: 15
Thanks, but that doesn't work. First of all the scanner icon is on a non-root desktop. Initially it starts life as "Xsane /dev/usb/scanner0". When you right click on it to change properties I can change its name, but I can't save the change because of permissions. Now figuring there's a valid reason for the permissions being the way they are, I opened a konsole as root, tracked down where the file was, edited the "name", and all was OK. That is until I rebooted and the icon moved back to the top left, and changed its name as I originally described. PS this is Mandrake 9.1
 
Old 09-17-2003, 10:34 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,854

Rep: Reputation: 310Reputation: 310Reputation: 310Reputation: 310
" First of all the scanner icon is on a non-root desktop."

Try this:
write down all of the properties of the errant icon
Log into user.
right click on a blank place on the desktop.
Create a new link to application using all of the properties you wrote down, except you may have to give the new icon a different name.
log out of user
log into user and play around with the new icon.
If it works OK then log into root and delete the errant icon.


You might have to change the permissions of your scanner device to allow user access to the scanner.

Last edited by jailbait; 09-17-2003 at 10:35 PM.
 
Old 09-20-2003, 03:30 AM   #5
beckwith
Member
 
Registered: Nov 2002
Location: Western Australia
Distribution: Debian Gnu/Linux 7.8.0
Posts: 113

Original Poster
Rep: Reputation: 15
Hello, - almost there! I did as you suggested and my version of the icon stays where I put it & behaves AOK. *BUT* the other icon cannot be deleted. As a "user" I don't have permission from the desktop right-click. I delete it from the directory:
"/usr/share/apps/kdesktop/Desktop" where it is named:
"dynamic_dev_usb_scanner0.desktop" (and when I exit konsole as root) it's still there on my user desktop. I reboot, and it's back on both the user desktop *and* back in the /usr/share/apps.... directory. Obviously I don't want 2 icons.........
BTW the rest of that directory is currently empty (bar "." & ".." and the rogue "scanner" file)
 
Old 09-20-2003, 03:29 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,854

Rep: Reputation: 310Reputation: 310Reputation: 310Reputation: 310
"the other icon cannot be deleted."

I can only guess at how to get rid of it. So two guesses are:

1. As root delete the entire directory.

2. As root set the permissions of both the directory and the file to 777. Then log in as user and try to delete the icon with right-click.
 
Old 09-23-2003, 12:43 AM   #7
beckwith
Member
 
Registered: Nov 2002
Location: Western Australia
Distribution: Debian Gnu/Linux 7.8.0
Posts: 113

Original Poster
Rep: Reputation: 15
Success with your guess number #1. I reasoned that since when I delete the thing it gets recreated when I reboot, that if the the directory didn't exist there'd be a fair chance the recreation would fail. What did surprise me was that I saw no error message as the system restarted. Thanks for the help.
 
  


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
KDE icon changing mykrob Linux - Software 1 09-08-2004 02:44 PM
Changing buddy icon in GAIM sharpie Linux - Software 6 07-28-2004 04:47 PM
Changing One Icon For Another applelinuxman Linux - Newbie 2 06-09-2004 09:02 AM
changing the icon for Firefox sigma957 Slackware 6 06-07-2004 11:28 AM
changing that darn menu icon notslim Linux - General 2 08-15-2003 11:01 PM


All times are GMT -5. The time now is 10:57 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