LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-23-2013, 12:48 AM   #1
waddles
Member
 
Registered: Sep 2012
Posts: 373

Rep: Reputation: 0
Using chattr


I had been looking for a way to find locate on the screen by x & y the position of a single icon. I ran into this on the Internet:
Code:
Save with:
     sudo chattr +i ~/.config/xfce4/desktop/icons*
     F5 TO RELOAD IF RESIZED
     OR LAUNCHER WITH
     xfdesktop --reload

If you need to reverse the lock on your icon placement run:
     sudo chattr -i ~/.config/xfce4/desktop/icons*
I have read the man page on chattr but don't quite know its function.
From the man page the file system it is using seems to arrange files differently than ext3. I checked the HOW TOs and came up empty.
Could someone point me somewhere where it has a bit more info?
And I presume this command is being applied to all icons. Is there a way to locate and change the icons position individually?
ADDENDUM
Yes it can be used on individual files.
Neat way to protect Passwords
Found what I needed

Last edited by waddles; 10-23-2013 at 01:01 AM.
 
Old 10-23-2013, 02:16 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Although this is marked as being solved, here are some chattr (and lsattr) related links:

- chattr - wiki
- chattr
- lsattr
 
2 members found this post helpful.
Old 10-23-2013, 03:12 AM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,724

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
The '+i' option simply makes it impossible to modify, delete or rename the file(s) and has nothing to do with locating a pixel or its position.
 
2 members found this post helpful.
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using chattr +c on ext4 fs Andy Alkaline Slackware 8 01-30-2011 03:20 AM
chattr not working JJX Linux - Newbie 3 10-18-2005 03:39 AM
chattr + 2.4.20-lq2? tarballedtux Linux - Security 3 01-06-2003 08:30 AM
need help with chattr ruprick Linux - Newbie 4 02-19-2002 10:39 AM
chattr usage sancho5 Linux - General 0 11-21-2001 02:02 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration