Trisquel-mini is forgetting desktop settings

Progetto:Trisquel
Componente:Programs
Categoria:segnalazione di bug
Priorità:normal
Assigned:Non assegnata
Stato:closed
Descrizione

In Trisquel-mini, previously set desktop configuration is forgotten upon login. Specifically, PCMan File Manager's settings are those who are forgotten, such as the wallpaper.

The problem is in the "trisquel-mini-data" package. The shell script "starttrisquel-mini" which is executes at login overwrites the PCMan File Manager config file. This script checks for "$HOME/.config/pcmanfm/pcmanfm.conf", and if it doesn't find it, then it copies a new file with the default settings. After that, it seems like when PCManFM starts, it moves the config file to "$HOME/.config/pcmanfm/default/pcmanfm.conf", overwriting any file there.

I checked how the LXDE packages deal with this issue.

The way to fix this is to edit a line each in of the files "/usr/bin/starttrisquel-mini" and "/etc/xdg/lxsession/Trisquel-mini/autostart".

This line in "starttrisquel-mini" should be fixed:

PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm"
It should become:
PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm/Trisquel-mini"

This line in "autostart" should be fixed:

@pcmanfm --desktop
It should become:
@pcmanfm --desktop --profile Trisquel-mini

Gio, 11/10/2011 - 16:32
Stato:fixed» closed

Confirmed.

Dom, 09/16/2012 - 14:43

Hello. I am using Trisquel 4.0, having the same trouble. I have patched files, but every restart, the wallpaper is the default one, until I click on the desktop and select the Window Manager Menu; after this my wallpaper comes.
Any idea to solve this problem? Thanks.

Mer, 09/19/2012 - 04:32

This was fixed in Trisquel 5.0 and above. You may have to upgrade to get this fix.