|
2012-07-31
, 04:13
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#2792
|
|
2012-07-31
, 12:47
|
Posts: 87 |
Thanked: 80 times |
Joined on Sep 2009
|
#2793
|
set-focus.c: #include <X11/Xlib.h> #include <stdio.h> #include <stdlib.h> int main(int argc, char **argv) { Display *display; Window window = 0; if (argc!=2) {fprintf(stderr, "usage: set-focus <id>\n"); exit(-1);} if (sscanf(argv[1], "0x%lx", &window)!=1) { fprintf(stderr, "id must be in parsable by 0x%%lx\n"); exit(-1); } display = XOpenDisplay(""); if (display==NULL) {fprintf(stderr, "can't open display\n"); exit(-1);} // I don't know which is correct: XSetInputFocus(display, window, RevertToParent, CurrentTime); //XSetInputFocus(display, window, RevertToPointerRoot, CurrentTime); //XSetInputFocus(display, window, RevertToNone, CurrentTime); XFlush(display); }
|
2012-08-01
, 03:34
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#2794
|
|
2012-08-01
, 08:01
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#2795
|
|
2012-08-01
, 21:38
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#2796
|
Reading packet list... Bulding dependency tree... Reading state info... Following packets were kept on hold: cpp-4.4 gcc-4.4-base 0 upgraded, 0 new installed, 0 removed i 2 not upgraded. 4 not fully installed or removed. After this operation, additional 0 B disk space will be used. Continue [Y/n]? Y Configuring packet network-manager (0.9.4.0-5) ... dpkg: error processing network-manager (--configure): sub-process installed script post-installation returned error code 1 dpkg: problem with dependencies prohibit configuration of package network-manager-gnome: network-manager-gnome depends on network-manager (>= 0.9.4); hoever: Packet network-manager isn't yet configured. dpkg: error processing network-manager-gnome (--configure): problem with dependencies - leaving not configuredConfiguring packet avahi-daemon (0.6.31-1) ... adduser: User "avahi" already exist. Ending. dpkg: error processing avahi-daemon (--configure): sub-process installed script post-installation returned error code 1 dpkg: problem with dependencies prohibit configuration of package libnss-mdns: libnss-mdns depends on avahi-daemon (>= 0.6.16-1); but: Packet avahi-daemon isn't configured yet. dpkg: error processing libnss-mdns (--configure): problem with dependencies - leaving not configuredErrors occurred during processing: network-manager network-manager-gnomeavahi-daemon libnss-mdns
deluser avahi delgroup avahi
The Following 3 Users Say Thank You to Estel For This Useful Post: | ||
|
2012-08-02
, 05:55
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#2797
|
Well, I've dist-upgraded it successfully, now going to start messing with it. whole upgrade went smooth, without nice'ing apt-get, and I was able to do other things on device while upgrade progressed - like reading TMO, conversing via SMS or GSM (voice).
Any ideas about those42 packages, sulu? Also, is there any reason for keeping cpp-4.4 gcc-4.4-base (additional 2, mentioned at the beginning of log) kept on hold?
echo "cpp-4.4 install" | dpkg --set-selecions echo "gcc-4.4-base install" | dpkg --set-selecions
Nah, wicd doesn't work, just like it refused to work in times of squeeze update, needed to kick it out again. Sadly, no idea why network-manager doesn't configure properly - only one info that it returns, is failure of postinst script, resulting in "error exit code 1". It's a pity, that it doesn't tell anything more - for example, avahi posinst also returned exit code 1, but also info about "user avahi already exist", so I was able to fix it.
The Following User Says Thank You to sulu For This Useful Post: | ||
|
2012-08-02
, 19:15
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#2798
|
|
2012-08-02
, 20:18
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#2799
|
Does anybody have it compiled against actual maemo to make this work?
I've run quassel, but keyboard doesn't work (can't focus on window?).
It seems that input still works on terminal instead of quassel window (I run it directly via chroot).
wmctrl -l | grep -i "some-window-name" | awk '{print $1}
The Following User Says Thank You to sulu For This Useful Post: | ||
|
2012-08-02
, 20:52
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#2800
|
./var/log/wicd ./var/log/wicd/wicd.log ./var/run/wicd ./var/run/wicd/wicd.pid ./var/lib/update-rc.d/wicd ./var/lib/wicd ./var/lib/menu-xdg/applications/menu-xdg/X-Debian-Applications-Network-Monitoring-wicd.desktop ./var/lib/dpkg/info/python-wicd.md5sums ./var/lib/dpkg/info/wicd-daemon.conffiles ./var/lib/dpkg/info/wicd-gtk.postrm ./var/lib/dpkg/info/wicd-gtk.conffiles ./var/lib/dpkg/info/wicd-gtk.prerm ./var/lib/dpkg/info/wicd-daemon.templates ./var/lib/dpkg/info/wicd-daemon.postrm ./var/lib/dpkg/info/python-wicd.list ./var/lib/dpkg/info/wicd.list ./var/lib/dpkg/info/wicd-daemon.md5sums ./var/lib/dpkg/info/wicd-gtk.postinst ./var/lib/dpkg/info/python-wicd.postinst ./var/lib/dpkg/info/wicd-daemon.postinst ./var/lib/dpkg/info/wicd.md5sums ./var/lib/dpkg/info/wicd-daemon.list ./var/lib/dpkg/info/wicd-gtk.md5sums ./var/lib/dpkg/info/wicd-daemon.config ./var/lib/dpkg/info/python-wicd.prerm ./var/lib/dpkg/info/wicd-daemon.prerm ./var/lib/dpkg/info/wicd-gtk.list ./etc/rc6.d/K20wicd ./etc/rc0.d/K20wicd ./etc/rc4.d/S20wicd ./etc/rc1.d/K20wicd ./etc/xdg/autostart/wicd-tray.desktop.disable ./etc/xdg/autostart/wicd-tray.desktop ./etc/rc3.d/S20wicd ./etc/init.d/wicd ./etc/dbus-1/system.d/wicd.conf ./etc/wicd ./etc/rc2.d/S20wicd ./etc/rc5.d/S20wicd ./etc/default/wicd ./home/user/.wicd ./usr/bin/wicd-client ./usr/bin/wicd-gtk ./usr/share/app-install/desktop/wicd.desktop ./usr/share/app-install/icons/wicd-gtk.png ./usr/share/icons/hicolor/64x64/apps/wicd-gtk.png ./usr/share/icons/hicolor/96x96/apps/wicd-gtk.png ./usr/share/icons/hicolor/128x128/apps/wicd-gtk.png ./usr/share/icons/hicolor/scalable/apps/wicd-gtk.svg ./usr/share/icons/hicolor/48x48/apps/wicd-gtk.png ./usr/share/icons/hicolor/16x16/apps/wicd-gtk.png ./usr/share/icons/hicolor/32x32/apps/wicd-gtk.png ./usr/share/icons/hicolor/22x22/apps/wicd-gtk.png ./usr/share/locale/et/LC_MESSAGES/wicd.mo ./usr/share/locale/he/LC_MESSAGES/wicd.mo ./usr/share/locale/ast/LC_MESSAGES/wicd.mo ./usr/share/locale/el/LC_MESSAGES/wicd.mo ./usr/share/locale/ml/LC_MESSAGES/wicd.mo ./usr/share/locale/en/LC_MESSAGES/wicd.mo ./usr/share/locale/kk/LC_MESSAGES/wicd.mo ./usr/share/locale/eu/LC_MESSAGES/wicd.mo ./usr/share/locale/pt_BR/LC_MESSAGES/wicd.mo ./usr/share/locale/pl/LC_MESSAGES/wicd.mo ./usr/share/locale/it/LC_MESSAGES/wicd.mo ./usr/share/locale/gl/LC_MESSAGES/wicd.mo ./usr/share/locale/hu/LC_MESSAGES/wicd.mo ./usr/share/locale/uk/LC_MESSAGES/wicd.mo ./usr/share/locale/zh_CN/LC_MESSAGES/wicd.mo ./usr/share/locale/vi/LC_MESSAGES/wicd.mo ./usr/share/locale/sr/LC_MESSAGES/wicd.mo ./usr/share/locale/tr/LC_MESSAGES/wicd.mo ./usr/share/locale/nl/LC_MESSAGES/wicd.mo ./usr/share/locale/sk/LC_MESSAGES/wicd.mo ./usr/share/locale/pt/LC_MESSAGES/wicd.mo ./usr/share/locale/eo/LC_MESSAGES/wicd.mo ./usr/share/locale/cs/LC_MESSAGES/wicd.mo ./usr/share/locale/zh_TW/LC_MESSAGES/wicd.mo ./usr/share/locale/ka/LC_MESSAGES/wicd.mo ./usr/share/locale/ko/LC_MESSAGES/wicd.mo ./usr/share/locale/ja/LC_MESSAGES/wicd.mo ./usr/share/locale/nn/LC_MESSAGES/wicd.mo ./usr/share/locale/fi/LC_MESSAGES/wicd.mo ./usr/share/locale/sv/LC_MESSAGES/wicd.mo ./usr/share/locale/fr/LC_MESSAGES/wicd.mo ./usr/share/locale/ru/LC_MESSAGES/wicd.mo ./usr/share/locale/ar_EG/LC_MESSAGES/wicd.mo ./usr/share/locale/nb/LC_MESSAGES/wicd.mo ./usr/share/locale/hr/LC_MESSAGES/wicd.mo ./usr/share/locale/sl/LC_MESSAGES/wicd.mo ./usr/share/locale/lt/LC_MESSAGES/wicd.mo ./usr/share/locale/id/LC_MESSAGES/wicd.mo ./usr/share/locale/zh_HK/LC_MESSAGES/wicd.mo ./usr/share/locale/ro/LC_MESSAGES/wicd.mo ./usr/share/locale/da/LC_MESSAGES/wicd.mo ./usr/share/locale/lv/LC_MESSAGES/wicd.mo ./usr/share/locale/es/LC_MESSAGES/wicd.mo ./usr/share/locale/fa/LC_MESSAGES/wicd.mo ./usr/share/locale/te/LC_MESSAGES/wicd.mo ./usr/share/locale/de/LC_MESSAGES/wicd.mo ./usr/share/locale/bg/LC_MESSAGES/wicd.mo ./usr/share/locale/ca/LC_MESSAGES/wicd.mo ./usr/share/applications/wicd.desktop ./usr/share/menu/wicd-gtk ./usr/share/pixmaps/wicd-gtk.xpm ./usr/share/pixmaps/wicd ./usr/share/doc/wicd-daemon ./usr/share/doc/wicd-gtk ./usr/share/doc/python-wicd ./usr/share/doc/wicd ./usr/share/pyshared/wicd-1.7.2.4.egg-info ./usr/share/pyshared/wicd ./usr/share/man/man5/wicd-wireless-settings.conf.5.gz ./usr/share/man/man5/wicd-manager-settings.conf.5.gz ./usr/share/man/man5/wicd-wired-settings.conf.5.gz ./usr/share/man/nl/man5/wicd-wireless-settings.conf.5.gz ./usr/share/man/nl/man5/wicd-manager-settings.conf.5.gz ./usr/share/man/nl/man5/wicd-wired-settings.conf.5.gz ./usr/share/man/nl/man8/wicd.8.gz ./usr/share/man/nl/man1/wicd-client.1.gz ./usr/share/man/nl/man1/wicd-gtk.1.gz ./usr/share/man/man8/wicd.8.gz ./usr/share/man/man1/wicd-client.1.gz ./usr/share/man/man1/wicd-gtk.1.gz ./usr/share/python/runtime.d/wicd-daemon.rtupdate ./usr/share/python/runtime.d/wicd-gtk.rtupdate ./usr/share/wicd ./usr/share/wicd/gtk/wicd-client.pyc ./usr/share/wicd/gtk/wicd.ui ./usr/share/wicd/gtk/wicd-client.py ./usr/share/wicd/daemon/wicd-daemon.pyc ./usr/share/wicd/daemon/wicd-daemon.py ./usr/share/bug/wicd-daemon ./usr/share/bug/wicd-gtk ./usr/share/bug/python-wicd ./usr/share/bug/wicd ./usr/sbin/wicd ./usr/lib/pm-utils/sleep.d/55wicd ./usr/lib/python2.6/dist-packages/wicd-1.7.2.4.egg-info ./usr/lib/python2.6/dist-packages/wicd ./usr/lib/python2.7/dist-packages/wicd-1.7.2.4.egg-info ./usr/lib/python2.7/dist-packages/wicd
Tags |
beta, debian, easy debian, extras-devel, fremantle, i <3 qole, squeeze |
|
Thanks for sharing that info! Unfortunately I'm no graphics expert at all, so I can't help you here.
Unfortunately I have no idea so far how to fix it. Did quassel via debbie work fine in earlier images?
quick and dirty:
Compared to the Lenny->Squeeze upgrade this time the dist-upgrade was even harder because I couldn't do it on device at all since the watchdog always rebooted my N900 at some point even with your (or freemangordon's) swap settings.
So I set up a Debian armel machine in qemu (I just copied kernel and initrd from [2]). If you have some other armel/hf hardware without a watchdog (e.g. Raspberry PI) I suggest to use that instead of qemu!
In that armel system I mounted the Squeeze Easy Debian image (make sure to mount all the ED bind mounts too - for reference you can check what's mounted in Maemo when ED is running).
After that's done it's pretty straight forward: chroot into the image, upgrade your sources.list and just do the dist-upgrade.
Once this is done you can copy the image back to your N900, as usual copy the xkb folder from Maemo into the image and install the patched pulseaudio packages (or patch them yourself the way I described in my last post if you prefer that).
Please let me know if you need further information! I'd like to have the final description in the wiki in a form that makes every advanced Debian user able to reproduce it.
[1] http://packages.debian.org/wheezy/quassel
[2] http://people.debian.org/~aurel32/qemu/armel/