You are not logged in.

#26 2009-04-19 17:19:34

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

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

soupcan wrote:

I'm bumping this because I'd really like a solution.

From what I read there is no "solution", the problem lies with xcb, and you either have to downgrade xcb-util (didn't work for me on my PC), or wait until the awesome devs find a solution/release an update.


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

#27 2009-04-19 18:30:14

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

someone poke me when it is fixed in -git so I can take a snapshot for the community version.

Offline

#28 2009-04-19 18:49:17

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

I've tested different approaches by recompiling awesome-git against xcb-git and so on, but it only results in a black screen on my computer. I can't downgrade to previous versions of xcb and hence I've no other choice but to wait for a fix. I played around with musca a bit, it's neat but I feel like I'm not in the mode of "wasting" time on learning another environment from scratch. Anyway I can't see that there's much we can do since something in xcb is changed.

Back in XFCE4... I hope not for long.

Offline

#29 2009-04-19 20:23:18

damoppi
Member
From: Germany
Registered: 2008-02-10
Posts: 18

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

xcb-util (0.3.3-1), startup-notification (0.9-1) and awesome (3.2-1) seem to work together. Downgrading this 3 packages did it here.

Offline

#30 2009-04-19 20:38:53

tzar
Member
From: Australia
Registered: 2008-08-26
Posts: 21
Website

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

soupcan wrote:

I'm bumping this because I'd really like a solution.

awesome-git + libxdg-basedir works for me and has for some time cool

Offline

#31 2009-04-19 20:49:29

soupcan
Member
From: ?
Registered: 2008-10-25
Posts: 268

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

tzar wrote:
soupcan wrote:

I'm bumping this because I'd really like a solution.

awesome-git + libxdg-basedir works for me and has for some time cool

I can't install awesome-git. The build fails for some reason. Plus I don't really know anything about PKGBUILDS and so on.

EDIT: I managed to get an older version of Awesome, and I downgraded the xcb and startupnotification. It works now, but I'm still hoping for a real fix.

Last edited by soupcan (2009-04-19 20:58:14)

Offline

#32 2009-04-19 20:55:50

neaf
Member
Registered: 2009-04-18
Posts: 2

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

Could someone upload "xcb-util (0.3.3-1), startup-notification (0.9-1) and awesome (3.2-1)" for x86_64? I got fresh arch install today and I don't have them in cache.

Offline

#33 2009-04-19 20:59:19

soupcan
Member
From: ?
Registered: 2008-10-25
Posts: 268

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

neaf wrote:

Could someone upload "xcb-util (0.3.3-1), startup-notification (0.9-1) and awesome (3.2-1)" for x86_64? I got fresh arch install today and I don't have them in cache.

I'd gladly do so, but I don't know how. What would I need to do?

Last edited by soupcan (2009-04-19 21:03:59)

Offline

#34 2009-04-19 21:03:53

tzar
Member
From: Australia
Registered: 2008-08-26
Posts: 21
Website

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

I've uploaded some packages, (64-bit only sorry) including the awesome-git package that works for me and it's missing dependency (libxdg-basedir):

http://www.bitlong.org/packages/

Offline

#35 2009-04-19 21:21:01

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

soupcan wrote:
tzar wrote:
soupcan wrote:

I'm bumping this because I'd really like a solution.

awesome-git + libxdg-basedir works for me and has for some time cool

I can't install awesome-git. The build fails for some reason. Plus I don't really know anything about PKGBUILDS and so on.

EDIT: I managed to get an older version of Awesome, and I downgraded the xcb and startupnotification. It works now, but I'm still hoping for a real fix.

I've no problem building it but I had to adjust the PKGBUILD to build the newest libxdg-basedir (1.0.0 I think it is). Since I'm a bit locked from both sides I can't downgrade those other packages making this whole thing meaningless. The result with awesome-git built against newest libxdg-basedir and newest xcb-util only ends in awesome loading fine but only to a black screen and unresponsive to keyboard and mouse buttons.

Offline

#36 2009-04-19 21:30:12

tzar
Member
From: Australia
Registered: 2008-08-26
Posts: 21
Website

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

KimTjik wrote:
soupcan wrote:
tzar wrote:

awesome-git + libxdg-basedir works for me and has for some time cool

I can't install awesome-git. The build fails for some reason. Plus I don't really know anything about PKGBUILDS and so on.

EDIT: I managed to get an older version of Awesome, and I downgraded the xcb and startupnotification. It works now, but I'm still hoping for a real fix.

I've no problem building it but I had to adjust the PKGBUILD to build the newest libxdg-basedir (1.0.0 I think it is). Since I'm a bit locked from both sides I can't downgrade those other packages making this whole thing meaningless. The result with awesome-git built against newest libxdg-basedir and newest xcb-util only ends in awesome loading fine but only to a black screen and unresponsive to keyboard and mouse buttons.

Why do you need the newest one? 0.3.0-1 works for me.

Offline

#37 2009-04-19 21:32:53

taken2k4
Member
Registered: 2009-04-03
Posts: 22

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

Hi, I tried this :

Install libxdg-basedir-0.3.0-1-x86_64.pkg.tar.gz
Install startup-notification-0.9-1.pkg.tar.gz
Install xcb-util-0.3.3-1-x86_64.pkg.tar.gz (this version includes the libxcb-keysyms.so.0 and the 0.3.4-1 includes the libxcb-keysyms.so.1.0.0)
Install awesome-git-20090417-1-x86_64.pkg.tar.gz

After did this and  I got a different error something like sn_display.. (sorry but I did not take note of the error).

Did I do something wrong?... Does anybody tried this?

thanks in advance and best regards.

Offline

#38 2009-04-19 21:49:11

tzar
Member
From: Australia
Registered: 2008-08-26
Posts: 21
Website

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

If you use the -git package, you don't need to downgrade xcb-util or startup-notification (at least I didn't).

