Search found 261 matches

by magnus7
Tue Jan 19, 2021 8:28 am
Forum: Software & Applications
Topic: Decimal separator on numpad set to "." instead of being changed with layout
Replies: 12
Views: 272

Re: Decimal separator on numpad set to "." instead of being changed with layout

It is a bug on all systems. I think these guys can help: https://github.com/freedesktop/xkeyboard-config The include... line in cz file works even when in the "basic" statement (line 67). Czech (QWERTY) includes Czech "basic" so some changes in "basic" will affect Czech...
by magnus7
Mon Jan 18, 2021 6:28 pm
Forum: Software & Applications
Topic: Decimal separator on numpad set to "." instead of being changed with layout
Replies: 12
Views: 272

Re: Decimal separator on numpad set to "." instead of being changed with layout

It is still not clear why changes in Czech layouts affect English (US) on your computer. Maybe remapping Czech (QWERTY) and English (US) will help. In file /usr/share/X11/xkb/symbols/cz add line include "kpdl(comma)" below line 98: key <AE10> { [ eacute, 0, parenright, dead_doubleacute ] }...
by magnus7
Mon Jan 18, 2021 10:13 am
Forum: Software & Applications
Topic: Decimal separator on numpad set to "." instead of being changed with layout
Replies: 12
Views: 272

Re: Decimal separator on numpad set to "." instead of being changed with layout

Run this command in terminal and post the output here. It will show variants of the layouts.

Code: Select all

dpkg --status xkb-data | grep ^Version && setxkbmap -query
by magnus7
Sun Jan 17, 2021 4:37 pm
Forum: Software & Applications
Topic: Decimal separator on numpad set to "." instead of being changed with layout
Replies: 12
Views: 272

Re: Decimal separator on numpad set to "." instead of being changed with layout

The command changes only basic Czech layout. I tested it on different computers with LM 19.3 Cinnamon, LM 20 Cinnamon and LM 20.1 Cinnamon. The result is always the same: Czech layout using comma, English (US) using period. Try it on another computer with different keyboard model. If you have the sa...
by magnus7
Sat Jan 16, 2021 8:45 pm
Forum: Software & Applications
Topic: Decimal separator on numpad set to "." instead of being changed with layout
Replies: 12
Views: 272

Re: Decimal separator on numpad set to "." instead of being changed with layout

The command works correctly. Try it on a fresh installation or Live USB (logout instead of reboot).

If you want to reverse changes made by the command reinstall xkb-data package:

Code: Select all

sudo apt-get install --reinstall xkb-data
by magnus7
Sat Jan 16, 2021 12:01 pm
Forum: Software & Applications
Topic: Decimal separator on numpad set to "." instead of being changed with layout
Replies: 12
Views: 272

Re: Decimal separator on numpad set to "." instead of being changed with layout

Run this command in terminal and restart the computer:

Code: Select all

sudo sed -i '67s|.*|include "kpdl(comma)"|' \
/usr/share/X11/xkb/symbols/cz && sudo dpkg-reconfigure xkb-data
by magnus7
Mon Jan 11, 2021 4:22 pm
Forum: Hardware Support
Topic: Caps Lock disable again: Mint vs. Ubuntu
Replies: 2
Views: 98

Re: Caps Lock disable again: Mint vs. Ubuntu

Open pc file as administrator:

Code: Select all

xed admin:///usr/share/X11/xkb/symbols/pc
Comment line 22 and 36:

Code: Select all

// key <CAPS> {	[ Caps_Lock ]	};
	
// modifier_map Lock   { Caps_Lock };
Restart the computer.
by magnus7
Sun Dec 06, 2020 1:58 pm
Forum: Software & Applications
Topic: Remapping broken laptop keys to combination keys
Replies: 11
Views: 280

Re: Remapping broken laptop keys to combination keys

First run this command and restart the computer. If you made any remapping it will be undone. sudo apt-get install --reinstall xkb-data Next run this command and restart the computer. sudo sed -i \ -e '7s|.*|key<AE01>{[1,exclam,grave,asciitilde]};|' \ -e '18s|.*|key<AE12>{[equal,plus,minus,underscor...
by magnus7
Sun Dec 06, 2020 8:47 am
Forum: Software & Applications
Topic: Remapping broken laptop keys to combination keys
Replies: 11
Views: 280

Re: Remapping broken laptop keys to combination keys

What's your keyboard layout?
by magnus7
Wed Nov 04, 2020 9:02 am
Forum: Other topics
Topic: Mint 20 Keyboard mapping
Replies: 2
Views: 306

