Re: [Freevo-users] Auto executing scripts in freevo? (Was: Re: ATI Remote and Keybindings)

2005-02-15 Thread Tanja Striepling
freevo-users@lists.sourceforge.net schrieb am 15.02.05 02:20:46:
> 
> ok, a little digging around, and i found starting X11 first
> then execute xmodmap -e "keycode 54 = Escape" gave me the desired
> result, but for some reason Debian isnt looking at .xmodmap or
> /etc/X11/xinit/ or even when i specify  it in ~/.xinitrc, so it only
> works when X11 is actually up. Ok, is there an auto exec setup if you
> start freevo? I like to have a startup script that executes, during
> freevo's booting, is this possible?
> 
> 

Hi

maybe this is what you are looking for:
OSD_SDL_EXEC_AFTER_STARTUP
and
OSD_SDL_EXEC_AFTER_CLOSE 
in local_conf.py

I use the first variable to execute a script to configure my tv-out. 
That also has to be done while X is already running.
The script is executed during freevo's startup.

Hope that helps
Greetings
Tanja



__
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Auto executing scripts in freevo? (Was: Re: ATI Remote and Keybindings)

2005-02-14 Thread RPBrown
ok, a little digging around, and i found starting X11 first
then execute xmodmap -e "keycode 54 = Escape" gave me the desired
result, but for some reason Debian isnt looking at .xmodmap or
/etc/X11/xinit/ or even when i specify  it in ~/.xinitrc, so it only
works when X11 is actually up. Ok, is there an auto exec setup if you
start freevo? I like to have a startup script that executes, during
freevo's booting, is this possible?


On Sat, 12 Feb 2005 10:41:34 +1300, RPBrown <[EMAIL PROTECTED]> wrote:
> The remote works, up and down and 'ok' works (the default settings),
> but every other binding isnt working, have I missed something with my
> configuration?
> 
> mediabawx:/etc/freevo# cat local_conf.py | grep EVENT
> # EVENTS['video']['1'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='contrast -100')
> EVENTS['menu']['54'] = Event(MENU_BACK_ONE_MENU)
> EVENTS['menu']['222'] = Event(MENU_GOTO_MAINMENU)
> EVENTS['video']['54'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='quit')
> EVENTS['video']['152'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='seek -200')
> EVENTS['video']['233'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='seek +200')
> EVENTS['video']['110'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='pause')
> EVENTS['video']['232'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='pause')
> EVENTS['video']['36'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='pause')
> EVENTS['video']['165'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='volume -1')
> EVENTS['video']['158'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='volume 1')
> EVENTS['video']['166'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='mute')
> EVENTS['video']['10'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='contrast -1')
> EVENTS['video']['11'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='contrast 1')
> EVENTS['video']['12'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='brightness -1')
> EVENTS['video']['13'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='brightness 1')
> EVENTS['video']['100'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='seek -10')
> EVENTS['video']['98'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='seek +30')
> EVENTS['video']['104'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='seek -30')
> EVENTS['video']['102'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='seek +10')
> EVENTS['video']['222'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='quit')
> 
> mediabawx:/etc/X11/xinit# cat xinitrc
> xmodmap -e keycode 54 = esc
> xmodmap -e keycode 222 = esc
> xmodmap -e keycode 110 = space
> xmodmap -e keycode 168 = Return
> xmodmap -e keycode 222 = Power
> xmodmap -e keycode 166 = Mute
> xmodmap -e keycode 110 = Pause
> xmodmap -e keycode 152 = Rewind
> xmodmap -e keycode 233 = Forward
> # directional
> xmodmap -e keycode 36 = Ok
> xmodmap -e keycode 233 = Up
> xmodmap -e keycode 152 = Down
> xmodmap -e keycode 100 = Left
> xmodmap -e keycode 102 = Right
> #Volume
> xmodmap -e keycode 165 = v
> xmodmap -e keycode 158 = j
> #Contrast/Brightness
> xmodmap -e keycode 10 = 1
> xmodmap -e keycode 11 = 2
> xmodmap -e keycode 12 = 3
> xmodmap -e keycode 13 = 4
>


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users