Help - Search - Members - Calendar
Full Version: Zaurus Remote
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
omega
Hi all,

No doubt those of you who have used the zaurus remote with pdaxrom and xmms have noticed a response lag... By changing the keyboard map from XF86Prev to the letter z for example the response is much quicker...

It requires you to leave the window focus on xmms, but for me that is not an issue.

BTW, I suggest you leave XF86Play alone as it works as play / pause which is two seperate keys (x, c).
omega
has anyone used this mod?
Martin
Hi omega,

yes I have the same problem ... I use the remote to control my xmms mp3 playback ... and response is terrible slow ... something about 1 second or more :-( ...

... but why ? is it not better to ask why this is so terrible slow, insteed of changing only the keymapping to normal chars?

but of course I have no idea why this happens :-(

Martin
pgas
I can explain the difference:

As it is the remote sends some keyevents (defined in /etc/X11/corgi.xmodmap)
that are captured by the wm (openbox) which executes a command corresponding to the key, for instance xmms -f (for forward) it then communicates with the existing instance of xmms . The keybindings of openbox are defined in /etc/xdg/openbox/rc.xml.

In the case of omega, the key events are sent directly to the xmms window, which seems to be a much faster solution, but it doesn't work if the xmms window does not have the focus.

(maybe you can try the xmmsctrl plugin, and replace the xmms calls in rc.xml by the relevant xmmctrl calls and try to see if it is faster)
Christoph
Hi,

I think the problem remains the same, if you use xmmsctrl or xmms directly.
For each key pressed a shell is opened and the apropriate command is executed, which
is done often if you press the key responsible for the volume.
That was exactly the reason I made
Fvwm-xmmsctrl
Your can bind keys to fvwm commands that are send (via pipe) to the module and so further on to xmms. No program nor shell to start.
It is way more responsive than other things I tried (xmmsctrl, xmms, xmms-pipe...).

Ok, you would have to use fvwm...
But there is always a drawback tongue.gif.

Christoph
Zumi
QUOTE(Christoph @ Jul 7 2005, 09:38 PM)
Hi,
[...]
Ok, you would have to use fvwm...
But there is always a drawback  tongue.gif.

Christoph
*
I don't see the drawback here. huh.gif biggrin.gif Fvwm simply rocks. Half the memory consumption, double the functionality compared to matchbox.

Oh, and all the fvwm users out there, I'm preparing a fresh bunch of scripts to ease your fvwm-pdaxrom life: autogenerated rootmenu (identical to the matchbox menu), silkscreen button support, working portrait/landscape/closed switch, new taskbar applet!

(Sorry for hijacking the topic. I stop it now.)
Zumi smile.gif
Martin
Hi pgas, Hi Christoph, Hi Zumi,

thanks for detailed explenation on xmms-remote function with xmms commands, xmms-pipe, xmms-ctrl ...

is there a fast work aroud to set fvwm as window manager without making too much changes ... maybe there's a little howto which files pkg will be needed. Which files to modify ...

A strange problem is the menu structure for fvwm to look like original menu ... only via manual work I think,, or is there a automatic generation ... what about package manager generating the new entries and icons, *.desktop files?

Thanks
Martin
Zumi
QUOTE(Martin @ Jul 8 2005, 07:27 AM)
Hi pgas, Hi Christoph, Hi Zumi,

thanks for detailed explenation on xmms-remote function with xmms commands, xmms-pipe, xmms-ctrl ...

is there a fast work aroud to set fvwm as window manager without making too much changes ... maybe there's a little howto which files pkg will be needed. Which files to modify ...

A strange problem is the menu structure for fvwm to look like original menu ... only via manual work I think,, or is there a automatic generation ... what about package manager generating the new entries and icons, *.desktop files?

Thanks
Martin
*

There's pdaxrom-fvwm version 0.2 in the unstable feed, but don't start to use it now.
I've written that script that generates standard menu from *.desktop files and other convenient things too, and the only thing you will have to do is rename one file and everything will be set up, and will almost look like matchbox was. I will make an ipk from it in a day or two, I just need to finalize 2-5 features in it that are just dirty hacks now. smile.gif

Zumi

(Sorry for hijacking the topic again, I don't want to make this like "Ok, Kde Works; What About Gnome?" that is about Xfce support tongue.gif, so I stop saying things about fvwm _now_. smile.gif)
Christoph
Hi martin (and perhaps others who are interested),

after you've installed zumi's ipk's, install the ipk below.
It is a version of the fvwm-xmms-ctrl that honours the keys of the remote
control (I hope as I can not test it).
After installation, do a
FvwmCommand "Read ConfigFvwmXMMSCtrl"
FvwmCommand "StartXMMSPlayer"

in an a- or xterm


You will not see any windows. To toggle the different xmms-windows you can
do
FvwmCommand "XMMSCommand main 1"
FvwmCommand "XMMSCommand playlist 1"
FvwmCommand "XMMSCommand equalizer 1"

in an a- or xterm. A "0" will hide the windows.

If you feel more comfortable with fvwm's configuration you can add
Read ConfigFvwmXMMCtrl
somewhere in ~/.fvwm/.fvwm2rc
(At the beginning e.g.)
And if you feel even more comfortable wink.gif with fvwm you can try do
add the menu called "XMMSMenu" somewhere.
There you can play,stop, start, quit, etc.

To see how it looks you also can do
FvwmCommad "Menu XMMSMenu"

in an a- or xterm.

@zumi
There is at least one drawback, IMHO:
fvwm doesn't know anything about rotation.
If you have a solution...

Christoph
Zumi
QUOTE(Christoph @ Jul 8 2005, 12:38 PM)
[...]
@zumi
There is at least one drawback, IMHO:
fvwm doesn't know anything about rotation.
If you have a solution...

Christoph
*

I have. It's not a 100% solution, but, let's say it's 70% and counting. smile.gif
It's some playing with chkhinge (included in the default install) and FvwmCommand. I will make the ipk and a working solution will be included.

Zumi
(Oh my, another offtopic post by me smile.gif)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.