Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Debian] ANNOUNCE: Easy Debian For Everyone! OpenOffice, Firefox 3, Java, AbiWord, IceWM, etc

    Closed Thread
    Page 14 of 39 | Prev | 4   12     13   14   15     16   24 | Next | Last
    Darken | # 131 | 2008-07-19, 16:33 | Report

    I successfully modifed xmodmap from .icewm/startup file.

    But I still have a problem with stylus and applications running in debian chroot. I can't simulate rightclick.

    I installed tslib, libgtkstylus and add export GTK_MODULES=libgtkstylus.so into /usr/bin/xpice

    Then I tried to start xephyr with -mouse tslib argument, but I got this error message:

    Couldn't find pointer driver tslib

    It even does not work in debian, where Xomap runs well.

    It seems to me, that Xephyr just can't handle pointer drivers, but Xomap can. Is that right?

    If yes, I was able to start second Xomap on screen :1. It should be possible to somehow define exotic combination of characters to switch among xservers. Is that right?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Darken; 2008-07-20 at 01:55.

     
    Darken | # 132 | 2008-07-20, 02:16 | Report

    Or, another way I found now: When you don't need IceWM and you only need to launch app on maemo desktop, you should run app this way (in chroot)

    export DISPLAY=:0
    export GTK_MODULES=libgtkstylus.so
    abiword

    And right click works fine, at least in Xomap

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to Darken For This Useful Post:
    Benson, debernardis, fatalsaint, qole

     
    debernardis | # 133 | 2008-07-20, 05:02 | Report

    Originally Posted by Darken View Post
    export GTK_MODULES=libgtkstylus.so
    Thanks for this neat trick to get right click in gtk apps! Unfortunately, in thoose only it seems.

    EDIT: however, quite luckily, new versions of openoffice.org seem to do nicely without the right mouse key, because every menu voice in the right click menu appears to be duplicated in the main menus.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by debernardis; 2008-07-20 at 10:49.

     
    Darken | # 134 | 2008-07-20, 10:39 | Report

    You are right, I was too busy playing with gtk apps, I forget that are that there are also other widgets . Anyway, I hope, it will be usefull.

    What about the idea with two Xomap servers and switching among then? Does anybody know where this key combinations are defined?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qole | # 135 | 2008-07-20, 11:03 | Report

    The question is not, "how do I switch between X servers," but, "how do I switch between displays?" I was using Xephyr because it puts a virtual display :1 on top of display :0 ... is there another way to get to :1?

    The only other way I'm aware of is starting a VNC server in the chroot and then using maemo VNC from the garage. You can then use the + hardware button as right-click. You can also define a desktop that is vertically larger than the tablet's screen using the -geometry parameter. (I like -geometry 770x770 because you get a single vertical scrollbar when you are fullscreen)

    Darken, I am going to include your GTK right-click tip in my next version.

    As far as I know, there is no way to simulate right click in non-GTK apps without some kind of hack. Somebody suggested using evrouter from the usbmouse package, others have come up with solutions involving a script that toggles right-click when you press a button, but there really is no nice solution for this. It is a problem that is far bigger than which X server you are using...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qole | # 136 | 2008-07-20, 11:07 | Report

    The mention of VNC reminds me that I should thank the mysterious "megami" for getting me into the whole Debian chroot thing in the first place, back in January.

    Here is his teaser screenshot post, and then here's his explanation post. He even wrote up a wiki article on the subject.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Darken | # 137 | 2008-07-20, 14:22 | Report

    Well, when you lauch new Xomap server on :1, displays on tablet are change. So you can do something simular like this

    in maemo:

    Xomap -mouse tslib (--other params) :1

    in debian chroot:

    export GTK_MODULES=libgtkstylus.so
    export DISPLAY=:1
    xsetroot
    icewm

    And you can enjoy maemo X server without xephyr. After you exit :1 server, you are back in default maemo enviroment.

    Problem I found:

    2] I tried to enable display switch, using xmodmap and I mapped switch signal to +/- button on top of tablet.
    Originally Posted by
    keycode 73 = XF86_Switch_VT_7
    keycode 74 = XF86_Switch_VT_8
    According to xev, action si send, but Xomap ignore it. Maybe it's somehow connected with Xomap paratemer -switchCmd Command to execute on vt switch but I am not able to find more about this argument.

    Advantage is, you can use your window manager with stylus support (at least in apps which support them. XFCE and other gtk2 managers should be fine. Who will try to install gnome? )

    It's quite dirty solution now, I will try to wrap it into some nice script

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Darken | # 138 | 2008-07-20, 14:30 | Report

    Originally Posted by qole View Post
    Darken, I am going to include your GTK right-click tip in my next version.
    Then don't forget add libgtkstylus package to default image

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Darken For This Useful Post:
    qole

     
    qole | # 139 | 2008-07-20, 15:20 | Report

    Originally Posted by Darken View Post
    I tried to start xephyr with -mouse tslib argument, but I got this error message:

    Couldn't find pointer driver tslib

    It even does not work in debian, where Xomap runs well.

    It seems to me, that Xephyr just can't handle pointer drivers, but Xomap can. Is that right?
    I did a lot of research (at 3am) on this, maybe you're not using the right format? There are a lot of multi-seat tutorials that have a script that can use the -mouse parameter in Xephyr... Everything I've seen suggests that the -mouse parameter doesn't enable any new features (except enabling extra mouse buttons), it just selects between inputs listed here:
    Code:
    cat /proc/bus/input/devices
    On the other hand, lots of people seem to be complaining, as you do, of missing support for mouse features, so maybe you're right, Xephyr just won't be able to do it without patches...

    Originally Posted by Darken View Post
    Advantage is, you can use your window manager with stylus support (at least in apps which support them. XFCE and other gtk2 managers should be fine. Who will try to install gnome?
    Has anyone tried setting up libgtkstylus.so and then running xfce4 on Xephyr? Maybe the problem is the WM?


    Anyway, this is definitely a conversation for the advanced thread.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to qole For This Useful Post:
    Darken

     
    Darken | # 140 | 2008-07-20, 15:32 | Report

    Thank you for your help. It seems that mouse parameter for Xephyr mean something different that mouse parameterThe parameter -mouse tslib works fine for Xomap.

    In xomap, the argument port mouse parameter, is mouse driver (touch screen in our case). The xephyr help screen says also:

    Originally Posted by
    -mouse driver [,n,,options] Specify the pointer driver and its options (n is the number of buttons)
    But in tutorials you sent, they uset input device file instead of driver

    Originally Posted by
    Has anyone tried setting up libgtkstylus.so and then running xfce4 on Xephyr? Maybe the problem is the WM?
    WM is not the problem, because I was able to use stylus in gtk2 apps in icewm under Xomap

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Darken; 2008-07-20 at 15:37.

     
    Page 14 of 39 | Prev | 4   12     13   14   15     16   24 | Next | Last
vBulletin® Version 3.8.8
Normal Logout