FS#30503 - [lxde-common] 0.5.5-1 `/usr/bin/startlxde' grabs `pcmanfm.conf' from incorrect location
Attached to Project:
Community Packages
Opened by Edward M Banner (meken) - Sunday, 01 July 2012, 15:29 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Monday, 02 July 2012, 17:57 GMT
Opened by Edward M Banner (meken) - Sunday, 01 July 2012, 15:29 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Monday, 02 July 2012, 17:57 GMT
|
Details
Description:
One of the first things the `/usr/bin/startlxde' script does is check to see if the system-wide LXDE configuration file for pcmanfm exists. It does this by checking to see if the `$HOME/.config/pcmanfm/LXDE/pcmanfm.conf' exists. If it does not exist, the system-wide LXDE `pcmanfm.conf' file is copied to `$HOME/.config/pcmanfm/LXDE/pcmanfm.conf' in the line 11: cp /usr/share/lxde/pcmanfm/pcmanfm.conf "$PCMANFM_CONF_DIR/pcmanfm.conf" This command results in the following error: cp: cannot stat ‘/usr/share/lxde/pcmanfm/pcmanfm.conf’: No such file or directory As of 1 July 2012, the LXDE pcmanfm.conf file is no longer kept in `/usr/share/lxde/pcmanfm/pcmanfm.conf', but is kept at `/etc/xdg/pcmanfm/LXDE/pcmanfm.conf'. Simply replacing the line cp /usr/share/lxde/pcmanfm/pcmanfm.conf "$PCMANFM_CONF_DIR/pcmanfm.conf" with cp /etc/xdg/pcmanfm/LXDE/pcmanfm.conf "$PCMANFM_CONF_DIR/pcmanfm.conf" fixes the bug. Additional info: * package version(s) config and/or log files etc. [lxde-common] 0.5.5-1 * config and/or log files etc. $ startlxde cp: cannot stat ‘/usr/share/lxde/pcmanfm/pcmanfm.conf’: No such file or directory Steps to reproduce: Delete the $HOME/.config/pcmanfm/LXDE/pcmanfm.conf file and run `startlxde`. Updated `/usr/bin/startlxde' script attached. |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Monday, 02 July 2012, 17:57 GMT
Reason for closing: Fixed
Additional comments about closing: lxde-common 0.5.5-2
Monday, 02 July 2012, 17:57 GMT
Reason for closing: Fixed
Additional comments about closing: lxde-common 0.5.5-2
startlxde.fixed