Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Recent posts

#1
Newbie questions / Re: two keyboards - how to con...
Last post by dirkskep - Today at 07:54:18 PM
Quote from: duststuff on Today at 05:59:15 PMGlad to hear it, dirkskep. :-) If you could do one more thing and add something like '[Solved]' to the beginning or end of this thread's title, that would be helpful for anyone else searching these forums for a solution to the same problem.

Would love to but don't see where I can edit the thread title...
Maybe this is a moderator priviledge?
#2
Newbie questions / Re: two keyboards - how to con...
Last post by duststuff - Today at 05:59:15 PM
Glad to hear it, dirkskep. :-) If you could do one more thing and add something like '[Solved]' to the beginning or end of this thread's title, that would be helpful for anyone else searching these forums for a solution to the same problem. Enjoy using your keyboard(s) without the previous distraction / annoyance. :-)
#3
Newbie questions / Re: two keyboards - how to con...
Last post by dirkskep - Today at 04:43:57 PM
Thx once more duststuff... Problem Solved!

Indeed lsusb gave me a wrong id...
I installed xinput which gives me several id's for the external USB keyboard...

dda@sparkbook:~$ dda@sparkbook:~$ xinput -list | grep -i "USB keyboard"
⎜   ↳ SIGMACHIP USB Keyboard Consumer Control id=14 [slave  pointer  (2)]
    ↳ SIGMACHIP USB Keyboard System Control    id=13 [slave  keyboard (3)]
    ↳ SIGMACHIP USB Keyboard Consumer Control id=15 [slave  keyboard (3)]
    ↳ SIGMACHIP USB Keyboard                  id=17 [slave  keyboard (3)]
dda@sparkbook:~$

And with
dda@sparkbook:~$ setxkbmap -device 17 fr
dda@sparkbook:~$
My additional keyboard now has the correct layout !
(While the laptop mac layout remained unchanged)
#4
System upgrading / Sparkyy7 Upgrad No login
Last post by Sparkling - Today at 01:32:14 PM
Sparky7; since last upgrade (last week) i stuck in the "LogIn" Screen
Even when i use the correct Login , i m still in the logIn Screen.

User=Root

Even when i use "Last know working version", it will be the same: stuck in the logIn Screen

I prefer a 2repair" funktion (Pls. step by step, i am not used in terminal; and when it is poss in German; cause english is not my mother Langua)

Cause there are to many datas, which i cant transfer by other live-system to an external usb Stick

I duno wanna use sparky 8; cause 7 is fine for me/and the old hardware
#5
Deutsch / Re: Auto Login bei Sparky 7.3
Last post by Sparkling - Today at 01:24:43 PM
Moin, moin
Mit dem letzten Update (letzte Woche) sperrt mich mein Sparky aus.

D.h.; im Live-Betrieb ging plötzlich nichts mehr (Firefox-/Gmail/Facebook etc.) nachdem das Auto-Update eingespielt wurde

Okay, Neustart - Autoanmeldung schlug fehl; ebenso wie der manuelle LogIn
------------
Im Regelfall installiere ich 7 neu (ja, ist mir bekannt, das es 8 gibt);
da dies für die Hardware ideal ist.

Nur auf dem Arbeitsnotebook sind dann doch Daten betroffen, die ich "so" nicht abgreifen kann (ja, live-System starten; Daten auf nen USB Stick ziehen; frisch aufsetzen)
Nur da sind dann nicht nur gespeicherte Webseiten usw.; sondern halt Dtaen, die du so nicht abziehen kannst


Mir ist nicht bekannt, ob Sparky ne repair funktion hat (letzte bekannte Option endet ebenfalls nur im Anmeldefenster - Daten werden akzeptiert, man landet wieder im Anmeldefenster)

Mir ist nicht bekannt, ob ich da zu nem terminalfenster komme (und wenn ja, da bräuchte ich so ne Punkt zu Punkt Anleitung, da ich mich mit Terminalbefehlen noch nie auseinander gesetzt habe)

P-A-N-N-I-K
#6
Newbie questions / Re: two keyboards - how to con...
Last post by duststuff - May 13, 2024, 04:27:50 AM
You're welcome, dirkskep. :-) I haven't used setxkbmap before, but I think the next thing I would try is to use '0002' for the device ID, since it may be looking for the actual hardware ID rather than the bus device number that the system assigns to it. You may already know this, but with a hardware ID string like '1c4f:0002' (i.e. your target keyboard), the first set of four characters before the colon is the numeric ID for the manufacturer and the second set after the colon is the numeric ID for the device. I've found these to often be helpful when searching online for solutions while troubleshooting devices.

