Questions tagged [gtk2]
GTK+ (GIMP Toolkit) is a cross-platform framework for creating graphical user interfaces. GTK2 is version 2.
43
questions
1
vote
1
answer
91
views
change gtk-2 font only for specific application
I have changed general font size for gtk-2 applications by adding this to my gtkrc file:
gtk-font-name = "Sans 16"
this also affected the text size in the application "dock", or ...
0
votes
0
answers
18
views
Naming inconsistency in GNOME `.directory` and `.application` files
I'm using Debian 11 with GNOME 3.28 and I noticed that there are a lot of naming inconsistencies in .directory and .application files.
For example, the name field of Utility.directory is Accessories ...
0
votes
1
answer
48
views
Xfce: Tab Key No Longer Navigates Within Some Dialog Windows
Xfce 4.10; Gtk 2.24.25
For example, zenity --question invokes an austere zenity question dialog window with default verbiage and two buttons, as expected. But, with focus on said window, pressing the ...
2
votes
1
answer
428
views
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.
4
votes
3
answers
1k
views
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;
...
2
votes
1
answer
938
views
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 - https://stackoverflow.com/...
0
votes
0
answers
150
views
Problem compiling PCSX-Reloaded
I was trying to install pcsx 1.10 from source. After the configure step, make was executing until
Utils.hpp:31:21: error: gtk/gtk.h: No such file or directory
In file included from About.cpp:54:
...
1
vote
1
answer
106
views
Can't compile Pango with X support
I have the goal to compile a gtk version, so I can compile Gimp manually. This is necessary because I use Gimp 2.6, and newer distros only use 2.8 or newer. So I decided to manually compile and old ...
0
votes
1
answer
3k
views
How can I install a GTK2 theme on XFCE?
I want to install Qogir theme on Xfce (I'm using Debian).
I've downloaded and extracted the files in the ~/.local/themes directory, then went to Appearance and selected Qogir in the list of "styles" (...
-2
votes
1
answer
130
views
Ubuntu(Mini) - How to replace the shell of system message dialogs with my own version? [closed]
I'm using Linux Ubuntu 14.04 LTS installed on VirtualBox using mini .iso and trying to make my own distribution based on it. I know, support of that version ends in 3-4 months, I'll update it on my ...
0
votes
0
answers
151
views
Make GTK3 applications use the GTK2 dialog for font selection?
I prefer the user interface of the font-selection dialog of GTK2 to that of GTK3. How can I make GTK3 applications use the GTK2 dialog?
EDIT: Unfortunately, Gnome doesn't let me take screenshots of ...
4
votes
1
answer
9k
views
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
...
0
votes
0
answers
618
views
Roboto font not working with Openbox GTK3 applications while other fonts do
I am using Debian Stretch with Openbox window manager and I am trying to set the uniform look for GTK2, GTK3, QT4, QT5 widgets. Everything went smoothly except for GTK3 that partially ignores ~/....
1
vote
1
answer
154
views
Seamonkey browser not honouring Gtk font settings
I am having some minor trouble with SeaMonkey 2.49.1 on Linux (Manjaro 17.1.1 KDE). SeaMonkey isn't affected by my Gtk font settings. Instead it uses a really thin and barely legible font. It is the ...
2
votes
1
answer
6k
views
Install Firefox 57 on CentOS 6.5
I did the following steps to install Firefox 57 on CentOS 6.5 :
1) wget http://ftp.mozilla.org/pub/firefox/releases/57.0/linux-x86_64/en-US/firefox-57.0.tar.bz2
2) tar xvjf firefox-57.0.tar.bz2
3) ...
0
votes
1
answer
48
views
How to remove on press effect from a theme?
I am modifying the Greybird theme for xfce, and there is something that I want to remove but I can't find where the code for it is located. I already figured out how to change the colors when the ...
5
votes
0
answers
5k
views
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). ...
0
votes
0
answers
82
views
Possible explanations for locked window input
I've never seen this before. I opened gedit (gedit2), three windows but one session, meaning all windows share the same PID. Note that there is absolutely no way to open more than one gedit2 session ...
4
votes
1
answer
4k
views
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 ...
4
votes
3
answers
1k
views
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 ...
2
votes
1
answer
144
views
terminator intercepts F10 when run in openbox
When I am in openbox and I start terminator and inside it mc, I cannot use F10 to exit from mc because it is intercepted by terminator an terminator menu opens (same as right-mouse-click).
On ...
5
votes
2
answers
9k
views
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?
0
votes
1
answer
20
views
Error in displaying the videos
I have logged into a remote VM using SSH. I am trying to run a bash script (.sh) that would fire up a video. However I am facing difficulties in doing this. I have set up the DISPLAY variable to ...
1
vote
1
answer
91
views
gtk2 deleted, not theme avaible
I tried to install a now theme for my Debian 8 Mate. I installed gtk2-engines-murrine:amd64.deb. as there was missing dependances, I deleted but, I deleted too many packages and now I don't have any ...
-1
votes
1
answer
922
views
Run GTK2 application with different color theme
I want to run gvim with a dark color theme, so that the tabs don't stand in contrast to the dark colorscheme:
There appears to be a way to do this in GTK 3.
Is there a way to do this in GTK 2 ...
1
vote
1
answer
1k
views
figuring out which theme am I running under Debian-mate?
I have 2 desktops, GNOME and MATE.
As far as I know the GNOME 3 theme lives under [~/.config/gtk-3.0
On right-click > Change Desktop background > Appearances and Themes > It's menta with some ...
1
vote
0
answers
310
views
GTK3 Window Refresh
I have noticed that in GTK3 windows are redrawn when fully updated, e.g. when I resize Eclipse, it takes 1 second to redraw window, but when it is redrawn, it is in its final state, so GTK3 redraws ...
4
votes
1
answer
1k
views
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 ...
0
votes
3
answers
7k
views
Nemo in Linux Mint - Reset all Preferences and "My computer" pane in List View
I am struggling a little bit with this issue I'm having with Nemo in Linux Mint (I just upgraded to 17.3 but this is happening since 17.1).
In brief, I accidentally removed some shortcuts from the "...
2
votes
0
answers
179
views
Gtk primary key
Is there any way to setup Gtk applications under Linux to force use Super as primary modifier, instead of Control. I tried gtk-key-theme-name=Mac for both gtk2 and gtk3 without success, also I found ...
1
vote
1
answer
84
views
Revert needlessly altered scrollbars
Among myself and a few friends, we use the term "improved user experience" in a sarcastic tone, as most of the "improved user experience" we get with some application updates tends to have showstopper ...
3
votes
0
answers
2k
views
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 (...
3
votes
0
answers
729
views
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 ...
4
votes
0
answers
2k
views
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:
...
2
votes
1
answer
2k
views
glade gtk+2 and gtk+3
I have Gtk+3 already installed as it was with the distro. I need to use gtk+2 and glade. How do I use glade with gtk+2 and still have both gtk2 and gtk3 installed on my linux box?
I have Glade 3.12....
0
votes
0
answers
217
views
Config to re-enable gtk2 tear-off menus?
Following an apt-get update on Debian jessie/sid, several Gtk2 applications no longer have tear-off menus enabled.
I'm aware that this is a deprecated capability of Gtk (and disagree strongly with ...
2
votes
2
answers
2k
views
What theme works well for both GTK2 and GTK3 applications?
I've installed Debian Wheezy, with the LXDE desktop environment. The default Clearlooks theme is fine, but it doesn't work for gtk3 apps (like Transmission).
Which theme can I use, so that both gtk2 ...
0
votes
1
answer
163
views
I use : gtk-chtheme & obconf , each one has 1 theme selected, for gtk-2.0 and non-gtk-2.0 areas, but when I delete all other themes.. stuff breaks
Based on my obconf I have "DiceBox" theme selected.
Based on my gtk-chtheme, I have "Shiki-JetBlack" selected.
Which means I can go into
/usr/share/themes/
and just delete everything except these ...
-1
votes
1
answer
2k
views
gtk-color-scheme = "bg_color: red\ results in red bg + red scroll bar bg + red scroll bar ? where is the logic?
Let's edit this theme's gtkrc file:
vi vi /usr/share/themes/industrial/gtk-2.0/gtkrc
gtk-color-scheme = "bg_color: #000000000000\
nfg_color: #ffffff\nbase_color: #000000000000\
ntext_color: #ffffff\...
5
votes
1
answer
2k
views
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 ...
4
votes
2
answers
8k
views
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 ...
0
votes
1
answer
249
views
How can I alter the appearance of "Qt::IBeamCursor" in ReText?
I'm running Lubuntu 12.10, fully updated. I used apt-get to install ReText 3.1.4, a qt app, and the various recommends.
I managed to get the page and font appearance to my liking by using Qt4 ...
3
votes
1
answer
5k
views
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 ...