Author Topic: Fix for making theme custom colours persistent across reboots  (Read 3070 times)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Fix for making theme custom colours persistent across reboots
« on: October 15, 2014, 07:52:54 pm »
There was a bug in lxsession in 14.04 that stopped custom colours being saved across a reboot.

If you go to
menu > Preferences > Customize Look and Feel > Colour (tab)

and tick the box "Use customised colour scheme"

Any changes you made were applied (after hitting Apply), but as soon as you logged off/on the custom colours were ignored and the theme defaults were used again.

The fix...

First you need to install the version of lxsession from Utopic :-

For 32bit Peppermint 5
https://launchpad.net/ubuntu/+source/lxsession/0.4.9.2+git20140410-0ubuntu3/+build/6360181/+files/lxsession_0.4.9.2%2Bgit20140410-0ubuntu3_i386.deb

for 64bit Pepppermint 5
https://launchpad.net/ubuntu/+source/lxsession/0.4.9.2+git20140410-0ubuntu3/+build/6360178/+files/lxsession_0.4.9.2%2Bgit20140410-0ubuntu3_amd64.deb

Double-click the downloaded file to install

Now run:
Code: [Select]
gedit ~/.config/lxsession/Peppermint/desktop.confand if it contains a line that reads

iGtk/ColorScheme=

Comment it out, so it now reads

#iGtk/ColorScheme=

SAVE the file .. then log off/on

Now custom colours will persist across logins/reboots.



reference:
https://bugs.launchpad.net/ubuntu/+source/lxsession/+bug/1316384
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Online VinDSL

  • Administrator
  • Hero
  • *****
  • Posts: 5880
  • Karma: 1154
  • Team Peppermint
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Fix for making theme custom colours persistent across reboots
« Reply #1 on: October 15, 2014, 09:52:37 pm »
Nice find!

Thx  ;)

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Fix for making theme custom colours persistent across reboots
« Reply #2 on: October 15, 2014, 11:41:38 pm »
Hi Mark, my 64bit system is have none of it.  It kicks up this error:



Tried to install from the CLI and this is the output:
Spoiler (click here to view / hide)
[close]

I remove and purged the:
Code: [Select]
mintupdate_4.6.7+peppermint5_all.deb
Tried again to install:
Code: [Select]
lxsession_0.4.9.2+git20140410-0ubuntu3_amd64.debAgain errors:
Spoiler (click here to view / hide)
[close]
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Fix for making theme custom colours persistent across reboots
« Reply #3 on: October 16, 2014, 12:05:59 am »
Mmmm, lxsession_0.4.9.2+git20140410-0ubuntu3_amd64.deb may have kicked errors on installation.  The desktop.conf file could be edited and after a reboot, the "Use customised colour scheme" error appears to be resolved.  Nice one  ;)!!
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.