OpenSUSE :: Setxkbmap And Xmodmap Always Conflicting
Jan 26, 2010
To reeanable CTRL-ALT-BKSP (since 11.2), you use:
setxkbmap -option terminate:ctrl_alt_bksp
It works. However if you map keys with xmodmap, it's gone. In whatever order you use them, setxkbmap and xmodmap are always conflicting. Running xmodmap immediately disables CTRL-ALT-BKSP, while running setxbbmap reverses key mappings to their default.
I created an rpm that attempts to install the file /etc/rsyslog.conf (which on my system is already installed and owned by the rsyslog package). When I install this through rpm, I get the appropriate error. However, when I install the rpm through zypper, I get no complaints, and in the end two packages end up owning the file.
Is this the expected behavior? Does zypper force install rpms despite errors? I looked through all the config files, but couldn't find any setting dealing with this case. Is this something that is controlled by a config somewhere? I'm running openSUSE 11.2-0
Code:
linux:/usr/src/packages/RPMS/x86_64 # rpm -i testfile-2.0.1-0.x86_64.rpm file /etc/rsyslog.conf from install of testfile-2.0.1-0.x86_64 conflicts with file from package rsyslog-4.4.1-3.1.x86_64
I have a problem with my keyboard on Kubuntu 10.10. The specifics of the problem are not really relevant right now. I can fix it by running 'setxkbmap br' on the command line. It's good for the entire session (KDE). But I often forgot to do that, so I want to have that done automatically. I tried adding it to my .tcshrc file, it didn't work. I tried adding it to /etc/rc.local, it didn't work. Where can I insert that line and have it run automatically? Please note that my login shell is tcsh, not Bash.
and my only solution to switch keyboard is to use setxkbmapnow after i define keyboards layouts to switch and chose ALT+Shift to switch it goes "bugged"using the right ALT will switch the layoutsand i'm not able to write the "other" lettersP.S : this is the command i use�setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll fr,ar�
I've only recently learned how to use the "Multi_key" function of the X windows system... I learned how to set a compose key from: [URL]... Which I found via google. It gave both directions for defining a compose key in the xorg.conf file. which method did NOT work for me on Arch Linux even after a full reboot. I'm not all that concerned about that however, because I find the temporary setxkbmap method more appealing anyway. A simple ~/bin bash script which if $1 begins with -h will less /usr/share/X11/locale/en_US.UTF-8/Compose and will otherwise run the command
[code]...
IF I use the above setxkbmap command to enable a Multi_key, is there also a setxkbmap command I could issue to disable it?
When I change my keyboard with setxkbmap I want to see the updated layout via xkbprint, however xkbprint always seems to print the same thing regrdless of any changes i make. Am I missing some option or something?"xkbprint :0" before viewing it?
I recently installed Debian 8.1 on an old (2008 maybe?) macbook. I would like to use the right hand side apple/command key as a right click. I've been using xmodmap commands in the terminal, but I'd like to write a shell script to do it automatically on boot or on login.
The xmodmap commands I am calling are Code: Select allxmodmap -e "keycode 134 = Pointer_Button3" and then Code: Select allxkbset m
my shell script is as follows /usr/keymap Code: Select all#!/bin/bash xmodmap -e "keycode 134 = Pointer_Button3" xkbset m
I've modified keymap to be executable, just typing /usr/keymap into the terminal will map the keys correctly. I've tried with and without the .sh suffix. I've tried adding sh before the file path in crontab. I've also tried adding sleep 20 inside the shell script as well as inside crontab joining the two commands with &&
I am using a Swedish keyboard, and I want to be able to type braces easier.
I planned to map AltGr + to '}' and AltGr + to '{'. However, nothing really changes. I have some other stuff in my .Xmodmap so I know that it gets loaded allright. Here's what I have so far:
I am using an Apple Keyboard (DK-layout) on my PC running Ubuntu 10.4. The problem: My key used to type <, > and is swapped with the key used to type and If I connect a standard PC-keyboard with DK-layout using USB, it works just fine. The problem exists both in the console and X. I solved the problem in the console by installing the console-keymaps package, made a copy of dk-latin1.kmap.gz and swapping keycode 86 with keycode 41 and loading the new keymap with the loadkeys command. I only need to figure out how to load the new keymap at boot time.
However, in X, I want to do exactly the same. I suppose I have to use Xmodmap. I simply can't figure out how to do it.
So I run "xmodmap" in my xinitrc to make caps lock a second control button, but for some reason its not sticking. I'm not using a desktop environment, just running xmonad.If I run "xmodmap ~/.Xmodmap" once X is started, it works fine, but it won't run in my xinitrc.
I'm trying to learn swedish, and I want to remap some of my key to be able to write the special chars. xmodmap -pke" gives me the current config, and most of lines are like that (6 keysyms) :
Code: keycode 24 = a A a A adiaeresis Adiaeresis But I actually can't access 2 of them, the #3 and #4.
I recently got a Logitech G11-keyboard for my Ubuntu 9.10 64-bit box. My question is xmodmap related and not restricted to this particular keyboard, nor to the distro I am using. The keyboard has a.o. 18 G-keys. These have been successfully defined in /usr/share/X11/XKeysymDB as per [URL] and I have a ~/.Xmodmap file that matches keycodes to the names in XKeysymDB.
My .Xmodmap definitions are rather simple, e.g. 'keycode 175 = G1'. So I do not define any value for modifier combinations, nor do I know how to do this.
And here's my real question. How should I define these keys so that the Crl-, Alt-, Meta-, Super- etc modifiers work with these keys?
With the current setup, the modifier versions of these keys do only work for the second keypress, e.g. the first Ctrl-G17 is perceived as a G17 keypress, and the second and remaining Ctrl-G17 presses are correctly received as a Ctrl-G17.
I would be happy to read an explanation of this behaviour, and even more so, about how to properly define them so that the base key as well as the modifier versions would be available.
If the odds are a million to one against something occurring, chances are 50-50 it will.
I have a custom .Xmodmap file to change the keyboard layout. The problem is that sometimes the keyboard layout changes back to the default. I have seen the lights on the keyboard blink at times, so I tried unplugging and reconnecting the keyboard and yes - that reset the layout. I can see keyboard removed/detected entries in the logs as well, so I guess my keyboard reconnects sometimes, I don't know why. However the solution from the post earlier (to rename the xmodmap file to ~/.Xmodmap) did not work. So is there another default filename I should use? Or do I have to enable xmodmap to run when a keyboard is plugged in somehow?
The only thing I can think of right now is to monitor /var/log/Xorg.0.log for "Adding input device USB Keyboard" and running xmodmap when that happens... but I'm really hoping for a better solution.If I can't fix the xmodmap problem, maybe I can fix the usb disconnects.I read something about power saving settings for usb. After some digging, I found that those settings are in /sys/bus/usb/devices/.../power/. However, disabling autosuspend for the hub did not seem to work (it was already disabled for the keyboard).
But I found something else in kern.log. Perhaps the keyboard disconnects has something to do with static electricity?
Code: Select all[ 7078.175830] usb 1-10-port3: disabled by hub (EMI?), re-enabling... [ 7078.175888] usb 1-10.3: USB disconnect, device number 4 [ 7078.624349] usb 1-10.3: new full-speed USB device number 6 using xhci_hcd [ 7078.729012] usb 1-10.3: New USB device found, idVendor=04d9, idProduct=0125 [ 7078.729014] usb 1-10.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [ 7078.729016] usb 1-10.3: Product: USB Keyboard
I have a Mac keyboard where the Alt/Win (i.e. Option/Command) keys are inverted compared to a regular PC keyboard, and I'd like to swap them. I haven't had any luck with xmodmap so far. The standard configuration is as follows:
In previous versions of ubuntu I used to reshuffle the ALT, SHIFT, and TAB keys using xmodmap.
Specifically, I had a file called ~/.xmodmap-mejia which reshuffled the keyboard, and I called that file from the startup applications (I had added it to system>preferences>Startup Applications).
However, in Ubuntu 10.4 it does not work. If I call the script after the computer has loaded, it works perfectly, but it does not have any effect as a startup application. It is as though changes effected by the script that calls ~/.xmodmap-mejia gets overwritten later on by the default keyboard binding.
As things stand right now, I have to run the script manually every time I turn on my laptop. Which, of course, is very annoying.
I just upgraded machine to natty, after which the xmodmap configuration remapping capslock stopped working (as in not doing anything at all). Running xmodmap manually (-e "clear Lock") doesn't have any visible effect either. I haven't tried doing this on another machine (I'm only close to one machine running ubuntu and reinstalling seems rather overkill), but the same config worked before the upgrade, and is working on another machine running arch.
Is anyone else having these issues and, if so, has anybody found a solution? The line of interest is, simply, "clear Lock".
I have slackware 13.37-64 bit with xfce. I have a "microsoft wired keyboard 600" keyboard and want to remap it to use the right win key as ctrl. With xev i see that the keycode for the specific win key is 134.
Then i run:
Code:
But nothing changes. Even if i manually configure the .Xmodmap file in my /home i see no change at all.
It looks like I have one hard drive (30 GB) with three partitions, but df says my primary partition is under 9 GB? Shouldn't it be much larger? Code: $ sudo fdisk -l Disk /dev/sda: 30.0 GB, 30020272128 bytes 255 heads, 63 sectors/track, 3649 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0004b8d0 .....
In Fedora 10 they decided to change to "evdev", so if you used xmodmap in F9, these mapping have changed in F10 and F11 for that matter. In order to find the new key values start
Code:
xev and press a button you would like to know the keycode for. Write this value down. When done, make a file ".xmodmap" and put in the values. "man xmodmap" explains the format. Not easy to understand! So here is how mine looks like.
This layout is MUCH more logical than the original. Now Delete is the key just to the right of the Backspace key. Back spaces deletes to the left, and Delete deletes to the right, so these keys shoudl of course be next to each other Page Up, Page Down, Home, and End now have the same structure as the arrow keys below. This layout makes it much easier to navigate without looking at the keys, because now the layout makes sense And why shouldn't 0 be to the left of 1? of course it should. 0 is lower than 1.
I just ran the port scanner from the Network Tools utility a few times within a few minutes (see screenshots). How can there be different ports open each time? I know that port 631 is for CUPS, but what about the other ones? Could someone help me understand what is going on, or at least point me in the direction of some good information?
I don't mean that it prevents me from using it, on the contrary, it changes all of the text boxes to the same color, making it hard if it's not a conflicting color. I want to install dark themes such as Cobra and Aero-ion but they conflict with Firefox, and I don't want to use Chromium. Do I have to stick with basic and default themes if I want to customize or switch to Google Chromium? Can someone point out a website that, well, has ones compatible with Firefox 4?
I am in a production environment where ip addresses are configured in dchp but when I changes the ip address (public or private ip) of any one system then after restarting the network service it gives the message that the ip is used by any other host in the network.
This happens under slackware 13.1 32 bit and 64 bit. If scim-bridge is running, firefox will freeze the whole XWindows, especially when a pop-up window appears within firefox. Replacing scim with fcitx (Chinese only) input method solveed this problem. This annoyed me for quite a period even when I was using slackware-current because I did not know what caused firefox to behave strangely. Why no one reported this problem? I think no one uses scim and firefox at the same time here.
I have Fedora14. I have added virtualbox repository. On going through virtualbox.org site, I learned that virtualbox-4.1 released. I tired to update by yum update on 19.0.2011. No new package. I tried to download it from virtualbox.org (VirtualBox-4.1 Fedora14-i386). It failed on 19.0.2011 giving message that link is not operational. Today i.e. on 20.07.2011, I tired once again yum update. No new package. I tried to download from virtualbox.org. download succeed but it did not installed giving error message regarding conflicting files. Till not in repository?