Questions tagged [gtk]

GTK+ (GIMP Toolkit) is a cross-platform framework for creating graphical user interfaces.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Gnome Totem never runs

totem never runs, and I run into this problem when I open it ~$ totem Gdk-Message: 10:40:58.480: Error 71 (Protocol error) dispatching to Wayland display. I still have this problem from first day of ...
0
votes
0answers
8 views

GTK App Cannot Launch - settings schema 'o contain a key named 'paned-listview-width'

I've installed Lollypop through my package manager, and I get an error upon running it: (lollypop:8889): GLib-GIO-ERROR **: 07:48:52.962: Settings schema 'org.gnome.Lollypop' does not contain a key ...
0
votes
0answers
14 views

close gnome-terminal window after launching gnome-session-quit

when I launch gnome-session-quit with gnome-terminal: gnome-terminal -e 'gnome-session-quit --power-off &' It launches together with gnome-terminal like this: & puts it into background ...
1
vote
0answers
17 views

How does RDP client on Linux work, such as widgets rendering?

I am curious how the widget rendering is implemented in a Linux RDP client, such as Remmina, on a high level. If RDP protocol transmit semantics as much as possible rather than bitmaps, then the ...
0
votes
0answers
16 views

How to scale gtk application with fraction number

So, on Linux I have steam that has a very small GUI. And I find out that I can make it bigger using GTK_SCALE env variable. Like this: GTK_SCALE=2 steam But 2 is to big, I would prefer to have 1.5, ...
0
votes
0answers
11 views

How to make Firefox involve gtk settings at xdg-open action?

My xreader.dekstop file: #!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Terminal=false Exec=xreader Name=xreader Comment=comment Icon=/usr/share/icons/Adwaita/32x32/apps/...
1
vote
1answer
71 views

Traditional scrollbars in GTK2 applications

