Transfer my custom keyboard or create a new one?

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Stormwoken

Transfer my custom keyboard or create a new one?

Post by Stormwoken »

Hello there :)

I am a complete newbie (a former Windows user), having installed Mint only 2 days ago. One of the priority things for me right now is to either:
a) Somehow transfer my customised keyboard layout (customised Russian keyboard - completely different from all of those default keyboards out there and a pain to make).
b) Find a keyboard layout creator software.

Any advice on either of these?

Thanks in advance! :)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
ElStellino
Level 3
Level 3
Posts: 163
Joined: Thu Nov 08, 2012 9:54 am
Location: 192.168.1.136

Re: Transfer my custom keyboard or create a new one?

Post by ElStellino »

We are in two, then.
Mine is an Italian keyboard for work, but I need also some French, Spanish, and Lithuanian characters because I am a translator. I don't plan to install other keyboard layouts and switching them for just a few characters.
I guess that also my friend Stormwoken wants something similar to this:
http://www.microsoft.com/en-us/download ... x?id=22339

I found this solution a while ago (a year before installing Mint, actually) and I found it ubercomplicated (at least compared to the Windows way) I will try now to read it again and try it out.
http://www.dotkam.com/2007/06/25/custom ... t-linux-2/

I then will come back and report when I'm done (or stuck)

I hope all this helps!
Linux Mint 21.1 – Cinnamon-64

Hardware, since 2009 – still rocking:
MB - ASRock H55DE3
Core i3 530 2.93Ghz 
4Gb DDR3 Ram Dual Channel
And there’s a new entry!
Acer laptop
Intel© Core™ i5-4200U CPU @ 1.60GHz × 2
6GB RAM
User avatar
ElStellino
Level 3
Level 3
Posts: 163
Joined: Thu Nov 08, 2012 9:54 am
Location: 192.168.1.136

Re: Transfer my custom keyboard or create a new one?

Post by ElStellino »

Stuck, haha

I searched, and found this interesting thread that explain quite well how to.

http://ubuntuforums.org/showthread.php?t=354969

As poster #6 said, I tried to swap my Caps Lock for Shift as I had it on Windows, and got it instead typing 2... I then tried assigning the key number for the right Shift, and got it typing >...
Whatever. I killed it, I don't use it anyway :)
Soon to be killed is the Ins key. :D

Still, I forecast that obtaining my custom keyboard back will be a royal PITA.

Nonetheless, I'll try.
Luca

EDIT: I found this list for the EN(GB) keyboard
http://www.linuxscrew.com/2008/09/15/fa ... -in-linux/
I remapped my Caps Lock typing

Code: Select all

xmodmap -e 'keycode 66=Shift_L'
But, I cannot work out how to assign values to multiple keystrokes. I used to have all the vowels with accents for Spanish and French hitting Alt Gr and the relative wowel, or custom Lithuanian consonants hitting the Alt Gr or the Right Ctrl + relevant consonant... I cannot see an easy way to replicate all that. My customised keyboard layout was only assigning values to all the dead keys, not remapping already assigned keys.

In any case, does anybody know how to do it easily, please?
Linux Mint 21.1 – Cinnamon-64

Hardware, since 2009 – still rocking:
MB - ASRock H55DE3
Core i3 530 2.93Ghz 
4Gb DDR3 Ram Dual Channel
And there’s a new entry!
Acer laptop
Intel© Core™ i5-4200U CPU @ 1.60GHz × 2
6GB RAM
User avatar
ElStellino
Level 3
Level 3
Posts: 163
Joined: Thu Nov 08, 2012 9:54 am
Location: 192.168.1.136

Re: Transfer my custom keyboard or create a new one?

Post by ElStellino »

After one day I can say that using the method xmodmap -e isn't very feasible.
The reason: I created a backup of my keyboard layout, thinking that xmodmap -e was going to modify that one. Instead, no.
I installed also the Spanish layout to test, and also that one retains the modification of the Caps Lock.

Moreover, since I modified it, the Shift+W and Shift+P no longer work. they just make blink the frame of this typing frame, or of the search box, or the whole window of LibreOffice. With any of the Shift keys.
Does anybody know why?
______

I believe that the method to modify the layout correctly is to open with a text editor the layout you want to modify, and add there your combinations, as explained in the first link I posted.

