Questions tagged [gtk]
Use this tag for GTK and theming related issues
70
questions
0
votes
0
answers
35
views
Solution for unthemed flatpak apps
actually it's not my solution
vinceliuice
just clone this stylepak
then add it to PATH
after the run
stylepak install-system
stylepak install-user
it will download your current theme
0
votes
0
answers
6
views
Complete newbie: Trying GTK for first time but I think my libraries aren't at right levels?
I’m on Elementary OS (6.1) and I’m trying to use GTK for first time.
When I try the Helloworld example in the book and compile using
gcc -Wall -g helloworld.c -o helloworld pkg-config --cflags gtk+-3....
1
vote
0
answers
35
views
Is there a way to have wingpanel change to a different color when dark mode is enabled?
I'd like wingpanel to be a light blue when light mode is enabled and a dark blue when dark mode is enabled. I tried using different colors in ~/.config/gtk-3.0/gtk.css and ~/.config/gtk-3.0/gtk-dark....
0
votes
0
answers
69
views
ODIN - GTK Theme Reset
For some reason the theme I am choosing by Pantheon Tweaks is automatically being changed to the default dark system theme and I need to manually reset the custom gtk theme every time.
1
vote
0
answers
113
views
Workaround: How to fix GTK theme issue installed from APT
I've installed Elementary Odin wanting to give the Elementary OS dark mode a try. I really liked the dark theme but was upset that when I installed a GTK application from APT not Flatpak it gives you ...
0
votes
1
answer
45
views
Unable to move Hdy.ApplicationWindow by dragging Hdy.HeaderBar in Vala
Trying to use libhandy and Hdy.ApplicationWindow instead of Gtk.ApplicationWindow in my vala based application made for elementary OS.
My Problem
While using Hdy.ApplicationWindow and Hdy.HeaderBar ...
0
votes
1
answer
28
views
Technical error while using Cairo
using Cairo ;
using Gtk ;
using GLib ;
public class ClockWidget : DrawingArea {
private Time time ;
private int minute_offset ;
private bool dragging ;
public signal void ...
1
vote
1
answer
39
views
StackSIdebar is not visible
I used Gtk.StackSidebar to create a sidebar for an app that I am making.
https://github.com/Suzie97/Project_X97, this is the link to my github repo.
The sidebar is not correctly visible on the window. ...
0
votes
1
answer
91
views
gsettings schema isnt installed
I am learning to make apps for Elementary OS. I wrote my app it compiles well without any errors. But when I try to open the application, it displays a message stating gsettings schema isnt installed.
...
0
votes
1
answer
103
views
How to get GNU Emacs from Flathub work on elementary OS?
To avoid Emacs installed through AppCenter crashing on opening, solution was actually explained here.
But AppCenter only offers Emacs25 so I installed Emacs27 through Flathub (built in AppCenter)... ...
1
vote
2
answers
155
views
GTK 3.22 migration of older gtk.css -> Black Margin on elementaryOS apps
I have a legacy gtk.css that was working fine on Ubuntu Xenial, I've just upgraded to Bionic (2018) and the same code now is not working anymore:
$ cat .config/gtk-3.0/gtk.css
.window-frame {
box-...
1
vote
1
answer
29
views
How do I turn off the windows gradient? [SOLVED]
How do I turn off the gradient of the windows? Currently I am using the elementary-x (white version) theme and the gradient on the windows makes the close, minimise and maximise buttons to look kind ...
1
vote
1
answer
38
views
Breadcrumbs bar in file dialog not working
Some time ago a breadcrumbs path bar in all file dialogs in Pantheon (like “Open“ or “Save” dialog) stopped working. It displays a current folder right, but when I try to click on it to move, for ...
4
votes
2
answers
114
views
I want to add the listbox scroll fade effect in my app - how?
I am referring to the effect eg. the session indicator has or the keyboard language adder has. I'd prefer it with the responsiveness the session listbox has.
0
votes
1
answer
101
views
Can't make Gtk.TextView () fill whole parent Gtk.Box
Can't make Gtk.TextView () hexpand. Only expands to like 2/3 of parent and wraps words too early.
Source: https://github.com/stsdc/monitor/blob/d3685a314712e263987da942724432c3469108e6/src/Widgets/...
2
votes
1
answer
106
views
I don't know what the problem is, but some apps look weird like this [SOLVED]
i've install audacity from flatpak source, and this happen...
and install Telegram Desktop from flatpak, and this happen when browse files.. can anyone tell me what wrong?
0
votes
1
answer
98
views
VALA GTK Header Bar with switch distorted
I'm trying to create a Window with a HeaderBar, and in the HeaderBar there will be a Switch. But, the switch gets sized vertically, and gets distorted (non proportional), is there some fix?
1
vote
1
answer
133
views
Code don't work
I made this code, but it doesn't work correctly.
The window is created, but the button does not appear. I do not receive any error reports. Would anyone know why?
public class MyApp : Gtk.Application ...
0
votes
0
answers
131
views
Missing title in GTK+ 3 Dialog
I'm writing a vala GTK+ application and want to add a modal dialog like this:
var dialog = new Gtk.Dialog.with_buttons (_("My title"), this,
Gtk.DialogFlags.MODAL | Gtk.DialogFlags....
0
votes
0
answers
21
views
Some programas shows ghost windows [duplicate]
It seems to happen on software written on java. For example DBeaver or MySQL Workbench when you run some feature, the emergent window shows with a ghost window background like next image:
I think is ...
1
vote
1
answer
169
views
How do I make Gtk Headerbars look okay in Elementary?
I know that Elementary has its own Headerbar style, but if you use any Gnome apps (as we all of course will), their headerbars often look flatly bad in Elementary, despite having nearly identical ...
2
votes
1
answer
28
views
Elementary app feasibility: modify any current text input
I'm using a qwerty keyboard with english layout but as a french speaker I would like to access special chars without changing the layout.
To do so, I'd like to create an app that mimic the android ...
0
votes
1
answer
606
views
eOS Juno : Scale at 1 but display too big yet [duplicate]
I have Elementary OS Juno and I wanted to change the scale because all was too little. So I went to "Display" in settings and I double pixels. but now, it's too big and when I try to go back with "...
0
votes
2
answers
384
views
My elementary os Juno's top bar doesn't work with another theme
My Juno's top bar can't apply with any theme I copy from Downloads folder to /usr/share/themes. And I used tweak tool from philip.scott. What should I do?
0
votes
2
answers
163
views
mate-system-monitor won't show in Application menus, plus errors when launched in terminal
I installed mate-system-monitor on my elementary OS Loki install via AppCenter, but I couldn't find it in the Applications menu. I searched for it, with no luck. So I uninstalled it, and installed it ...
0
votes
1
answer
237
views
Button CSS not working in Juno
I'm using this code to apply some dynamic css to button based on colours chosen by the user. This was working in Loki but not working in Juno Beta. Thanks in advance for any pointers.
1.Create a CSS ...
2
votes
1
answer
547
views
Trying to replicate this macOS dark sierra theme
so yesterday i decided to try linux because im tired of the uglyness of windows and because i wanted to get the closest to this look but here its what i got so far.
i dont know what to do to be ...
1
vote
1
answer
78
views
Add Startup App menu broken
My Add Startup App menu is broken. I can still type and use the keyboard to select, but I can't see any of the results.
Is there a way to fix this?
EDIT:
Looks like the app Franz may be the culprit:...
0
votes
1
answer
144
views
Missing styles when building app using Gtk.CssProvider
I'm using cmake and following the instructions per Elementary OS site (https://elementary.io/docs/code/getting-started#building-and-installing-with-cmake).
Everything looks good when compiling the ...
0
votes
1
answer
270
views
Linked style doesn't work for buttons
Only button with label has linked style.
var button_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0);
button_box.get_style_context ().add_class (Gtk.STYLE_CLASS_LINKED);
info_button = new Gtk....
1
vote
1
answer
165
views
Suspend Problem (?) [closed]
does anyone experience UI problems when waking up from suspend? What I meant is not the black screen problem, it seems like the GTK theme is broken when waking up and this happened randomly. For ...
0
votes
2
answers
1k
views
Swift/GTK Bindings
We see from this that there is interest in using Swift to develop apps for elementary OS. There's also experimental GTK bindings available, but I don't think it's being maintained: https://github.com/...
2
votes
2
answers
654
views
Pantheon Files Side Panel CSS
How can I change the color of the Pantheon files sidebar from dark to light? I can't seem to find the CSS that controls this aspect of it. If anyone knows where to find it please let me know.
2
votes
2
answers
1k
views
GTK Themes Doesn't Work Well on Loki [duplicate]
themes that I want to apply on my PC don't work as they should. I put the theme folder into the folder /home/firat/.themes/ that I created before. Then I use Tweak Tool software to apply it. But it ...
3
votes
3
answers
2k
views
GTK theming in snap apps
I have installed libreoffice as a snap. In Ubuntu it uses th default gtk theme but in Elementary OS it doesn't. Is it possible to enable this or do i need to wait for the Elementary team to implement ...
1
vote
2
answers
299
views
Cumulus not working on elementary os loki
Cumulus, a popular weather app for linux isn't working on loki. it doesn't launch from slingshot-launcher and when i invoke it from terminal this comes back :
Traceback (most recent call last):
...
1
vote
0
answers
257
views
How do I change app styles?
can anyone explain to me what I need to do in order to change the styles of a gtk application?
For example I want to keep the elementary gtk theme but change a detail here and there so I go to /usr/...
1
vote
1
answer
621
views
Can't find gtk header file for vala-code compilation
I am trying to run the first sample code on this site. Unfortunately I got the following error message:
Package gobject-2.0 was not found in the pkg-config search path.
Perhaps you should add the ...
1
vote
0
answers
111
views
Changing Vala or GTK version to compile [closed]
Bit of a newbie question, but I am trying to build Writer to play around with. I followed the build/installation instructions , but am getting the following error:
CMakeFiles/writer.dir/src/Widgets/...
2
votes
1
answer
243
views
Using Granite with a different language besides Vala
I am interested in developing for elementary OS, but what's holding me back from doing so is that I can't figure out how to use the Granite widgets from C++. I would prefer to use this instead of ...
1
vote
1
answer
232
views
StatusIcon not showing/working
Good morning dear community, i have a little trouble and i can't found any proper explanation for this issue, actually i'm developing an small application to hear radio streaming using Vala and ...
2
votes
3
answers
2k
views
Applications look ugly when using third-party "Arc OSX themes" [duplicate]
I'm using elementary OS Loki 0.4 with the Arc OSX themes for GTK+ but the UI in apps is very ugly, can someone help me?
2
votes
2
answers
1k
views
Update Gtk+ on Loki?
If i update the GTK+ to 3.20 or 3.22 will be able to happen a problem with the system as it uses the 3.18?
1
vote
0
answers
118
views
No icons on buttons on GTK# apps
I stack with the problem with mono app written on GTK#. I try to change org.gnome.desktop.interface buttons-have-icons to true which solve this problem in Freya, but it didn't solve problem in Loki. ...
2
votes
1
answer
73
views
XHTML with WebKit
I am working on an ebook application with WebKit 3 (webkitgtk-3.0) on Elementaty OS Freya. epubs which have html display fine, however the new epub 3 with XHTML comes garbled with multi columns ...
2
votes
1
answer
266
views
Buttons' Look in a Gtk.MessageDialog
Elementary's human interface guidelines specify how dialogs should look:
In Valadoc, there is a minimal example on how Gtk.MessageDialog is to be used:
Gtk.MessageDialog msg = new Gtk.MessageDialog (...
0
votes
2
answers
544
views
GTK theme inspector for Desktop Enviroment elements [duplicate]
Ever used firebug or google chrome inspector? Is there any similar way to inspect elements in the desktop environment to get their "element name" or "class" or "id"?
Actually I've installed the os x ...
0
votes
1
answer
386
views
Firefox Filechooser Dialogs don't have a select/save button in Loki [duplicate]
I'm currently trying out Loki, and it's running quite fine as far as I see. Only real annoyance: Firefox is currently showing a bug.
If I open a Filechooser in Firefox, no matter if its for saving a ...
1
vote
0
answers
733
views
Is it possible to change the window border color of terminal in freya?
I just want to make the vim a.txt to black and the background color of the title bar and the tab bar to silver.
1
vote
1
answer
755
views
GTK 3.16 or up for elementary OS Freya
I'm trying to install the paper theme for my elementary OS freya but it says that it needs gtk 3.16, i only have 3.14. How do i upgrade the gtk?
By the way, i've already tried to install it but it ...