To enable traditional scrollbars with scroll buttons in GTK3 applications I have added the file ~/.config/gtk-3.0/gtk.css with the content scrollbar { -GtkScrollbar-has-backward-stepper: true; ...
0
votes
0answers
206 views

Evince: Unable to init server: Could not Connect: Connection refused

When running $ evince a.pdf I receive the following error message. No protocol specified Unable to init server: Could not connect: Connection refused Cannot parse arguments: Cannot open display: I ...
12
votes
2answers
222 views

Why can't I type a g̃ the same way I type ñ?

My language, Guarani, uses G̃/g̃ to denote the nasalized velar approximant. I thought I'd be able to type it by combining a dead tilde with g, but this does not work. Why doesn't it, and how can I fix ...
1
vote
0answers
21 views

Is it possible to set different brightness for different attached screens through redshift / redshift-gtk in Ubuntu 18.04 LTS?

I have been using redshift / redshift-gtk to adjust the color temperature of my screen in Ubuntu 18.04 LTS in my Dell XPS 15 (In Dell XPS, there is a common problem with brightness in Ubuntu 18.04 LTS....
0
votes
2answers
58 views

How to make the toolbar and tabs-bar of qterminal dark?

It looks ugly. How can i fix it.Terminal has good dark style. Also , ubuntu regular font is not available in preferences of terminal but its installed. Any idea how to fix qterminal along with this?
0
votes
0answers
32 views

Is it possible to use GDK to get the image/pixel data of any arbitrary X11 window using the window's name?

Summary I am writing a script (in Python 3.X) to do image detection on a number of different GUI's in Linux. Can GDK be used to get a pixel buffer of any X11 window? If so, how? I am currently using ...
-5
votes
1answer
62 views

How to reveal a GUI password hidden bellow asterisks or bullets? [closed]

On MS Windows we can une Asterisk logger, Bullets password view, other tools, sandboy revelation, showpw or many other tools that can trace/change the GUI of an app... How can we achieve the same on ...
3
votes
1answer
57 views

Gtk apps slow if not root

Some of my Gtk apps (Virt-Manager, Nautilus & Easytag) are really slow to start when I start them as a normal user. However when they are started as root, they start instantly. How can I fix that? ...
0
votes
1answer
26 views

GUI program runs from terminal but not from program launcher

I have a nice GUI program which runs fine if I start it from terminal but does not start at all if I run it from a non-terminal program launcher like dmenu or gmrun. Everytime I do so, nothing ...
0
votes
0answers
19 views

xfce app previous and back arrow button is broken

problem is that(The control bar in parole) and that(Thunar) another xfce gui apps have same problem
0
votes
0answers
17 views

How can I shrink the title bar size *without* changing the system files but rather the theme files?

How can I tweak a theme to shrink the title bar? Choosing different themes changes the size of the title bar so I know it's something in the theme I can tweak to change the Title Bar size. IDK why ...
2
votes
1answer
51 views

How to focus program window instead of spawning new one if it's already open

I am currently using Linux Mint 19.03 Cinnamon. Issue I launch gnome-calculator with Cal shortcut button and when I press that button, new gnome-calculator window is spawned. I don't want this ...
0
votes
0answers
50 views

KDE Plasma Colors are not changing correctly

I installed KDE Plasma Version 5.12.9 on Linux Mint 19.3 It's working fine excpet the colors After a few problems with themes I managed to get them working, but not all colors are correct. The System ...
0
votes
0answers
11 views

GTK 3.22 migration of older gtk.css

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-...
0
votes
0answers
30 views

How to refresh a gtk gui?

After changing Xft.dpi: 96 to Xft.dpi: 192 in ~/.Xresources I run xrdb -merge ~/.Xresources to enjoy a readable font size in Firefox on a 4K Monitor. However, I must kill and restart Firefox to do so. ...
1
vote
1answer
258 views

Invalid MIT-MAGIC-COOKIE-1 Error: Unable to initialize GTK+, is DISPLAY set properly?

I'm having this problem on my Debian box (Buster). Whenever I run the command sudo ./FreeFileSync I get the following error: Invalid MIT-MAGIC-COOKIE-1 key10:24:17: Error: Unable to initialize GTK+,...
0
votes
1answer
57 views

Inconsistent theme in Pop OS

I'm currently using Gnome PopOS 19.10 on a fairly recent machine Acer Swift 3 SF315-41-R03D, and I've been using Linux for around a year. After I had a clean install of PopOS, I updated everything ...
0
votes
0answers
14 views

windows management software under ubuntu

i'm here o linux but i want o know if is possible to controll two windows of two aplications (softwares) with the same master windows. Example, i want o run [gedit] and [terminal] like one single ...
1
vote
1answer
91 views

How can I quickly navigate in the GTK file chooser?

One of the reasons why I sometimes envy Windows users is that under Windows, most applications use the native file chooser, which is quite usable. Under Linux, this depends on the toolkit. For Qt/KDE ...
0
votes
0answers
148 views

How to apply css changes to Nautilus?

I used the GTK+ Inspector to figure out a couple lines of css to hide some separators/borders in Nautilus. This image shows Nautilus before the css is applied: When I apply this css within the ...
0
votes
0answers
44 views

Is it possible to assign two keyboard shortcuts to gtk_accel_path in Thunar?

I'd like to assign two keyboard shortcuts (Paste and <Primary>+v) to a certain action in Thunar: The configuration in ~/.config/Thunar/accels.scm looks like this: (gtk_accel_path "<Actions&...
0
votes
0answers
34 views

Switching from GNOME to KDE

I am here to ask you for an help: since I have been using Linux (more than 10 years ago now...) I used to use GNOME, starting from 2.2x until latest 3.34 with gnome-shell and I always loved it. But ...
1
vote
1answer
51 views

Keyboard shortcuts with dedicated keyboard buttons inside Xfce

I'm using a Microsoft Office keyboard, which has dedicated buttons for Cut, Copy & Paste. I was able to choose that model inside the keyboard settings GUI of Xfce, which creates matching XF86Cut, ...
1
vote
1answer
62 views

How to install and run Evince from tar.gz

I am trying to build Evince so that I can alter slightly (without needing new dependencies). I don't want it to run in a sandbox; I want it to run with other applications on my system (I had a pretty ...
0
votes
1answer
107 views

Resize titlebar buttons on GTK

I am trying to resize the close, minimize, maximize buttons. I do it like this: .titlebar.default-decoration button.titlebutton { min-height: 36px; min-width: 36px; -gtk-icon-transform: scale(1....
1
vote
1answer
752 views

Centos8, run gtk program under sudo privileges: cannot open display: :0

I'm currently struggling when trying to run bleachbit under root privileges on CentOS 8. Using my non-sudo user, there is no problem. When i try to run it as sudo, i get the following error: (...
0
votes
1answer
25 views

Cedilla does not work under Softmaker Office

Infos here Cedilla works in all other apps but SoftMaker office where it delivers a ć. What might I be missing? This might be some QT/GTK issue but I'm not sure about how to fix.
1
vote
0answers
35 views

Error spam from gedit when launched from command line

I have gedit set as my git editor, and it works quite well for me. When I do git commit, gedit pops up with the commit info and I can enter my commit message, Ctrl+S, Ctrl+Q and git will proceed as ...
0
votes
0answers
26 views

Debugging a mate terminal session which won't start

I'm configuring the Windows Subsystem for Linux on my company-issued laptop (windows 10). Things were going nicely until I tried to get MATE Terminal working. On my devbox in the office, I run ...
0
votes
1answer
681 views

GTK FileChooser causes crashes in several programs

I have repeatedly encountered a problem with several programs that use open/save file dialogues. Upon initiating these by trying to open or to save a file, the program freezes for about 10 seconds ...
0
votes
0answers
40 views

firefox gtk-dialog “save as” offers a file name without extension

how to return the file extension (html for example) to the default file name? i am using slackware 14.2
0
votes
0answers
8 views

Capture or calibrate icons name and path of the running app window body

Based on the question https://stackoverflow.com/questions/5810399/how-to-get-icon-icons-path-of-running-app-in-linux-windows, but it works only on Windows. The package pygtk is not supported on Linux. ...
1
vote
1answer
83 views

Default GTK printer is LPR rather than using the CUPS default

I set the default printer in the cups configuration website (and it says that the selected printer is the default), but the GTK printer dialog always select "Print to LPR" as the default instead of ...
1
vote
0answers
28 views

How do I remap a set of hotkeys only when a certain window is in focus?

Is there a way to remap keys on the keyboard to an alternative configuration on a window-by-window basis? I don't know how it works on Linux but on Windows I can detect a window by its title and ...
3
votes
0answers
146 views

How to get traditional scrollbars in GTK 2 and 3 apps in Debian 10?

I am using XFce4 on Debian 10. When opening GTK 2 apps, the scroll bars appear normal, with a large bar and arrows at the top and bottom. When opening GTK 3 apps, the scroll bars are thin, difficult ...
2
votes
3answers
160 views

Origins of the “save changes” modal dialog's use of “close without saving”, its lack of keyboard accelerators, and how to interact with these dialogs

Coming from Windows, I am very accustomed to the very common "save changes" modal dialog providing a "yes/no/cancel" option with "Y" and "N" being provided as keyboard accelerators (shortcut keys). ...
1
vote
1answer
367 views

Does mixing up GTK and Qt applications slow down the machine?

Usually it is recommended to either use GTK or Qt apps in the operating system, but not mixing them both together. Example: When using KDE it seems to be obvious to use KMail (Qt) instead of ...
0
votes
2answers
156 views

How to use GTK_DEBUG to MATE Caja?

I'm working on a GTK3 theme and I use GTK_DEBUG=interactive to test changes in the CSS. I start an application with the gtk inspector attached, I launch it with: $ GTK_DEBUG=interactive <name> ...
0
votes
1answer
831 views

On installing driver for HP Laserjet Pro M15a

Does anyone know how to install driver for HP Laserjet Pro M15a for Ubuntu 19.04? I tried ./hplip-3.19.6.run Creating directory hplip-3.19.6 Verifying archive integrity... All good. Uncompressing ...
2
votes
1answer
590 views

How to install ocx file to wine

I am using Mac OS 10.14.5, and I am trying to run an exe file. So I did brew install wine. Then, using wine to run the program yields the following error: 0009:fixme:actctx:parse_depend_manifests ...
0
votes
1answer
111 views

How to compile from sources Breeze for GTK theme on Debian 9?

So, I can't install 'Breeze for GTK' theme on Debian 9. I've downloaded the files from official git page and when I move the files on ./themes folder system no read them. And when execute ./...
1
vote
1answer
259 views

How to override GTK style setting from kde-config-gtk-style for one specific app?

I am quite happy, how my kde on debian handles the theming for gtk apps like firefox or thunderbird. I usually use the breeze-dark or adwaita-dark themes. However, I use one application (moneyplex) ...
3
votes
1answer
107 views

Can I mark files as recently-used from the command line?

GTK applications mark files as recently used by adding them to the XML in ~/.local/share/recently-used.xbel, but I am frequently working with files from terminal-driven applications like latex, and ...
0
votes
1answer
70 views

Where can I find gtkmm4 sources?

I need to install gtkmm4 where do I find its sources. I am using archlinux.

1
2 3 4 5 6