i want to enter my password for cryptsetup (ubuntu 19.04) only with my bépo keyboard,
how can i achieve cryptsetup to understand that ?
Edit /etc/vconsole.conf as an admin and add:
KEYMAP=fr-bepo
Afterwards, save it, and it will be OK for cryptsetup.
Reference: https://bepo.fr/wiki/Console_GNU/Linux
Related
I've been making a script which makes you unable to exit the terminal, unless you enter "yes". I've used this command to disable the Alt key temporarily.
xdotool keyup Alt_L Alt_R
I am now unable to "release" the key and my Alt key doesn't work properly anymore.
I did try
xdotool keydown Alt_L Alt_R
which resulted in constant pressing of the Alt key.
I did find out, that uninstalling xdotool makes the Alt key working again.
Yet I still need the Xdotool. Therefore this is not a option for me.
Can you help me "release" the Alt key and neither make it pressed, nor permanently unpressed?
Some additional information:
I am using Linux Mint 18.
And my script is running with bash.
Okay you will hate me for this answer. My mistake was that I had "Save session" in the options restarting. This resulted in a forkbomb curl command loop and it didn't release the alt key. I will try this keydown command again and then see what happens. I am not sure if this is only on Linux mint 18, or on other Linux distros.
I keep on accidentally typing altgr+space instead of space, which results in a non-blocking space and a compiler error. I have absolutely no need to use the said character in my code other than maybe in unicode notation, so what's the best way to turn this feature of in Eclipse? Alternatively, a system wide disable for it would be fine too.
I'm running Eclipse Mars & Linux Mint 17.1 Mate
this did the trick
setxkbmap -option "nbsp:none"
You should use the command xev to discover what is the keycode for AltGr on your keyboard (mine is 108). After that, you can use the xmodmap:
xmodmap -e 'keycode 108=NoSymbol'
I would then write this command in rc.local so I don't need to run it manually everytime I restart the machine.
Hi I add a new user in my linux mint. But after login that user, some feature losted in the terminal. Such as I cannot use up-arrow and down-arrow in the keyborad to show the previous command. Also there is no color in for different file. Someone could tell me the way to configure these setting? or some link. Thanks
The bash history is user-dependent. You can change the bash settings in the .bashrc file in your home directory, or you can tweak the file /etc/bash.bashrc.
I am new to linux centos ,i am trying to save and exit crontab in centos.
I have used CLI.
crontab -e
when i press esc key from my keyboard it says ":quit to exit: and i press ":quit" and press enter key from keyboard crontab exit without saving.
You can set vi as your default crontab editor using the command.
export EDITOR=vi
Then you can save and exit crontab using :wq.
It seems you edit your crontab in vim. Use :x to save and quit at the same time. Details: http://vim.wikia.com/wiki/Saving_a_file.
I try to have the volume keys working on my laptop in pure console mode (Debian installed without X).
I can manage sound volume with alsa commands, but I'd like to assign them to those keys.
I know keycode thanks to the showkey command, but now I can't figure out where to assign a specific command to them. Is it in keymaps ? How ?
Thanks a lot
In bash, you can use bind e.g.
bind -x '"\C-g": ls'
will make ctrl-g run the ls command