Page 9 of 10 FirstFirst ... 78910 LastLast
Results 81 to 90 of 98

Thread: Create your own personal keyboard layout

  1. #81
    Join Date
    Apr 2011
    Beans
    6

    Re: Create your own personal keyboard layout

    Quote Originally Posted by henriquemaia View Post

    5. Reverting to the Original Layout
    I did not get anyresult from this steps and nowI loose all of my languages in ubuntu and just have English.

    How I cab recovery my languages and layouts settings?

  2. #82
    Join Date
    Apr 2005
    Location
    Sintra, Portugal
    Beans
    835

    Question Re: Create your own personal keyboard layout

    Quote Originally Posted by v6rg View Post
    I did not get anyresult from this steps and nowI loose all of my languages in ubuntu and just have English.

    How I cab recovery my languages and layouts settings?
    Can you explain in detail all the steps you took?

    Tell us what files you edited, how you edited them, what changes you did; basically, all the information you think that might help us in undoing the changes you did.

  3. #83
    Join Date
    Apr 2011
    Beans
    6

    Re: Create your own personal keyboard layout

    Quote Originally Posted by henriquemaia View Post
    Can you explain in detail all the steps you took?

    Tell us what files you edited, how you edited them, what changes you did; basically, all the information you think that might help us in undoing the changes you did.
    I have two languages in my ubuntu: En & Fa (Persian)
    And I want to make a third keyboard layout for my nation language (Gilaki) in ubuntu.
    Based on your HowTo article, I opened Pt file and edit all of its rows and made my advanced file and saved it in GLK name.

    Then, I created a archive folder on my /home on the location:

    /home/archive/keyboard/layout

    but I could not put there my layout file (glk). It would not be copy!

    Then I did like this:

    Code:
    sudo ln -sf /home/archive/keyboard/layout/glk /usr/share/X11/xkb/symbols/glk
    And then...
    I loose both of my PT and GLK files (with all of my changes that take 6 houres of my time) and have this erroe in begining of ubuntu:

    Code:
     
    Error activating XKB configuration. 
    There can be various reasons for that. 
     
    If you report this situation as a bug, include the results of 
     • xprop -root | grep XKB 
     • gsettings get org.gnome.libgnomekbd.keyboard model 
     • gsettings get org.gnome.libgnomekbd.keyboard layouts 
     • gsettings get org.gnome.libgnomekbd.keyboard options

  4. #84
    Join Date
    Apr 2005
    Location
    Sintra, Portugal
    Beans
    835

    Exclamation Re: Create your own personal keyboard layout

    I won't be home till a little later so I can't look at this properly right now. But I'll try to find a solution for you. Sorry for that.

  5. #85
    Join Date
    Apr 2011
    Beans
    6

    Re: Create your own personal keyboard layout

    Quote Originally Posted by henriquemaia View Post
    I won't be home till a little later so I can't look at this properly right now. But I'll try to find a solution for you. Sorry for that.
    Not problem. I wait.
    And I wish you explain your HowTo for me that how I can have my new layout?

  6. #86
    Join Date
    Apr 2005
    Location
    Sintra, Portugal
    Beans
    835

    Re: Create your own personal keyboard layout

    Quote Originally Posted by v6rg View Post
    Not problem. I wait.
    And I wish you explain your HowTo for me that how I can have my new layout?
    I recently redid my layout in order to acommodate my new needs for symbols. While I did that, I noticed that some things had changed in the process.

    I send you here my new pt file as reference. You have to change its name to whatever you want. Like pt-v6rg (don't use extension) or whatever language you want to use. The name is irrelevant, it's just a mnemonic so you know what language it refers to and the aftername to know that you edited it.


    What do you do with it, then?
    Edit it at will. Be wise and try to follow the pattern of the file.

    After that, you will copy it (not move, but copy it) to its right place. Where is that place? Here:

    Code:
    /usr/share/X11/xkb/symbols
    How?

    like this:

    Code:
    sudo cp /path/for/your_keyboard_file /usr/share/X11/xkb/symbols

    Then you have to edit this file:

    Code:
    /etc/default/keyboard
    How?

    Like this:

    Code:
    sudo gedit /etc/default/keyboard

    When the file is open,

    Code:
    XKBMODEL="pc105" 
    XKBLAYOUT="pt-henrique"
    XKBVARIANT="" 
    XKBOPTIONS=""
    change the line in bold to match the name of your keyboard file.

    example:

    Code:
    XKBMODEL="pc105" 
    XKBLAYOUT="pt-v6rg"
    XKBVARIANT="" 
    XKBOPTIONS=""
    Save the file. Now reboot.

    You're done.
    (so I hope)
    Attached Files Attached Files
    Last edited by henriquemaia; August 14th, 2012 at 03:17 AM. Reason: Edited layout.

  7. #87
    Join Date
    Aug 2012
    Beans
    2

    Re: Create your own personal keyboard layout

    could you please summarize all the steps that are required to add a new keyboard layout?

    from what I could understand so far the steps seem to be the following:
    1) one has to create a layout file, give it a name
    2) add the file with the new layout to /usr/share/X11/xkb/symbols
    3) then modify the following files:
    - /usr/share/X11/xkb/rules/evdev.lst
    - /usr/share/X11/xkb/rules/base.lst
    - /usr/share/X11/xkb/rules/evdev.xml
    - /usr/share/X11/xkb/rules/base.xml
    4) anything else?

    Can the 3-letter language code be looked up here? http://www.sil.org/iso639-3/codes.as...639_3&letter=g

    ----
    I am trying to create a Gagauz layout. I have the layout file, but I fail to add it as a separate layout into the system The steps above result in the failure of some module that's responsible for layout switching and configuration. I use Kubuntu 12.04

  8. #88
    Join Date
    Apr 2005
    Location
    Sintra, Portugal
    Beans
    835

    Re: Create your own personal keyboard layout

    Quote Originally Posted by greywalk View Post
    could you please summarize all the steps that are required to add a new keyboard layout?

    from what I could understand so far the steps seem to be the following:
    1) one has to create a layout file, give it a name
    2) add the file with the new layout to /usr/share/X11/xkb/symbols
    3) then modify the following files:
    - /usr/share/X11/xkb/rules/evdev.lst
    - /usr/share/X11/xkb/rules/base.lst
    - /usr/share/X11/xkb/rules/evdev.xml
    - /usr/share/X11/xkb/rules/base.xml
    4) anything else?

    Can the 3-letter language code be looked up here? http://www.sil.org/iso639-3/codes.as...639_3&letter=g

    ----
    I am trying to create a Gagauz layout. I have the layout file, but I fail to add it as a separate layout into the system The steps above result in the failure of some module that's responsible for layout switching and configuration. I use Kubuntu 12.04
    Step 1 and 2 are correct, but 3 is not.

    3) Edit the file
    /etc/default/keyboard

    XKBMODEL="pc105"
    XKBLAYOUT="your_keyboard_file_as_it_appears_on_the _symbols_directory"
    XKBVARIANT=""
    XKBOPTIONS=""

    Save the file. Reboot. If the file follow the standard of a symbols files, it will work at startup. No more fuss.

    Note: look até my updated howto on the post above yours.
    http://ubuntuforums.org/showpost.php...0&postcount=86

  9. #89
    Join Date
    Aug 2012
    Beans
    2

    Re: Create your own personal keyboard layout

    I do as it's said in step 3, that is edited the /etc/default/keyboard, but nothing happens. The added layout doesn't appear in the layouts list.

    I believe I may have made a mistake in the layout file itself. Could someone please look into the file? I attached all the files I used to create the layout.
    Attached Files Attached Files

  10. #90
    Join Date
    Apr 2005
    Location
    Sintra, Portugal
    Beans
    835

    Re: Create your own personal keyboard layout

    Quote Originally Posted by greywalk View Post
    I do as it's said in step 3, that is edited the /etc/default/keyboard, but nothing happens. The added layout doesn't appear in the layouts list.

    I believe I may have made a mistake in the layout file itself. Could someone please look into the file? I attached all the files I used to create the layout.
    Ah, I see you are trying to make the file to show on the GUI keyboard selection tool. My howto is to define the keymap directly, with no other selection. I know very little about the steps to take in order to make you keymap visible on the selection tool.

Page 9 of 10 FirstFirst ... 78910 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •