You are not logged in.
Hi, I did make the switch from windows to arch linux (default options installed with gnome) last week and miss my hotkeys to activate programs.
I am absolute Newbie but trying the best I can:
So far i did read the instructions and created
sudo packman -s xbindkeys #worked out fine
Create a blank ~/.xbindkeysrc
Filled it with what should be Ctrl+Alt+l and it should launch my default notepad use for daily notes in kwrite. Found this somewhere in google and tested it on the console and it works.
"/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=kwrite --file-forwarding org.kde.kwrite @@u "/home/jan/Documents/logboek.txt" @@"
m:0x5 + c:46
Since nothing happened i thought lets take a look at the example and create something more easy
Trying to incease and decrease volume with Ctrl and numpad - and increase it with Ctrl + numpad +
on the commandline it does increase and decrease volume when i excecute the commands
new content of ~/.xbindkeysrc
"pactl set-sink-volume 0 -1000"
m:0x4 + c:82
"pact set-sink-volume 0 +1000"
m:0x4 + c:86
I did find the keycodes needed with command
xbindkeys --key
the command xbindkeys -s output of the last try
"pactl set-sink-volume 0 -1000"
m:0x4 + c:82
Control + KP_Subtract
"pact set-sink-volume 0 +1000"
m:0x4 + c:86
Control + KP_Add
I did reboot the OS to make sure all configuation is loaded.
Any hints and tips, examples for any hotkey (launching firefox) anything, if there is another way to do it that's also fine.
May a hint where i could find some information to logs containing error messages.
Kind regards,
Jan
Last edited by JanJuggleMan (2024-12-15 09:58:00)
Offline
sudo packman -s xbindkeys #worked out fine
Probably not ![]()
Please use [code][/code] tags. Edit your post in this regard.
"/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=kwrite…
Found this somewhere in google/
![]()
https://archlinux.org/packages/extra/x86_64/kate/
This will allow you to record the shortcut by pressing it.
xbindkeys -kI did find the keycodes needed with command
Ah… see - code tags ![]()
Is the xbindkeys daemon actually runnig?
loginctl session-statusOnline
the command did give me back the response:
Since: Sun 2024-12-15 09:50:33 CET; 5h 8min ago
State: active
Leader: 1163 (gdm-session-wor)
Seat: seat0; vc2
TTY: tty2
Remote: no
Service: gdm-password
Type: wayland
Class: user
Idle: no
Unit: session-3.scope
├─1163 "gdm-session-worker [pam/gdm-password]"
├─1232 /usr/lib/gdm-wayland-session /usr/bin/gnome-session
└─1236 /usr/lib/gnome-session-binaryGuess not so some more investigation to be done.
Thanks for pointing out I posted this question in the right section ![]()
I will get it running somehow and
I will be back!, n00b out!! Offline
You're running gnome on wayland - forget about xbindkeys.
https://help.gnome.org/users/gnome-help … et.html.en
Online
Thank you very much it worked ![]()
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online