Active Topics

 



Notices


Reply
Thread Tools
Posts: 87 | Thanked: 80 times | Joined on Sep 2009
#2441
Hello everybody,

first of all thank you for wounderful work, it is amazing!

But I have a question about these two binaries:

/sbin/qobi-wmhint-fix
/usr/bin/set-focus
I would like to use the keyboard-focus-hack with xbindkeys completely on maemo because I have an application that runs on maemo quite well but has this keyboard-focus issue.
I can install xbindkeys in maemo as well, but when I use the two commands I copied from the chroot, I get this errors:

/sbin/qobi-wmhint-fix: relocation error: /sbin/qobi-wmhint-fix: symbol __isoc99_sscanf, version GLIBC_2.7 not defined in file libc.so.6 with link time reference
/usr/bin/set-focus: relocation error: /usr/bin/set-focus: symbol __isoc99_sscanf, version GLIBC_2.7 not defined in file libc.so.6 with link time reference
Would it be possible to compile it for maemo as well or is there another workarround possible?

Thanks in advance!

CU Michael
 

The Following 2 Users Say Thank You to magic_doc For This Useful Post:
Posts: 840 | Thanked: 818 times | Joined on Nov 2009
#2442
Originally Posted by magic_doc View Post
Hello everybody,

first of all thank you for wounderful work, it is amazing!

But I have a question about these two binaries:



I would like to use the keyboard-focus-hack with xbindkeys completely on maemo because I have an application that runs on maemo quite well but has this keyboard-focus issue.
I can install xbindkeys in maemo as well, but when I use the two commands I copied from the chroot, I get this errors:



Would it be possible to compile it for maemo as well or is there another workarround possible?

Thanks in advance!

CU Michael
I too would love to have it compiled for maemo
I currently use
Code:
fixkbdfocus Nameofwindow
with easy debian installed, it will fix focus but symbol keys are different.
I'm not talented lke the people here so I don't know how to fix this but I too used easy debian's keyboardfix for maemo apps and it works (except symbol keys). A maemo version would be great.
http://talk.maemo.org/showthread.php?t=66215

Last edited by Cue; 2011-12-08 at 10:29.
 

The Following User Says Thank You to Cue For This Useful Post:
Posts: 753 | Thanked: 2,330 times | Joined on Jan 2011 @ Germany
#2443
The best solution would be to have the source code of these programs under an OSI approved license I think. This way everybody could recompile them on any platform.
During my tinkering with ED for the Squeeze dist-upgrade I stumbled upon set-focus too but I couldn't find any source code.

The XServer itself is MIT-licensed and since I'm pretty sure set-focus is compiled against some of its libs I guess the same license might be a good choice. WTFPL might also be an alternative.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,809 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#2444
Sorry guys for not checking this thread.
Those tiny apps have their source code in a thread on TMO.
I just checked my Garage git repo and it doesn't have the source! Shame on me!
I'll try to get you the source as soon as possible!
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following 5 Users Say Thank You to qole For This Useful Post:
Posts: 1,540 | Thanked: 3,228 times | Joined on Mar 2010 @ North Potomac MD
#2445
Hi qole, You know, when I put my N9 in landscape I can imagine a nice little bluetooth keyboard underneath and easy debian on the screen.
Wish it could happen...

Regardless I want the thank all contributors for your efforts. You have made using Easy Debian a great experience. It still makes the N900 unique and, indeed, it's still irreplaceable for me.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,809 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#2446
I too long for Easy Debian on the N9(50). But I am blocked by the lack of an open kernel. Good news, though, it looks like the hacker-dudes are getting closer and closer to a usable kernel. Follow the roller-coaster over at forum.meego.com and watch joergw's open kernel page for progress, too.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2011-12-12 at 21:07.
 

The Following 5 Users Say Thank You to qole For This Useful Post:
Estel's Avatar
Posts: 5,029 | Thanked: 8,594 times | Joined on Mar 2011
#2447
I've tried "complete dist-upgrade to Squeeze" as in EasyDebian wiki:
http://wiki.maemo.org/Easy_Debian
Ho ever, despite following every step carefully, I still got few problems after update. I'll list all oddities - even that I think some of them aren't important, I'll keep them for the records, as it may help in debugging. Also, sorry in advance for possible obvious mistakes - this whole thing about what should and what should not work in chroot under Maemo is still kinda black magic for me.

