symbol
Member
Posts: 15
Likes: 5
|
Post by symbol on Dec 25, 2023 4:39:37 GMT
I know how to add key binding with setting.
However, sometimes I need to add long-key-bindings as the following:
# grayscale key "Ctrl+Super+c" /bin/sh -c "pgrep compton && killall compton || compton --backend glx --glx-fshader-win \"$(cat $HOME/local/grayscale.glsl)\" &" # touchpad key "Ctrl+Super+t" /bin/sh -c "synclient TouchpadOff=$(($(synclient | grep TouchpadOff | awk '{print $3}')^1))"
- Q1: Are there any way I can copy and paste on string in the key binding panel? - Q2: Are there any way I can locate the key binding configuration file, so I can set long-key-binding in the config txt file?
|
|
symbol
Member
Posts: 15
Likes: 5
|
Post by symbol on Dec 25, 2023 4:59:21 GMT
I see the configuration file might be in the file .e/e/config/bodhi/e.1.cfg
While this is a binary file
grep -rni "my command" .e grep: .e/e/config/bodhi/e.1.cfg: binary file matches grep: .e/e/config/bodhi/exehist.cfg: binary file matches grep: .e/e/config/bodhi/exehist.1.cfg: binary file matches grep: .e/e/config/bodhi/e.cfg: binary file matches grep: .e/e/config/bodhi/exehist.2.cfg: binary file matches
|
|
|
Post by thewaiter on Dec 25, 2023 7:59:41 GMT
Hello Yes, it is all possible Open key binding dialog, create a new keys combination (for example CTRL WIN C) and look up "Command" action on the right. Write command to the text entry. Bad news is, you can not copy or paste to the entry. Sorry, a long term issue we need to resolve. As a workaround I can see creating a bash file and putting it name to the command entry. i.imgur.com/sG8ihEC.pngPS: config files are encoded, indeed. You would need to decode. No need from my POV. Use the method above PS2: I add a block of code to Moksha recently. It is a feature for touchpad on/off. You need to wait for deb package in repo (or let me know, I will send you) bodhilinux.boards.net/thread/1720/3-new-features-mokshaStefan
|
|
symbol
Member
Posts: 15
Likes: 5
|
Post by symbol on Dec 25, 2023 15:19:17 GMT
I switch to XFCE, which looks more customizable.
|
|
|
Post by thewaiter on Dec 25, 2023 15:41:15 GMT
NP, enjoy XFCE
|
|
symbol
Member
Posts: 15
Likes: 5
|
Post by symbol on Apr 13, 2024 3:02:35 GMT
|
|
|
Post by thewaiter on Apr 13, 2024 4:15:30 GMT
Lol, everything was written by me before. But I am glad you found the wiki section. Also it looks you are back from xfce which is more customizable
|
|