Questions tagged [gtk]
Questions about the GTK+ graphical user interface toolkit. Used by desktops such as Cinnamon, GNOME, XFCE, Budgie, Mate, and Unity.
1,176
questions
6
votes
4
answers
3k
views
How to make a Gtk.Iconview react to single click instead of double click?
I use a Gtk.IconView widget in my app to select different types of elements. The way the IconView works is the following:
Do one click to select the item
Do an additional double-click to activate the ...
6
votes
1
answer
433
views
Apps run as root appearing like win 98 style after installation of gnome 3
I installed Gnome 3 using Ricotz's PPA. Then all windows using sudo and gksu is looking like its running under windows 98.
System Specs:
Intel Core 2 duo
Nvidia 6200
Ubuntu 11.04
I also ...
6
votes
1
answer
1k
views
File Chooser - Can't Clear Folder Selection
How to clear selection on folder in GtkFileChooser? The shortest way I can find is by going to upper / parent directory from current directory and coming back to it.
It is annoying when we need to ...
6
votes
2
answers
2k
views
What new features does GTK+3.0 introduce?
And how will it improve other GTK themes such as Ambiance or Elementary?
6
votes
2
answers
3k
views
Changing the sidepane background color in Nautilus
Changing the sidepane background color in Nautilus
Is it possible to change the sidepane background color for Places? I want it to blend, if i hit the dropdown above the sidepane and select ...
6
votes
1
answer
4k
views
How to add a print dialog to an application
I'd like to add a print dialog to my Python + GTK app, and I believe there are at least two methods:
The upstream GTK print dialog
The CUPS print dialog
I'm wondering which would be the recommended ...
6
votes
2
answers
1k
views
How can I programatically show/hide my app window with global shortcut key?
I'm writing a Notational Velocity clone for Gnome/Ubuntu using Quickly (PyGI) and I want to allow users to set a global shortcut key that will toggle the visibility of the app window when the app is ...
6
votes
4
answers
12k
views
How do I get images to appear on buttons in Glade Designer?
Not sure if this is a bug or just a very annoying feature, but I can't get an image to appear on any of my buttons in Glade Designer.
Is there some property I need to change in order to force it to ...
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
9k
views
How to work around Eclipse Luna/GTK bug 339174 (change to not use oxygen)
The bug is described here: https://bugs.kde.org/show_bug.cgi?id=339174
For me it fails with:
java: /build/buildd/oxygen-gtk3-1.0.2/src/animations/oxygencomboboxdata.cpp:87: void Oxygen::ComboBoxData::...
6
votes
2
answers
3k
views
Better Bible Application Software (The Word/E-sword Replacement) [closed]
Due to being un content of Bible software in Linux, two years ago I decided to code my Own. Unfortunately many commitments Development was stalled at early stages and still struggling. In Windows I ...
6
votes
3
answers
8k
views
White text on white background problem
I am not sure what happened, but I'm running Ubuntu 11.10 and it is unusable right now because of the white text on white background problem as seen in the screenshot.
Does anyone know how to fix ...
6
votes
3
answers
5k
views
Software Sources requires GTK 2 and won't run on 11.04
I was trying to access Settings in Update Manager to setup automatic updates. But the Settings Dialog does not pop up. Cannot Access Software Sources from the Ubuntu Software Center>Edit>Software ...
6
votes
2
answers
14k
views
How to fix "GLib-GIO-ERROR Settings schema 'org.gtk.Settings.FileChooser' is not installed"?
After updating my ubuntu 20.04 installation first inkscape "Save as" led to a crash of the program complaining about the FileChooser. While trying to fix the problem, now also nautilus . ...
6
votes
2
answers
7k
views
How to add buttons in Glade and resize
Trying to create the framework for a calculator.
I add the window
I add the vbox using 2 boxes. 1 for the display, the other for the buttons
When I add 1 button it fills the entire panel and I can't ...
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
6k
views
How to use accelerators in Gtk?
I need to make an application in Vala, using Gtk, that supports keyboard accelerators that can be changed by the user.
First, I add an entry to the global Gtk.AccelMap and then set the accel_path ...
6
votes
2
answers
1k
views
How does one retheme the Unity Panel with GTK?
I want to take an existing theme and customise the appearance of the unity panel to the way it appears in another theme. I can't find any documentation about how to modify the panel themes, and I've ...
6
votes
1
answer
807
views
Increase the highlighted button bezel thickness (GNOME)
Is there any way to increase the visibility (e.g. thickness, contrast or colour) of bezel that surrounds the highlighted (aka selected) button in gnome window?
TBH sometimes it is barely visible in ...
6
votes
1
answer
3k
views
What is the correct way to use g_signal_connect() in C++ for dynamic unity quicklists?
I want to make my application use dynamic unity quicklists. For building my application I am using C++ and the QtCreator IDE. When a menu action is triggered I want to be able to have access to a non-...
6
votes
2
answers
2k
views
GTK theme does not work properly on Qt Startup Applications
Setup
When a Qt app (KeePassXC, AntiMicroX) is started automatically (via autostart), the GTK theme is not applied.
All apps are installed via standard apt packages (I am aware of snap theming issues)...
6
votes
1
answer
468
views
How to integrate Qt software like FocusWriter, Telegram, Toggl Desktop or RStudio?
What is required to integrate Qt applications such as FocusWriter, RStudio, Toggl Desktop or Telegram Desktop into the design of Ubuntu?
By default, these applications look as follows on Ubuntu 16.04:...
6
votes
3
answers
3k
views
How to show a window of an already active app when trying to open a new instance of that app
I know the question is a bit vague. I'll try to explain better below:
My app (python/gtk) is mostly an indicator. Using this indicator you can choose to show/hide the main window.
When I try to open ...
6
votes
2
answers
10k
views
How do I set a theme in Oneiric? [closed]
I'm using Oneiric, and have some default theme set. I understand Unity is using Gtk3, and that the usual Ubuntu themes haven't been ported.
How do I set the theme in Oneiric?
Where is/will the new ...
6
votes
2
answers
572
views
how to adjust "contrast" of a gtk2 theme?
I'd like to reduce the contrast of the GTK widgets, that is, make the borders less articulate. E.g. in the screenshot below, the separator above and below the toolbar is very strong. I'd like smoother ...
6
votes
1
answer
20k
views
gedit not opening any file when launched from terminal, not only system files
My gedit application is working as normal when I launch it from launch menu and I can do all the kind of things.
However when I go to terminal and issue the following command:
gedit text1
Then I ...
6
votes
3
answers
503
views
Is it possible to update the app indicator from code?
I use ruby-libappindicator bindings to manage ubuntu application indicators.
I want to indicate if port 3000 is used by any application. Port checking isn't a problem but I also need to update the ...
6
votes
0
answers
2k
views
How to fix the failed gtk modules when launching a snap?
When launching many snaps, I see the following messages in the terminal:
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load ...
6
votes
0
answers
3k
views
error Failed to load module "overlay-scrollbar"/"unity-gtk-module" on program run
I just installed Ubuntu 15.10 yesterday and when i run a program I got the following errors:
error: libgcrypt.so.11: cannot open shared object file: No such file or directory
Gtk-Message: Failed to ...
6
votes
1
answer
597
views
Corrupted Fonts
I just installed 14.04.2 and certain glyphs are corrupted in Firefox. It only happens at certain zoom levels. If I use Ctrl-mouse-wheel to zoom the page I can make the corruption appear and ...
6
votes
0
answers
1k
views
Kde uses Gnome notification system instead of knotify
I tried to install kubuntu-active on the Kubuntu Trusty and it failed to start. So, I removed it and many packages has "active" in it name related to KDE Active. KDE runs ok now but one issue: It uses ...
6
votes
0
answers
249
views
Program menu disappeared [duplicate]
Possible Duplicate:
Why can't I see the menubar in some applications?
My problem is as follows:
The program menu, the one that has file edit view all that does not display in some programs ...
5
votes
2
answers
1k
views
GTK bindings for Fortran
Have seen that GTK has binding for different language preferences - C, C++, Python.
Does it have bindings for Fortran though ? Have come across gtk-fortran library, but do not know whether it is part ...
5
votes
2
answers
28k
views
How to fix error: Failed to load module "canberra-gtk-module"
I am running Ubuntu 18.04.3 LTS and when I launch MATLAB R2019b I get the following error:
Gtk-Message: 00:20:10.283: Failed to load module "canberra-gtk-module"
[0921/002013.995543:INFO:context.cpp(...
5
votes
1
answer
2k
views
Illogical GTK theme behaviour on Ubuntu 18.04
I'm using X-Arc-White GTK theme in my freshly installed Ubuntu 18.04 desktop. I looks really amazing, but there's a problem with GNOME own applications, like system monitor or calculator. They are ...
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 ...
5
votes
4
answers
8k
views
How to change pgadmin3 theme
Currently I'm using Ambiance-Dark theme, pgadmin look very bad when using this theme (and maybe other dark theme). How to change pgadmin3 theme?
5
votes
1
answer
4k
views
How to compile a GTK4 application in Ubuntu 21.10?
I am trying to compile a C GUI application using GTK4. I was previously told here that both Ubuntu 21.04 and 21.10 would have both GTK3 and GTK4. However, when I installed Ubuntu 21.04 only GTK3 was ...
5
votes
1
answer
620
views
Theme conflict on dual-boot of Ubuntu 10.10 & Fedora 14
I've recently been required to migrate to Fedora 14 for work, but am not willing to give up the awesomeness of Ubuntu. As a result, I'm now dual-booting Fedora 14 and Ubuntu Maverick with a shared ...
5
votes
2
answers
2k
views
Can glade be used with python pygi introspection?
I once got started on a PyGtk and Glade tutorial but never finished it. Recently I saw that PyGtk is being depreciated in favor of using introspection at https://wiki.ubuntu.com/MeetingLogs/...
5
votes
2
answers
7k
views
Create my own panel plugin - Xubuntu
I've installed Xubuntu 14.04.
In my panel I can add a lot of plugins. For example that show CPU load and RAM usage... But what about the temperature of each core?
I've found the files that contains ...
5
votes
4
answers
5k
views
Is there a GTK-Theme preview application?
is there an Application which lets me preview all the Theme-Widgets at once?
Like in the old Ubuntu-tweak there was some sort of Preview of all Theme-button/slider/progressbar-layouts. But nowadays ...
5
votes
2
answers
2k
views
Why do some GTK+ themes have transparency?
Certain themes like the community theme "Homosapien" have transparency in particular apps such as Gnome Terminal and Gnome System Monitor. Is this a bug?
Screenshot:
http://img408.imageshack.us/...
5
votes
3
answers
556
views
How can I troubleshoot keryx 'UnicodeEncodeError' error?
As I'd seen it recommended in How can I install software or packages without Internet (offline)? tried to install Keryx but I am not able to open it. When I run it in a terminal it prints these ...
5
votes
1
answer
783
views
Remove black line from (15.04 - Vivid) Files/Nautilus sidebar
Is there a way to remove the black line from the sidebar of the latest Ubuntu? It sticks out and always causes me to lose focus when I'm working, because it stands out way too much compared to the ...
5
votes
1
answer
4k
views
What is GTK to Gnome shell and unity
Can someone tell me what exactly is GTK, Genome shell, and unity in between all of those.
I might sound stupid but can someone tell me how to take advantage of any of these I am using and which one ...
5
votes
2
answers
977
views
How can I change the tooltip color or font in Ambiance?
I'm using the Ambiance theme in Ubuntu 10.04 which I am generally quite happy with but I would like to change the tooltip color or font. I sometimes find it hard to make out the white text on the ...
5
votes
1
answer
471
views
How to prevent GTK inspector from opening when opening an app from the terminal?
Very often, when I open an app through the terminal, the GTK inspector also gets opened for that app. Firefox doesn't seem to and VS Code usually closes it on its own. But otherwise, running ~$ vlc or ...
5
votes
1
answer
4k
views
How can I programmatically call Ubuntu's on screen keyboard in gtk/python?
I'm programming my interfaces using gtk python and displaying them in Udoo Neo screen without having physical keyboard.
I want the keyboard to be displayed whenever I have a field to be filled. ...
5
votes
2
answers
3k
views
Why don't Qt4 apps in Lubuntu pick up the GTK theme? [duplicate]
I've installed Lubuntu and replaced the default players with Clementine for audio and VLC for video.
The problem I have is that neither pick up the GTK theme, the way they usually do in Gnome/Xfce. ...