View previous topic :: View next topic |
Author |
Message |
andrzejk Tux's lil' helper
Joined: 08 Jan 2006 Posts: 139 Location: Warsaw, Poland
|
Posted: Sun May 13, 2007 7:33 pm Post subject: Lineakd *** Xlib error caught *** why? |
|
|
I'm trying to make my multimedia keybord work using lineak, but I can't start the daemon. I did what I have to make it work - in my opinion.
I defined my keybord in /etc/lineakkb.def:
Code: |
[LTCYRJ7] #by KardasA
brandname = "Logitech"
modelname = "Cordless Desktop Comfort YRJ7"
[KEYS]
Sleep = 223
Home = 130
Mail = 236
Search = 122
Favorites = 230
Mute = 160
VolumeDown = 174
VolumeUp = 176
Play|Pause = 162
Stop = 164
Previous = 144
Next = 153
WinLeft = 115
WinRight = 116
[END KEYS]
[END LTCYRJ7]
|
I generated the linekd.conf in my home and change this file according to my needs:
Code: |
CdromDevice = /dev/cdrom
Display_align = center
Display_color = 0aff00
Display_font = -adobe-helvetica-bold-r-normal-*-*-300-*-*-p-*-iso8859-2
Display_hoffset = 0
Display_plugin = xosd
Display_pos = bottom
Display_soffset = 1
Display_timeout = 3
Display_voffset = 50
KeyboardType = LTCYRJ7
MixerDevice = /dev/mixer
RAWCommands =
Screensaver =
conffilename = /home/kardasa/.lineak/lineakd.conf
keystate_capslock =
keystate_numlock =
keystate_scrolllock =
[Firefox] Favorites = "kstart --windowclass "firefox-bin" --currentdesktop --maximize --activate firefox"
[Katalog Domowy] Home = "kstart --windowclass "konqueror" --currentdesktop --maximize konqueror system:/home"
[Program pocztowy KMail] Mail = "kstart --windowclass "kmail" --currentdesktop --maximize kmail"
[Wyciszczenie] Mute = KMIX_MUTE
[Kolejny] Next = AMAROK_BACK
[Odtwarzam|Wstrzymuje Odtwarzanie] Play|Pause = AMAROK_PLAYPAUSE
[Poprzedni] Previous = AMAROK_FORWARD
[Szukaj] Search = "kstart --windowclass "kerry" --currentdesktop --maximize --activate kerry --show-searchdial$
[Blokowanie Ekranu] Sleep = dcop kdesktop KScreensaverIface lock
[Koniec Odtwarzania] Stop = AMAROK_STOP
[VolumeDown] VolumeDown = KMIX_VOLDOWN
[VolumeUp] VolumeUp = KMIX_VOLUP
[Menu] WinLeft = KMENU(200,1100)
[Menu] WinRight = KMENU(200,1100)
[Poprzedni Pulpit] Previous+shift = KDESKTOP_PREVIOUS
[Kolejny Pulpit] Next+shift = KDESKTOP_NEXT
|
As you can see I'm using it under kde. When I'm starting the deamon
I get (main fragments):
Lineakd V0.9.0-pre1
Loading plugin: /usr/lib/lineakd/plugins/kmixplugin.so
plugin name:kmixplugin
plugin type:MACRO
plugin version: 0.9.0-pre1
plugin_ident: KMix Plugin
Loading plugin: /usr/lib/lineakd/plugins/jukplugin.so
plugin name:jukplugin
(...)
Listing Plugins
Listing Plugins
Plugin amarokplugin of type MACRO
Description: Amarok Plugin
(...)
Defining Macro Lists
Defining Macro Lists for Plugin:amarokplugin
Adding macro: AMAROK_PLAY
(...)
Defining Macro Lists for Plugin:xosd
Macrolist for plugin: xosd is empty
(...)
Defining Directives Lists
Defining Directives Lists for Plugin:amarokplugin
Directives list for plugin: amarokplugin is empty
(...)
Getting modifiers for display.
Loading a config file
conffilename = :/home/kardasa/.lineak/lineakd.conf
done configloader
Displaying config.
(...)
Checking some isSet's to see if they are empty.
Checking the KeyboardType and conffilename to see if they are empty.
Parsing: /etc/lineakkb.def
Initializing Plugin:amarokplugin
Registered
Initializing Plugin:default
Registered
(...)
Initializing the display
grabKey for Favorites
(...)
InitializePluginsDisplay = xosd
Initializing OSD for plugin: xosd
Initializing display!
This is a display plugin, it is already initialized.
*** Xlib error caught ***
Major opcode of failed request: 33 (XKEYBOARD)
Minor opcode of failed request: 0 (XkbSetMap)
Resource ID of failed request: 85
Serial number of failed request: 14
Error code: 10
Type: 0
Maybe we should exit now?
(...)
And warnings like the last one are displaying many times.
I found similar problems on the forums but without solution, so maybe you at least can help me to truck what exactly is cosing the problem. My questions are:
1. Did anyone succeeded using lineakd under kde.
2. If so what keyboard xorg and Control Panel configuration you have?
3. What xosd version you have installed in your system.
4. What compilation parameters you were using compilig lienak.
5. Did you know any alternative ebuilds for lineak, Lineaksetup, and Klineakconfig
Any suggestions what to check to find the solution greatly appreciated.
One more thing I also tried the older version of lienak 0.8.4 same result and I can't fireup lineakconfig I got Memory violation error so my configuration is done manually. _________________ Dell XPS Gentoo 3.12.2 GCC 4.8.2 KDE 4.11 |
|
Back to top |
|
|
jvale n00b
Joined: 23 Jan 2006 Posts: 74 Location: Porto, Portugal
|
Posted: Sat May 19, 2007 2:05 pm Post subject: |
|
|
My lineakd spits out the same " *** Xlib error caught *** " errors and the "Maybe we should exit now?" message when I start it, but after that it works just fine. Have you tried the keys in spite of the errors? |
|
Back to top |
|
|
andrzejk Tux's lil' helper
Joined: 08 Jan 2006 Posts: 139 Location: Warsaw, Poland
|
Posted: Sat May 19, 2007 5:04 pm Post subject: |
|
|
Quote: |
Have you tried the keys in spite of the errors?
|
Yes I did. Most of them doesn't work. _________________ Dell XPS Gentoo 3.12.2 GCC 4.8.2 KDE 4.11 |
|
Back to top |
|
|
|