Just remembered I built things with -march=native, that awesome-git package might not work on non-intel or cpus older than core duo. I've uploaded a newer package built from the same git snapshot anyway.

Offline

#39 2009-04-19 22:06:56

taken2k4
Member
Registered: 2009-04-03
Posts: 22

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

Ready! It works, I just installed the awesome-git package of tzar and now my Awesome is working good, with keybindings.

In my recent post I downgraded the xcb-util and startup-notification but it did not work at all, so I did a pacman -Syu (again) and installed the current versions of those packages, after that installed the tzar awesome-git package and it works. I only have another thing to get runing and it my startup applications (wicd, gnome-power-manager and so on).

Summary :

Update you arch system : pacman -Syu (note the update of xcb-util and startup-notification) and install awesome-git from http://www.bitlong.org/packages/.


these packages works for me :

$ pacman -Qs | grep xcb-util
local/xcb-util 0.3.4-1

$ pacman -Qs | grep startup-notification
local/startup-notification 0.10-1

$ pacman -Qs | grep awesome
local/awesome-git 20090417-1

$ pacman -Qs | grep libxdg
local/libxdg-basedir 0.3.0-1

I hope this help. big_smile

Offline

#40 2009-04-19 22:21:10

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

As for xcb-util:
This commit introduced the breakage. It's an ABI and API incompatibility, so that's why recompiling awesome simply doesn't work:
http://cgit.freedesktop.org/xcb/util/co … de845b49a5

To fix this with the old awesome package, you could download the old xcb-util package and extract the old libxcb-keysyms.so.0 and libxcb-keysyms.so.0.0.0 files/symlinks from it. Placing these on the system won't harm any package, it will just fix the old awesome package. Remember that these libs won't receive any (security) updates in the future and are not managed by pacman.

A better alternative is to browse the awesome git tree and find the commit that changes awesome to handle the API change in xcb-keysyms. Apply this to the stable awesome package and rebuild it against the new xcb-util package.

Last edited by JGC (2009-04-19 22:22:04)

Offline

#41 2009-04-19 22:32:20

tzar
Member
From: Australia
Registered: 2008-08-26
Posts: 21
Website

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

taken2k4 wrote:

Ready! It works, I just installed the awesome-git package of tzar and now my Awesome is working good, with keybindings.

In my recent post I downgraded the xcb-util and startup-notification but it did not work at all, so I did a pacman -Syu (again) and installed the current versions of those packages, after that installed the tzar awesome-git package and it works. I only have another thing to get runing and it my startup applications (wicd, gnome-power-manager and so on).

Summary :

Update you arch system : pacman -Syu (note the update of xcb-util and startup-notification) and install awesome-git from http://www.bitlong.org/packages/.


