Questions tagged [gtk2]

GTK+ (GIMP Toolkit) is a cross-platform framework for creating graphical user interfaces. GTK2 is version 2.

GTK2 (aka. GTK+ version 2), or the GIMP Toolkit, is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off tools to complete application suites. Though it's written in C its been designed from the ground up to support multiple languages such as Perl, Python, C++, and Java among others.

Links

43 questions
5
votes
1 answer

Archlinux & openbox - greyish win 95 applications

I have just installed Archlinux & openbox but i have to say i am a bit dissapointed that the applications have this dull greyish (win 95) look: On the picture there are two programs open which are gedit and gcalc which they both use GTK themes. I…
71GA
  • 1,056
  • 5
  • 18
  • 38
5
votes
0 answers

How to match GTK and KDE themes in Plasma 5

I would like to set a dark theme that is easy to read (no dark fonts on dark backgrounds or vice versa). And I want a consistent look for Qt and GTK applications (especially Firefox and Libre Office). I'm running Arch Linux. All packages are very…
MountainX
  • 17,168
  • 59
  • 155
  • 264
5
votes
2 answers

How much of Xfce4 is GTK3?

Xfce4 was originally in GTK2. But after a recent upgrade to version 4.12, I find it is halfway GTK2 and halfway GTK3. Which applications are currently ported to GTK3 and which are currently not yet?
Village
  • 4,655
  • 14
  • 46
  • 80
4
votes
2 answers

Mouse cursor became a big X

Below is a screenshot from Chromium browser, running in Razor-Qt desktop, In other DEs, the cursor is just normal, but here you can see it becomes a big X, anyone know how to fix that? The cursor theme is not broken, as it works for KDE4 and…
daisy
  • 53,527
  • 78
  • 236
  • 383
4
votes
3 answers

Traditional scrollbars in GTK2 applications

To enable traditional scrollbars with scroll buttons in GTK3 applications I have added the file ~/.config/gtk-3.0/gtk.css with the content scrollbar { -GtkScrollbar-has-backward-stepper: true; -GtkScrollbar-has-forward-stepper:…
August Karlstrom
  • 1,736
  • 2
  • 27
  • 39
4
votes
1 answer

How to set font and theme for GTK+2 programs from the command-line on Linux?

I know how to set font for GTK+3 programs from the command-line, namely by editing the right-hand side (RHS) of ~/.config/gtk-3.0/settings.ini's font line: gtk-font-name=Font Awesome 5 Free Regular likewise to set the GTK+ 3 font I'd edit the RHS…
Josh Pinto
  • 3,483
  • 15
  • 52
  • 87
4
votes
1 answer

Enable dark-mode in GTK2

So I am using Arc as my GTK theme, and applied it like this [Settings] gtk-icon-theme-main=Arc gtk-theme-name=Arc gtk-application-prefer-dark-theme=true in ~/.config/gtk-3.0/settings.ini To enable it for GTK2, I did…
vegarab
  • 211
  • 2
  • 6
4
votes
3 answers

Firefox displaying input bars as black, equations in light gray

My Firefox is not displaying things correctly. Bars on websites for me to enter text in are usually displayed in black, entered text is dark gray-ish (i can view it when i mark it, but that's only a temporary workaround) Equations on Wikipedia are…
Jonas Schwarz
  • 254
  • 2
  • 15
4
votes
1 answer

GTK3 Statusbar Height

I've recently updated a few programs to gtk3 (deadbeef gtk3 plugin, pcmanfm-gtk3, l3afpad) and there's one thing that's really been bugging me: Why is the Statusbar thrice the height of the gtk2 version? It's clearly not because there's more…
Spleen
  • 41
  • 2
4
votes
0 answers

Increase GTK+ 2 icon size?

For use with a HiDPI screen, I would like to increase toolbar and menu item icons in GTK+ 2, possibly to 48×48 px. For the Gimp, I am able to increase tool icons by specifying in the theme's gtkrc: GimpToolPalette::tool-icon-size = dialog As far…
feklee
  • 533
  • 4
  • 15
3
votes
1 answer

Change GTK themes on the fly

I'm not running xfce4 or gnome, so I can't use their respective settings manager. Now I want to alter the GTK theme of all running apps, do you think that's possible? I think there's a signal or whatever can do that, but I couldn't find one. Any…
daisy
  • 53,527
  • 78
  • 236
  • 383
3
votes
0 answers

How to launch an application with different Gtk+ 2 theme?

I'm trying to use a dark Gtk+ theme, and everything goes fine with native Gtk+ apps, and well, only with Gtk+ apps. I mean, wxWidgets and Mozilla's apps looks terrible, if not counting unreadability (see screenshot below). Rendering Gtk's buttons…
McSinyx
  • 591
  • 3
  • 14
3
votes
0 answers

Disabling mnemonics in the menu bar while keeping button mnemonics in GTK2

I would like to disable mnemonics in the menu bar because they interfere with keyboard shortcuts in some applications -- the terminal, for example -- but I would like to keep mnemonics for buttons in dialogs. After having read the GTK2 Reference, I…
Eleno
  • 1,849
  • 4
  • 27
  • 39
2
votes
1 answer

Wrongly sudo apt-get remove gtk2.0

I used sudo apt-get remove gtk2.0 command wrongly. Now, I don't know how to fix my problem.
Arian
  • 31
  • 2
  • 7
2
votes
1 answer

How to display GUI in PAM module?

I am trying to add a GTK window in PAM module. It works from my test pam app but doesn't work during desktop login or unlock. I see another unanswered question here -…
pp99
  • 51
  • 3
1
2 3