-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brian McKee wrote: > On 03/07/07, Duncan Webb <[EMAIL PROTECTED]> wrote: >> > On Sat, 2007-06-30 at 21:39 -0400, Brian McKee wrote: >> >> Hi All > >> >> Wuth gdm running normally if I do 'freevo -fs' from a console >> it starts >> >> a second X session which is exactly what I want - i just want that >> >> second session to use a different xconf.org or to be able to pass a >> >> different "ServerLayout' to it. Anybody know how to accomplish this? > >> In the freevo script is: >> elif arg == '-fs': >> My guess is that you can change the last line to include a server name. > > > Thanks Duncan > > I'll post back here how I make out. > > On an [OT] note - It's looking like it would be helpful to know a > little python to use freevo better - does anybody have a favourite > "Python for Beginning Idiots" to get me started? Off list probably > better I suppose.
It is rather easy, at least I hope it is. The attached patch should allow you to pass any server arguments that you wish to freevo when run with -fs. eg: (see man startx) freevo -fs -layout Multihead To apply the patch do this: cd $(dirname $(which freevo)) patch -Np0 -i /path/to/patch Duncan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGi8CzNi6l+Xvys44RAnxkAJ92ejsfELzKaExjlvqJSFRvwGUFwgCfUvxi P4EacMsBRSM0lD7ENOAjjpk= =pQH9 -----END PGP SIGNATURE-----
freevo-fs.patch.sig
Description: Binary data
Index: freevo
===================================================================
--- freevo (revision 9740)
+++ freevo (working copy)
@@ -345,7 +345,7 @@
break
server_num += 1
sys.stdin.close()
- os.execvp('xinit', [ 'xinit', freevo_script, '-force-fs', '--', ':'+str(server_num) ])
+ os.execvp('xinit', [ 'xinit', freevo_script, '-force-fs', '--', ':'+str(server_num) ] + sys.argv[2:])
elif arg == 'execute':
# execute a python script
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Freevo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-users