Update: The following link looks like it's the same or a similar issue to your use case, in case you haven't seen it yet: https://jpriest.me/post/using-setxkbmap/ . From there it seems like my above comment about the ID is probably wrong, but I haven't tried to test / confirm. If you haven't seen this page yet, it might be what helps you solve your issue, especially in regards to the setxkbmap syntax as well as making it persistent. Another similar (but older) link is https://superuser.com/questions/757170/setxkbmap-how-to-apply-options-to-a-specific-device-only and that page also includes a link to an even older page that you may also find helpful. Other more general resources that you may have already seen are at the links below:

https://wiki.debian.org/Keyboard
https://wiki.archlinux.org/title/Xorg/Keyboard_configuration
#7
Desktops / Re: Minimal-GUI - Passwords fi...
Last post by duststuff - May 13, 2024, 04:03:15 AM
You're welcome, Benny. It's an interesting case. Glad you got it figured out. Sometimes strange things happen and we have no idea why. :-)
#8
Newbie questions / Re: two keyboards - how to con...
Last post by dirkskep - May 12, 2024, 08:07:26 PM
Thanks again!

In the mean time I was checking other sources but nothing is clear...
I'm impressed nobody uses another keyboard on their laptops (layout almost never matches 100%)

If I understand correctly it should not be an issue at all...
setxkbmap has the "-device" option allowing to configure that second (or whatever) keyboard...
I'm not there yet, I'm not getting the syntax right, the device id I tried seems incorrect... (I used the device id from "lsusb")

dda@sparkbook:~$ lsusb
Bus 002 Device 003: ID 05ac:8406 Apple, Inc. Internal Memory Card Reader
Bus 002 Device 005: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 002 Device 004: ID 152d:1561 JMicron Technology Corp. / JMicron USA Technology Corp. JMS561U two ports SATA 6Gb/s bridge
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 013: ID 05ac:8289 Apple, Inc. Bluetooth Host Controller
Bus 001 Device 005: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 001 Device 067: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
Bus 001 Device 003: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 001 Device 009: ID 05ac:0263 Apple, Inc. Apple Internal Keyboard / Trackpad (MacBook Retina)
Bus 001 Device 064: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 051: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dda@sparkbook:~$ setxkbmap -device 067 fr
X Error of failed request:  129
  Major opcode of failed request:  135 (XKEYBOARD)
  Minor opcode of failed request:  23 (XkbGetKbdByName)
  Value in failed request:  0xff000043
  Serial number of failed request:  15
  Current serial number in output stream:  15
dda@sparkbook:~$
#9
Desktops / Re: Minimal-GUI - Passwords fi...
Last post by benny - May 12, 2024, 05:40:50 PM
Thanks duststuff, after more trial an error today I've figured out that for whatever reason 'Classic Console' font causes the issue when applied to 'Customise Look and Feel' (at any font size) but it seems fine when used everywhere else such as 'Panel Settings' and the 'Openbox Configuration Manager'.
#10
Newbie questions / Re: two keyboards - how to con...
Last post by duststuff - May 12, 2024, 01:41:22 PM
I haven't done a lot of what you're trying to do, but from the various keyboard layout settings dialogs I've seen over the years in this and similar distros, it seems likely to me that you can set up multiple keyboard layouts and then switch between them in some way. Usually an installer always includes the setting of one's keyboard layout, which is likely what becomes the default, but I'm assuming you can add one or more as desired. I'm using Xfce for my desktop, and it looks like you're using OpenBox, so the approach may / will likely be different as far as how you access / change settings, etc. Not sure how proficient you are with Linux, Debian, Sparky, and/or OpenBox, but your next best step is likely to see if the Apps menu already has a graphical user interface (GUI) for keyboard layout settings. If it doesn't, then I would do some online searches with keywords like 'openbox', 'configuration', 'keyboard layout', etc. Haven't used OpenBox on its own much, but my sense is that you can do a fair amount of configuration with it, but that it's a bit less 'user-friendly' in the sense that you may need to be using a text editor to change a settings file rather than doing it through a GUI. However, I 'think' that the OpenBox that comes with Sparky has some extra features added to it by the Sparky developers that might make it a bit easier to use.

View the most recent posts on the forum