Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27

Thread: Locking icons position

  1. #11
    Join Date
    Jul 2011
    Beans
    9

    Re: Locking icons position

    great tips! thank's!
    I hope this will be corrected in the next XFCE version.

  2. #12
    Join Date
    Dec 2011
    Beans
    9

    Re: Locking icons position

    I decided to give GNOME the last try, before i surrender and install xubuntu to get the xcfe: So far I got to this in gconfig editor: /desktop/gnome/file_views/icon_theme.
    Can I use the "chattr" command here, or am i risking a major explosion then ?

    BTW: There's an ongoing discussion dating from 2005-2009 here, but it's way over my head:
    https://bugzilla.gnome.org/show_bug.cgi?id=301615#c1
    Last edited by jamibair1; February 12th, 2012 at 07:07 PM.

  3. #13
    Join Date
    Oct 2008
    Location
    Ottawa, Canada
    Beans
    801
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Locking icons position

    Quote Originally Posted by jamibair1 View Post
    I decided to give GNOME the last try, before i surrender and install xubuntu to get the xcfe: So far I got to this in gconfig editor: /desktop/gnome/file_views/icon_theme.
    Can I use the "chattr" command here, or am i risking a major explosion then ?

    BTW: There's an ongoing discussion dating from 2005-2009 here, but it's way over my head:
    https://bugzilla.gnome.org/show_bug.cgi?id=301615#c1
    Not at all, the chattr command is for files, not configuration entries. If you can find a file that tells Nautilus (i.e the GNOME desktop manager) where to place icons, that might work. So far I couldn't find one.
    husband@wife$ make sandwich
    Permission denied
    husband@wife$ sudo make sandwich

  4. #14
    Join Date
    Oct 2011
    Beans
    4

    Re: Locking icons position

    Gee. Am realy fooling around here. Just discovered, that i couldn't login with my jamibair1. Reason is, i've already some time ago created an account: jamibair (probably after a long night with the boys). So sorry!
    Enough of that.
    As Lewis TM so kindly pointed out, I was using GNOME. Now I've installed Xfce, and tried the command "sudo chattr +1 ~/ etc...". It didn't work, even when i copy paste the entire file name. Then I tried same command without space between +1 and /.config (sudo chattr +1/.config/...), but this time the outcome was this:
    graanet@graanet-laptop:~$ sudo chattr +i/home/graanet/.config/xfce4/desktop/icons0.rc:
    Usage: chattr [-RVf] [-+=AacDdeijsSu] [-v version] files...
    What's my mistakes this time ?


    Last edited by jamibair; February 17th, 2012 at 11:17 AM.

  5. #15
    Join Date
    Oct 2008
    Location
    Ottawa, Canada
    Beans
    801
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Locking icons position

    Quote Originally Posted by jamibair View Post
    Gee. Am realy fooling around here. Just discovered, that i couldn't login with my jamibair1. Reason is, i've already some time ago created an account: jamibair (probably after a long night with the boys). So sorry!
    Enough of that.
    As Lewis TM so kindly pointed out, I was using GNOME. Now I've installed Xfce, and tried the command "sudo chattr +1 ~/ etc...". It didn't work, even when i copy paste the entire file name. Then I tried same command without space between +1 and /.config (sudo chattr +1/.config/...), but this time the outcome was this:
    graanet@graanet-laptop:~$ sudo chattr +i/home/graanet/.config/xfce4/desktop/icons0.rc:
    Usage: chattr [-RVf] [-+=AacDdeijsSu] [-v version] files...
    What's my mistakes this time ?


    What do you mean by "it didn't work"? Did you get an error message?
    In a terminal, type
    Code:
    sudo chattr +i /home/graanet/.config/xfce4/desktop/icons* 
    or 
    sudo chattr +i ~/.config/xfce4/desktop/icons*
    The +i or -i have to be separate from the filename.
    Last edited by LewisTM; February 18th, 2012 at 05:42 AM.
    husband@wife$ make sandwich
    Permission denied
    husband@wife$ sudo make sandwich

  6. #16
    Join Date
    Oct 2011
    Beans
    4

    Re: Locking icons position

    Ah, Lewis TM, great to hear from you again!

    "Usage: chattr [-RVf] [-+=AacDdeijsSu] [-v version] files..."

    that was also the reply when i wrote the command, exactly as you posted it should be. But it didn't work.(?)
    Last edited by jamibair; February 17th, 2012 at 04:09 PM.

  7. #17
    Join Date
    Oct 2008
    Location
    Ottawa, Canada
    Beans
    801
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Locking icons position

    It should work, the error is one of syntax, not of a failure to execute the operation.
    To simplify things, cd to ~/.config/xfce4/desktop
    then type ls to list the files and find the one containing the icons placements, probably called icons.screen0.rc
    Then just copy and paste the command:
    Code:
    sudo chattr +i icons.screen0.rc
    If successful, no output should be seen.

    BTW welcome to the wonderful world of Xfce!
    husband@wife$ make sandwich
    Permission denied
    husband@wife$ sudo make sandwich

  8. #18
    Join Date
    Oct 2011
    Beans
    4

    Re: Locking icons position

    @LewisTM: Thank you for always fast replies and welcoming
    I performed the task as instructed, however the icons still happily fly around when I hold down left button and drag.
    Am probably still fooling around.

  9. #19
    Join Date
    Oct 2008
    Location
    Ottawa, Canada
    Beans
    801
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Locking icons position

    Quote Originally Posted by jamibair View Post
    @LewisTM: Thank you for always fast replies and welcoming
    I performed the task as instructed, however the icons still happily fly around when I hold down left button and drag.
    Am probably still fooling around.
    I think you missed a key point. Locking the file prevents the changes from being written to DISK. You can still move icons around but the desktop will forever be amnesic. Press F5 to reload the desktop and see for yourself.
    Also this prevents icon PLACEMENT from changing, not anything else (image, name, etc.).
    husband@wife$ make sandwich
    Permission denied
    husband@wife$ sudo make sandwich

  10. #20
    Join Date
    Oct 2011
    Beans
    4

    Re: Locking icons position

    And that's certainly an improvement regarding my project.
    Than you for helping me out

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •