View previous topic :: View next topic |
Author |
Message |
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Thu Mar 15, 2007 8:34 am Post subject: |
|
|
I also have the 'line feeds' from time to time, I just don't know why :/
Anyway, it may be due to how setarch works, may be once it has started the wine process, it exits (that would explain why the Xsession also closes itself).
I'm not sure! This is just a test, could you try to add something like [i)sleep 300[/i] in your wc3 script ?:
Code: | #! /bin/bash
setarch i386 -X wine ~/.wine/drive_c/Program\ Files/Warcraft\ III/Frozen\ Throne.exe -opengl
sleep 300 |
and try launching it again, and tell me what happens? _________________ The End of the Internet! |
|
Back to top |
|
|
manojpm n00b
Joined: 11 Mar 2006 Posts: 33
|
Posted: Thu Mar 29, 2007 4:06 pm Post subject: |
|
|
how do i start cstrike under wine using xlaunch??
i tried "xlaunch wine hl.exe -game cstrike" while in the installation folder of cstrike , it gives me : "Unknown id: hl.exe"
then i made a script called "startcs" which had "wine hl.exe -game cstrike" . this time, counter strike starts but displays a dialog(possibly asking cd key) with no text( i had solved this(no text) problem by copying some windows ttf fonts to wine dir to get it working normally). if i close it, game closes.
wine hl.exe -game strike works normally. but when i run thru xlaunch, i get this strange prob. any idea? |
|
Back to top |
|
|
Sedrik l33t
Joined: 08 Apr 2005 Posts: 655 Location: Uppsala, Sweden
|
Posted: Wed May 09, 2007 5:39 pm Post subject: |
|
|
I just want to say, THANKS
This is wounderfull. Now I can play Diablo 2 and still get access to firefox without problems Happy mephing _________________ From Gentoo with love |
|
Back to top |
|
|
KevinLarson Tux's lil' helper
Joined: 23 Sep 2005 Posts: 126 Location: Chaimpaign, IL
|
Posted: Thu Jun 07, 2007 4:06 pm Post subject: |
|
|
I was using xlauch to play starcraft, but I also used it (with a special xorg.conf) to use mplayer on my tv. This worked beautifully for a few months then suddenly stopped working. Instead of mplayer popping up on the tv, a new x session is opened on my computer monitors and I see the error after the normal mplayer text:
Quote: |
FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing.
xinit: connection to X server lost.
MPlayer interrupted by signal 1 in module: unknown
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug
[/ | quote]
I'm not sure whether it was an emerge of x or what. I have the same problem when trying to use mplayer-bin and xine as well so I dont think it is mplayer. |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Thu Jun 07, 2007 5:14 pm Post subject: |
|
|
well, I've just downloaded latest xlaunch, (dunno which versio you're using right now)
Quote: | xlaunch mplayer path/to/film
=> works
xlaunch mplayer path/to/film\ with\ space
and
xlaunch mplayer "path/to/film with space"
=> also works |
I don't know what can be wrong, which version are you using?
I've just changed a little thing about space handling, but this change should affect you only if you're using the "xplayer" features. and this is probably not the case:)
Code: | --- xlaunch.orig 2007-04-18 15:30:01.000000000 +0200
+++ xlaunch 2007-06-07 19:03:13.000000000 +0200
@@ -6,7 +6,7 @@
# commented so you should be able to easily use it.
# See forum thread http://forums.gentoo.org/viewtopic-t-483004.html for more explanation.
#
-VERSION=20070418
+VERSION=20070607
#########
# ======= configuration ======= #
@@ -320,7 +320,7 @@ if [ "x${XPLAYER}" != "x" ]; then
fi
echo "Launching ${FULL_PROG_NAME##*/} as user: ${XPLAYER}"
- sudo su - ${XPLAYER} -l -c "FULL_PROG_NAME=\"${FULL_PROG_NAME}\" ${XLAUNCH_PATH:-${0}} ${*// /\\ }"
+ sudo su - ${XPLAYER} -l -c "FULL_PROG_NAME=\"${FULL_PROG_NAME}\" ${XLAUNCH_PATH:-${0}} \"${@}\""
exit $?;;
error) |
I'm not really sure how I can help _________________ The End of the Internet! |
|
Back to top |
|
|
KevinLarson Tux's lil' helper
Joined: 23 Sep 2005 Posts: 126 Location: Chaimpaign, IL
|
Posted: Sun Jun 17, 2007 12:06 am Post subject: |
|
|
result of typo
Last edited by KevinLarson on Sun Jun 17, 2007 12:35 am; edited 1 time in total |
|
Back to top |
|
|
KevinLarson Tux's lil' helper
Joined: 23 Sep 2005 Posts: 126 Location: Chaimpaign, IL
|
Posted: Sun Jun 17, 2007 12:15 am Post subject: |
|
|
Nevermind, got it working. |
|
Back to top |
|
|
KevinLarson Tux's lil' helper
Joined: 23 Sep 2005 Posts: 126 Location: Chaimpaign, IL
|
Posted: Sun Jun 17, 2007 1:11 pm Post subject: |
|
|
Code: | $ xlaunch mplayer -fs \[Lunar\]\ Gigantic\ Formula\ -\ 09\ \[x264\]\[FCF81670\].mkv |
Does not work properly and displays:
Quote: | xrdb: "XTerm*boldMode" on line 19 overrides entry on line 3
|
while:
Code: | $ xlaunch mplayer -fs \[A-Kraze\]_Seirei_no_Moribito_-_10_\[2F5AEA97\].mkv |
works flawlessly. I'm not sure whether this has to do with spaces, symbols, or what, but I thought you would like to know. |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Sun Jun 17, 2007 1:32 pm Post subject: |
|
|
Code: | xrdb: "XTerm*boldMode" on line 19 overrides entry on line 3 |
this looks more like a problem in one of these files Code: | Xresources="${HOME}/.Xresources ${HOME}/.Xdefaults ${xinitdir}/Xresources ${xinitdir}/Xdefault" |
That's not really a problem though _________________ The End of the Internet! |
|
Back to top |
|
|
Warhead Tux's lil' helper
Joined: 09 Oct 2003 Posts: 122 Location: Verden, near Bremen, Germany
|
Posted: Wed Jul 04, 2007 6:12 pm Post subject: |
|
|
Imagine the following: I have an X session running on display 0 in which i started a teamspeak client. I configured teamspeak to use push-to-talk, since voice activation sometimes results in inappropriate results. Now I start a game with xlaunch on display 1. I do that, because some games do not work well with beryl and I want do be able to switch back to my desktop to have a look on my instant manager from time to time. Is there a way to get the event of the keystroke or pointerbutton I use to activate the microphone to the teamspeak appilcaton on the other display?
Regards
Warhead _________________ To Rome said Nero: "If to smoke you turn
I shall not cease to fiddle while you burn."
To Nero Rome replied: "Pray do your worst,
'Tis my excuse that you were fiddling first."
--Orm Pludge |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Wed Jul 04, 2007 8:51 pm Post subject: |
|
|
if this action can be made with the command line, then you probably can configure a daemon like xbindkeys to bind that command to a key _________________ The End of the Internet! |
|
Back to top |
|
|
chrsin n00b
Joined: 18 May 2006 Posts: 13
|
Posted: Thu Aug 16, 2007 5:43 pm Post subject: |
|
|
You should make you script able to use a config file, and then contact the games maintainer group. it would be very easy for them to add a xlaunch use flag, which would make a game use your xlauncher.
Would be a great addition to the games section as the ALT-TAB is something a lot of users are missing
Great work with that script! |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Thu Aug 16, 2007 5:56 pm Post subject: |
|
|
yeah, a while ago, I wanted to learn lisp, because
1) it looks interesting
2) a xlaunch configuration file can be rather complicated, and I think lisp could be usefull
but.. Never took the time to look deeper at it.
I'll try to think about this. Feel free to give me some other ideas!
Thanks for the feedback _________________ The End of the Internet! |
|
Back to top |
|
|
J.M.I.T. Guru
Joined: 15 Jan 2003 Posts: 481 Location: München, Germany
|
Posted: Thu Dec 20, 2007 8:29 pm Post subject: |
|
|
hi, the download link is broken... could you please fix it, or could someone post the script itself? I would love to try it, but can't find it anywhere... _________________ Get a life...
Use at own risk... |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
|
Back to top |
|
|
genry n00b
Joined: 08 Jul 2015 Posts: 1
|
Posted: Wed Jul 08, 2015 11:32 pm Post subject: |
|
|
Can anyone give link to this awesome script? |
|
Back to top |
|
|
|