Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphical applications do not use Ubuntu's gtk theme correctly #24006

Open
expipiplus1 opened this issue Mar 18, 2017 · 8 comments
Open

Graphical applications do not use Ubuntu's gtk theme correctly #24006

expipiplus1 opened this issue Mar 18, 2017 · 8 comments

Comments

@expipiplus1
Copy link
Contributor

expipiplus1 commented Mar 18, 2017

Issue description

When starting a GUI application on Ubuntu one gets the following warnings printed to stderr. The theme of the GUI program is not the same as the rest of the system.

Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "atk-bridge"
Gtk-Message: Failed to load module "canberra-gtk-module"
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

Steps to reproduce

$ nix-shell -p electron --run electron

Additionally one can resize the window so that a scrollbar is present; observe that this isn't the Ubuntu 'overlay scrollbar'.

Technical details

  • System: Ubuntu 16.10
  • Nix version: nix-env (Nix) 1.11.7
  • Nixpkgs version: 17.09pre102933.26625c9
@Ericson2314
Copy link
Member

Emacs looks especially bad; It doesn't spit out any clues on the standard streams, unfortunately.

@expipiplus1
Copy link
Contributor Author

Another log with a couple of new messages:

Gtk-Message: 10:21:46.538: Failed to load module "overlay-scrollbar"
Gtk-Message: 10:21:46.546: Failed to load module "atk-bridge"
Gtk-Message: 10:21:46.546: Failed to load module "unity-gtk-module"

(quartus:14678): Gtk-WARNING **: 10:21:46.555: Unable to locate theme engine in module_path: "murrine",

<repeated many times>

(quartus:14678): Gtk-WARNING **: 10:21:46.558: Unable to locate theme engine in module_path: "murrine",
Gtk-Message: 10:21:46.558: Failed to load module "canberra-gtk-module"

@nh2
Copy link
Contributor

nh2 commented Dec 5, 2018

I have this too; here's an example what gajim looks like from 18.09 on Ubuntu 16.04:

screenshot from 2018-12-05 01-32-16

meld looks even worse and is absolutely unusable, because you can't see where the buttons are.

@nh2
Copy link
Contributor

nh2 commented Dec 5, 2018

Is is possible to change the GTK theme somehow, only for nix-installed applications, so that this doesn't happen?

@mraxilus
Copy link

Has anyone found a workaround for this?
I'm trying to launch the joplin-desktop package.
I get the follwing output:

Gtk-Message: 23:26:34.219: Failed to load module "canberra-gtk-module"
Gtk-Message: 23:26:34.220: Failed to load module "canberra-gtk-module"
Trace/breakpoint trap (core dumped)

@jtojnar
Copy link
Contributor

jtojnar commented Feb 1, 2020

Setting something like this GTK_PATH="${gtk-engine-murrine}/lib/gtk-2.0:${gtk_engines}/lib/gtk-2.0" might help for the GTK 2 apps regarding

(quartus:14678): Gtk-WARNING **: 10:21:46.558: Unable to locate theme engine in module_path: "murrine",

We generally consider theming user’s responsibility as we cannot know what theme and engine they like.

@stale
Copy link

stale bot commented Jul 30, 2020

Hello, I'm a bot and I thank you in the name of the community for opening this issue.

To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.

The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.

If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.

Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 30, 2020
@vishnu-prasad-kurupath
Copy link

This issue with tidal-hifi and flameshot on debian. Any help would be appreciated !!

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants