Results 1 to 10 of 10

Thread: Knoppix 6.4.3: Desktop / PCManFM settings persistence

  1. #1
    Junior Member
    Join Date
    Feb 2009
    Posts
    5

    Knoppix 6.4.3: Desktop / PCManFM settings persistence

    I've created a Knoppix 6.4.3 USB drive from the CD and set up persistent storage.

    When I change the desktop background, or adjust PCManFM settings (e.g. preventing partitions automatically mounting), they are lost when I log out of LXDE (which then starts a new LXDE session) or reboot Knoppix. The contents of ~/.config/pcmanfm/LXDE/pcmanfm.conf seem to get reset.

    I've tried deleting and recreating the persistent storage (knoppix-data.img) and deleting the ~/.config/pcmanfm directory so that it gets recreated.

    Anyone else see this, know what's going on, or know of a solution?

    Thank you

  2. #2
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    I am also struggling with these, but have no solutions to offer as yet.

  3. #3
    Junior Member
    Join Date
    Feb 2009
    Posts
    5
    Thanks for confirming it's not just me. Here's a workaround I've discovered:

    Configure PCManFM settings and the desktop as required.
    Copy the settings to "LXDE.conf" in the "pcmanfm" directory:
    $ cp ~/.config/pcmanfm/LXDE/pcmanfm.conf ~/.config/pcmanfm/LXDE.conf
    Recursively remove knoppix's write permission from the pcmanfm directory structure:
    $ chmod -R u-w ~/.config/pcmanfm

    Obviously subsequent changes now won't persist.

    I boot into Knoppix from a USB drive to back up my OS system partition. If PCManFM auto-mounts all partitions, this could affect the integrity of my backups.

    Thanks.

  4. #4
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    I've added 'umount -r /media/sda3' to my rc.local file.
    My main ntsf file then initially shows as unmounted unless OS icon is
    single-clicked on PCManFM. Pretty slim protection.

    Peculiarly, and fortunately, other ntsf files on
    sda1 and sda2 are not automatically mounted by default
    as is sda3 here.

    This is a bad choice of default in PCManFM and a critical
    error somewhere in the init structure of K6.4.3 IMHO.
    I'd like it to be difficult for knoppix, the user,
    to access my ntsf files.

    I note several other places where changed default choices do not
    survive re-boot in K6.4.3 that were no such nuisance in K6.2.1.
    These include the cube background jpg, firewall settings, and
    alsamixer settings.

  5. #5
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    When I had a similar problem in 6.2.1, kl522 offered
    the following suggestion, which I now understand:

    Edit /etc/xdg/lxsession/LXDE/autostart
    such that the @pcmanfm line reads @pcmanfm --desktop
    That is, delete the --profile LXDE.

    I think this will empower the PCManFM gui's to control
    desktop preferences as one would expect.

    Cheers, and belated thanks to kl522.

  6. #6
    Junior Member
    Join Date
    Jan 2011
    Posts
    1
    [QUOTE=utu;122417

    Edit /etc/xdg/lxsession/LXDE/autostart
    such that the @pcmanfm line reads @pcmanfm --desktop
    That is, delete the --profile LXDE.
    .[/QUOTE]

    This worked like a charm for me

  7. #7
    Member registered user
    Join Date
    Nov 2006
    Posts
    30
    I opened the autostart file in LeafPad but when I try to save the edited file back into LXDE I get the message 'can't open file to write'. Anyone help me out?

  8. #8
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    ... you must be root to change this file. Start with 'Run' and type 'gksu leafpad'.

    Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
    "Build personal Recovery-CD with Knoppix (Knoppix remaster)"

  9. #9
    Member registered user
    Join Date
    Nov 2006
    Posts
    30
    Thanks Werner

  10. #10
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    The problem which initially defined this thread
    has been corrected in Knoppix 6.4.4.

Posting Permissions

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


IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8 picture

IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8

$479.96



IBM 8247-22L S822L 2 CPUs 256GB 12x Drives SFF Power8 Linux Server picture

IBM 8247-22L S822L 2 CPUs 256GB 12x Drives SFF Power8 Linux Server

$749.00



Red Hat Enterprise Linux 5 Server - New and Sealed picture

Red Hat Enterprise Linux 5 Server - New and Sealed

$19.99



Asus ESC4000 G3 Barebones 0GB HDD Linux picture

Asus ESC4000 G3 Barebones 0GB HDD Linux

$200.00



IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E picture

IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E

$799.96



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



IBM Power 9 S922 8-Core 3.4-3.9Ghz 128Gb DDR4 2U Linux Server - 9009-22a picture

IBM Power 9 S922 8-Core 3.4-3.9Ghz 128Gb DDR4 2U Linux Server - 9009-22a

$3439.96



1U SFF Supermicro Server X10DRW-iT 2x (Xeon 36 Cores) 128GB  2x PCI-E X16 Slots picture

1U SFF Supermicro Server X10DRW-iT 2x (Xeon 36 Cores) 128GB 2x PCI-E X16 Slots

$428.00



IBM System X 3250 M5 Single Xeon Quad Core E3-1220 v3 @3.1GHz,8GB RAM,Linux SUSE picture

IBM System X 3250 M5 Single Xeon Quad Core E3-1220 v3 @3.1GHz,8GB RAM,Linux SUSE

$199.87



POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives picture

POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives

$179.99