these packages works for me :

$ pacman -Qs | grep xcb-util
local/xcb-util 0.3.4-1

$ pacman -Qs | grep startup-notification
local/startup-notification 0.10-1

$ pacman -Qs | grep awesome
local/awesome-git 20090417-1

$ pacman -Qs | grep libxdg
local/libxdg-basedir 0.3.0-1

I hope this help. big_smile

Glad it's all working smile

http://awesome.naquadah.org/wiki/index. … =Autostart <- useful
If you don't want more than one instance of an app running:

os.execute("if [ -z $(ps aux | grep wicd-client | grep -v grep | sed 's/ /@/g') ]; then wicd-client& fi")

Using wicd as an example (ymmv etc). (Goes at the top of your rc.lua)

Offline

#42 2009-04-19 22:39:38

taken2k4
Member
Registered: 2009-04-03
Posts: 22

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

Thanks tzar big_smile actually I have something like this at the end of my rc.lua :

awful.spawn("/usr/bin/myenv"), myenv is a script which start applications.

but as I can see in the wiki there is a better and an elegant way to do this things.

Thanks again big_smile

Offline

#43 2009-04-19 22:50:07

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

tzar wrote:

Why do you need the newest one? 0.3.0-1 works for me.

Two days ago I didn't. Building awesome-git against 0.3.something worked just fine. Today I tried again but the build failed with a message that libxdg-basedir was missing. Rebuild libxdg-basedir updated to 1.0.0 did however fix this.

Why? I don't have any technical answer but that's what worked on my computer and install of Arch x86_64.

Offline

#44 2009-04-19 23:09:06

tzar
Member
From: Australia
Registered: 2008-08-26
Posts: 21
Website

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

Ah. I suppose I was just lucky with my timing then..

Offline

#45 2009-04-19 23:58:58

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

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

Just sounding off, I got this to work by building awesome-git from the AUR.  Doing this, you don't have to downgrade any packages whatsoever.  Just two makepkg's and awesome will work with all functionality intact.

libxdg-basdir is out-of-date, but I make a working PKGBUILD for it:

PKGBUILD for libXDG-basedir

#Contributor: alexandrite (puterbaugh0@gmail.com)
# From script originally by Ondrej Martinak <omartinak@gmail.com>
#Just changed pkgver and md5sum

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
}

Just make this and install it, then make and install awesome-git.  It uses the same repo as the version in the AUR, so pretty much anyone should be able to access it... and for that matter the maintainer at the AUR could update his pkgbuild wink

Edit: Typos. typos, and warm assurances.

Last edited by alexandrite (2009-04-20 00:11:45)

Offline

#46 2009-04-20 19:03:03

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

Awesome-git of today actually made a small progress in usability. Not a black screen. No keybinding functionality. BUT all of a sudden the default menu of awesome worked, even though only if activated from the default panel. Wow! smile

Off-topic: kind of strange but all keybindings in XFCE4 work except for program shortcuts (like xfrun4 and others). Frustrating situation right now.

Offline

#47 2009-04-20 23:00:42

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

I updated the awesome community package to yesterdays git version. I had too little time and there where too many commits to find and rewrite the ones fixing the xcb issues. Not sure if it is totally fixed yet but at least is has some functionality again. The package seems to break config syntax with 3.2 btw. Anyway, let me know if things are still broken and fixed in future git versions. I guess I'll be following git until the next stable release.

Last edited by pressh (2009-04-20 23:01:02)

Offline

#48 2009-04-21 05:16:15

taken2k4
Member
Registered: 2009-04-03
Posts: 22

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

Hi all

Excuse me but pressh what you mean by "it has some functionality"?... big_smile

thank you very much in advance and best regards big_smile

Offline

#49 2009-04-21 08:43:39

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

I just renamed the community version to 3.3pre${date} as that reflects more the version it actually is.

taken2k4 wrote:

Excuse me but pressh what you mean by "it has some functionality"?... big_smile

It just works as far as I can tell after some basic testing.

Last edited by pressh (2009-04-21 08:56:15)

Offline

#50 2009-04-21 16:29:31

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: Cannot start Awesome; libxcb-keysums.so.0 cannot be opened.

Thanks! Even though it's not the git version and wicked is out of the question, it's useful and make me feel calm again.

Offline

Board footer

Powered by FluxBB