As nobody replies to this post, I believe that it's one of those questions that have been asked many times, and the answer is "no, nothing exists to modify easily and painlessly a keyboard layout in Linux!"

I believe that this is one of those instances where Linux is clearly inferior to Windows, no doubt.
Don't hate me guys.
Last edited by ElStellino on Wed Dec 12, 2012 6:05 pm, edited 1 time in total.
Linux Mint 21.1 – Cinnamon-64

Hardware, since 2009 – still rocking:
MB - ASRock H55DE3
Core i3 530 2.93Ghz 
4Gb DDR3 Ram Dual Channel
And there’s a new entry!
Acer laptop
Intel© Core™ i5-4200U CPU @ 1.60GHz × 2
6GB RAM
User avatar
ElStellino
Level 3
Level 3
Posts: 163
Joined: Thu Nov 08, 2012 9:54 am
Location: 192.168.1.136

Re: Transfer my custom keyboard or create a new one?

Post by ElStellino »

So it seems that not even the OP is very interested in it... :/

I researched even further, and there is (was) an application with a GUI called Keymapper, present also in Software Center, but this doesn't work. It installs but then there is not trace of it anywhere.
sudo apt-get install gives the same result.

Honestly, I hear everywhere that Linux is superior, but to modify my keyboard layout in Windows 7 took about 10 minutes starting from the download center in the microsoft website, to having my custom keyboard layout installed and perfectly working. With Linux I am trying almost since last week, and I can't find anything relevant. I don't feel that compiling a layout file is the way to go... we are almost in 2013, there must be something easier, even in Linux!

Why Linux is sometimes so ubercomplicated? To scare off n00bs like me? :roll:

Please, see my situation: I am a translator, I need to use 4 languages, and the only differences are just few letters with their accents. It is plain stupid to have 4 layouts installed and switching them continuously, not only letters' positions change, but also all the punctuation. As it is my job, having to switch continuously from one layout to another lowers speed and consequently my productivity. Without considering every time that one layout has been forgotten active instead of another...
Linux Mint 21.1 – Cinnamon-64

Hardware, since 2009 – still rocking:
MB - ASRock H55DE3
Core i3 530 2.93Ghz 
4Gb DDR3 Ram Dual Channel
And there’s a new entry!
Acer laptop
Intel© Core™ i5-4200U CPU @ 1.60GHz × 2
6GB RAM
User avatar
ElStellino
Level 3
Level 3
Posts: 163
Joined: Thu Nov 08, 2012 9:54 am
Location: 192.168.1.136

Re: Transfer my custom keyboard or create a new one?

Post by ElStellino »

So, I am still looking for a way... I don't seem to find a bump link (Ctrl+F found only my "bumped by Stellino on...") so here I am.
Does anybody know how to do it, please?
Linux Mint 21.1 – Cinnamon-64

Hardware, since 2009 – still rocking:
MB - ASRock H55DE3
Core i3 530 2.93Ghz 
4Gb DDR3 Ram Dual Channel
And there’s a new entry!
Acer laptop
Intel© Core™ i5-4200U CPU @ 1.60GHz × 2
6GB RAM
User avatar
Garvan
Level 4
Level 4
Posts: 300
Joined: Sun May 29, 2011 3:26 am
Location: Thailand
Contact:

Re: Transfer my custom keyboard or create a new one?

Post by Garvan »

I don't think there is any app to make custom keyboard settings in Lunux. I would be a great idea to make one.

The link you copied in your Dec 05 post details the method I use. I edit the us keyboard to add additional letters (ÁÉÍÓÚáéíóú€≠±£ in my case) and once I set it up the way I wanted I kept a backup on dropbox so I can reinstall it easily if necessary. I also set they key to get the third level (keyboard layout ->Layouts->Options->Key to choose Third Level) Make sure this is set to what yo expect.

I know how to make custom keyboard maps, but I don't think it is easy so I am not very confident in explaining how to do it. Perhaps you can tell us how far you got following the advise given in this link? Were you able to change any key?

http://www.dotkam.com/2007/06/25/custom ... t-linux-2/

