Modify keyboard in lxde? Or, where is my XF86Config?

Forum rules
Before you post please read how to get help
Level 1
Level 1
Posts: 1
Joined: Sat Mar 17, 2012 2:12 pm

Modify keyboard in lxde? Or, where is my XF86Config?

Postby terceiro » Sat Mar 17, 2012 2:35 pm

I recently installed LXDE onto my happily running Linux Mint 12 Lisa install. Running LXDE is a joy of speed and convenience, and not nearly as ugly as Xfce. I have only one major holdout (so far) and that is I can't figure out how to make my caps-lock key into an additional ctrl key.

It's easy in Mint 12 and Ubuntu 11.10 and even on Mac and Windows. But I'm stymied here.

I read online that I should add a line to my XF86Config-4 file (Option "XkbOptions" "ctrl:swapcaps"), which would be fine except I can't locate my XF86Config-4. Running "locate XF86Config" returns nothing. "find XF86Config" also doesn't return any results. There is no such file under /etc/X11.

Nor is there an xorg.conf, either. I feel pretty silly at this point, because I simply can't figure out where else to look or what to try. I'm not a total newbie (well, I am to Mint: but I've been running *nix systems on and off for nearly twenty years now), but I'm scratching my head.

Can anyone tell me what has replaced XF86Config or xorg.conf, or, failing that, how to make my caps lock into another ctrl key in Linux Mint LXDE 12?

I am running the latest everything as of today (St. Patrick's Day, 2012) on an old Dell Inspiron 1501 laptop (some 64-bit AMD chip and an Nvidia graphics chipset, I think. The machine was free and is plenty fast for LXDE if only I could put the ctrl where it belongs).

Many thanks, wise Mintians.

Level 1
Level 1
Posts: 19
Joined: Tue Dec 18, 2012 4:26 am

Re: Modify keyboard in lxde? Or, where is my XF86Config?

Postby rotanibod » Fri Feb 13, 2015 8:10 am

same here...any suggestions where to find my X config?

User avatar
Level 11
Level 11
Posts: 3630
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Modify keyboard in lxde? Or, where is my XF86Config?

Postby Flemur » Sat Feb 14, 2015 12:27 pm

I've been running *nix systems on and off for nearly twenty years now

I programmed under Unix for years, but it was also many years ago, and I get confused about how/where linux applies themes and such (using fluxbox, I need to install some extra stuff [xsettingsd] that - I think - hooks up more directly with X). I'm not even sure if "gnome" is doing anything on my system...duh. At least I can use vi without screaming.

Anyway, I was hoping someone who actually knew something would answer you, but here goes.

XF86Config is replaced by xorg.conf, which is generally absent because X automagically figures things out on its own.

You can create a(n) /etc/X11/xorg.conf file from a template and add your modifications to that. If you have nvidia drivers, "nvidia-settings" can generate an xorg.conf file based on what it figured out (dunno about other drivers).

I'm not familiar with the lxde (though use many lx- tools), but some other DE's have some keyboard settings in the menu system under "Desktop" (e.g., change Alt and Ctrl so photoshop will work under wine; I do it in a fluxbox file ("keys"); Xfce does it thru a menu item which refers to the "Desktop" rather than to the keyboard). So you might look there, too.
Mint 18.1 Xfce/fluxbox/pulse-less - Xubuntu 16.10/fluxbox/pulse-less
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

Return to “Others”

Who is online

Users browsing this forum: No registered users and 0 guests