You are not logged in.

#26 2011-08-23 00:08:45

dklovedoctor
Member
Registered: 2011-08-23
Posts: 5

Re: GTK 3 Settings / [Solution] Ugly GTK3 Theme

s_tec wrote:

I've figured out where the "Error parsing stylesheet" problems are coming from. The Adwaita theme needs librsvg installed to work correctly, since it uses SVG icons for its check boxes. A quick "pacman -S librsvg" solves the problem.

That did the trick to me 2.

Offline

#27 2011-10-29 07:58:21

Jankosevic
Member
Registered: 2008-07-06
Posts: 82

Re: GTK 3 Settings / [Solution] Ugly GTK3 Theme

In my case the settings.ini method does not work. Did something change in the meantime?

Offline

#28 2011-10-31 11:44:29

boydey1
Member
Registered: 2011-10-30
Posts: 9

Re: GTK 3 Settings / [Solution] Ugly GTK3 Theme

Worked for me, everyone needs to make sure 'gnome-themes-standard' is installed properly for this to work.

Last edited by boydey1 (2011-10-31 11:44:48)


User of the greatest Linux distribution in existence - Gentoo Linux.

Offline

#29 2011-11-18 03:33:59

balente84
Member
Registered: 2011-05-23
Posts: 8

Re: GTK 3 Settings / [Solution] Ugly GTK3 Theme

It used to work, but after Kernel upgrade I had some problem so I totally re-installed everything in my netbook... and now I can't change it with 'settings.ini' file...  No one having this kind of issue?

Offline

#30 2011-12-18 17:13:19

pyro539
Member
Registered: 2011-08-08
Posts: 18

Re: GTK 3 Settings / [Solution] Ugly GTK3 Theme

Hey,

i got the same problem as balente84. I have the following in my .config/gtk-3.0/settings.ini:

[Settings]
gtk-theme-name = Atolm-gtk3
gtk-icon-theme-name = Tangerine

But the windows (e.g. from zenity or nm-applet) are looking "ugly", like the thread openener reported. I have gnome-themes-standard installed.

Does anyone have an idea why this is not working?

Greetings,
pyro

Offline

#31 2011-12-18 17:25:10

Psykorgasm
Member
Registered: 2011-11-24
Posts: 177

Re: GTK 3 Settings / [Solution] Ugly GTK3 Theme

pyro539 wrote:

Hey,

i got the same problem as balente84. I have the following in my .config/gtk-3.0/settings.ini:

[Settings]
gtk-theme-name = Atolm-gtk3
gtk-icon-theme-name = Tangerine

But the windows (e.g. from zenity or nm-applet) are looking "ugly", like the thread openener reported. I have gnome-themes-standard installed.

Does anyone have an idea why this is not working?

Greetings,
pyro


Try using lxappearance.
Since I moved to just using openbox I use it to set my GTK2 settings, but the weird thing is, I set an empty .config/gtk-3.0 folder, run lxappearance and it created setting.ini for me.

For me it created:

[Settings]
# DO NOT EDIT! This file will be overwritten by LXAppearance.
gtk-theme-name = BSM Simple Dark Menu
gtk-icon-theme-name = Faenza-Darker
gtk-font-name = Sans 8
gtk-cursor-theme-name = OpenZone_Ice
gtk-cursor-theme-size = 0
gtk-toolbar-style = GTK_TOOLBAR_TEXT
gtk-toolbar-icon-size = GTK_ICON_SIZE_BUTTON
gtk-button-images = 0
gtk-menu-images = 1
gtk-enable-event-sounds = 1
gtk-enable-input-feedback-sounds = 1
gtk-xft-antialias = 1
gtk-xft-hinting = 1
gtk-xft-hintstyle = hintfull
gtk-xft-rgba = (null)

This sets GTK2 and GTK3 settings all the same nicely.
The only problem is it tries to set the GTK3 theme as the GTK2 theme, so you need to trick it by taking your GTK3 theme, copying it as root to: /usr/share/themes

For example I use BSM Simple Dark Menu as GTK2 and BorderLineGtk3 as GTK3.
Once I copied BorderLineGtk3 to the location I mentioned, I renamed it to that of my GTK2 and everything works good.

Last edited by Psykorgasm (2011-12-18 17:26:55)

Offline

#32 2011-12-18 19:36:29

pyro539
Member
Registered: 2011-08-08
Posts: 18

Re: GTK 3 Settings / [Solution] Ugly GTK3 Theme

I also tried lxappearance, but it had no effect.
I just solved it by symlinking the gtk-3.0 directory from the theme folder to .config/gtk-3.0

Offline

#33 2012-04-03 08:43:08

bartonc
Member
From: Minden, Nevada, USA
Registered: 2012-02-27
Posts: 25

Re: GTK 3 Settings / [Solution] Ugly GTK3 Theme

jlindgren wrote:

