I'm using a X server which doesn't implement the  XKB extension (it is VNC, but I don't think it matters, my vncviewer is running on Windows XP, I don't think it matters either).  I've set up a Compose aka Multi_key key.  By setting the XLOCALEDIR and LC_??? environment variables, I'm able to point to a Compose file to which I've added some key combinations.    They are working in some programs (xev, emacs, kate, konqueror) and not others (firefox, OpenOffice, gnome-text-editor).  The applications who aren't working have their own set of compose combinations. They aren't taking the locale into account to choose the Compose data base. Modifying the system provided one on another machine where I've root access hasn't any effect on them.  The fact that it is working with xev makes me think that the basic settings are correct and it is the non working applications which aren't take them into account.  Does someone know how I may persuade them to do so without having root access?
121722
I used Gnome for a long time, but preferred vanilla X input method (xim) over the default GTK behaviour. I just set GTK_IM_MODULE and QT_IM_MODULE environment variables to xim, and didn't have any problem with multiple-layout config, Compose key, custom ~/.XCompose and misc:typo typography extensions.  Recent Gnome 3.6 completely screwed keyboard input by shipping a half-baked and buggy ibus . I just couldn't get the keyboard working as well as before (even with ibus disabled), and had to abandon Gnome completely.  Now I use a simple window manager, and configure my keyboard with setxkbmap. While the keyboard works well again, I couldn't get the Compose key working everywhere. Compose works in plain X11 apps (xterm), but it doesn't work in neither GTK2, nor GTK3, nor Qt apps.  I use current Archlinux versions:  xorg-xinput 1.6.0 xorg-server 1.13.1 xf86-input-keyboard 1.6.2 gtk2 2.24.14 gtk3 3.6.4 qt 4.8.4   and enable Compose key like this:  setxkbmap ... -option 'compose:menu'   and export GTK_IM_MODULE, QT_IM_MODULE variables:  $ echo $GTK_IM_MODULE $QT_IM_MODULE  xim xim   Compose key is properly recognized by X11:  $ xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p' 135 Multi_key   It works properly in xterm, sequences from my ~/.XCompose included. It doesn't work in either GTK or Qt apps. Let say, if I enter Compose ', then apps echo ' immediately, without waiting for the third key in the sequence.  Now I suppose something has changed in either Xorg (because Compose doesn't work in Qt apps either), or in GTK and Qt. *_IM_MODULE variables are not enough now. What else is required to make modern GTK and Qt recognise xim and its Compose sequences?  P.S. There is a similar (and unanswered) question about . Unlike the asker, I don't have ibus installed.
61625
I have quite a few custom compose key sequences.  I know I can get them working with an ~/.XCompose and switching the input method to xim.  However, Sublime Text 2 doesn't accept any compose key sequences when I'm using xim.  It does accept them when I'm using the default input method.  I think I reported this bug for Sublime Text 2 a while ago.  Using the default input method, I added the contents of my ~/.XCompose to /usr/share/X11/locale/en_US.UTF-8/Compose but this did not change anything.  Is there any way I can get the compose key sequences in my ~/.XCompose to work without relying on xim?
60076
I am looking to encrypt some data using  in  using a specific key and  value. Are there any good function libraries or COM components that would be good to use?  I looked at ; it allows a passphrase only, and won't allow setting specific key and IV values.
10271
I have Xubuntu 14.04, and I have an NTFS data partition that mounts at startup via fstab. How could I adjust the color settings for xfce4-terminal beyond the GUI options? For example how could I set up specifically the color or font-weight of directories or files for 'ls'? Most importantly for now, I would like to make my partition directories appear exactly as they do in my Xubuntu partition (or at least remove the highlighting). Screen shot posted here. Much thanks in advance.
50882
Is there a way to query where xkb is getting its configuration from? Under ArchLinux I have /etc/X11/xorg.conf.d/00-keyboard.conf with:  Section "InputClass"     Identifier "system-keyboard"     MatchIsKeyboard "on"     Option "XkbLayout" "us,us"     Option "XkbVariant" "altgr-intl,colemak"     Option "XKbOptions" "ctrl:nocaps,grp:alt_shift_toggle" EndSection              but when I start up, if I do setxkbmap -query, I only get  rules:      evdev model:      evdev layout:     us,us variant:    altgr-intl,   So neither the alternative variants nor options are recognized (needless to say, I cannot change layout). If I however run  setxkbmap -layout "us,us" -variant "altgr-intl,colemak" -option "ctrl:nocaps,grp:alt_shift_toggle"   I get the correct  rules:      evdev model:      evdev layout:     us,us variant:    altgr-intl,colemak options:    ctrl:nocaps,grp:alt_shift_toggle   So is there a possibility something is overwriting my configuration? I am running GNOME/Cinnamon
39183
Neither a question nor really a complain, but I find I cannot use xeCJK in multilingual documents (in the present case French + English + Chinese), simply because it messes with the punctuation in the non-Chinese parts. It will, for instance, change "this… that" to "this…that" and "this, that" to "this , that", which is inconvenient. Too bad because the package is otherwise very nice.  Here's a minimal example showing the problem:     \documentclass {memoir} \usepackage{polyglossia} \usepackage{xeCJK}  \setmainlanguage{french}  \usepackage{fontspec}  \setmainfont{TeX Gyre Pagella}  \setCJKmainfont {STSong}  \begin{document}  This… that This, that  \end{document}   The output is the following:    The "this , that" problem appears strictly when I set the main language to French, not if I set it to English. The "this…that" problem appears irrespective of whether the main language is French or English.  And, by the way, forgive me if that's the wrong place to draw attention to this, but the package author's email address doesn't appear in the documentation and I just chanced on this site
97987
I have the following xorg.conf file, but TwinView is not working for me when using 2 monitors. Please help me get things sorted out.  # nvidia-settings: X configuration file generated by nvidia-settings # nvidia-settings:  version 295.33  (buildd@allspice)  Fri Mar 30 15:25:24 UTC 2012   Section "ServerLayout"  # Removed Option "Xinerama" "1" # Removed Option "Xinerama" "0" # Removed Option "Xinerama" "1"     Identifier     "Layout0"     Screen      0  "Screen0" 0 0     InputDevice    "Keyboard0" "CoreKeyboard"     InputDevice    "Mouse0" "CorePointer"     Option         "Xinerama" "0" EndSection  Section "Files" EndSection  Section "InputDevice"      # generated from default     Identifier     "Mouse0"     Driver         "mouse"     Option         "Protocol" "auto"     Option         "Device" "/dev/psaux"     Option         "Emulate3Buttons" "no"     Option         "ZAxisMapping" "4 5" EndSection  Section "InputDevice"      # generated from default     Identifier     "Keyboard0"     Driver         "kbd" EndSection  Section "Monitor"      # HorizSync source: edid, VertRefresh source: edid     Identifier     "Monitor1"     VendorName     "Unknown"     ModelName      "Ancor Communications Inc VE247"     HorizSync       30.0 - 83.0     VertRefresh     50.0 - 76.0     Option         "DPMS" EndSection  Section "Monitor"      # HorizSync source: edid, VertRefresh source: edid     Identifier     "Monitor0"     VendorName     "Unknown"     ModelName      "Ancor Communications Inc VE247"     HorizSync       30.0 - 83.0     VertRefresh     50.0 - 76.0     Option         "DPMS" EndSection  Section "Device"     Identifier     "Device1"     Driver         "nvidia"     VendorName     "NVIDIA Corporation"     BoardName      "Quadro FX 1500"     BusID          "PCI:1:0:0"     Screen          1 EndSection  Section "Device"     Identifier     "Device0"     Driver         "nvidia"     VendorName     "NVIDIA Corporation"     BoardName      "Quadro FX 1500" EndSection  Section "Screen"     Identifier     "Screen1"     Device         "Device1"     Monitor        "Monitor1"     DefaultDepth    24     Option         "TwinView" "0"     Option         "TwinViewXineramaInfoOrder" "DFP-1"     Option         "metamodes" "DFP-1: 1280x1024 +0+0"     SubSection     "Display"         Depth       24     EndSubSection EndSection  Section "Screen"  # Removed Option "TwinView" "0" # Removed Option "metamodes" "DFP-0: 1280x1024 +0+0" # Removed Option "TwinView" "1" # Removed Option "metamodes" "DFP-0: 1280x1024 +0+0, DFP-1: 1280x1024 +1280+0" # Removed Option "TwinView" "0" # Removed Option "metamodes" "DFP-0: 1280x1024 +0+0"     Identifier     "Screen0"     Device         "Device0"     Monitor        "Monitor0"     DefaultDepth    24     Option         "TwinView" "1"     Option         "TwinViewXineramaInfoOrder" "DFP-0"     Option         "metamodes" "DFP-0: 1280x1024 +0+0, DFP-1: 1280x1024 +1280+0; DFP-1: 1280x1024_60 +0+0"     SubSection     "Display"         Depth       24     EndSubSection EndSection  Section "Extensions"     Option         "Composite" "Disable" EndSection   Here are my computers specifications:  Computer: Processor           : 2x Intel(R) Pentium(R) 4 CPU 3.00GHz Memory              : 3339MB (2889MB used) Operating System    : Ubuntu 12.04.1 LTS User Name           : chikaru (Mrmagu) Date/Time           : Sat 22 Sep 2012 12:18:13 PM EDT  Display: Resolution          : 2560x1024 pixels OpenGL Renderer     : Quadro FX 1500/PCIe/SSE2 X11 Vendor          : The X.Org Foundation  Multimedia: Audio Adapter       : SB-XFi - Creative X-Fi Audio Adapter       : HDA-Intel - HDA Intel Audio Adapter       : USB-Audio - Producer USB  Input Devices: Sleep Button Power Button Razer Razer Lycosa Razer Razer Lycosa Saitek Cyborg R.A.T.7 Mouse HDA Intel Front Headphone HDA Intel Rear Mic HDA Intel Line HDA Intel Line-Out Front  Printers: No printers found  SCSI Disks: Optiarc DVD RW AD-5200A BENQ DVD LS DW1655 ATA ST380817AS ATA MDT MD1600JS-00S ATA Hitachi HDS72303 ATA ST3320820AS
64020
My keyboard doesn't have an Fn key so I can't get the coordinates to show up. I don't know how to get into the multiplayer settings and Shift + F3 doesn't work either.  How can I fix this?
102986
The US International keyboard allows to add  diacritics by means of dead keys. Specifically:    `a maps to à and 'a maps to á.  In X, using the international or the standard US keyboard, I would like instead to set mappings like this:  a` maps to á and a' maps to à.  As you can see, I would like the dead key to be typed after the base letter and also I prefer to swap the acute and grave accent dead keys. (This makes typing much faster and natural for me and, in case the dead key functionality is disabled, words with attached diacritics are more readable).  Can you address me to the proper tools/config files to achieve this? In case it is relevant to the answer, my distro is Arch Linux.
29079
I have recently upgraded my PC from Lubuntu 14.10 to 15.10. Before the upgrade my keyboard layout matched my Danish keyboard. But after the upgrade I probably have a standard English/US layout.   Preferences/Language Support, doesn't let me configure the keyboard layout. Preferences/Keyboard and Mouse, only let me configure stroking delay and similar.    I don't know about iBus and fcitx, as far as the tooltip infomation tells me, its for more complex languages such as Chinese.  I don't have a US icon in the taskbar, no keyboard and/or language icon at all.  Things I have tried:   Running the following in a terminal works, but only until the next reboot:  setxkbmap -layout dk  I got the following parameter in the file /etc/default/keyboard:  XKBLAYOUT="dk"  Installing and running the app Lxkeymap changes the keyboard to Danish when I run it, but rebooting will change the layout back to US.   I don't want anything fancy, I just want to set my keyboard layout to Danish. How can I do that?
87047
I am using an external keyboard on my laptop and the Super key doesn't work. The laptop's keyboard works just fine, every key is regularly detected.  I tried using xinput to debug this issue. Here you can see the output of xinput list, the device I am having issues with is the Cooler Master Technology Inc. MasterKeys Pro L White.  ⎡ Virtual core pointer                      id=2    [master pointer  (3)] ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)] ⎜   ↳ SynPS/2 Synaptics TouchPad                id=15   [slave  pointer  (2)] ⎜   ↳ Bluetooth  Mouse                          id=16   [slave  pointer  (2)] ⎣ Virtual core keyboard                     id=3    [master keyboard (2)]     ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]     ↳ Power Button                              id=6    [slave  keyboard (3)]     ↳ Video Bus                                 id=7    [slave  keyboard (3)]     ↳ Video Bus                                 id=8    [slave  keyboard (3)]     ↳ Power Button                              id=9    [slave  keyboard (3)]     ↳ Sleep Button                              id=10   [slave  keyboard (3)]     ↳ Chicony USB 2.0 Camera: Chicony           id=13   [slave  keyboard (3)]     ↳ AT Translated Set 2 keyboard              id=14   [slave  keyboard (3)]     ↳ Cooler Master Technology Inc. MasterKeys Pro L White  id=11   [slave  keyboard (3)]     ↳ Cooler Master Technology Inc. MasterKeys Pro L White  id=12   [slave  keyboard (3)]   I tried running xinput test-xi2 12 to see if the events from the keyboard where issued. All keys are working except for the super keys. I tested the keyboard with my desktop PC and all keys are working fine.   I am running Ubuntu 16.04.5 with kernel version 4.13.0-45-generic, Unity as Desktop Environment and Compiz as Windows Manager.
58375
So when i try to use the Xorg command as a normal user, this is the error that it gives me :   /usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server   but i don't understand, what are the "console users"?  and when i switch to root it gives me another error :   _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed _XSERVTransMakeAllCOTSServerListeners: server already running (EE)  Fatal server error: (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)  (EE)  Please consult the The X.Org Foundation support       at http://wiki.x.org  for help.  (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. (EE)  (EE) Server terminated with error (1). Closing log file.   So what is going on and what are the reason for each of these errors?   UPDATE: and the output of the command netstat -ln | grep -E '[.]X|:6[0-9][0-9][0-9] is :  unix  2      [ ACC ]     STREAM     LISTENING     18044    @/tmp/.X11-unix/X0 unix  2      [ ACC ]     STREAM     LISTENING     47610    @/tmp/.X11-unix/X1 unix  2      [ ACC ]     STREAM     LISTENING     18045    /tmp/.X11-unix/X0 unix  2      [ ACC ]     STREAM     LISTENING     47611    /tmp/.X11-unix/X1
13836
System: .    Objective: To define  aliases to launch various  and  text editors while opening a file in  mode from  emulator.    Progress  For example, the following aliases seem to work as expected:  For , in this example I used Nano ():  alias sunano='sudo nano'   For , in this example I used Xed ():  alias suxed='sudo xed'   They both open a file as .    Problem  I have an issue with  in conjunction with :  alias susubl='gksudo /opt/sublime_text/sublime_text'   Sometimes it works. It just does not do anything most of the time.  How do I debug such a thing with inconsistent behavior? It does not output anything. No error message or similar.    Question  gksudo has been deprecated in Debian and also no longer included in Ubuntu 18.04 Bionic, so let me re-formulate this question to a still valid one:  How to properly edit system files (as root) in GUI (and CLI) in Linux?  Properly in this context I define as safely in case, for instance, a power loss occurs during the file edit, another example could be lost SSH connection, etc.
102867
I find even Ctrl+b to be very emacs like but I understand the point. I'm wondering if I could bind it to a single keypress of a key I don't other wise use? namely Super_L (also known as the left windows key. for why I say Super_L start xev in a terminal and press that key)
14033
I decided to try lxdm (was using fluxbox and xfce), and discovered that for many programs the url handler was failing, producing this error message;   Quite strange as you can see, it's prepending the user directory to the url.  The example here is from telegram, but it happens in discord, as well as when executing from the command line; xdg-open https://www.google.com produces a similar error. xdg-settings get default-web-browser output's firefox.desktop which works as a link in both xfce and lxdm.  More information; I ran bash -x on it and...  $ bash -x /usr/bin/xdg-open http://www.google.com + check_common_commands http://www.google.com + '[' 1 -gt 0 ']' + parm=http://www.google.com + shift + case "$parm" in + '[' 0 -gt 0 ']' + '[' -z '' ']' + unset XDG_UTILS_DEBUG_LEVEL + '[' 0 -lt 1 ']' + xdg_redirect_output=' &gt; /dev/null 2&gt; /dev/null' + '[' xhttp://www.google.com '!=' x ']' + url= + '[' 1 -gt 0 ']' + parm=http://www.google.com + shift + case "$parm" in + '[' -n '' ']' + url=http://www.google.com + '[' 0 -gt 0 ']' + '[' -z http://www.google.com ']' + detectDE + unset GREP_OPTIONS + '[' -n LXDE ']' + case "${XDG_CURRENT_DESKTOP}" in + DE=lxde + '[' xlxde = x ']' + '[' xlxde = x ']' + '[' xlxde = x ']' + '[' xlxde = xgnome ']' + '[' -f /run/user/1000/flatpak-info ']' + '[' xlxde = x ']' + DEBUG 2 'Selected DE lxde' + '[' -z '' ']' + return 0 + case "${BROWSER}" in + case "$DE" in + open_lxde http://www.google.com + pcmanfm --help -a is_file_url_or_path http://www.google.com ++ file_url_to_path http://www.google.com ++ local file=http://www.google.com ++ echo http://www.google.com ++ grep -q '^file:///' ++ echo http://www.google.com + local file=http://www.google.com + echo http://www.google.com + grep -q '^/' ++ pwd + file=/home/nesmerrill/.local/share/applications/http://www.google.com + pcmanfm /home/nesmerrill/.local/share/applications/http://www.google.com + '[' 0 -eq 0 ']' + exit_success + '[' 0 -gt 0 ']' + exit 0   The important part seems to be pcmanfm --help -a is_file_url_or_path http://www.google.com but, that command if that's how it was used, doesn't seem to do much of anything?  $ pcmanfm --help -a is_file_url_or_path http://www.google.com Usage:   pcmanfm [OPTION…] [FILE1, FILE2,...]    Help Options:   -h, --help                   Show help options   --help-all                   Show all help options   --help-gtk                   Show GTK+ Options  Application Options:   -p, --profile=PROFILE        Name of configuration profile   -d, --daemon-mode            Run PCManFM as a daemon   --no-desktop                 No function. Just to be compatible with nautilus   --desktop                    Launch desktop manager   --desktop-off                Turn off desktop manager if it's running   --desktop-pref               Open desktop preference dialog   --one-screen                 Use --desktop option only for one screen   -w, --set-wallpaper=FILE     Set desktop wallpaper from image FILE   --wallpaper-mode=MODE        Set mode of desktop wallpaper. MODE=(color|stretch|fit|crop|center|tile|screen)   --show-pref=N                Open Preferences dialog on the page N   -n, --new-win                Open new window   -f, --find-files             Open a Find Files window   --role=ROLE                  Window role for usage by window manager   --display=DISPLAY            X display to use
1159
I've configured my touch bar to always show function keys in one program where I use those frequently (IntelliJ IDEA, code editor). Many hotkeys in IDEA are triggered using a function key together with shift, alt or control, e.g. for renaming a variable, I use Shift+F6.  With the emulated function keys, this does not work, the program acts as if I had just hit F6 without holding down the alt key.  It was no problem with the hardware function keys on my old MacBook.  Is this a known bug, or a limitation one has to live with? Or is there some way to work around it? Perhaps I'm just to stupid and missing something obvious?  This is a major pain for me as a software developer…
86976
I frequently use the compose key to type special characters. I now have a fresh install of Ubuntu 14.04, and in the keyboard settings it says "compose key: disabled". I can't find how to set the compose key.