Xkbmap option gets reset everytime X loses focus

Hello,
Since my last update (2015/02/05), the xkb option
caps:swapescape
gets removed everytime X server loses focus. By "lose focus", I mean switching to virtual console, triggering sleep, triggering suspend, etc.
EDIT: This situation changed. Suspend and sleep no longer drops swapescape. Only virtual console drops it.
Here is the output of setxkbmap -query before and after jumping to virtual console (ctrl+alt+f2):
[22:52:57 ~]$ setxkbmap -query
rules: evdev
model: pc104
layout: ca,us
variant: multi,
options: caps:swapescape,numpad:microsoft
[22:53:00 ~]$ setxkbmap -query
rules: evdev
model: pc104
layout: ca,us
variant: multi,
options: numpad:microsoft
[22:53:05 ~]$
The swapescape option got dropped. Another option I tried was to run:
[22:53:05 ~]$ cat .speedswapper
! Swap caps lock and escape
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock
[22:53:05 ~]$ xmodmap ~/.speedswapper
While this successfully swaps esc and caps,  it does not stick (switching to console reverts the change)
I'm not exactly sure how I could fix that. Is there a way I can execute some code every time X unhangs? Is there a way to punch in the esc <-> caps flip in the XKB layout map?
Extra info:
this is my .xinitrc file:
setxkbmap -layout ca -variant multi -option caps:swapescape -option numpad:microsoft
After boot, the caps:swapescape is not enables. A quick
setxkbmap -option caps:swapescape
applies the option.
EDIT: This situation changed. Suspend and sleep no longer drops swapescape. Only going to virtual console drops it.
Last edited by morphheus (2015-02-06 21:03:39)

No success with the X config file: the appropriate keyboard loads, but not the swapescape option.
I use an X config file to swap ctrl and caps. Are you sure you're doing it right?
$ ls /etc/X11/xorg.conf.d/
00-keyboard.conf 20-nouveau.conf 30-fonts.conf
$ cat /etc/X11/xorg.conf.d/00-keyboard.conf
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
Identifier "system-keyboard"
Driver "evdev"
Option "XkbLayout" "carpalx"
Option "XkbOptions" "ctrl:swapcaps"
EndSection
The swapescape still gets cleared on switching to Virtual console.
Presumably you're falling back to however you were doing it before, so it's no surprise it still gets cleared right?
As to workarounds, I think your best option is to figure out why the right solution is not working. 1) may be more complicated than you expect; 2) definitely won't work; 3) a lot of time & effort for little reward.

Similar Messages

  • IMovie quits for no reasons and its options get reset

    Just a bit ago, i was using imovie and then it quit for no reason, and it has beend oing that reciently, but I can get up fine. This time, it quit and it reset its options and I didn't tell it to do that. What is going on an d how can I fix this?
    the project seems to be uneffected.

    Perhaps you answered your own question. Garbage
    Collection.
    You need to save a reference of your implementation
    class or it will be eaten by the GC. You can do this
    by having a private Object within your Class.
    You need to keep the Server alive. Once the RMI
    Runtime had a "keep alive" thread for this but in
    newer (SDK1.4+) versions it's now up to you.
    We use this in our main() method that starts the
    server:
    Object forever = new Object();
    ... in a sync block
    wait(forever);This sounds like it is right on the money, but could you please spell out in a little more detail what I need to do? As I mentioned, I start the server like this:
    java -classpath dermpathApplet.jar:mail.jar:activation.jar:mysql-connector-java-3.0.11-stable-bin.jar com.edermpath.dermpath_client.DPAppletServer &
    DPAppletServer is very simple, looks like this:
    public class DPAppletServer {
    public DPAppletServer() {    
    public static void main(String args[]) {
    try {
    new DPAppletServer();
    DataAccessImpl da=new DataAccessImpl();
    java.rmi.Naming.rebind("rmi://www.dp.mcw.edu/com.edermpath.dermpath_client.DataAccess",da);
    etc
    Do you mean that I need to modify DPAppletServer? Or DataAccessImpl? How would a private object prevent the server from being garbage collected? Where does the sync block go? Is it just for a separate thread that waits forever??
    Thank you very much for your help!
    dermite

  • I changed my main page to Outlook. Now as soon as Firefox comes up and Outlook starts, it freezes. I cannot even get to the Firefox options to reset them.

    I had made some changes to Firefox this morning, including changing the start-up page to Outlook. Now as soon as Firefox comes up and Outlook starts, it freezes. I cannot even get to the Firefox options to reset them.

    To start Firefox up with a blank page with a blank page instead of your home page, you can type or paste the following in the "Run" dialog, or maybe in the charms bar search box (I haven't tested that):
    firefox.exe "about:blank"
    I'm not sure why Outlook.com -- which should redirect to the Live Mail login page if your previous session cookies have expired -- would freeze Firefox.

  • HT5312 Can't remember answers to my security questions and I don't get the option to reset my security questions

    Can't remember answers to my security questions and I don't get the option to reset my security questions.. What do I do ?

    Apple ID security issues -
    Call Apple Care for your country and ask for the Account Security Team. They can assist you with your issue.
    http://support.apple.com/kb/HT5699

  • HT4798 I cannot get the Apple ID option of resetting my -forgotten password- up. MacBookPro. OS X LION.  Christian

    I cannot get the Apple ID option of resetting my -forgotten password- up. MacBookPro. OS X LION.
    How to proceed?
    Christian.dk

    Use Disk Utility whihc is in the Utilities Folder.
    Select your Boot Disk on the left.
    Select Verify Permissions
    If any errors the do Reapir permissions.
    You might have to repeat the process.
    see this:
    Steve

  • Lose focus when tabbing out of autoSubmit text box in IE

    Hey,
    Using JDEV 11.1.1.4 I have a problem with tabbing from one textbox to another textbox in IE. Both text boxes have autoSubmit=true and to reproduce the problem it's like so:
    I type a value or edit the existing one into text box 1 and press Tab. The submit is done and focus is given to the second text box but only momentarily before it loses focus. The focus then is given to the window it would appear, because if I press Tab again it begins from the top of the page. This is only happening in IE (v8 is all I have tried so far). This ONLY happens when the value of the second box is null. If it has a value all works fine.
    I tried implementing various solutions including using the ExtendedRenderKitService to write javascript to the client from the bean to set focus on the text box after the partial render. The javascript is called and focus is set but then something else calls blur on it afterwards. I have verified this by putting a blur event listener on it and it gets called after I set focus on it from my own javascript!
    Has anyone experienced something similar? Just to note: It only happens in IE, and it only happens when the second text box is empty.
    Thanks,
    Ross

    Hey John,
    In reply to your message
    1). Tried on 11.1.1.6 to see if the issue is still there?Not really an option to try and upgrade and test if it works there.
    2). Made a simple test case removing as many variables as possible (e.g. do a simple screen with no DB interaction and only two fields) to see if it reproduces or it's something with your screen?Tried this an it works fine which means it is something unique to my code.
    3). Filed an SR at https://support.oracle.com with your test case
    As above it looks like it's not a problem with ADF so I will keep looking at it.

  • Caption field loses focus from one photo to next...

    It's that time of year again! I have one race that requires a bib number search, which in turn requires me to enter the bib numbers in the caption field. I used PhotoMechanic last year but was told that I could just as easily do it in Lightroom by entering the number in the caption field and then using command-right arrow to commit the data and move to the next photo while keeping focus on the caption field.
    This is happening exactly *some* of the time. Most often, though, when I command-right arrow I'm taken to the next photo but LR sort of "thinks" a little bit and in the process the caption field loses focus. Over the course of thousands of photos, the need to continually grab the mouse and click the focus back on the caption field is cumulatively very, very cumbersome.
    Anyone know of a better way to do this?
    Thanks,
    Dane

    Just be aware of the limitations you get for $150...
    PM has no editing capability other than cropping an image and even that is pretty limited. So if you aren't going to do a lot of editing then PM might well be the way to go since it might handle metadata editing "better" than LR for the specific task you are doing. Don't forget to add in the cost of the external editor that PM requires.
    I'm not looking at replacing LR, just frustrated that I feel the need to supplement it for such a simple task.
    BTW, I don't see the behavior you are describing when applying captions to photos sequentially. Sometimes you have to hit ctrl-right a couple of times because of the way LR handles autofill, but you can turn off autofill in catalog preferences.
    Yes, when autofill is on I sometimes need to hit command-right arrow a couple of times...once to basically select the autofill option I've been presented, and again to commit the data and move to the next photo. That's not what I'm complaining about. My gripe is that I almost always end up at the next photo with the caption field not having focus as it should.
    What were the factors that made you try LR?
    I've used LR since the first beta version and have no intention of giving it up. I get frustrated with it now and then, and this is one of those times. Adobe tells me command-right arrow should do what I want, but it doesn't. Why not? So I end up having to use a different app just to add captions.

  • While Printing using Print Button on Crysal Report Loses focus.

    Hi all,
    I am using CR XI along with VS2003 for developing my application.
    My application uses a Treeview to list all the available reports, once user select one of the report. I am using another dll, which contain all the rpt files as Embedded Resource, for showing the report in Crystal report viewer.
    Once report get loaded, I am using Print Button from Crystal report viewer to print the report.
    report get printed properly..
    However a strange behavior occurring, Form with Crystal report viewer control placed loses focus and immediate below window coming into focus (some other opened window get activated and bring to front and hiding my application).
    Any suggestion would be appreciated.
    Thank you
    Riju K K

    Hi Brian,
    Thanks for you are reply.
    I think I am not creating a separate process,
    From my application, I am creating an instance of form (which is in another DLL) which is hosting Crystal report viewer.
    If click "Print" button on the Crystal report viewer, I am getting a Printer selection form.
    If I cancel from there ,my Crystal report viewer form get focus back.
    If select a printer and click "OK". my Crystal report viewer form lost focus and some of the other window opened (word, ie, etc) before get focus.
    My assumption is Crystal Report viewer's "Print" button may be using a separate thread for Printing.
    that may creating this focus issue.
    what you think?

  • Somebody has created an apple id using my gmail id. So I gave forgot password option and reset the password of the id. But for resetting the security questions, link is going to some other email id which is created by the other guy.How can I resolve this?

    When I tried to create and apple id using my gmail account i found that somebody has already created an apple id using my gmail id. So I gave forgot password option and reset the password of the id. But for resetting the security questions, link is going to some other email id which is created by the other guy. Now the problem is that the other guy also can reset my password and access my account.
    I contacted apple customer care and they are not ready to help me saying that I need to give information about the last device I logged in using this id. How can I give it when I did not create it?:) Also they are saying this account has been verified and that could happen only if someone has hacked my gmail account and verified the id using the link sent by apple.
    Later I did some experiments and found that this is a security flaw from apple. Somebody has created the id and never used it(I tried to loggin to icloud and it was saying this account was not used it any apple device). The account became verified when I reset the password.(This is a bug, account should be verified only when we click on the verification link sent by apple).
    The other mistake apple did is that they allotted my gmail account to someone before it's verified eventhough it cannot be used unless verified. Actually apple should allot the account id only after verifying the email address.
    Apple customer care is not ready to help and I am tired of fighting with them. Can any of you guys suggest any means of getting back my gmail id to use it as apple id?

    I don't think you're going to be able to. I would guess the other person used your address by accident, and when he found he couldn't access the account (because you'd changed the password) he abandoned it. Your GMail address is now locked to that account and even if it was changed you can't use it to create another.
    You already have an Apple ID, which you use to log in here; you can use that to create an iCloud account if that's what you are trying to do. If you want to create a different Apple ID just get another free address such as a Yahoo one.

  • I can't sign into iCloud because my Apple ID doesn't work there.  For some reason it gave me a .mac email and I don't remember the password.  When it gives me the option to reset my password, it's my Apple ID password which I don't want to do.

    I can't sign into iCloud because my Apple ID doesn't work there.  For some reason it gave me a .mac email and I don't remember the password.  When it gives me the option to reset my password, it's my Apple ID password which I don't want to do.  I have ended up chaning my Apple ID 3 times lately and I still can't get to my cloud management.  What do I do?

    Check if your Data and Time, and Time Zone are set to automatically: OS X Yosemite: Set the date and time on your Mac
    Is this issue also appearing on new user account:
    Isolating an issue by using another user account - Apple Support
    Mac OS X: How to troubleshoot a software issue - Apple Support
    Is this issue also appearing in safe mode: OS X: What is Safe Boot, Safe Mode? - Apple Support

  • Using web.show_document the first time makes new browser window lose focus

    Hi,
    In our application we use show_document(url, '_blank') to open our reports (as pdf) in a new window.
    Our environment is Application Server 10g Release 2 with Forms 10g Release 2 and jinitiator 1.3.1.22.
    The first time I call a report, the new browser window containing the pdf is shown but loses focus after about 1 second. The focus is then returned to the applet window. When calling a report again it always keeps the focus.
    After closing the applet window and restarting the application, the same thing happens: first report called loses focus, all others keep the focus.
    Does anyone have any idea why this is happening? We want the focus to stay on the new browser window every time...

    Hi Jeroen,
    I m also facing a problem something similar to yours. If you got any solution please let me know.
    Problem-
    Currently my application is running on Forms 9.0.4.2 and my form calls another third party which displays the image in image viewer in new browser. When user clicks on the button to display image, then I m using the following Code -
    -- Method: displayDocuments ([Ljava/lang/String;)Ljava/lang/String;
    FUNCTION displayDocuments(
    obj ORA_JAVA.JOBJECT,
    a0 ORA_JAVA.JARRAY) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(1);
    JNI.ADD_OBJECT_ARG(args, a0, '[Ljava/lang/String;');
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'com/hli/imaging/adapter/LK_FormsImagingAdapter', 'displayDocuments', '([Ljava/lang/String;)Ljava/lang/String;', args);
    END;
    Image is displaying fine but the focus is staying on the newly opened browser. I want it to get back the focus to the forms window.Is this possible ???
    Thanks in advance
    Sai                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Aperture loses focus, even in other programs

    I developed a new problem over the past week or so. I'll be typing along in any program when it suddenly loses focus. I can click to re-establish but, once it starts. it happens every 10-15 seconds. I think I've isolated the issue to Aperture. Once I quit Aperture, the problem seems to stop. When I'm using Aperture, it's begun acting strangely: multiple clicks required to select photos, shift-click to get a range doesn't always work, right-click menus pop up then disappear or don't contain all items expected (e.g., Export only shows "Project as new library" as a sub).
    I'm up to date on Yosemite (10.10.1) and Aperture (3.6 500021000000000.3 RAW 6.02/Build 768.6), and I'm struggling to key the start of this phenomenon to any particular update (assuming Aperture is winding down and Photos will come soon?) I haven't tried to reinstall Aperture, although I did have a repair situation a couple of weeks ago when I had a white screen of death in OS X.
    Has anyone experienced this? Any suggestions beyond repair/rebuild? I've been exporting originals for a while with the expectation of changes ahead and will continue with that as best I can...

    So, I had some time (and accumulated frustration) to check on this further, with no positive results.
    I thought I might need to repair or rebuild my Aperture database. I tried following the instructions in the Help file (Control-Command-Click on Aperture database in Finder) but that did not yield the dialog to repair/rebuild, just launched Aperture.
    I used Activity Monitor to try to see what was running, and I seem to get a process called "ReportCrash" that cycles into the CPU use column every time the focus changes. But, I haven't gotten the typical "Program has crashed. Do you want to send a report?" dialog. It happens every 3-10 seconds, and only happens when Aperture is open. I haven't tried reinstalling Aperture yet because I haven't had a chance to dig out installation disk stuff.
    I may try to cross-post this to a Yosemite forum to see if it's just coincidence that it happens when Aperture is running.
    Maybe it's just life telling me to ante up for LightRoom...

  • Word 2011 for Mac Book pro - I have found that my cursor disappears sometimes when I click on a toolbar function. I found out it is a bug, that the Mac loses 'focus'. I can correct it temporarily by clicking on Format - Font - Cancel. Any info?

    I have Word 2011 on a Mac Book Pro and have had problems with a dissapearing cursor - it makes editing tricky
    After googling it I found out that there is a bug where the Mac loses focus if you click away from the document - it also does this with italics according to other users.
    I had a play with it and found out that when I click on the toolbar in a document where this happens, the cursor disappears, e.g. changing font colour etc. And then, when I click on Format - Font - Cancel it returns
    I'd be interested if anyone else has a comment to add, please do
    thanks

    BTW (speaking as a Dad of 3 daughters in Grad school) if you don't already have and use a DropBox account, or some other similar online "cloud" based backup of your school documents, you should start doing so immediately. By keeping all of your important documents in the Dropbox folder on your computer, you have instant access to them from any other computer (or iPad), should you be w/o your computer while in for repairs (or if, God forbid, it is stolen). It's free for 2 GB of online storage, which is more than enough for a few years worth of Word documents, etc. (If you get other people to sign up via your email "invitation", then Dropbox gives you even more free storage space.) Every time you close a document, it is updated on the Dropbox servers (encrypted), if it is in the Dropbox folder (assuming you give it a few seconds to update before turning off your computer). Do a google search of "Cloud based storage comparisons" to compare the amount of free space each of the competing services give you.

  • JS CS3: ScriptUI - window and panel loses focus on Mac

    Hi,
    Have made a script to export selected textframes as text files.
    When the script runs on a PC the script window stays in front of the document as intended.
    Much to my surprise this is not the case on Mac, On Mac the script loses focus and goes behind the document.
    Is this a bug or is there a workaround?
    Using the folowing to create/start the UI.
    var win = new Window( "window", "Text Exporter" );
    win.myPanel = win.add("panel");
    with(win){
        win.Pnl = add('panel', undefined, 'Textframes for export');
        win.Pnl.orientation = 'column';

    Something is wrong.
    That's not the behavior that I see using palettes.
    The only way I can get a palette to become inactive is by switching to 
    a different document window. Even when it becomes inactive (greyed 
    out), it does not require extra clicks...
    If you want to activate it programatically, it's win.active = true.
    Harbs

  • Trackpad - tap to click gets reset on laptop restart

    I have set my trackpad setting to "tap to Click" but it gets reset every time I restart my macbook pro. Could you please help me overcome this problem!?

    Tap to click has to be enabled separately in your Windows partition. I'm assuming you've installed all the Boot Camp drivers - in which case you need to navigate to the bottom right of your task bar and press the little arrow to reveal all of your background services. You should see the Boot Camp logo. Double click on it (or if that fails, right click on it and open the Preferences menu) and you should see some tabs such as 'Startup Disk', 'Keyboard' etc. Navigate to the one called 'Trackpad' and you should find a checkbox for the tap to click option.

Maybe you are looking for

  • Problem when installing Oracle 11g R2 x64 on rhel 5.8 x86_64

    Hi All, I'm trying to install oracle 11g software only to upgrade my database from 10g to 11g and i install all required packages listed in installation prerequisites but the below error appeared error in invoking target 'mkldflags ntcontab.o nnfgt.o

  • Customer Invoice Upload Tool - Can't get extension fields to populate

    In the documentation for the customer invoice upload documentation, it says to get the tag for your extension field in the Customer Invoice XML Output. No issues there. But when I add the extension field to the XML for the Customer Invoice Request Se

  • Unable to start IB and IR XI 3.0 Unix

    I attempt to run Repository and get the following error when starting Java Web start...the following is from Java Web start log: (run on unix) An error occurred while launching/running the application. Title: Integration Builder Vendor: SAP AG Catego

  • Share button freezing

    As am into my facebook/twitter i am frequently using the share button on photos and website links, but reccently I have been having problems with it. I will be sharing a photo to say twitter, I will be able to successfully write the tweet, but then w

  • How no.of records can be filtered out?

    Hi all,          For Quality so many records are coming?I want to filter some of records.How can I filter the records.Please give me if any example is there.I dont need that many records plz suggest me how can i do this one. If any ABAP code is need