xbindkeys startup

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
prabhatjn

xbindkeys startup

Post by prabhatjn »

Hi,

my xbindkeys at startup does not run properly. I have made .xbindkeyrc in my home directory and gave it chmod 755. I see in my system monitor that when my system starts it takes that file and start the xbindkey process, however my keyboard shortcuts does not work. They work only if I manually end that process and restart it on terminal by giving command "xbindkeys -f /home/prabhatjn/.xbindkeysrc".

Can someone help?

Thanks,
Prabhat.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
viking777

Re: xbindkeys startup

Post by viking777 »

Have you added xbindkeys to the startup programs? The conf file in your home folder isn't going to run it.
prabhatjn

Re: xbindkeys startup

Post by prabhatjn »

Hi viking777,

Thanks for reply. Actually if I put it in the startup applications then two instances of xbindkeys starts. If I change the name of .xbindkeyrc to something else and then load it in startup with -f option then only one instance open. But whatever I do it is not able to bind the keys at startup.

Prabhat.
viking777

Re: xbindkeys startup

Post by viking777 »

Sorry, that is a mystery to me, I can't start xbindkeys unless I put it in the startup applications.

Having said that I am not using it on Mint so maybe that is the difference.

BTW. What is the matter with the built in keyboard shortcuts application? I don't run xbindkeys on MInt because it isn't needed. Keyboard>Shortcuts>Custom Shortcuts works for me.
prabhatjn

Re: xbindkeys startup

Post by prabhatjn »

Hi,
The custom keyboard shortcuts are not working as well (It works for what is defined inside it, but not custom). May be because I am using cinnamon and it is having bugs. Not sure, that is why I have started using xbindkeys.


Prabhat.
prabhatjn

Re: xbindkeys startup

Post by prabhatjn »

I am hoping that for custom keyboard shortcuts the new version of cinnamon will solve it...
https://github.com/linuxmint/Cinnamon/pull/1405

P.
viking777

Re: xbindkeys startup

Post by viking777 »

Well, that is interesting, I use Cinnamon as well and all the custom keyboard shortcuts I have created (11 of them) work perfectly :?

Strange things computers aren't they.

I don't know why this is, or even if it is significant or not, but if you search for 'keyboard' in the main menu there are two entries which look different to each other. When you open them both one is just titled 'Keyboard' the other 'Cinnamon Settings Keyboard'. I put all my shortcuts into the 'Keyboard' one not the 'Cinnamon' one, and they all work.

Have you tried that?
prabhatjn

Re: xbindkeys startup

Post by prabhatjn »

Hi,

Actually there is only one entry that is the cinnamon settings keyboard. I do not get the other one.

P.
viking777

Re: xbindkeys startup

Post by viking777 »

Maybe that is your problem then. I don't know why I get two, but I know others do as well, I read it somewhere else on the forum (although I can't find it now). Maybe you could find something in dconf-editor to set the shortcuts. The entries for keybindings are all over the place in there, here are just a few of them:

org/gnome/settings-daemon/plugins/media-keys
org/gnome/mutter/keybindings
org/gnome/desktop/wm/keybindings
org/gnome/shell/keybindings

(You can press ctl/f to search in dconf editor).
Locked

Return to “Software & Applications”