Garvan
Notebook: DELL Latitude E5520, i5-2520M @ 2.50 GHz, 4GB RAM, Linux Mint 17.2 (2011)
Notebook: DELL Latitude 5280, i5-73000 @ 2.7 GHz., 16 GB RAM, Linux Mint 19.2 (2019)
User avatar
ElStellino
Level 3
Level 3
Posts: 163
Joined: Thu Nov 08, 2012 9:54 am
Location: 192.168.1.136

Re: Transfer my custom keyboard or create a new one?

Post by ElStellino »

Garvan wrote:I don't think there is any app to make custom keyboard settings in Lunux. I would be a great idea to make one.

The link you copied in your Dec 05 post details the method I use. I edit the us keyboard to add additional letters (ÁÉÍÓÚáéíóú€≠±£ in my case) and once I set it up the way I wanted I kept a backup on dropbox so I can reinstall it easily if necessary. I also set they key to get the third level (keyboard layout ->Layouts->Options->Key to choose Third Level) Make sure this is set to what yo expect.

I know how to make custom keyboard maps, but I don't think it is easy so I am not very confident in explaining how to do it. Perhaps you can tell us how far you got following the advise given in this link? Were you able to change any key?

http://www.dotkam.com/2007/06/25/custom ... t-linux-2/

Garvan
Garvan,

Sorry for replying so late, but I never got the notification of your comment! I actually was coming here for bumping this, didn't expect to find your reply, it was quite a surprise. I left Linux Mint for a long pause with Windows 8 (and I actually find it Okay usability-wise) but as it was the Consumer Preview it got deactivated at the end of 2012, so I had to regress to Windows 7. I just recently reinstalled Mint, at the end of May - when Qiana came out.

I tried to research since last week, and I am amazed that still in 2014 nobody ever thinks that it would be handy. I tried to ask in google+ (https://plus.google.com/109134171685799 ... ZZ3H8ypLZ5) as well, and as usual there are the Linux fanbois who don't explain nothing, bash Windows without knowing and give wrong suggestions: at the question how to remap the keyboard, the answer was to use compose, which isn't exactly the same thing. It's just using a preset keyboard layout which doesn't work for me.

Anyway, I tried this afternoon modifying my usr/share/X11/xkb/symbols/it file as explained in the dotkam blog, first pasting the letters I wanted because I thought the system could recognise them, but got an error of configuration, so I looked up how to give the various letters a proper name, and once everyting was at it should have been, still it didn't like it.
Image
http://i299.removed/albums/mm315/look-a ... 9f0376.png
Maybe it has to do with the fact that I added more keys to the list, I don't know where xkb is taking the other letters from, maybe I shall modify another file?

I'm trying since 2 pm and now it's 5:30 and I am still stuck. Honestly, that's why people who don't know about computers hate Linux - I totally understand them.
I really don't know if it's worth doing what I am attempting to do since 2 years ago, and when I look at the date when that dotkam post was written... 7 years ago! No progress whatsoever, almost 2015 and still compiling to modify a keyboard, when with Microsoft anybody can do it conveniently with their mouse since Windows XP SP1 times, or probably since Windows 98.
Linux Mint 21.1 – Cinnamon-64

Hardware, since 2009 – still rocking:
MB - ASRock H55DE3
Core i3 530 2.93Ghz 
4Gb DDR3 Ram Dual Channel
And there’s a new entry!
Acer laptop
Intel© Core™ i5-4200U CPU @ 1.60GHz × 2
6GB RAM
User avatar
ElStellino
Level 3
Level 3
Posts: 163
Joined: Thu Nov 08, 2012 9:54 am
Location: 192.168.1.136

Re: Transfer my custom keyboard or create a new one?

Post by ElStellino »

I found this article which explains better how to do it, still, it ain't a 2 minutes walk:
http://michal.kosmulski.org/computing/a ... s-xkb.html

So I decided to post an idea, it opened some «blueprints» stuff, and posted a new one.
https://blueprints.launchpad.net/linuxm ... ard-mapper
Linux Mint 21.1 – Cinnamon-64

Hardware, since 2009 – still rocking:
MB - ASRock H55DE3
Core i3 530 2.93Ghz 
4Gb DDR3 Ram Dual Channel
And there’s a new entry!
Acer laptop
Intel© Core™ i5-4200U CPU @ 1.60GHz × 2
6GB RAM
Locked

Return to “Beginner Questions”