Re: Mint 20 Keyboard mapping

Upgrading from LM 19.3 to LM 20 is not recommended because of problems like yours. Try this solution: Turn on XIM: Menu > Input method > Input method framework > XIM Create a hidden file named .XCompose in your home directory ( ~/.XCompose ), which contains: include "%L" <dead_acute> <C> :...
by magnus7
Wed Oct 28, 2020 4:36 pm
Forum: Installation & Boot
Topic: [SOLVED] suspend: keep /proc/acpi/wakeup settings on reboot
Replies: 2
Views: 126

Re: suspend: keep /proc/acpi/wakeup settings on reboot

You can use Cron. In this command change x to device number(s), run it in terminal and restart the computer. printf '%s\n' 'SHELL=/bin/sh' \ 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin' \ '@reboot root acpitool -W x' \ | sudo tee /etc/cron.d/no_wakeup_usb You can also do it wi...
by magnus7
Tue Oct 27, 2020 11:40 am
Forum: Newbie Questions
Topic: How To Remap Caps Lock key to A key?
Replies: 22
Views: 588

Re: How To Remap A key to Caps Lock key?

Yes, just reinstall xkb-data:

Code: Select all

sudo apt-get install --reinstall xkb-data
Fresh installation of recent version of the system wouldn't be a bad idea because your Mint doesn't work as it should and support for 18.2 version will end in five months anyway.
by magnus7
Tue Oct 27, 2020 10:13 am
Forum: Newbie Questions
Topic: How To Remap Caps Lock key to A key?
Replies: 22
Views: 588

Re: How To Remap A key to Caps Lock key?

Go to /usr/share/X11/xkb/ folder, right click on symbols folder and choose "Open as administrator". Find pc file.
by magnus7
Tue Oct 27, 2020 9:57 am
Forum: Newbie Questions
Topic: How To Remap Caps Lock key to A key?
Replies: 22
Views: 588

Re: How To Remap A key to Caps Lock key?

Open pc file in text editor as administrator via terminal: gksudo gedit /usr/share/X11/xkb/symbols/pc In preferences of text editor select the "display line numbers" option. In the file find line number 22: key <CAPS> { [ Caps_Lock ] }; Change it to: key <CAPS> { [ a, A ] }; Delete line nu...
by magnus7
Tue Oct 27, 2020 9:26 am
Forum: Newbie Questions
Topic: How To Remap Caps Lock key to A key?
Replies: 22
Views: 588

Re: How To Remap A key to Caps Lock key?

Do you need instructions how to edit pc file?
by magnus7
Tue Oct 27, 2020 8:37 am
Forum: Software & Applications
Topic: How can LibreOffice keyboard automatically combine punctuation marks + letters?
Replies: 16
Views: 518

Re: How can LibreOffice keyboard automatically combine punctuation marks + letters?

I would like to have an instant classical greek alphabet. The letters have many different diacritics that determine the meaning of the word. I will test the possibilities of the standard greek keyboard lay outs included in LM 19.3. Good strategy. First find keyboard layout closest to what you want ...
by magnus7
Mon Oct 26, 2020 8:05 pm
Forum: Newbie Questions
Topic: How To Remap Caps Lock key to A key?
Replies: 22
Views: 588

Re: How To Remap A key to Caps Lock key?

Your keyboard layout wouldn't work without pc file. Run this command and post the output here.

Code: Select all

ls /usr/share/X11/xkb/symbols/ | grep ^pc
What's your keyboard layout?
by magnus7
Mon Oct 26, 2020 10:15 am
Forum: Newbie Questions
Topic: How To Remap Caps Lock key to A key?
Replies: 22
Views: 588

Re: How To Remap A key to Caps Lock key?

Your old Linux Mint version doesn't like my command. No problem. Run this command and restart the computer: sudo sed -i '36s|.*||' /usr/share/X11/xkb/symbols/pc && sudo sed -i '22s|.*|key<CAPS>{[a,A]};|' /usr/share/X11/xkb/symbols/pc && sudo dpkg-reconfigure xkb-data If it doesn't wo...
by magnus7
Sat Oct 24, 2020 10:29 am
Forum: Newbie Questions
Topic: How To Remap Caps Lock key to A key?
Replies: 22
Views: 588

Re: How To Remap A key to Caps Lock key?

Run this command in terminal and restart the computer:

Code: Select all

sudo sed -i -e '36s|.*||' \
-e '22s|.*|key<CAPS>{[a,A]};|' \
/usr/share/X11/xkb/symbols/pc \
&& sudo dpkg-reconfigure xkb-data

Go to advanced search