The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
3

how to use gtk themes with i3

asked 2013-11-26 20:30:14 +0000

cee gravatar image

How can I use custom gtk themes on a plain i3 install (without any additional desktop environments)?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
4

answered 2013-11-26 20:39:37 +0000

cee gravatar image

This blog post inspired me to try it out.

  1. First download the theme you want to use (preferrably one that works for gtk-2.0 and gtk-3.0). My favorite is delorean-dark-theme (not only because of the name).
  2. unzip it
  3. copy both folders gtk-2.0 and gtk-3.0 to ~/.config
  4. create a new config file for gtk2: vim ~/.gtkrc-2.0

    with following content:

    gtk-theme-name = "delorean-dark-theme-3.9"
    gtk-font-name = "Open Sans 8"
    gtk-icon-theme-name = "gnome"

That's it. I guess you can easily adapt it to any other theme.

edit flag offensive delete link more

Comments

This doesn't seem to work with wxWidgets based applications like vlc. How can those be configured?

Sajo gravatar imageSajo ( 2014-11-05 11:51:19 +0000 )edit

Isn't VLC based on Qt? But anyway, if I set "Force window style" from the Interface Settings to GTK+ it looks OK on my Arch Linux.

cee gravatar imagecee ( 2014-11-05 13:03:10 +0000 )edit

That worked for me. Thanks. I thought it was based on wx - Seems I was wrong. But the issue remains with picard (which also I think is based on wx)

Sajo gravatar imageSajo ( 2014-11-05 13:12:44 +0000 )edit
1

answered 2015-05-08 12:25:11 +0000

msx gravatar image

If you run GNOME alongside i3 it is a good idea to have at least these daemos launched at startup:

# Restore GNOME's settings
exec --no-startup-id /usr/libexec/gnome-settings-daemon-localeexec

# Fix a bug in gnome-settings-daemon: http://feeding.cloud.geek.nz/posts/creating-a-modern-tiling-desktop-environment-using-i3/
exec --no-startup-id dconf write /org/gnome/settings-daemon/plugins/cursor/active false
edit flag offensive delete link more

Comments

this is what I do and it works great. I've done it for CInnamon, Gnome, and Unity. lets me use the awesomeness of i3 with some of the conveniences of a DE.

drak3 gravatar imagedrak3 ( 2015-05-10 01:52:27 +0000 )edit
0

answered 2013-11-26 20:46:38 +0000

lasers gravatar image

Alternative: Use lxappearance

edit flag offensive delete link more

Comments

Sure, there is a program for everything. But I change my theme once and therefore prefer to just copy it to the right place. K-I-S-S

cee gravatar imagecee ( 2013-11-26 20:51:52 +0000 )edit

`lxappearance` (and other programs) make it easier to find the right icon theme etc though.

blueyed gravatar imageblueyed ( 2014-02-22 11:59:56 +0000 )edit

Question Tools

Stats

Asked: 2013-11-26 20:30:14 +0000

Seen: 11,978 times

Last updated: May 08