Questions tagged [gtk3]
GTK+3 is a graphical user interface toolkit.
397
questions
112
votes
3
answers
501k
views
How do I Install GTK+ 3.0?
How can I install GTK+ 3.0 and use that instead of GTK+ 2.24?
53
votes
5
answers
47k
views
Can I apply a different GTK3 theme from the main one to an individual application?
For example, can I keep Ambiance as main theme but assign elementary theme to elementary's app?
49
votes
4
answers
24k
views
How to fix GTK3 scrollbar behavior
I have removed the overlay scrollbars.
How can I configure GTK3 scrollbar clicking behavior?
GTK3 applications scrollbars behave strangely under Ubuntu 12.10 and 13.04. This also happens with Fedora ...
37
votes
3
answers
29k
views
How do I open GTK Inspector?
I am using GTK.3.15. When attempting to open GTK Inspector using the Ctrl+Shift+I or Ctrl+Shift+D,
nothing happens. Does not matter what application or widget I am using. Nothing happens
and my ...
22
votes
2
answers
24k
views
How can I find out what ibus-daemon and ibus-ui-gtk3 are doing?
Occasionally my desktop slows down a lot. The mouse pointer moves slowly or not at all, my fan starts whirring, and the end is generally nigh. If I'm very patient normality usually restores itself, ...
21
votes
1
answer
60k
views
Failed to load module appmenu-gtk-module + canberra-gtk-module
I have already tried :
sudo apt-get install libcanberra-gtk-modul
sudo apt-get install libcanberra-gtk-module:i386
18
votes
4
answers
9k
views
How can I "diff" two files with Nautilus?
I have installed Meld and found out it's a great comparing tool. Unfortunately there is no integration with Nautilus 3.2. This means, I can't right click on files and select an option to open them in ...
18
votes
2
answers
2k
views
Move GNOME file dialog buttons
I recently upgraded to 18.04 and something that annoys me slightly is that the "Cancel" and "Open"/"Select" buttons are on the top bar now. Is there any way I can move them to the bottom, like in ...
16
votes
1
answer
5k
views
How to fix invisible form fields in Firefox while using Adwaita Dark Theme (or any other dark theme) [duplicate]
I have this issue with some form fields in Firefox and using the adwaita-dark theme. In some webpages where the field background is white, you cannot read the text because it is also white.
This ...
16
votes
2
answers
12k
views
How do I make Firefox 64 use the KDE file selection dialog?
By default, Firefox uses the GTK file selection dialog when you press, for example, Control+O to open a local file.
How does a Kubuntu user make Firefox use the KDE file selection dialog?
13
votes
2
answers
6k
views
Where has the gnome terminal GTK3 style configuration moved to in Ubuntu 16.04?
In Ubuntu 14.04, I could style the appearance of the gnome terminal and its tabs by creating a file
/home/$user/.config/gtk-3.0/gtk.css
and putting CSS code into it e.g.
TerminalWindow ....
12
votes
3
answers
6k
views
Turn off smooth scrolling in GTK3
On a default Ubuntu 16.04 (xenial) installation, GTK3 applications (which include most of the default GUI applications) have smooth scrolling activated. How do I disable it?
For example, in Gedit, ...
12
votes
3
answers
12k
views
Can gtk2 themes be converted to gtk3 themes?
I really don't like the stock gtk3 themes and have never found one I like. I do however have a few gtk2 themes I really like. Can these gtk2 themes be ported to gtk3 or made to work in 11.10?
12
votes
3
answers
11k
views
Ubuntu 16.04 Gnome Conky does not work right
I downloaded and installed Ubuntu gnome 16.04 and I installed icon and theme and much. Finally I installed conky-manager but it doesn't work correct like this.
12
votes
4
answers
3k
views
How do I disable mnemonics in GTK3?
In Natty Narwhal I used to do some nifty tricks with .gtkrc-2.0 to disable mnemonics (underlined menus) but now it's impossible. I assume in Oneiric Ocelot it will be something different because it ...
12
votes
3
answers
5k
views
How can I enable the GTK3 header bars on Ubuntu 16.04?
I want to see the applications like when running on Gnome 3 (with the buttons in the title bar):
Instead of how I see them normally:
I can achieve what I want by running these commands before ...
11
votes
2
answers
19k
views
Reload Gtk+ 3.0 theme
I'm trying to customize my Gtk+3.0 theme, when I make a change in my
theme, I change between two themes (with MyUnity) to force applications to
reload the theme and test mine.
But when I do that, the ...
11
votes
3
answers
10k
views
How do I theme the Nautilus background image?
I want to change the background image in the Nautilus file browser. My idea is to put my own style in the background. I'm using Ubuntu 11.10 and Nautilus is version 3.
I know that I have to change ...
11
votes
1
answer
4k
views
Change GTK+3 icon theme for a specific application
Firefox doesn't play well with dark system themes and I want to use it and only it with a light system theme, which can be done with an environment variable, but then it will still use my default ...
10
votes
4
answers
7k
views
How to create a sliding widget (GTK+, Quickly)
Recently I've seen this widget in Gedit:
It appears when you press Ctrl + F. What I am interested is in how to get the sliding effect. Any suggestion will be appreciated.
10
votes
3
answers
930
views
GtkIconView doesn't automatically fill the space with icon when user resizes the window
In the Ubuntu Accomplishments project we are having a few unusual bugs:
https://bugs.launchpad.net/bugs/986708
https://bugs.launchpad.net/bugs/974728
Namely that we have a window with a GtkNotebook ...
10
votes
3
answers
1k
views
Gedit "Highlight Misspelled Words" enabled by default
I'm using gedit 3.10.4 on Ubuntu 14.04 LTS with the Spell checker enabled. At the moment, I have to enable the "Highlight Misspelled Words" option every time I open a file, even if it is the same file....
10
votes
1
answer
7k
views
Hide Title Bar When Maximized in GNOME 3.16
In GNOME 3.14 and 3.12, I had a modification in metacity-theme-3.xml which basically hides the title bar from any window when it's maximized. I preferred this method to the Maximus Two extension ...
10
votes
1
answer
374
views
Can I theme the menubar to look different if a window is maximized?
I know you can theme the Unity menubar in GTK+3 using CSS, but is there a way to theme it differently depending on whether a window is maximized?
This would be useful for e.g. themes where the ...
9
votes
4
answers
9k
views
How to add vte terminal widget in GTK3?
I'm trying to add vte widget in my application and the examples I've found use .fork_command() to execute a command in that widget.
But according to
http://developer.gnome.org/vte/0.26/VteTerminal....
9
votes
2
answers
2k
views
Can't use GTK Inspector for gnome-terminal
I am trying to inspect the gnome-terminal with the GTK Inspector. This inspector works on other GTK programs like gnome-calculator and gedit. However, when I try to run this on the gnome-terminal, ...
9
votes
1
answer
3k
views
snapd-desktop-integration flooding syslog
snapd-desktop-integration on my Ubuntu 22.04 desktop system is flooding my syslog here with these messages:
Dec 2 14:19:35 server1 systemd[65032]: snap.snapd-desktop-integration.snapd-desktop-...
8
votes
1
answer
7k
views
How to create a custom splash screen for a program?
I am currently building a client for our users at work with Ubuntu MATE 15.10 and Plank as a dock. But when I click for example the Firefox icon in the dock nothing happens until it suddenly pops up ...
8
votes
2
answers
18k
views
How can I know the display manager it's being used?
I'm currently with Ubuntu GNOME 17.04 installed on my laptop and I'm trying to discover which display manager(DM) it's being used. Already tried dpkg reconfigure with lightdm, mdm and lxdm, neither of ...
8
votes
2
answers
4k
views
Can I choose to not sort directories before files on file open dialogs?
I would prefer to not have directories sorted before files within the file open/save dialogs. I would like everything sorted by modification date regardless of file or directory.
I have done a fair ...
8
votes
1
answer
34k
views
How to upgrade GTK 3.18 to 3.20 on ubuntu 16.04? [duplicate]
While trying to install lollypop I got this error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/lollypop/container.py", line 79, in update_db
self.__show_first_run()
...
8
votes
1
answer
5k
views
Glade: How can I set the value of a spin button?
I've done some spin buttons with Glade for my Python/GTK3 app, but I don't know how to set things like default, lower or higher value. How can I do it?
Using the following things for development:
...
7
votes
2
answers
5k
views
Question about GtkScrollbar class in custom themes
I very much like to use the Zukitwo theme as an alternative over the standard Ambiance theme, it is to my taste more easy on the eyes.
However, the theme takes away the scrollbar arrows or "steppers"...
7
votes
5
answers
12k
views
Are there any tweaks for fixing the appearance of Eclipse Juno on ubuntu?
As we have previously established ;-) running Eclipse on ubuntu is a bit disappointing on the UI side. Things are even worse now that Juno is out. Are there any tweaks specific to Gtk3 and Juno that ...
7
votes
3
answers
6k
views
GTK warnings during Geany running
It's a new installation of Ubuntu 18.04. The Geany editor was installed by apt, but I'm getting a lot of console messages like below during running it:
(geany:4024): Gtk-WARNING **: 17:48:22.265: ...
7
votes
1
answer
4k
views
How do I force a redraw using python in gtk3?
Apparently, in Gtk3 the 'expose' event/signal is replaced with the 'draw' signal.
How do I force a redraw using python in Gtk3? I was not able to find any window invalidation function.
7
votes
2
answers
2k
views
How can I resize the volume OSD in Gnome3 (Shell)?
How can I resize the volume OSD display to a more "sane" size? Currently it takes about 1/4th of my screen height. I may be shortsighted, but not that shortsighted.
I checked my theme settings, but ...
7
votes
1
answer
1k
views
How to update gtk-3.4 themes to the new gtk-3.6
Is it too complicated to achieve? if it's not could you tell me how, please. I have some basic knowledge about gtk and css. Also, is this going to continue happening each time gnome releases a new ...
7
votes
1
answer
546
views
How do I theme the Sound Menu playback buttons? [closed]
In my GTK+2/3 theme I am making for Ubuntu 12.04 LTS, there's a very noticeable problem when it comes to the Sound Menu buttons - they are completely black with white icons:
Obviously, this does not ...
6
votes
2
answers
9k
views
Installed the Arc Theme, it doesn't look right
I just installed the Arc Theme, however it doesn't look right. As you can see here, mine looks completely different and looks like it's missing textures and other things:
Whereas the normal theme ...
6
votes
2
answers
1k
views
How to get rid of the background gradient of the inline GtkToolbar?
When you run the below code, it will show an inline toolbar in a window. Notice how the inline toolbar has a stand-out backbround. Is there a way to apply CSS to get rid of it and make blend with ...
6
votes
1
answer
4k
views
How to install GTK widget factory via Apt?
The GTK widget factory is useful for visualizing and creating GTK themes.
Search engine has led me to some websites1,2 which suggest building it from sources or
adding a PPA. Isn't there a package in ...
6
votes
1
answer
34k
views
Firefox 42+: libgtk-3.so.0: cannot open shared object file: No such file or directory
Asking, because it took a minute to figure this out and nothing came up on Google. Answer coming up.
I downloaded a Firefox (nightly) build from mozilla.org for testing. Running it presented an error:...
6
votes
2
answers
7k
views
Disable css warnings [closed]
Everytime I open a gtk application it outputs css warnings (lack of units assuming px etc). Can I disable this dreadful verbosity?
example:
$ gedit
(gedit:19558): Gtk-WARNING **: Theme parsing ...
6
votes
1
answer
21k
views
Pkg-Config Error (No such file or directory)
if i try and compile the tutorial code for GTK3 with the command
gcc simple.c -o simple 'pkg-config --libs --cflags gtk+-3.0'
it gives off the error
gcc: error: pkg-config --libs --cflag gtk+-3.0: ...
6
votes
1
answer
5k
views
How to remove window decorations (title bars) from Ubuntu 14.04
I never used window decorations to maximize / minimize windows, but keyboard and mouse/keyboard shortcuts for all operations.
In the good olde days, you could just disable and tweak the window ...
6
votes
2
answers
8k
views
What does "Gtk-ERROR **: GTK+ 2.x symbols detected." mean?
When starting gparted, it crashes with the error:
Gtk-ERROR **: GTK+ 2.x symbols detected.
Using GTK+ 2.x and GTK+ 3 in the same process is not supported
I already opened LP bug #1094354 for this.
...
6
votes
1
answer
1k
views
Mouse-scroll does not work in gedit [closed]
Since the update to 13.10 scrolling in Gedit does not work anymore. Anywhere else it does.
It could be related with Bug #1240957 “Scrolling behaviour and window focus has changed a...” : Bugs : “gtk+...
5
votes
2
answers
14k
views
How to apply system theme to flatpak apps that use GTK4?
I use one of default themes - Yaru-dark Gtk Theme. I installed it via flatpak as well. The application id is org.gtk.Gtk3theme.Yaru-dark. Some apps that I installed via flatpak follow it, but others ...
5
votes
4
answers
3k
views
How can I launch gThumb (version > 3.4.3) with light background colors in menus and browser like before?
In Ubuntu 16.04 LTS and before, the gThumb application (version 3.4.3) has a light background in its menus, its browser and its dialogues – like white or light grey. So the gThumb application fits ...