|
Page 21 of 30 |
|
Prev |
11 19 20 21
22 23
|
Next
| Last
Re: Odds and ends
I'm launching SCUMM with an invisible touch screen area on the entire right side of the game screen.
When clicking on this area, it brings up the big keyboard for input. Here's my launch script. #! /bin/sh rm /tmp/xkbd2.pid killall xbindkeys xbindkeys -f /home/user/.xbindkeysrc_scumm xkbd -geometry +720+65536 -k /media/mmc2/N800/Keyboards/scummside.xkbd & /opt/scummvm/bin/scummvm killall xbindkeys killall xkbd xbindkeys In Personal Menu, I have Command to execute /usr/bin/scummkeyboard This works just fine but it doesn't get added to the Task Manager. If I hit the Home key, it doesn't show. The only way to go from one app and back to SCUMM again is by using that old Quickswitch script "matchbox-remote -next" that I have set with my Escape key. Any ideas on how to get my startup script to have it's own place in the Task Manager? |
Re: Odds and ends
Well, I think I'm almost out of questions since I'm losing most of my steam here. :)
But for now, I really would like this one answered if possible. I finally have a great Xbindkey setting. Code:
"matchbox-remote -next"Very nice. However, I'm trying to package this all together into one script. This is what I currently have. Code:
killall xbindkeysThis works, but it's really gross looking. http://img577.imageshack.us/img577/9...1111602164.png Not all of the settings get loaded when using "xmms -p". In Personal Menu, the default is to launch it like this. bin/sh -c "LC_MESSAGES=C LANG=C /usr/bin/xmmsctrl launch main 0 equalizer 0 play_list 0 main 1" This however doesn't do anything if I insert it into my script. What I would love is to launch Xmms and have it minimized, display the Playlist Editor in Playlist WindowsShade mode, and to have it immediately start to play the current play list. After you close Xmms, to have it also kill xbindkeys as well. Any help? This one has me confused. |
Re: Odds and ends
Quote:
Google for "man xmms" and play around with its options. If it doesn't do everything that xmmsctrl does then try the following in your script: ... (sleep 2; xmmsctrl ...options...) & xmms ... That will fork another shell that sleeps for 2 seconds and then runs xmmsctrl. While it is sleeping your script will launch xmms so don't tell xmmsctrl to launch it. If it takes more than 2 seconds for xmms to launch then increase the sleep. You can combine xmmsctrl with the xmms options to get the window mostly in whatever state you want and then xmmsctrl can finish off with anything not supported by the xmms options. |
Re: Odds and ends
^ Okay.
Off to do some Googling. Thanks! :) |
Re: Odds and ends
Okay.
There's really no launch options with Xmms, just key bindings. Example: Playlist winshade mode is Shift + Control + w Here's my current script. Code:
killall xbindkeysSo that script, xmms, and xmmsctrl launch in xterm, none of these will load the menu font. Ah nuts. |
Re: Odds and ends
Well, in the menu system, if I click on Playlist Windowshade mode to keep that setting, this does the trick.
xmmsctrl launch main 0 play_list 1 play But still, no menu font for some reason after launching it this way. |
Re: Odds and ends
One other thing.
xmmsctrl title Is there anything I can do with this? Like have the output go to the desktop background and being able to set the font, size, and color or something? That would be awesome. :) |
Re: Odds and ends
Quote:
|
Re: Odds and ends
Okay.
I see what you're saying. 2 seconds is too short but 3 seconds does the trick. Code:
(sleep 3; xmmsctrl main 0 play_list 1 play) & xmmsI don't get it. |
Re: Odds and ends
Quote:
Code:
(sleep 3; xmmsctrl main 0 play_list 1 play) & |
| All times are GMT. The time now is 21:02. |
Page 21 of 30 |
|
Prev |
11 19 20 21
22 23
|
Next
| Last
vBulletin® Version 3.8.8