1. After step "nice -n 19 sudo apt-get dist-upgrade", I get following errors:
Code:
Preparing to replace pulseaudio 0.9.21-3+squeeze1 (using .../pulseaudio_0.9.21-3+squeeze1_armel.deb) ...
Stopping PulseAudio Daemon.
Unpacking replacement pulseaudio ...
Processing triggers for man-db ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up avahi-daemon (0.6.27-2+squeeze1) ...
Reloading system message bus config...done.
insserv: Service dbus has to be enabled to start service avahi
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing avahi-daemon (--configure):
subprocess installed post-installation script returned error exit status 1

Setting up pulseaudio (0.9.21-3+squeeze1) ...
Installing new version of config file /etc/pulse/daemon.conf ...
Installing new version of config file /etc/pulse/default.pa ...
Installing new version of config file /etc/default/pulseaudio ...
Installing new version of config file /etc/xdg/autostart/pulseaudio.desktop ...
insserv: Service dbus has to be enabled to start service pulseaudio
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing pulseaudio (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of pulseaudio-esound-compat:
 pulseaudio-esound-compat depends on pulseaudio; however:
  Package pulseaudio is not configured yet.
dpkg: error processing pulseaudio-esound-compat (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pulseaudio-module-x11:
 pulseaudio-module-x11 depends on pulseaudio; however:
  Package pulseaudio is not configured yet.
dpkg: error processing pulseaudio-module-x11 (--configure):
 dependency problems - leaving unconfigured
Setting up wicd-daemon (1.7.0+ds1-5) ...
configured to not write apport reports
                                      configured to not write apport reports
                                                                            configured to not write apport reports
                                   locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
insserv: Service dbus has to be enabled to start service wicd
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing wicd-daemon (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of wicd-gtk:
 wicd-gtk depends on wicd-daemon (= 1.7.0+ds1-5); however:
  Package wicd-daemon is not configured yet.
dpkg: error processing wicd-gtk (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wicd:
 wicd depends on wicd-daemon (= 1.7.0+ds1-5); however:
  Package wicd-daemon is not configured yet.
 wicd depends on wicd-gtk (= 1.7.0+ds1-5) | wicd-curses (= 1.7.0+ds1-5) | wicd-cli (= 1.7.0+ds1-5) | wicd-client; however:
  Package wicd-gtk is not configured yet.
  Package wicd-curses is not installed.
  Package wicd-cli is not installed.
  Package wicd-client is not installed.
  Package wicd-gtk which provides wicd-client is not configured yet.
dpkg: error processing wicd (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
                                      configured to not write apport reports
                                                                            configured to not write apport reports
                                   Errors were encountered while processing:
 avahi-daemon
 openssh-server
 pulseaudio
 pulseaudio-esound-compat
 pulseaudio-module-x11
 wicd-daemon
 wicd-gtk
 wicd
E: Sub-process /usr/bin/dpkg returned an error code (1)
2. Despite following 2nd critical fix from wiki:
Originally Posted by EasyDebianWiki
All the blue keyboard buttons won't work anymore and the blue arrow key will behave starngely. This is because during the dist-upgrade the quite special Maemo keyboard layout used by Easy Debian was overwritten with a generic layout. To solve that just return to Maemo (without clicking the close icon) and copy the whole folder /usr/share/X11/xkb to /.debian/usr/share/X11/xkb. Then close Easy Debian and after restarting it the keyboard should work fine.
...I still can't use any "blue arrow" symbol from N900 keyboard (regular and SHIFT'ed letter, arrows, enter, backspace etc all works). Furthermore, if I keep
Code:
@setxkbmap pl
...in my /etc/xdg/lxsession/LXDE/autostart (like I did before dist-upgrade), I can invoke my language special characters using blue arrow (so, it works literally as AltGr - right alt...). It has added benefit of availability to use USB/Bluetooth keyboard via extkbd in Easy Debian without any hassle - ho ever, the con is that I can't use any "blue arrow" symbol from N900 internal keyboard

3. While trying to restore sound functionality in ED via method described in Wiki:
Originally Posted by EasyDebianWiki
Sound in Easy Debian won't work anymore. This is because there were some changes in pulseaudio between version 0.9.15 and 0.9.16 which lead to incompatibilities. Maemo uses 0.9.15 so Lenny's 0.9.10 works while Squeeze's 0.9.21 does not. Installing the latest working version 0.9.15 (or any prior to that) would normally break Squeeze's package system so we'll have to fool it so that it actually uses 0.9.15 but thinks it has 0.9.21. To do that there are some modified packages available at qole's server:
(...)
So let's start:
Code:
mkdir pulse
cd pulse
wget http://qole.org/files/pulseaudio_easydebian_squeeze.tar.gz
tar -zxf pulseaudio_easydebian_squeeze.tar.gz
wget http://ftp.debian.org/debian/pool/main/p/policykit/libpolkit2_0.9-2_armel.deb
wget http://ftp.debian.org/debian/pool/main/p/policykit/libpolkit-dbus2_0.9-2_armel.deb
nice -n 19 sudo dpkg -i *.deb
... I get following errors (pasting full output, to not skip something important):
Code:
(Reading database ... 71051 files and directories currently installed.)
Preparing to replace libpolkit-dbus2 0.9-2 (using libpolkit-dbus2_0.9-2_armel.deb) ...
Unpacking replacement libpolkit-dbus2 ...
Preparing to replace libpolkit2 0.9-2 (using libpolkit2_0.9-2_armel.deb) ...
Unpacking replacement libpolkit2 ...
Preparing to replace libpulse-browse0 0.9.21-3+squeeze1 (using libpulse-browse0_0.9.21-3+squeeze1_armel.deb) ...
Unpacking replacement libpulse-browse0 ...
Preparing to replace libpulse-mainloop-glib0 0.9.21-3+squeeze1 (using libpulse-mainloop-glib0_0.9.21-3+squeeze1_armel.deb) ...
Unpacking replacement libpulse-mainloop-glib0 ...
Preparing to replace libpulse0 0.9.21-3+squeeze1 (using libpulse0_0.9.21-3+squeeze1_armel.deb) ...
Unpacking replacement libpulse0 ...
Preparing to replace pulseaudio-esound-compat 0.9.21-3+squeeze1 (using pulseaudio-esound-compat_0.9.21-3+squeeze1_armel.deb) ...
Unpacking replacement pulseaudio-esound-compat ...
Preparing to replace pulseaudio-module-x11 0.9.21-3+squeeze1 (using pulseaudio-module-x11_0.9.21-3+squeeze1_armel.deb) ...
Unpacking replacement pulseaudio-module-x11 ...
Preparing to replace pulseaudio-utils 0.9.21-3+squeeze1 (using pulseaudio-utils_0.9.21-3+squeeze1_armel.deb) ...
Unpacking replacement pulseaudio-utils ...
Preparing to replace pulseaudio 0.9.21-3+squeeze1 (using pulseaudio_0.9.21-3+squeeze1_armel.deb) ...
Stopping PulseAudio Daemon.
Unpacking replacement pulseaudio ...
dpkg: warning: unable to delete old directory '/usr/lib/pulse-0.9.21/modules': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/pulse-0.9.21': Directory not empty
Setting up libpolkit2 (0.9-2) ...
Setting up libpulse0 (0.9.21-3+squeeze1) ...
Setting up libpolkit-dbus2 (0.9-2) ...
Setting up libpulse-browse0 (0.9.21-3+squeeze1) ...
Setting up libpulse-mainloop-glib0 (0.9.21-3+squeeze1) ...
Setting up pulseaudio-utils (0.9.21-3+squeeze1) ...
Setting up pulseaudio (0.9.21-3+squeeze1) ...
Installing new version of config file /etc/pulse/daemon.conf ...
Installing new version of config file /etc/pulse/default.pa ...
Installing new version of config file /etc/default/pulseaudio ...
Installing new version of config file /etc/xdg/autostart/pulseaudio.desktop ...
insserv: Service dbus has to be enabled to start service pulseaudio
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing pulseaudio (--install):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of pulseaudio-esound-compat:
 pulseaudio-esound-compat depends on pulseaudio; however:
  Package pulseaudio is not configured yet.
dpkg: error processing pulseaudio-esound-compat (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pulseaudio-module-x11:
 pulseaudio-module-x11 depends on pulseaudio; however:
  Package pulseaudio is not configured yet.
dpkg: error processing pulseaudio-module-x11 (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Errors were encountered while processing:
 pulseaudio
 pulseaudio-esound-compat
 pulseaudio-module-x11
I think this may be related to errors I've got trying to do dist-upgrade.

4. Upon every start, Iceweasel throws irritating warning:


(after cliking details)
Code:
Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details -  1: Could not send message to GConf daemon: Launch helper exited with unknown return code 1)
Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details -  1: Could not send message to GConf daemon: Launch helper exited with unknown return code 1)
Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details -  1: Could not send message to GConf daemon: Launch helper exited with unknown return code 1)
Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details -  1: Could not send message to GConf daemon: Launch helper exited with unknown return code 1)
Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details -  1: Could not send message to GConf daemon: Launch helper exited with unknown return code 1)
...still, every configuration option in Iceweasel seems to be preserved (I haven't lost my config, opened tabs or whatever).

---

As you may presume, I'm totally lost here, so I'll be very thankful for any suggestions. Keyboard problem seem to be most important (for me), followed by failed things during update&pulseaudio restoration.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following User Says Thank You to Estel For This Useful Post:
Posts: 753 | Thanked: 2,330 times | Joined on Jan 2011 @ Germany
#2448
All these dbus-related errors seem strange.

However, when I did the dist-upgrade I didn't do it exactly the way I described it in the wiki, I did it via debbie but thought that wouldn't matter.

So can you please try the following:
[Edit: forget step 1. The debbie command in step 2 will do the same anyway. Just make sure the Easy Debian desktop is not running.]
1. Ensure that the Easy Debian chroot is mounted but no Easy Debian X-session is running (e.g. by starting Easy Debian, closing the window but then NOT running the close-script or by running some trivial command via debbie).

2. After changing your sources.list and creating the temporary archives-directory run the whole dist-upgrade process via debbie from within Maemo:
Code:
debbie nice -n 19 sudo apt-get dist-upgrade
I think that sorts out the most of your problems. I'm not sure about wicd since I don't have it installed anymore but I thhink it should be solved too this way.

As for your keyboard problem I don't really know what's going on but I hope that's just a side effect of the strange state that the failed dist-upgrade produced. Although I'm from Germany I use the US layout on my N900, so any localization-related problems didn't occur to me. But I'll investigate on that if it turns out not to be related to the failed dist-upgrade.

Last edited by sulu; 2011-12-15 at 07:53.
 

The Following 3 Users Say Thank You to sulu For This Useful Post:
Estel's Avatar
Posts: 5,029 | Thanked: 8,594 times | Joined on Mar 2011
#2449
Thanks You very much for fast answer. I'll try that method - in meantime, just to let You know, I haven't used dist-upgrade from within LXDE - I just used "chroot" icon from Maemo (which, following qole's description, should work same way as "debbie").

Of course, I'll gladly test doing that from within maemo with "debbie", instead.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Posts: 753 | Thanked: 2,330 times | Joined on Jan 2011 @ Germany
#2450
I had a closer look at the errors now and I guess I'll have to be absolutely honest now about what I did to upgrade to Squeeze since easy standard steps don't seem to work.

Because the watchdog always rebooted my N900 during dist-upgrade attempts I first upgraded small chunks of packages (30-50MB download size) via debbie aptitude.
When I realized that nice could keep the watchdog calm and switched to that procedure half of my Easy Debian was already upgraded (yes I had lots of time that day ). The whole X-server related stuff and probably even Easy Debian's dbus was a part of these chunks.

No idea if that will solve the problem but I think it's worth a try to manually upgrade dbus first. I can't even exclude that I upgraded pulseaudio from within the Easy Debian desktop (which might affect the dist-upgrade since Easy Debian's dbus is actually running) since I did a lot of tinkering with pulseaudio back then.

If that still doesn't work I'll try to reproduce the dist-upgrade with a stock Easy Debian installation while keeping the procedure as simply as possible and documenting the steps exactly.
But most likely I won't find the time for that before x-mas.

As for your firefox warning, I get that too. Eventually I just uninstalled the package that caused the popup (the commandline output still remains). Since it seems to work except for that warning I didn't investigate it any further. I'll add that to the regression list in the wiki article once I've identified the package again.
 

The Following User Says Thank You to sulu For This Useful Post:
Reply

Tags
beta, debian, easy debian, extras-devel, fremantle, i <3 qole, squeeze

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:28.