Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
development:linux:misc_commands [2020/05/27 18:11] kalenpw |
development:linux:misc_commands [2023/04/12 19:58] (current) kalenpw |
||
---|---|---|---|
Line 9: | Line 9: | ||
# mac | # mac | ||
find . -type f -name " | find . -type f -name " | ||
- | |||
# linux | # linux | ||
find . -type f -name " | find . -type f -name " | ||
Line 34: | Line 33: | ||
synclient PalmDetect=1 | synclient PalmDetect=1 | ||
- | </code> | + | # replace text in filename with other text |
+ | for i in *.png; do mv " | ||
- | You can't do it with just a setkxbmap option, as no default option does what you want. | + | # see what goes into your boottime |
+ | systemd-analyze critical-chain | ||
- | But you can do it by defining key behaviour at a lower level. | + | # if you can't format |
+ | sudo dd if=/ | ||
- | The page http:// | + | # Symlink so you can put .desktop files in ~/Applications |
+ | ln -s $HOME/ | ||
- | Create a file ~/ | + | # Reset sound drivers Fedora |
+ | systemctl --user restart pipewire pipewire-pulse wireplumber | ||
+ | # Reset sound drivers Mac | ||
+ | sudo pkill coreaudiod | ||
- | setxkbmap -print > ~/.xkb/ | + | </code> |
- | then we will create a ~/ | + | ---- |
- | + | ||
- | partial | + | |
- | xkb_types " | + | |
- | Virtual_modifiers Super; | + | |
- | type " | + | |
- | modifiers= Super; | + | |
- | map[Super]= Level2; | + | |
- | level_name[Level1]= " | + | |
- | level_name[Level2]= " | + | |
- | }; | + | |
- | }; | + | |
- | it defines a type SUPER_LEVEL2 that will allow to easily define symbols sent when a key is pressed with Super. | + | |
- | + | ||
- | then, in the ~/ | + | |
- | + | ||
- | partial modifier_keys | + | |
- | xkb_symbols " | + | |
- | key <LEFT> { | + | |
- | | + | |
- | symbols[Group1] = [ Left, | + | |
- | }; | + | |
- | key < | + | |
- | type[Group1] = " | + | |
- | symbols[Group1] = [ Right, | + | |
- | }; | + | |
- | }; | + | |
- | (note the use of the " | + | |
- | + | ||
- | Finally, edit the ~/ | + | |
- | + | ||
- | in the xkb_types line add +mytypes(super_level2) inside the quotes | + | |
- | in the xkb_symbols line add +mysymbols(super_arrows_home_end) in the quotes. | + | |
- | Now you can load it with | + | |
- | + | ||
- | xkbcomp | + | |
- | Test your left/right keys, they should work as you wanted. | + | |