Questions tagged [gtk]
Use this tag for GTK and theming related issues
68
questions
0
votes
0
answers
19
views
How do i change the color of notification, night light and bluetooth icon in wingpanel?
I used GTK io.elementary.stylesheet.blueberry and i want to wingpanel become transparent, when i used dark wallpaper text color stay white, but because my wallpaper was white, i been trying figure it ...
1
vote
0
answers
56
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....
1
vote
0
answers
169
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
85
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
32
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
54
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
186
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
118
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
195
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
36
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
46
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
171
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
165
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
109
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
107
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
136
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
156
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
180
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
620
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
398
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
189
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
280
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
152
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
289
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
171
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
680
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
302
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
270
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
645
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
114
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
250
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
233
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
123
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
79
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
315
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
562
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
387
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
749
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
757
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 ...
1
vote
1
answer
664
views
Can't install gtk+
Ok, so I just downloading Elementary OS, and I love it! However, I can't seem to install Gtk+ 3.0:
ryan@DevPC-LX /media/ryan/stuff/howl/src master $ sudo apt-get install libgtk-3-dev
Reading package ...
6
votes
2
answers
4k
views
How do I change the background color and font color of wingpanel XGTK theme? [duplicate]
I recently tried out this_theme. I tried changing the details in .panel in the apps.css of gtk-3 folder but to no avail