You are not logged in.

#1 2009-04-17 09:51:27

zyon
Member
From: Germany
Registered: 2007-06-26
Posts: 73

libxcb-keysyms and awesome issues

Hallo,

I was uploading my system last night (pacman -Syu) after reboot awesome doesn't start because libxcb-keysyms.so.0 doesn't exist. I think that is a problem with upload form "xcb-util 0.3.4-1". Now, I have  libxcb- libxcb-keysyms.so.0,  libxcb-keysyms.so.1.0.0 and  libxcb-keysyms.so in /usr/lib/ directory. With a Symbol-link form /usr/lib/keysyms.so.1 to /usr/lib/keysyms.so.0. Awesome 3.2 starts but my keybindings don't work.

Bug report? Anyone can help?`... sorry for my poor English skills.

zyon

Offline

#2 2009-04-18 13:19:17

nan
Member
From: Waterloo, Canada
Registered: 2008-07-16
Posts: 70

Re: libxcb-keysyms and awesome issues

I'm having the exact same problem

EDIT: Reverted xcb-util to 0.3.3-1 and startup-notification to 0.9. Works ok.

Last edited by nan (2009-04-18 13:24:49)

Offline

#3 2009-04-18 15:18:06

lswest
Member
From: Munich, Germany
Registered: 2008-06-14
Posts: 456
Website

Re: libxcb-keysyms and awesome issues

I solved the problem by installing libxdg-basedir from AUR and re-compiling awesome-git, wicked-git, eminent-git, amazing-git.

Keybindings work fine, awesome starts now.

Hope that helps,
Lswest


Lswest <- the first letter of my username is a lowercase "L".
"...the Linux philosophy is "laugh in the face of danger". Oops. Wrong one. "Do it yourself". That's it." - Linus Torvalds

Offline

#4 2009-04-18 18:13:40

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: libxcb-keysyms and awesome issues

nan wrote:

I'm having the exact same problem

EDIT: Reverted xcb-util to 0.3.3-1 and startup-notification to 0.9. Works ok.

I've tried this too, but no success.

I'm not sure about installing the git version...is it as stable as the "normal" version?

Offline

#5 2009-04-18 20:43:08

lswest
Member
From: Munich, Germany
Registered: 2008-06-14
Posts: 456
Website

Re: libxcb-keysyms and awesome issues

Barghest wrote:
nan wrote:

I'm having the exact same problem

EDIT: Reverted xcb-util to 0.3.3-1 and startup-notification to 0.9. Works ok.

I've tried this too, but no success.

I'm not sure about installing the git version...is it as stable as the "normal" version?

Works fine on my laptop, my PC however is still having the same issues it turns out...give it a shot, you can always revert back if it fails.


Lswest <- the first letter of my username is a lowercase "L".
"...the Linux philosophy is "laugh in the face of danger". Oops. Wrong one. "Do it yourself". That's it." - Linus Torvalds

Offline

#6 2009-04-18 20:58:15

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: libxcb-keysyms and awesome issues

As you said, I tried to give the git version a shot but I can't build it:

-- checking for modules 'cairo;x11;pango>=1.19.3;pangocairo>=1.19.3;xcb-randr;xcb-xtest;xcb-xinerama;xcb-event>=0.3.4;xcb-aux>=0.3.0;xcb-atom>=0.3.0;xcb-keysyms>=0.3.4;xcb-icccm>=0.3.3;xcb-image>=0.3.0;xcb-property>=0.3.0;cairo-xcb;libstartup-notification-1.0>=0.10;xproto>=7.0.11;imlib2;libxdg-basedir>=1.0.0'
--   package 'libxdg-basedir>=1.0.0' not found
CMake Error at /usr/share/cmake-2.6/Modules/FindPkgConfig.cmake:270 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.6/Modules/FindPkgConfig.cmake:322 (_pkg_check_modules_internal)
  awesomeConfig.cmake:132 (pkg_check_modules)
  CMakeLists.txt:15 (include)


CMake Error at awesomeConfig.cmake:154 (message):
Call Stack (most recent call first):
  CMakeLists.txt:15 (include)


-- Configuring incomplete, errors occurred!

I wonder why it complains about a missing libxdg-basedir because I already installed it.

/edit: I checked the version I received from AUR and it is 0.3.0-1 and not 1.0.0 as expected. How should I fix this?

Last edited by Barghest (2009-04-18 21:01:21)

Offline

#7 2009-04-19 14:03:11

zyon
Member
From: Germany
Registered: 2007-06-26
Posts: 73

Re: libxcb-keysyms and awesome issues

Barghest wrote:

As you said, I tried to give the git version a shot but I can't build it:

-- checking for modules 'cairo;x11;pango>=1.19.3;pangocairo>=1.19.3;xcb-randr;xcb-xtest;xcb-xinerama;xcb-event>=0.3.4;xcb-aux>=0.3.0;xcb-atom>=0.3.0;xcb-keysyms>=0.3.4;xcb-icccm>=0.3.3;xcb-image>=0.3.0;xcb-property>=0.3.0;cairo-xcb;libstartup-notification-1.0>=0.10;xproto>=7.0.11;imlib2;libxdg-basedir>=1.0.0'
--   package 'libxdg-basedir>=1.0.0' not found
CMake Error at /usr/share/cmake-2.6/Modules/FindPkgConfig.cmake:270 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.6/Modules/FindPkgConfig.cmake:322 (_pkg_check_modules_internal)
  awesomeConfig.cmake:132 (pkg_check_modules)
  CMakeLists.txt:15 (include)


CMake Error at awesomeConfig.cmake:154 (message):
Call Stack (most recent call first):
  CMakeLists.txt:15 (include)


-- Configuring incomplete, errors occurred!

I wonder why it complains about a missing libxdg-basedir because I already installed it.

/edit: I checked the version I received from AUR and it is 0.3.0-1 and not 1.0.0 as expected. How should I fix this?

I get exactly same error massage.

Offline

#8 2009-04-19 14:33:30

lswest
Member
From: Munich, Germany
Registered: 2008-06-14
Posts: 456
Website

Re: libxcb-keysyms and awesome issues

# Contributor: Ondrej Martinak <omartinak@gmail.com>

pkgname=libxdg-basedir
pkgver=1.0.0
pkgrel=1
pkgdesc="An implementation of the XDG Base Directory specifications."
arch=('i686' 'x86_64')
url="http://n.ethz.ch/student/nevillm/download/libxdg-basedir"
license=('MIT')
depends=()
source=(http://n.ethz.ch/student/nevillm/download/$pkgname/$pkgname-$pkgver.tar.gz)

md5sums=('e32bcfa772fb57e8e1acdf9616a8d567')

build() {
   cd "${srcdir}/$pkgname-$pkgver"

   ./configure --prefix=/usr
   make || return 1
   make DESTDIR=${pkgdir} install
}

Should install the 1.0.0 package (just changed the release version and md5sum, I haven't tested it yet though).  Just copy it to a file called PKGBUILD, cd to the directory and run

makepkg -csi

Last edited by lswest (2009-04-19 14:36:48)


Lswest <- the first letter of my username is a lowercase "L".
"...the Linux philosophy is "laugh in the face of danger". Oops. Wrong one. "Do it yourself". That's it." - Linus Torvalds

Offline

#9 2009-04-19 15:27:15

zyon
Member
From: Germany
Registered: 2007-06-26
Posts: 73

Re: libxcb-keysyms and awesome issues

nan wrote:

I'm having the exact same problem

EDIT: Reverted xcb-util to 0.3.3-1 and startup-notification to 0.9. Works ok.

How you downgrade your xcb-util and startup-notification? lswest solution doesn't work for me. Awesome starts fine but Mod4-keys don't work.


EDIT: Ok, I downgrade success, awesome works fine now, but this problem sucks.

Last edited by zyon (2009-04-19 15:39:46)

Offline

#10 2009-04-20 06:37:44

allbluedream
Member
Registered: 2008-04-06
Posts: 155

Re: libxcb-keysyms and awesome issues

Gosh! I was thinking that rebuilding awesome's going to work...but only downgrading worked in the end.

Offline

#11 2009-04-20 13:44:49

r6
Member
From: Melbourne
Registered: 2008-07-02
Posts: 156

Re: libxcb-keysyms and awesome issues

Downgraded... hope it's fixed soon.

Offline

#12 2009-04-20 14:02:28

Rydgel
Member
From: France
Registered: 2008-09-04
Posts: 166
Website

Re: libxcb-keysyms and awesome issues

back to openbox..

Offline

#13 2009-04-20 15:38:13

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: libxcb-keysyms and awesome issues

Hi,

I installed awesome-git and it works now. Since this is my first test I don't know if a new problem i encountered now is related to this topic:
When the numpad is enabled, my Win-Key doesn't work anymore so that I can't do anything with awesome until I deactivated the numpad.

Kind regards

Thomas

P.S.: Is there a way to set a shortcut in rc.lua that doesn't use "modkey" (e.g. only Alt+F2)?

Last edited by Barghest (2009-04-20 15:38:32)

Offline

#14 2009-04-20 16:01:06

devil_kc
Member
Registered: 2008-09-14
Posts: 93

Re: libxcb-keysyms and awesome issues

moved to fluxbox:( fix that:(

Offline

#15 2009-04-20 17:11:14

lswest
Member
From: Munich, Germany
Registered: 2008-06-14
Posts: 456
Website

Re: libxcb-keysyms and awesome issues

Barghest wrote:

P.S.: Is there a way to set a shortcut in rc.lua that doesn't use "modkey" (e.g. only Alt+F2)?

Sure, replace modkey with "Alt" in the keybinding.

key({ modkey }, "F2", function () awful.util.spawn("xscreensaver-command -lock") end)

should read

key({ "Alt" }, "F2", function () awful.util.spawn("xscreensaver-command -lock") end)

or else assign the modkey to mod1 (alt key, I think) for a quick fix if you are willing to use the alt key instead of the super key.

Also, I have num lock enabled...I'll check to see if disabling it fixes awesome later, thanks for the tip.

Last edited by lswest (2009-04-20 17:11:58)


Lswest <- the first letter of my username is a lowercase "L".
"...the Linux philosophy is "laugh in the face of danger". Oops. Wrong one. "Do it yourself". That's it." - Linus Torvalds

Offline

#16 2009-04-20 18:54:23

alexandrite
Member
Registered: 2009-03-27
Posts: 326

Re: libxcb-keysyms and awesome issues

The git version works, and all its deps are in the repo or aur at the correct version. When the dev version of awesome hits the repos, you can go back.

Last edited by alexandrite (2009-04-20 18:56:45)

Offline

#17 2009-04-20 19:20:08

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: libxcb-keysyms and awesome issues

lswest wrote:
Barghest wrote:

P.S.: Is there a way to set a shortcut in rc.lua that doesn't use "modkey" (e.g. only Alt+F2)?

Sure, replace modkey with "Alt" in the keybinding.

key({ modkey }, "F2", function () awful.util.spawn("xscreensaver-command -lock") end)

should read

key({ "Alt" }, "F2", function () awful.util.spawn("xscreensaver-command -lock") end)

or else assign the modkey to mod1 (alt key, I think) for a quick fix if you are willing to use the alt key instead of the super key.

Also, I have num lock enabled...I'll check to see if disabling it fixes awesome later, thanks for the tip.

Sorry for off-topic (and that in the 3rd thread about this issue ;b )

key({ modkey,        }, "F2",    function () awful.util.spawn("gmrun")     end),

works, but not

key({ "Alt",        }, "F2",    function () awful.util.spawn("gmrun")     end),

I also tried to delete the comma.

Offline

#18 2009-04-21 05:42:48

lswest
Member
From: Munich, Germany
Registered: 2008-06-14
Posts: 456
Website

Re: libxcb-keysyms and awesome issues

Hmm, could you try it with { , "Alt" }? Otherwise, have a look here: http://awesome.naquadah.org/wiki/index. … tion_Files and see if there's a config that uses alt for keybindings.  Also, you could try putting Mod1 in there instead of Alt.

Just experiment a little?

Hope that helps,
Lswest


Lswest <- the first letter of my username is a lowercase "L".
"...the Linux philosophy is "laugh in the face of danger". Oops. Wrong one. "Do it yourself". That's it." - Linus Torvalds

Offline

#19 2009-04-21 06:37:57

trizolakai
Member
From: Nantes - France
Registered: 2009-04-21
Posts: 2

Re: libxcb-keysyms and awesome issues

Hi,

With latest updates I can launch awesome but keybindings and mousebindings don't work, not yet.

Waiting for,

Offline

#20 2009-04-21 07:05:15

dodobas
Member
From: Croatia
Registered: 2009-04-21
Posts: 12

Re: libxcb-keysyms and awesome issues

downgraded to xcb-util-3.3.1 and startup-notification-0.9-1, im keeping awesome-3.1.2-1

UPDATE:  notification-daemon depends on libwnck, so I had to downgrade to libwnck-2.24.2-1 to make it work

Last edited by dodobas (2009-04-21 08:14:29)


It would also be great to have my computer built into my skull. That way I could surf the Net during useless periods of life, such as when people talk to me.

Offline

#21 2009-04-21 11:39:58

cwjiof
Member
From: Taichung, TW
Registered: 2008-01-27
Posts: 131

Re: libxcb-keysyms and awesome issues

trizolakai wrote:

Hi,

With latest updates I can launch awesome but keybindings and mousebindings don't work, not yet.

Waiting for,

I think you can rebuild the startup-notification (which also depends on xcb-util), and install it again. On the other hand, make sure to install the latest libxdg-basedir and awesome.

Offline

#22 2009-04-21 16:38:27

trizolakai
Member
From: Nantes - France
Registered: 2009-04-21
Posts: 2

Re: libxcb-keysyms and awesome issues

Hi,

With last update I saw a difference between /etc/xdm/awesome/rc.lua and ~/.config/awesome/rc.lua with keybindings.
So I fix my rc.lua, and it's ok !

Thanks,

Offline

Board footer

Powered by FluxBB