This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Add a new keyboard model, is that possible?

Tags: None
(comma "," separated)
faulty
Registered Member
Posts
2
Karma
0
OS
I've recently been struggling with a minor keyboard issue and I'm wondering if adding the model to the list of models in System Settings -> Input Devices -> Keyboard -> Hardware -> Keyboard Model could help others.

The model of keyboard and mouse I'm using is Cooler Maser CMStorm. I got it because it's got pretty blue illumination and it makes me feel like I'm flying a spaceship when I turn the lights out.

The issue is that the illumination doesn't 'just work' for linux. Though I have found a magic command to make everything work as it should. But it's kind of a pain and I'm having no luck creating a script (so far) that would successfully run on startup so I didn't have to enter the command manually every time. The command by the way is
Code: Select all
sudo xmodmap -e 'add mod3 = Scroll_Lock'


I get that it's likely a rarely experienced thing and so I understand it may never happen. But on the off chance it's super easy n stuff, where would be the best place to make such a request?

Cheers.
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
I don't think this is related to KDE, the list of keyboard models is probably provided by Xorg.

As for your command, you shouldn't need sudo to run it. Try to just create a new script,
Code: Select all
#!/bin/bash
xmodmap -e 'add mod3 = Scroll_Lock'


make it executable, and add it to Autostart in System Settings.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
faulty
Registered Member
Posts
2
Karma
0
OS
Ok. Thank you. This time it worked.

Two things are possible. My system broke previously because I had used sudo and it was in a constant state of waiting for me to enter a password with no way to actually do that.

Or

I had not made the script file executable and that is what caused my system to break.

Either way it does not matter now because it's working. Thanks Hans.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft