[Ubuntu-x-swat] [Bug 1243642] Re: .Xmodmap not automatically loaded on start

2013-11-01 Thread Dirk Schuster
Hi,

Ryan gave me a hint, how to find a workaround without using ~/.Xmodmap.
I describe the solution of my specific problem here, so it might be
helpful for someone with a similar problem.

These links helped a lot:
https://help.ubuntu.com/community/Howto%3A%20Custom%20keyboard%20layout%20definitions
http://www.charvolant.org/~doug/xkb/html/node5.html

To use the special € and $ keys of the acer laptop in 13.10:

1. add the scancode-to-keycode mappings to /etc/rc.local

# 
setkeycodes e033 240
# 
setkeycodes e034 241

loadkeys /home/user/.acer.map

2. create the keyboard translation table extension in
/home/user/.acer.map containing:

keycode 240 = euro
shift keycode 240 = cent
keycode 241 = dollar
shift keycode 241 = onequarter

3. add the xbd_symbols to the symbol definition file you use, e.g.:
/usr/share/X11/xkb/symbols/de

// acer Euro und Dollar Spezialtasten
key   { [  EuroSign,   cent ] };
key   { [dollar, onequarter ] };

4. optional, if you like to see the keys in the graphical represenation of the 
keyboard,
change the appropriate section in the geometry definition file you use, 
e.g. /usr/share/X11/xkb/geometry/pc

section "Editing" {
top= 61;
left= 312;
row {
top= 1;
key.color= "grey20";
keys { , ,  };
};
row {
top= 20;
key.color= "grey20";
keys { , ,  };
};
row {
top= 58;
keys { , { , color= "grey20" } ,  };
};
row {
top= 77;
key.color= "grey20";
keys { , ,  };
};
}; // End of "Editing" section


And now I'm able to switch the keyboard layouts using "gnome-control-center 
region layouts", too, withour "loosing" the € or $ key of the acer laptop again.

cheers Dirk

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1243642

Title:
  .Xmodmap not automatically loaded on start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1243642] Re: .Xmodmap not automatically loaded on start

2013-11-01 Thread Dirk Schuster
** Attachment removed: "BootDmesg.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888439/+files/BootDmesg.txt

** Attachment removed: "BootLog.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888440/+files/BootLog.txt

** Attachment removed: "CurrentDmesg.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888441/+files/CurrentDmesg.txt

** Attachment removed: "Dependencies.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888442/+files/Dependencies.txt

** Attachment removed: "DpkgLog.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888443/+files/DpkgLog.txt

** Attachment removed: "GconfCompiz.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888444/+files/GconfCompiz.txt

** Attachment removed: "Lspci.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888445/+files/Lspci.txt

** Attachment removed: "Lsusb.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888446/+files/Lsusb.txt

** Attachment removed: "ProcCpuinfo.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888447/+files/ProcCpuinfo.txt

** Attachment removed: "ProcEnviron.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888448/+files/ProcEnviron.txt

** Attachment removed: "ProcInterrupts.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888449/+files/ProcInterrupts.txt

** Attachment removed: "ProcModules.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888450/+files/ProcModules.txt

** Attachment removed: "UdevDb.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888451/+files/UdevDb.txt

** Attachment removed: "UdevLog.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888452/+files/UdevLog.txt

** Attachment removed: "UnitySupportTest.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888453/+files/UnitySupportTest.txt

** Attachment removed: "XorgLog.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888454/+files/XorgLog.txt

** Attachment removed: "XorgLogOld.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888455/+files/XorgLogOld.txt

** Attachment removed: "Xrandr.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888456/+files/Xrandr.txt

** Attachment removed: "xdpyinfo.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888457/+files/xdpyinfo.txt

** Attachment removed: "xserver.devices.txt"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888458/+files/xserver.devices.txt

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1243642

Title:
  .Xmodmap not automatically loaded on start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1243642] Re: .Xmodmap not automatically loaded on start

2013-10-23 Thread Dirk Schuster
** Tags added: xmodmap

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1243642

Title:
  .Xmodmap not automatically loaded on start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1243642] [NEW] .Xmodmap not automatically loaded on start

2013-10-23 Thread Dirk Schuster
Public bug reported:

I'm using a ~/.Xmodmap file to define two keycode mappings.

13.10 doesn't seem to automatically load this file any more.
13.04 did. (same file, same laptop)

manual execution of "xmodmap ~/.Xmodmap" works on 13.10!
That means I'm e.g. able to use this key in a terminal or in geany.

I discovered, that by switching the keyboard layouts using "gnome-
control-center region layouts" the mappings of the "xmodmap ~/.Xmodmap"
will be lost again. Then another manual execution of "xmodmap
~/.Xmodmap" has to be executed and it works again.

Perhaps the ~/.Xmodmap is loaded and lost by the the gnome-control-
center () later.

Sorry, I can't figure out which packet this bug has to be asigned to. By
using apport-bug "xorg" was choosen, but it could be "xorg-server" or
"gnome-control-center", also.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: xorg 1:7.7+1ubuntu6
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
.tmp.unity.support.test.0:
 
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
Date: Wed Oct 23 12:05:11 2013
DistUpgraded: Fresh install
DistroCodename: saucy
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller 
[8086:2a42] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Acer Incorporated [ALI] Device [1025:013c]
   Subsystem: Acer Incorporated [ALI] Device [1025:013c]
InstallationDate: Installed on 2013-10-18 (4 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MachineType: Acer Extensa 5630
MarkForUpload: True
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-12-generic 
root=/dev/mapper/vg01-root ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/11/2009
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: V1.34
dmi.board.name: Homa
dmi.board.vendor: Acer
dmi.board.version: Rev
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: N/A
dmi.modalias: 
dmi:bvnPhoenixTechnologiesLTD:bvrV1.34:bd08/11/2009:svnAcer:pnExtensa5630:pvr0100:rvnAcer:rnHoma:rvrRev:cvnAcer:ct10:cvrN/A:
dmi.product.name: Extensa 5630
dmi.product.version: 0100
dmi.sys.vendor: Acer
version.compiz: compiz 1:0.9.10+13.10.20131011-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.46-1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.2.1-1ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.2.1-1ubuntu3
version.xserver-xorg-core: xserver-xorg-core 2:1.14.3-3ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu3.1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.2.0-0ubuntu10
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.904-0ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.9-2ubuntu1
xserver.bootTime: Wed Oct 23 11:15:16 2013
xserver.configfile: default
xserver.errors:
 
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id5459 
 vendor CMO
xserver.version: 2:1.14.3-3ubuntu2

** Affects: xorg (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug compiz-0.9 saucy ubuntu

** Attachment added: ".Xmodmap"
   https://bugs.launchpad.net/bugs/1243642/+attachment/3888438/+files/.Xmodmap

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1243642

Title:
  .Xmodmap not automatically loaded on start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp