You are not logged in.

#1 2020-09-08 14:14:07

Systemcrasher
Member
Registered: 2016-03-01
Posts: 16

[solved] shortcut keys doesn't works

Hi All,

longer time ago to use an older one of Bunsenlab.

Now I installed the newest one on an Asus Laptop, is works very stable.
( at an older Laptop it doen't start).

But my problem is only cosmetic at that Asus: Shortkeys doesn't work.

I can't find the reason.

Any idea?

Greetings from Germany

Last edited by Systemcrasher (2020-09-21 11:29:32)

Offline

#2 2020-09-08 19:14:40

Nick
Member
Registered: 2020-09-05
Posts: 19

Re: [solved] shortcut keys doesn't works

Which shortkeys do not work?

Offline

#3 2020-09-08 20:35:44

damo
....moderator....
Registered: 2015-08-20
Posts: 6,353

Re: [solved] shortcut keys doesn't works

Run xev in a terminal and see what your system thinks the keys signify.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#4 2020-09-09 08:39:36

Systemcrasher
Member
Registered: 2016-03-01
Posts: 16

Re: [solved] shortcut keys doesn't works

@nick: All

@damo: looking at

.gmrunrc
dmenu-bind-sh
jgmenurc
prepend.csv

can't find an error, but i don't change anything there-

Offline

#5 2020-09-09 09:10:01

damo
....moderator....
Registered: 2015-08-20
Posts: 6,353

Re: [solved] shortcut keys doesn't works

Repeat:

damo wrote:

Run xev in a terminal and see what your system thinks the keys signify.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#6 2020-09-16 06:31:14

Systemcrasher
Member
Registered: 2016-03-01
Posts: 16

Re: [solved] shortcut keys doesn't works

https://pastebin.com/Dyq6jkaB

sorry for the late answer.

But i was busy on job (gender nursing).

KeyRelease event, serial 48, synthetic NO, window 0x3e00001,
    root 0x15a, subw 0x0, time 3015618, (312,290), root:(415,323),
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

MappingNotify event, serial 48, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 8, count 248

KeyPress event, serial 48, synthetic NO, window 0x3e00001,
    root 0x15a, subw 0x0, time 3015620, (312,290), root:(415,323),
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 49, synthetic NO, window 0x3e00001,
    root 0x15a, subw 0x0, time 3015637, (312,290), root:(415,323),
    state 0x40, keycode 65 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XmbLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False

KeyRelease event, serial 49, synthetic NO, window 0x3e00001,
    root 0x15a, subw 0x0, time 3015637, (312,290), root:(415,323),
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 49, synthetic NO, window 0x3e00001,
    root 0x15a, subw 0x0, time 3015638, (312,290), root:(415,323),
    state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False

FocusOut event, serial 49, synthetic NO, window 0x3e00001,
    mode NotifyNormal, detail NotifyNonlinear

that was after typing AltF2, AltF3, Super (i think, that's the "Windows"key).

 xev | grep keycode 
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
    state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    state 0x8, keycode 68 (keysym 0xffbf, F2), same_screen YES,
    state 0x8, keycode 68 (keysym 0xffbf, F2), same_screen YES,
    state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    state 0x8, keycode 69 (keysym 0xffc0, F3), same_screen YES,
    state 0x8, keycode 69 (keysym 0xffc0, F3), same_screen YES,
    state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    request MappingKeyboard, first_keycode 8, count 248
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    state 0x40, keycode 65 (keysym 0x20, space), same_screen YES,
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,

.Xmodmap doesn't exist in ~/home.

I think, that's the reason.

Where i can find that config-file?

Offline

#7 2020-09-16 12:45:38

sleekmason
Member
Registered: 2018-05-22
Posts: 234

Re: [solved] shortcut keys doesn't works

Would installing xbindkeys and xbindkeys-config be an option for the OP here?  Or would that interfere with Bunsenlabs keybinds?
Even though xbindkeys-config is slightly buggy, It is easy to use to set keybinds.

Offline

#8 2020-09-16 14:46:41

damo
....moderator....
Registered: 2015-08-20
Posts: 6,353

Re: [solved] shortcut keys doesn't works

Systemcrasher wrote:

... Asus: Shortkeys doesn't work.
...

I still don't know what "Asus: Shortkeys" means. Are they specific keys on a particular Asus laptop?


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#9 2020-09-16 18:03:05

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 708

Re: [solved] shortcut keys doesn't works

Systemcrasher wrote:

.Xmodmap doesn't exist in ~/home.
I think, that's the reason.
Where i can find that config-file?

On neither of mine Lithium or helium installs, do I have an ".Xmodmap" config file.

There is an command "xmodmap", that is part of package x11-xserver-utils...


// Regards rbh

Offline

#10 2020-09-16 20:57:13

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 708

Re: [solved] shortcut keys doesn't works

sleekmason wrote:

Would installing xbindkeys and xbindkeys-config be an option for the OP here?

Do you not have xbindkeys installed?


// Regards rbh

Offline

#11 2020-09-16 21:25:29

sleekmason
Member
Registered: 2018-05-22
Posts: 234

Re: [solved] shortcut keys doesn't works

rbh wrote:
sleekmason wrote:

Would installing xbindkeys and xbindkeys-config be an option for the OP here?

Do you not have xbindkeys installed?


Does it bother you I listed an already installed package in my answer?  Some point you wish to make?

Honestly, I don't know a whole lot about it. Surely no where near as much as you.
Just trying to help, as the OP is from September 8th. Not even sure it would be the right tool to try.
 
My apologies if I have disturbed you.

Offline

#12 2020-09-16 21:53:12

damo
....moderator....
Registered: 2015-08-20
Posts: 6,353

Re: [solved] shortcut keys doesn't works

^ I think @rbh was addressing the OP, not you: xbindkeys should be installed in a stock Lithium system.

Another possibility is if the OP has added older autostart or [bl-]rc.xml files, which is causing keybind conflicts or not starting xbindkeys.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#13 2020-09-18 03:33:26

Nick
Member
Registered: 2020-09-05
Posts: 19

Re: [solved] shortcut keys doesn't works

Systemcrasher wrote:

https://pastebin.com/Dyq6jkaB

sorry for the late answer.

But i was busy on job (gender nursing).

KeyRelease event, serial 48, synthetic NO, window 0x3e00001,
    root 0x15a, subw 0x0, time 3015618, (312,290), root:(415,323),
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

MappingNotify event, serial 48, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 8, count 248

KeyPress event, serial 48, synthetic NO, window 0x3e00001,
    root 0x15a, subw 0x0, time 3015620, (312,290), root:(415,323),
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 49, synthetic NO, window 0x3e00001,
    root 0x15a, subw 0x0, time 3015637, (312,290), root:(415,323),
    state 0x40, keycode 65 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XmbLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False

KeyRelease event, serial 49, synthetic NO, window 0x3e00001,
    root 0x15a, subw 0x0, time 3015637, (312,290), root:(415,323),
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 49, synthetic NO, window 0x3e00001,
    root 0x15a, subw 0x0, time 3015638, (312,290), root:(415,323),
    state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False

FocusOut event, serial 49, synthetic NO, window 0x3e00001,
    mode NotifyNormal, detail NotifyNonlinear

that was after typing AltF2, AltF3, Super (i think, that's the "Windows"key).

 xev | grep keycode 
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
    state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    state 0x8, keycode 68 (keysym 0xffbf, F2), same_screen YES,
    state 0x8, keycode 68 (keysym 0xffbf, F2), same_screen YES,
    state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    state 0x8, keycode 69 (keysym 0xffc0, F3), same_screen YES,
    state 0x8, keycode 69 (keysym 0xffc0, F3), same_screen YES,
    state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    request MappingKeyboard, first_keycode 8, count 248
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    state 0x40, keycode 65 (keysym 0x20, space), same_screen YES,
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,

No worries, thanks. I don't see anything out of the ordinary there.

Systemcrasher wrote:

.Xmodmap doesn't exist in ~/home.

I think, that's the reason.

Where i can find that config-file?

I have a pretty stock install and I don't have that file, either. I do however have a file ~/.xbindkeysrc which contains a bunch of things:

~/.xbindkeysrc
# For the benefit of emacs users: -*- shell-script -*-
###########################
# xbindkeys configuration #
###########################
#
# Version: 1.8.6
#
# This file is adapted for BunsenLabs Linux.
#

# NOTE: There is a gui available for editing keybinds - 'xbindkeys-config'.
# However we don't recommend its installation and use because it has some bugs.

# The format of a command line is:
#    "command to start"
#       associated key
#

# To identify a key, you can run 'xbindkeys --key' or
# 'xbindkeys --multikey' in a terminal
# and put one of the two output lines in this file.

# List of modifiers:
#   Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
#   Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#
# Mod4 is also known as the Super or Windows key.
#
# The release modifier is not a standard X modifier, but you can
# use it if you want to catch release events instead of press events.
#
# By default, xbindkeys does not pay attention to the modifiers
# NumLock, CapsLock and ScrollLock.
# Uncomment the lines below if you want to pay attention to them.
#
#keystate_numlock = enable
#keystate_capslock = enable
#keystate_scrolllock= enable

# NOTE xbindkeys reloads its configuration file each time it has changed.
# If you want to force it to reload its configuration file,
# you can send a HUP signal:
#
#       killall -HUP xbindkeys
#
# Or if that's not enough, a full restart:
#
#       pkill -x xbindkeys
#       xbindkeys_autostart
#
# (Sometimes this is needed.)
# When a HUP signal is sent to xbindkeys,
# changes in $HOME/.xbindkeysrc take effect only after moving the mouse.

# See 'man xbindkeys' for more information.

# Show main menu
"jgmenu_run"
    Mod4 + space

# Run Program
"gmrun"
    Alt + F2

# Show dmenu
"~/.config/dmenu/dmenu-bind.sh"
    Alt + F3

# Terminal
"x-terminal-emulator"
    Mod4 + t

# Web Browser
"x-www-browser"
    Mod4 + w

# File Manager
"bl-file-manager"
    Mod4 + f

# Editor
"bl-text-editor"
    Mod4 + e

# Media Player
"bl-media-player"
    Mod4 + m

# Volume
"pavucontrol"
    Mod4 + v

# htop task manager
"x-terminal-emulator -T 'htop task manager' -e htop"
    Mod4 + h

# Lock Screen
"bl-lock"
    Mod4 + l

# Logout
"bl-exit"
    Mod4 + x

# Kill a Window
"xkill"
    Mod4 + Escape

# Print Screen (xfce)
"xfce4-screenshooter"
    Print

# Print Screen (scrot)
"scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/Pictures/screenshots/ ; bl-image-viewer ~/Pictures/screenshots/$f'"
    Alt + Print

# Scrot with 10s delay
"scrot -d 10 '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/Pictures/screenshots/ ; bl-image-viewer ~/Pictures/screenshots/$f'"
    Control + Alt + Print

# Show xbindkeys settings
# (install tk to use this)
#"xbindkeys_show"
#    Control + Shift + q

##################################
# End of xbindkeys configuration #
##################################

This and other default files are located in /usr/share/bunsen/skel. If this file is not present in your home directory, I would try adding it. If it is already present, there are other troubleshooting steps you can try.

To proceed, could you specify exactly what keys are not working? Before you said all, but please provide specific examples of shortkeys that do not work; is it Super+Space for the menu, or is it a volume button, maybe a combination of a "Fn" key + F2, something like that?

This is important because if the problem is with special keys specific to your keyboard, sometimes the solution will be adding certain boot parameters.

Finally, if you're still having issues and want to proceed, please provide your hardware model name as this could be important in the event you need to try boot parameters.

Last edited by Nick (2020-09-18 03:37:11)

Offline

#14 2020-09-18 05:57:51

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 708

Re: [solved] shortcut keys doesn't works

The Asus Keyboard hotkeys are listed her.
https://www.asus.com/support/FAQ/1038312
It is for mutin/unmuting speakers, adjust brigtness etc.

@Systemcrasher is that the shortkeys that does not any longer work for you?


// Regards rbh

Offline

#15 2020-09-20 10:21:39

Systemcrasher
Member
Registered: 2016-03-01
Posts: 16

Re: [solved] shortcut keys doesn't works

@rbh: xbindkeys is installed, i installed ~/.xbindkeysrc with that tool. Butt there only a few commands with all # at beginning of line, and there are not the keys i needed inside.

Doing the same with .Xmodmap inside the same text.

The Fn-keys are working.

@Nick: copying the files from skel to home, with bash .xbindkeysrc i get a reaction, s.th. is opening, but ALT-F2 etc. doesn't work.
Maybe afer a restart of the system.

T tell the result later

Offline

#16 2020-09-20 13:39:43

damo
....moderator....
Registered: 2015-08-20
Posts: 6,353

Re: [solved] shortcut keys doesn't works

Systemcrasher wrote:

@rbh: xbindkeys is installed, i installed ~/.xbindkeysrc with that tool. Butt there only a few commands with all # at beginning of line, and there are not the keys i needed inside.
...

Uncomment any lines you want, or add them yourself. .xbindkeysrc has the instructions:

###########################
# xbindkeys configuration #
###########################
#
# Version: 1.8.6
#
# This file is adapted for BunsenLabs Linux.
#

# The format of a command line is:
#    "command to start"
#       associated key
#

# To identify a key, you can run 'xbindkeys --key' or
# 'xbindkeys --multikey' in a terminal
# and put one of the two output lines in this file.

# List of modifiers:
#   Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
#   Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#
# Mod4 is also known as the Super or Windows key.
#
# The release modifier is not a standard X modifier, but you can
# use it if you want to catch release events instead of press events.
#
# By default, xbindkeys does not pay attention to the modifiers
# NumLock, CapsLock and ScrollLock.
# Uncomment the lines below if you want to pay attention to them.
#
#keystate_numlock = enable
#keystate_capslock = enable
#keystate_scrolllock= enable

# NOTE xbindkeys reloads its configuration file each time it has changed.
# If you want to force it to reload its configuration file,
# you can send a HUP signal:
#
#       killall -HUP xbindkeys
# or    pkill -x xbindkeys; xbindkeys_autostart
#
# (Sometimes this is needed.)
# When a HUP signal is sent to xbindkeys,
# changes in $HOME/.xbindkeysrc take effect only after moving the mouse.

# See 'man xbindkeys' for more information.

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#17 2020-09-20 16:16:09

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 708

Re: [solved] shortcut keys doesn't works

Systemcrasher wrote:

@rbh: xbindkeys is installed, i installed ~/.xbindkeysrc with that tool.

No, file "/usr/share/bunsen/skel/.xbindkeysrc", is installed by package bunsen-config, when installing Bunsenlabs. It is then copied to ~/.xbindkeysrc, when loging in first time.

Butt there only a few commands with all # at beginning of line, and there are not the keys i needed inside.

The beaty of linux is that if default values do not suite you, you tweak them to suite you.


// Regards rbh

Offline

#18 2020-09-21 11:28:16

Systemcrasher
Member
Registered: 2016-03-01
Posts: 16

Re: [solved] shortcut keys doesn't works

the last step has been working.

Thank you all for your help.

Offline

Board footer

Powered by FluxBB