The Navigatrix has been updated. The new website can be found at navigatrix.net.




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: How to get rid of the "home" desktop shortcut

Joined: 29 Apr 2013, 06:05
Posts: 36
On the desktop there is a home.desktop file which I can't get rid off. Moving it to the trash is not working, starting pcmanfm as root doesn't help, I can't change permissions and even 'sudo rm -f home.desktop' is not permitted. I am working on a harddrive installed instance of navigatrix- any clues?

Cheers, Christian


Top
   
 
 Post subject: Re: How to get rid of the "home" desktop shortcut
Site Admin

Joined: 05 Nov 2010, 01:00
Posts: 185
Its the "i" attribut which is set. You can remove it with
sudo chattr -i /home/$USER/Desktop/home.desktop


Top
   
 
 Post subject: Re: How to get rid of the "home" desktop shortcut

Joined: 29 Apr 2013, 06:05
Posts: 36
Ah, hanks a lot, Ilearn something new evry day. Didn't know about that one. What was he reason to use the "i" attribute? Just write protection, or something else?


Top
   
 
 Post subject: Re: How to get rid of the "home" desktop shortcut
Site Admin

Joined: 05 Nov 2010, 01:00
Posts: 185
Just to make sure it does not get deleted by accident.


Top
   
 
 Post subject: Re: How to get rid of the "home" desktop shortcut

Joined: 04 Nov 2010, 20:51
Posts: 1062
I learn something new every day as well. i is for immutable, a is for appendable.
Code:
sudo chattr -R +a ~/Desktop/
For example, makes the directory Desktop, and everything in it recursively, appendable, but data/files cannot be removed.

The same applies to individual files. Data can be added, but not removed until the attribute flag is flipped back.


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Search for:
cron

Credits © 2010 - 2024