gnome-hud icon indicating copy to clipboard operation
gnome-hud copied to clipboard

How to use this?

Open tiotrom opened this issue 3 years ago • 7 comments

  1. How to make it autostart? To make sure this works all the time and all I have to do is use it :)
  2. How to change the bind-keys?
  3. Why is it not working with certain programs like Inkscape?
  4. With some that works with, it hides the menu entirely. Why?

I love this approach and I miss HUD so much. It was the best feature in linux at that time...

tiotrom avatar Dec 05 '20 16:12 tiotrom

Hi @tiotrom, the readme describes how to use this. I'm adding some screenshots that make it easier.

1. How to make it autostart? To make sure this works all the time and all I have to do is use it :)

Screenshot from 2020-12-06 01-38-17

2. How to change the bind-keys?

Screenshot from 2020-12-06 01-38-45

3. Why is it not working with certain programs like Inkscape?

Inkscape works for me. Make sure you have all the dependencies installed to get support for most applications. Keep in mind that this does not work in wayland.

You can also install plotinus to get support for applications with headerbars (dbus must be enabled).

4. With some that works with, it hides the menu entirely. Why?

Check https://github.com/hardpixel/gnome-hud/issues/12#issuecomment-621551252 on how to disable menu hiding for GTK applications.

If you want, you can make a PR that updates the readme to make this easier for other people.

jonian avatar Dec 05 '20 23:12 jonian

Thanks a lot for the replies and the screenshots.

  1. Yes I figured it, but opening Gnome HUD from the apps-menu, does nothing. It only works in the terminal with "gnomehud". So I thought the desktop file does not work. I looked at it and it has this: Exec=gnomehud-service. Shouldn't the .desktop execute gnomehud?

Because if the .desktop file works, then it is easy to make it auto-start.

  1. Exactly! If 1 gets to work, then it is easy to change the bindkeys of course ;)

  2. Yes I have all dependencies. I also installed it via AUR that pulls all dependencies. Thanks for the plotinus suggestion. But could not enable DBus:

[tio@tio-gl753vd ~]$ gsettings set com.worldwidemann.plotinus:/com/worldwidemann/plotinus/[application]/ dbus-enabled [true/false]
No such schema “com.worldwidemann.plotinus”
  1. That command from the comment does not work:
[tio@tio-gl753vd ~]$ org.appmenu.gtk-module.always-show-inner-menu
bash: org.appmenu.gtk-module.always-show-inner-menu: command not found

tiotrom avatar Dec 06 '20 01:12 tiotrom

Regarding point 4, I opened DConf and managed to enable that. But I still can't see the menus...and my LibreOffice, Kdenlive and other programs that I use, now have no menu anymore...how can this be fixed/reversed?

tiotrom avatar Dec 06 '20 15:12 tiotrom

And regarding point 1, indeed changing in the .desktop file the gnomehud-service with gnomehud all works fine!

tiotrom avatar Dec 06 '20 15:12 tiotrom

If you want, you can make a PR that updates the readme to make this easier for other people.

Yup will do, once we have them all sorted :)

tiotrom avatar Dec 06 '20 15:12 tiotrom

Regarding point 4, I opened DConf and managed to enable that. But I still can't see the menus...and my LibreOffice, Kdenlive and other programs that I use, now have no menu anymore...how can this be fixed/reversed?

Works for me by enabling the setting in DConf. You can find more info here (maybe open an issue).

Thanks for the plotinus suggestion. But could not enable DBus

Use plotinus-git, plotinus package does not create the settings schema.

And regarding point 1, indeed changing in the .desktop file the gnomehud-service with gnomehud all works fine!

It works because gnomehud and gnomehud-rofi start the service if it has not started but it is not intended to be used to start the service. Maybe the desktop file can add the service in start-up applications when launched.

Yup will do, once we have them all sorted :)

Thanks! Contributions are important for open source projects.

jonian avatar Dec 06 '20 21:12 jonian

Thanks for the input. I am still unable to make this work properly on Manjaro Gnome.

First, I'd want to make it work with all (most) applications. Right now it only works with a few. It seems to only work with qt applications, not gtk.

All of the packages are installed.

gtk3 bamf linkeybinder3 python python-gobject python-dbus

Side note: I cannot find linkeybinder3 in either Manjaro's repositories or AUR.

Plus:

Install appmenu-gtk-module for GTK appmenu support Install appmenu-qt4 for Qt4 appmenu support Install libdbusmenu-gtk2 and libdbusmenu-gtk3 for GTK2 and GTK3 dbusmenu support Install libdbusmenu-qt4 and libdbusmenu-qt5 for Qt4 and Qt5 dbusmenu support

So the above are installed.

Then I copy paste these into the terminal: gnomehud-service + gnomehud-rofi + gnomehud

What am I doing wrong?

Cheers!

tiotrom avatar Dec 07 '20 23:12 tiotrom