SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2014-10-22 13:31:07

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Workaround for bug in lxappearance v0.5.6 (testing/sid)

When changing themes with the recent version, lxappearance writes an incorrect  ~/.config/gtk-3.0/settings.ini.  See sourceforge bugs
This leads to errors like;

[damo@cb1-laptop ~]$ galculator 

(galculator:13218): Gtk-WARNING **: Error setting gtk-xft-antialias in /home/damo/.config/gtk-3.0/settings.ini: Key file contains key 'gtk-xft-antialias' in group 'Settings' which has a value that cannot be interpreted.

(galculator:13218): Gtk-WARNING **: Error setting gtk-xft-hinting in /home/damo/.config/gtk-3.0/settings.ini: Key file contains key 'gtk-xft-hinting' in group 'Settings' which has a value that cannot be interpreted.

This is because it is writing "true/false" instead of "1/0" in the settings.ini file.

My workaround is to run lxappearance from a script, which re-writes the settings.ini after lxappearance closes.

#!/bin/bash
##
LXPATH=/usr/bin/lxappearance
INIPATH="$HOME"/.config/gtk-3.0/settings.ini

# run lxappearance
"$LXPATH"

# when it closes, correct the settings.ini
sed -i 's/false/0/g' "$INIPATH"
sed -i 's/true/1/g' "$INIPATH"

exit 0

BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

Help fund CrunchBang, donate to the project!

#2 2014-10-22 20:39:48

common-sense
#! CrunchBanger
Registered: 2014-09-08
Posts: 130

Re: Workaround for bug in lxappearance v0.5.6 (testing/sid)

Nice to know. I guess I will need it now that I'm going to reinstall #!  I'm going to mix it up with a few good things from Sparky, and also make Netflix natively supported within #!. Netflix is pretty much a must these days. At least for me.

Offline

#3 2014-10-22 20:47:54

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Workaround for bug in lxappearance v0.5.6 (testing/sid)

@damo -- thanks for the tip.
@common-sense -- have you seen this week's DistroWatch?
They test Sparky but have to end the test early 'cos the second update messed up the install...
http://distrowatch.com/weekly.php?issue=20141020

Offline

#4 2014-10-22 20:55:16

common-sense
#! CrunchBanger
Registered: 2014-09-08
Posts: 130

Re: Workaround for bug in lxappearance v0.5.6 (testing/sid)

Head_on_a_Stick wrote:

@damo -- thanks for the tip.
@common-sense -- have you seen this week's DistroWatch?
They test Sparky but have to end the test early 'cos the second update messed up the install...
http://distrowatch.com/weekly.php?issue=20141020

I've updated Sparky lots of times, without issues. But I installed the openbox-base. They are trying it with the mate-desktop, so they could get issues that I don't get with openbox. Also, tracking testing is always a risk, but to me, there is no alternative. Stable equals stale and boring. Issues and problems is what makes it fun. A distro without issues is just as boring as Windows. It just works. Not for me. I like to fix issues big_smile

Offline

#5 2014-10-22 21:06:30

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Workaround for bug in lxappearance v0.5.6 (testing/sid)

^ Me too smile
I run Arch, with Debian Sid as a fallback...

Offline

#6 2014-10-24 18:02:54

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Workaround for bug in lxappearance v0.5.6 (testing/sid)

Fixed in version 0.6.0. See  LXDE Blog


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#7 2014-10-25 18:44:27

Nili
#! Die Hard
From: 127.0.0.1
Registered: 2013-03-20
Posts: 811
Website

Re: Workaround for bug in lxappearance v0.5.6 (testing/sid)

Thank you damo for your script, i have same issue with notification-daemon

(notification-daemon:6046): Gtk-WARNING **: Error setting gtk-xft-antialias in /home/nili/.config/gtk-3.0/settings.ini: Key file contains key 'gtk-xft-antialias' in group 'Settings' which has a value that cannot be interpreted.

never bothered to fix it, but this thread made me curious to look it. Sorry to bother in your thread but have any suggestions please.

Thank you!
Kind regards,

Nili


# Debian GNU/Linux 8:8.2 (netinst/stable)
# Packages Installed: 541
# Linux debian 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) i686 GNU/Linux
# Startup finished in 2.850s (kernel) + 6.473s (userspace) = 9.324s

Offline

#8 2014-10-25 18:59:09

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Workaround for bug in lxappearance v0.5.6 (testing/sid)

Nili wrote:

Thank you damo for your script, i have same issue with notification-daemon

(notification-daemon:6046): Gtk-WARNING **: Error setting gtk-xft-antialias in /home/nili/.config/gtk-3.0/settings.ini: Key file contains key 'gtk-xft-antialias' in group 'Settings' which has a value that cannot be interpreted.

never bothered to fix it, but this thread made me curious to look it. Sorry to bother in your thread but have any suggestions please.

Thank you!
Kind regards,

Nili

Sounds like exactly the same problem, so just change true/false to 1/0 in settings.ini.


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#9 2014-10-25 19:22:35

Nili
#! Die Hard
From: 127.0.0.1
Registered: 2013-03-20
Posts: 811
Website

Re: Workaround for bug in lxappearance v0.5.6 (testing/sid)

Thanks again damo, changing true/false to 1/0 made to disappear error message.
genially  tongue

Regards,
Nili


# Debian GNU/Linux 8:8.2 (netinst/stable)
# Packages Installed: 541
# Linux debian 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) i686 GNU/Linux
# Startup finished in 2.850s (kernel) + 6.473s (userspace) = 9.324s

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo