• You are not logged in.

    Patching problems in Linux

    • Started by DreymaR
    • 3 Replies:
    • Reputation: 210
    • From: Viken, Norway
    • Registered: 13-Dec-2006
    • Posts: 5,343
    bph said:

    i can confirm that tarmak did the business for me..
    i can also report having to get quite friendly with xkb as a linux user and i have had some nightmares trying to run the patches - ideally it would be great if you didn't have to touch any of that as a new colemak user, as it is pretty tricky stuff. I don't know whether that implies having some sort of more robust script that handles the patching or something along those lines. the simpler the better i would say, ideally just a double click like the pkl stuff on windows

    This is about the XKB patches found in my Big Bag Of Tricks (XKB) topic.

    Well, in my download there's an instdiff.sh script that installs the XKB patch. I think I described well enough how to run it? But yeah, no double-click option.

    Indeed, I've had problems too. Patching Ubuntu used to be a smooth and joyful experience, giving the layout and option choices (but not the model unfortunately) readily accessible in the menus. But lately I've tried several machines that crashed after I tried some settings, at least if I used the GUI settings panels! This happened several times using a GNOME3 Debian machine, but also on other machines.

    The crashes could be very painful. I had to try reinstalling the system a few times! I've resorted to mainly activating my patches using the 'setxkb.sh' script in my tools folder that simply calls the setxkbmap command instead of using xconfig or dconf or what-have-you. That seems robust at least, but I miss the GUI and I don't want a set of patches that can potentially ruin my system!

    But the patches are very complex by now and if I've made a mistake somewhere I can't find it. I'm not sure how to remediate this.

    One thing I did was add a few commands to my install script so I wouldn't have to restart the computer after installing. They seemed to work well, but maybe they don't behave as expected in all settings?

    I'm suspecting that there's a problem with the way the Linux environments handles keyboard settings these days. It's confusing, as the settings are stored in the dconf database for GNOME users but also for others and the old /etc/default/keyboard file is used sometimes but certainly not always? Also, the XKB server files in /var/lib/xkb/server-*.xkm seem to be ignored sometimes these days? I'm confused.

    Does anyone here have similar experiences, or even a solution or explanation to offer?

    I suppose I should take this to the Debian or XKB forums. But I'm asking here first just in case.

    Last edited by DreymaR (10-Apr-2014 10:42:43)

    *** Learn Colemak in 2–5 steps with Tarmak! ***
    *** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

    Offline
    • 0
    • Reputation: 11
    • Registered: 06-Jun-2013
    • Posts: 551

    one thing that could be useful is if the script automatically created a backup of the xkb files that the patch modifies, rather than suggesting the user does it

    these could then be used in some sort of disaster recovery mode to restore original settings if the patch has an undesired effect

    belt and braces over and above 'undoing' the patch

    all that date stuff with the current script is a bit confusing as well - is it necessary?

    also - really simple things like not calling it 'instdiff.sh' can help too, call it 'colemak.sh'

    Last edited by bph (10-Apr-2014 16:13:52)
    Offline
    • 0
    • Reputation: 0
    • Registered: 01-Oct-2014
    • Posts: 1

    I recently used an Apple Wireless Keyboard with my iPhone 4S (iOS 7) and I love the Colemak support, but I'm really disappointed that I can't change the Caps Lock key to Delete.  I've fallen in love with this remap and don't want to confuse my muscle memory by learning to use the backspace key again.  I need this remap!

    ________________
    http://www.braindumps.co/642-437.htm
    http://www.maryville.edu/
    http://www.icdl.com/
    http://www.kyoto-u.ac.jp/en
    https://en.wikipedia.org/wiki/IFPUG

    Last edited by Mikelcharles1 (22-Oct-2014 07:41:40)
    Offline
    • 0
    • Reputation: 210
    • From: Viken, Norway
    • Registered: 13-Dec-2006
    • Posts: 5,343

    Sorry, I don't know what you're talking about. Are you using my xkb files for iOS7?

    Isn't there an xkb option to use Caps as Back already? I think the xkb option 'capslock(backspace)' does that! In xkb, such options can and should be kept separate from the rest of the layout so you can choose them independently of layout choice.

    Last edited by DreymaR (01-Oct-2014 15:06:53)

    *** Learn Colemak in 2–5 steps with Tarmak! ***
    *** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

    Offline
    • 0