Questions tagged [gtk]

Use this tag for GTK and theming related issues

Filter by
Sorted by
Tagged with
0 votes
1 answer
20 views

Why doesn't `env GTK_THEME=Adwaita` work in .desktop files?

It'll be no shock that some non-elementary OS apps don't look right with the default elementary OS theme. I understand that theming is a Hard Problem™. Sometimes buttons don't look like buttons, or ...
TheDudeAbides's user avatar
1 vote
0 answers
63 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....
Darryl Mocek's user avatar
1 vote
0 answers
181 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 ...
TheLamerLinux's user avatar
0 votes
1 answer
88 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 ...
Atheesh Thirumalairajan's user avatar
0 votes
1 answer
35 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 ...
Rajdeep Singha's user avatar
1 vote
1 answer
59 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. ...
Rajdeep Singha's user avatar
0 votes
1 answer
204 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. ...
Rajdeep Singha's user avatar
0 votes
1 answer
119 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)... ...
edoardo's user avatar
1 vote
2 answers
208 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-...
Arjuna Del Toso's user avatar
1 vote
1 answer
40 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 ...
younyokel's user avatar
  • 176
1 vote
1 answer
56 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 ...
Anhel's user avatar
  • 13
4 votes
2 answers
195 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.
user258456's user avatar
0 votes
1 answer
180 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/...
stsdc's user avatar
  • 180
2 votes
1 answer
110 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?
Hasan Suryaman's user avatar
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?
user avatar
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 ...
Felipe Cristiano's user avatar
0 votes
0 answers
161 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....
berliner's user avatar
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 ...
Marcelo J Forclaz's user avatar
1 vote
1 answer
185 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 ...
Ken Kinder's user avatar
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 ...
Monstercrunch's user avatar
0 votes
1 answer
623 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 "...
Dromathias's user avatar
0 votes
2 answers
399 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?
Irwanda AF's user avatar
0 votes
2 answers
196 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 ...
Du Brisingr Arget's user avatar
0 votes
1 answer
286 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 ...
Siddhartha Das's user avatar
2 votes
1 answer
548 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 ...
cat funt's user avatar
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:...
Pietro Coelho's user avatar
0 votes
1 answer
160 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 ...
Bernardo Anderson's user avatar
0 votes
1 answer
291 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....
stsdc's user avatar
  • 180
1 vote
1 answer
172 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 ...
matakudua's user avatar
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/...
definitelyokay's user avatar
2 votes
2 answers
687 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.
Reya276's user avatar
  • 209
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 ...
Firat's user avatar
  • 121
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 ...
Henk Barten's user avatar
1 vote
2 answers
303 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): ...
Shahzaib Rahim's user avatar
1 vote
0 answers
273 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/...
FloodLuszt's user avatar
1 vote
1 answer
654 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 ...
FloodLuszt's user avatar
1 vote
0 answers
115 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/...
cmonagle's user avatar
2 votes
1 answer
252 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 ...
Samuel Goodell's user avatar
1 vote
1 answer
235 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 ...
Frankity's user avatar
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?
Šimon Kandráč's user avatar
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?
MrMarukesu's user avatar
1 vote
0 answers
124 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. ...
nast90210's user avatar
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 ...
Siddhartha Das's user avatar
2 votes
1 answer
332 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 (...
kostrykin's user avatar
  • 185
0 votes
2 answers
571 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 ...
Jawad Hyder's user avatar
0 votes
1 answer
391 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 ...
Wilken Haase's user avatar
1 vote
0 answers
755 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.
vozille's user avatar
  • 11
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 ...
Wicked J's user avatar
1 vote
1 answer
668 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 ...
kirbyfan64sos's user avatar
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
Anwesh Mohanty's user avatar