navrocky / urtconnector

Automatically exported from code.google.com/p/urtconnector
0 stars 0 forks source link

Checkbox "Launch Urban Terror in 2nd X Session" #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I think this would be much better, than http://code.google.com/p/
urtconnector/wiki/HowToStartGameInSecondXServer

Original issue reported on code.google.com by pozitpoh@gmail.com on 1 Jun 2010 at 12:13

GoogleCodeExporter commented 9 years ago
I think that button "Test another X session for accessibility" may be better 
idea.

This button may do completition on extended launch string.

Original comment by kinna...@gmail.com on 1 Jun 2010 at 5:11

GoogleCodeExporter commented 9 years ago
Button? Maybe checkbox will be better idea?

Original comment by pozitpoh@gmail.com on 1 Jun 2010 at 5:44

GoogleCodeExporter commented 9 years ago
Checkbox is used to switch between state(usually enabled/disabled), but starting
another X-session is dark magic and may differ from linux to linux.

Original comment by kinna...@gmail.com on 1 Jun 2010 at 6:24

GoogleCodeExporter commented 9 years ago
I disagree. From Ubuntu release to Ubuntu release - maybe. I start urt in 2nd X 
session with my script ( http://pozitpoh.is-a-geek.org/projects/urt2x/urt2x.sh 
) from 
XOrg 1.6 (when I totally switch to Linux and erase Windows :P).

Original comment by pozitpoh@gmail.com on 1 Jun 2010 at 6:31

GoogleCodeExporter commented 9 years ago
hm.. may be. It is possible to find any free display number( :1, :2 ... :n ) to 
start
on?
I see that "xinit ${command} :$display" works correct on Gentoo(xorg 1.7.6) and 
Suse
11.2 

Original comment by kinna...@gmail.com on 1 Jun 2010 at 7:05

GoogleCodeExporter commented 9 years ago
exec xinit /usr/bin/mumble-overlay /data/Games/UrbanTerror/ioUrbanTerror.i386 
+connect 
$srvaddr +password $srvpass +name $nick $* -- :1

Works correctly on Gentoo && Archlinux, so (I think) ":1" is a good choice.

Original comment by pozitpoh@gmail.com on 1 Jun 2010 at 7:20

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
ls /tmp -1 -A | grep X | grep lock
 .X0-lock
 .X11-lock
 .X1-lock

"0" is lock file for my generic X-session, 11 and 1 - ":11" and ":1" xinit 
tests.
Suse uses files... Arch?

Original comment by kinna...@gmail.com on 1 Jun 2010 at 7:46

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[00:02] pztrn@pozitpoh.is-a-geek.org [ ~ ] $ ls /tmp -1 -A | grep X
.X0-lock
.X11-unix

But anyway, If ":1" works flawlessly...

Original comment by pozitpoh@gmail.com on 1 Jun 2010 at 8:03

GoogleCodeExporter commented 9 years ago
available for testing( checkbox in prefferences )

Original comment by kinna...@gmail.com on 6 Jun 2010 at 2:28

GoogleCodeExporter commented 9 years ago
Working (rev 189). My commandline:
/usr/bin/mumble-overlay %bin% +set name %name% +connect %addr% +password %pwd%
+rconpassword %rcon% +set fs_game q3ut4

Original comment by pozitpoh@gmail.com on 6 Jun 2010 at 5:01

GoogleCodeExporter commented 9 years ago
Im using xorg 1.8 (forget to mention that) from [testing] Archlinux repo

Original comment by pozitpoh@gmail.com on 6 Jun 2010 at 5:03

GoogleCodeExporter commented 9 years ago

Original comment by navrocky.vlad on 7 Jun 2010 at 7:07

GoogleCodeExporter commented 9 years ago
Ok, another trouble - checkbox do not remember its state @_@

Original comment by pozitpoh@gmail.com on 7 Jun 2010 at 3:45

GoogleCodeExporter commented 9 years ago

Original comment by kinna...@gmail.com on 7 Jun 2010 at 4:55

GoogleCodeExporter commented 9 years ago
plz remove archlinux package from downloads - Im now rebuild it and upload new 
one,
with checkbox fix

Original comment by pozitpoh@gmail.com on 7 Jun 2010 at 5:06