pyther's solution (creating .config/gtk-3.0/settings.ini with [Settings] and gtk-theme-name) didn't work for me. <snip>Making .config/gtk-3.0 a symlink to /usr/share/themes/Adwaita/gtk-3.0 worked, however.  <snip>

As this thread is not too stale and the issue has come up for me, I'd like to share my experience:
jlindgren''s workaround is the only thing that has worked for me.
I've read at least 5 posts on the subject and experimented with simlinking the default theme out to the theme that I want picked up, among other things.

I've just recently switched to Arch and my WM is e17 (enlightenment being the impetus behind my decision to switch from Fedora/gnome shell). I have KDE installed so that I have a file browser w/ some extras (like integrated SVN) and a few other tools that work well and look pretty nice to boot.  After

cd /home/barton/.config/
ln -s /usr/share/themes/Clearwaita/gtk-3.0/

I do indeed have most GTK apps picking up the theme of my choice, but I'm still struggling getting Firefox to cooperate.  I'll keep this thread updated with my progress, though.

For MonoDevelop 2.8 it turns out to be Edit->Preference... [Visual Style [User Interface Theme]]

Looking forward to an active role in the Arch community,
Barton

UPDATE:
Turns out that I may not be so bright after all...
To set Gmome Theme in e17 Enlightenment simply to to
Settings [Look] [Applications] and select the theme.  It seems to look in all the expected places .
extra/gnome-themes-standard 3.2.1-1 (gnome) [installed] (by clearwaita-gtk-theme) may be a requirement - I'll see when I get to messing with this some time in the future.

All apps now get the correct theme!

Last edited by bartonc (2012-04-09 00:07:48)

Offline

#34 2012-10-31 07:47:18

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: GTK 3 Settings / [Solution] Ugly GTK3 Theme

I'm seeing the "create a symlink" answer a lot, when googling, and it's *wrong* - gtk3 can't create e.g. ~/.config/gtk-3.0/bookmarks if ~/.config/gtk-3.0 is a symlink to somewhere on read-only /usr/share/...

Proper answer seems to be cp.

Offline

#35 2012-10-31 17:27:04

megadriver
Member
From: Spain
Registered: 2010-02-03
Posts: 58
Website

Re: GTK 3 Settings / [Solution] Ugly GTK3 Theme

I use xsettingsd, a lightweight XSETTINGS daemon.

It works for both GTK2 and GTK3.

Here's my ~/.xsettingsd, for example:

Gtk/ButtonImages 1
Gtk/CursorThemeName "Vanilla-DMZ"
Gtk/FontName "sans 10"
Gtk/KeyThemeName "Emacs"
Gtk/MenuImages 1
Gtk/ToolbarIconSize 2
Gtk/ToolbarStyle "Icons"
Net/EnableEventSounds 0
Net/EnableInputFeedbackSounds 0
Net/FallbackIconTheme "gnome"
Net/IconThemeName "gnome"
Net/ThemeName "Adwaita"
Xft/Antialias 1
Xft/Hinting 1
Xft/HintStyle "hintslight"
Xft/RGBA "rgb"

And here's a description of all the settings that can be used.

Offline

#36 2015-11-04 06:16:20

carongangoo
Member
Registered: 2014-10-22
Posts: 58

Re: GTK 3 Settings / [Solution] Ugly GTK3 Theme

Hi guys !


I am desperately trying to build unity on arch but I cannot build gtk3-ubuntu koz I miss the settings.ini
:" ==> Making package: gtk3-ubuntu 3.18.2-1 (Wed Nov  4 10:14:49 MUT 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found gtk+-3.18.2.tar.xz
==> ERROR: settings.ini was not found in the build directory and is not a URL "

What can I do please and where can I get another gtk3-ubuntu package or properly rewrite PKGBUILD  file ?

Caron from Mauritus

Offline

#37 2015-11-04 06:20:54

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: GTK 3 Settings / [Solution] Ugly GTK3 Theme

carongangoo wrote:

Hi guys !


I am desperately trying to build unity on arch but I cannot build gtk3-ubuntu koz I miss the settings.ini
:" ==> Making package: gtk3-ubuntu 3.18.2-1 (Wed Nov  4 10:14:49 MUT 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found gtk+-3.18.2.tar.xz
==> ERROR: settings.ini was not found in the build directory and is not a URL "

What can I do please and where can I get another gtk3-ubuntu package or properly rewrite PKGBUILD  file ?

Caron from Mauritus

And how, exactly, do you expect a 3 to 4 year old thread to help?

Last edited by Scimmia (2015-11-04 06:21:22)

Offline

#38 2015-11-04 06:24:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: GTK 3 Settings / [Solution] Ugly GTK3 Theme

You have been warned about vampirism before, necrobumping is not helping your cause...
https://wiki.archlinux.org/index.php/Fo … bumping.22


Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB