Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I find there is no support in Linux for Logitech Wireless or wired keyboards with extra keys. If someone has a link to working software
please share.
My main goal with this is to have people contact Logitech and ask them to write Linux Drivers for their mouse and keyboards. Tired of having extra keys with no purpose on our keyboards.
Just checked and they now have Chrome OS drivers but no Linux drivers
I find there is no support in Linux for Logitech Wireless or wired keyboards with extra keys. If someone has a link to working software please share. My main goal with this is to have people contact Logitech and ask them to write Linux Drivers for their mouse and keyboards. Tired of having extra keys with no purpose on our keyboards.
I have had zero problem with any keyboard with extra keys, wired or wireless. In fact, I'm using an Apple bluetooth full-size keyboard right now, and the FN keys work with no problems. In KDE I choose the keyboard layout, and can then map keys to whatever I can press on the keyboard, for whatever functions I'd like. Haven't had problems with such things for years, and have a LOT of keyboard layouts to choose from.
Quote:
Just checked and they now have Chrome OS drivers but no Linux drivers Contact them
I have had zero problem with any keyboard with extra keys, wired or wireless. In fact, I'm using an Apple bluetooth full-size keyboard right now, and the FN keys work with no problems. In KDE I choose the keyboard layout, and can then map keys to whatever I can press on the keyboard, for whatever functions I'd like. Haven't had problems with such things for years, and have a LOT of keyboard layouts to choose from.
I suspect the OP's possibly referring to 'media keys', that kind of thing. I'm using a cheapo wireless keyboard I picked up a couple of months ago at our local Curry's/PCWorld, here in the UK. It has a row of 10 keys above the standard keyboard layout; controls the volume, start/stops music players, few other things like that.
Some of these work in Puppy, some don't. Volume up/down, mute, these work. Media start/stop doesn't.....not that I'm bothered. I might have a look into Pup's keyboard mapping and see what I can do with them. I'll be curious to see whether the 'media' keys are in fact recognised.....
I'm using a Logitech keyboard and all the special buttons just work: Media, Play/Pause, Mute, E-mail, etc. Keyboards are standard types — PC, Mac, Sun — and the keys in each type generate the same code numbers regardless of the vendor.
Somewhere in your menu you should have a configuration program for keyboard shortcuts and you can make sure that they are set. I have entries like
Volume mute XF86AudioMute
and your distro should not be much different.
I suspect the OP's possibly referring to 'media keys', that kind of thing. I'm using a cheapo wireless keyboard I picked up a couple of months ago at our local Curry's/PCWorld, here in the UK. It has a row of 10 keys above the standard keyboard layout; controls the volume, start/stops music players, few other things like that.
Some of these work in Puppy, some don't. Volume up/down, mute, these work. Media start/stop doesn't.....not that I'm bothered. I might have a look into Pup's keyboard mapping and see what I can do with them. I'll be curious to see whether the 'media' keys are in fact recognised.....
Yes, I knew exactly what he's talking about. And that's what I'm talking about as well. I've had zero problems with such things, for Logitech, Apple, or many laptops. Go into keyboard layouts, select the function you'd like, and map the key. When/if such things don't work out of the box.
I don't use Puppy, but openSUSE, but such things have also worked on Fedora, ubuntu, and mint.
In ancient Rome Linux users used xev to learn keycodes and xmodmap to map them as desired. Is it all different in 21st century?
Mm. I suspect for most folks things have changed somewhat! However, it's still alive & kicking in Puppy.....which is a bit nearer the knuckle than the majority of distros, and in any case is very much 'hands-on' & 'DIY'!
I have a truly ancient Dell Inspiron laptop (15 yrs old at last count, and still chugging along on a P4), on the keyboard of which I spilt part of a cup of coffee year before last. I cleaned things up as well as I could, and had it all apart. Some of the affected keys have since recovered, but others have been terminally 'wrecked'.
The keyboards for these are not easy to find in the first place. When you do manage to track one down in halfway decent condition, the vendors are asking absolutely ridiculous amounts for them.....three figures plus not being uncommon. I've already spent way too much money on a 15+ yr old machine over that time-frame as it is; it's honestly not worth that kind of extra outlay any more. I only keep hold of it more for sentimental reasons than anything else......plus the fact it has the best keyboard action I've ever found.
So; xmodmap to the rescue; a very handy tool, and an integral part of Puppy's native Busybox implementation anyway. (I probably wouldn't have bothered with all this were it not for the fact that one of the affected keys was pretty much the one you can't do without; the 'Return' key! Nowadays, right-shift immediately below is pulling duty instead, it being one key that I never have used. I always use left-shift...)
This wee script lives in Pup's /root/Startup, and is always up-and-running by the time I need it:-
Code:
#!/bin/sh
#
xmodmap -e "keysym Shift_R = Return"
....plus 4 or 5 others in similar vein for other, similarly affected keys. They do the job, and keep the old girl still useful. (The values, I've only just realised, came from LQ's own wiki:_
I can't imagine remapping a whole keyboard, or getting a non functioning usb receiver to work, if it does not work using linux but works in Windows and ChromeOS.
The Receiver has to be working to remap the keys. I realize the above replies and my quote are to MW's post about the upper keys.
Maybe a code readout from working keyboards in this thread may be helpful to future readers?
I don't have a logitech keyboard to test with though.
Shoot my bad after re reading the original post.
Quote:
Tired of having extra keys with no purpose on our keyboards.
I guess this is about xev and xmod after all. Sounds to me like the receiver is working.
Time for the OP to roll up their shirt sleeves and apply elbow grease to this situation.
Roman logic after all applies.
I don't use Puppy, but openSUSE, but such things have also worked on Fedora, ubuntu, and mint.
That's the point. If you use a simple window manager of the type you get in AntiX or Puppy, it may well be up to the user to set things up. But with Xfce, Mate, KDE, or any proper desktop, there should be a method for setting shortcuts and most likely ones should be preset — and even unlikely ones, for my CentOS will use Next Track and Previous Track buttons, if you have them!
you do not need to remap the whole keyboard. You can make one or more corrections to existing (loaded) keymap. Or you can add buttons. It takes just a single line in ~/.Xmodmap to redefine one button.
keycode 133 = Mode_switch
keycode 40 = d D degree
keycode 58 = m M Greek_mu
Example, the above will enable you to type '°' and 'μ' while holding down the modeswitch key, Windows key in my case.
I have to add some distros (Mint) are declining from standards and do not parse ~/.Xmodmap, thus these corrections/addons to existing keymap will not be loaded automatically.
I have to add some distros (Mint) are declining from standards and do not parse ~/.Xmodmap, thus these corrections/addons to existing keymap will not be loaded automatically.
It's more a case of standards moving on. As the Arch Wiki warns you
Quote:
xmodmap is not directly related to X KeyBoard extension (XKB), as it uses different (pre-XKB) ideas on how keycodes are processed within X. Generally, it is only recommended for the simplest tasks. See X KeyBoard extension for advanced layout configuration.
It is not a good idea to have two largely unrelated tools trying to do the same job!
yes, I will definitely try xev to check if anything sent. Next - probably - xmodmap to fix if that event was not handled properly.
As far as I know logitech does not really take care about linux, therefore it may happen. (especially I need windows to configure my mouse and I can only use those setting on linux, but cannot modify it).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.