Re: [Freevo-users] Running Freevo on second video card

2007-07-08 Thread Duncan Webb
Brian McKee wrote:
 On Thu, 2007-05-07 at 08:51 +0800, Ow Mun Heng wrote:
 On Wed, 2007-07-04 at 17:45 +0200, Duncan Webb wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Brian McKee wrote:
 On 03/07/07, Duncan Webb [EMAIL PROTECTED] wrote:

 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.
 I'm doing the same thing. LEarning Python so that I can start hacking on
 Freevo. (and perhaps contribute :-)

 I'm reading Beginning Python (Wrox)
 
 I'll take a look at that one.

My first Python book was the Learning Python (O'Reilly), it's nicely
written and so easy to read.

 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
 Nice patch. Thanks. (BTW, will this make it into the next revision/svn?)
 
 Bump - please add it going forward - works great!

If you would be so kind as to add a Feature Request for this
http://sourceforge.net/tracker/?func=addgroup_id=46652atid=446898 then
it change gets noted it the ChangeLog for the next release.

Duncan


-
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
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Running Freevo on second video card

2007-07-08 Thread Brian McKee

  freevo -fs -layout Multihead
  Nice patch. Thanks. (BTW, will this make it into the next
 revision/svn?)
  
  Bump - please add it going forward - works great!
 
 If you would be so kind as to add a Feature Request for this
 http://sourceforge.net/tracker/?func=addgroup_id=46652atid=446898 then
 it change gets noted it the ChangeLog for the next release.


Done !


signature.asc
Description: This is a digitally signed message part
-
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
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Running Freevo on second video card

2007-07-06 Thread Brian McKee
On Thu, 2007-05-07 at 08:51 +0800, Ow Mun Heng wrote:
 On Wed, 2007-07-04 at 17:45 +0200, Duncan Webb wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  Brian McKee wrote:
   On 03/07/07, Duncan Webb [EMAIL PROTECTED] wrote:
   
   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.
 I'm doing the same thing. LEarning Python so that I can start hacking on
 Freevo. (and perhaps contribute :-)
 
 I'm reading Beginning Python (Wrox)

I'll take a look at that one.

  
  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
 
 Nice patch. Thanks. (BTW, will this make it into the next revision/svn?)

Bump - please add it going forward - works great!
Thanks Duncan

Brian


signature.asc
Description: This is a digitally signed message part
-
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
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Running Freevo on second video card

2007-07-04 Thread Brian McKee
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.

Thanks
Brian

-
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
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Running Freevo on second video card

2007-07-04 Thread Duncan Webb
-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
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Running Freevo on second video card

2007-07-04 Thread Ow Mun Heng
On Wed, 2007-07-04 at 17:45 +0200, Duncan Webb wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Brian McKee wrote:
  On 03/07/07, Duncan Webb [EMAIL PROTECTED] wrote:
  
  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.
I'm doing the same thing. LEarning Python so that I can start hacking on
Freevo. (and perhaps contribute :-)

I'm reading Beginning Python (Wrox)

 
 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

Nice patch. Thanks. (BTW, will this make it into the next revision/svn?)

-
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
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Running Freevo on second video card

2007-07-02 Thread Ow Mun Heng
On Sat, 2007-06-30 at 21:39 -0400, Brian McKee wrote:
 Hi All
   First post here - please let me know if I'm missing anything etc...
   I'm trying to get Freevo 1.7.2 running on my Ubuntu 6.06.1 box on the
 second video card and monitor.
   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?


I've asked this question before but came to no conclusion..

-
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
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Running Freevo on second video card

2007-07-02 Thread Duncan Webb
 On Sat, 2007-06-30 at 21:39 -0400, Brian McKee wrote:
 Hi All
  First post here - please let me know if I'm missing anything etc...
  I'm trying to get Freevo 1.7.2 running on my Ubuntu 6.06.1 box on the
 second video card and monitor.
  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?


 I've asked this question before but came to no conclusion..

In the freevo script is:
elif arg == '-fs':
# start X server and run freevo, ignore everything else for now
server_num = 0
while 1:
if not os.path.exists('/tmp/.X11-unix/X' + str(server_num)):
break
server_num += 1
sys.stdin.close()
os.execvp('xinit', [ 'xinit', freevo_script, '-force-fs',  '--',
':'+str(server_num) ])

My guess is that you can change the last line to include a server name.

Duncan


-
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
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Running Freevo on second video card

2007-06-30 Thread Brian McKee
Hi All
First post here - please let me know if I'm missing anything etc...
I'm trying to get Freevo 1.7.2 running on my Ubuntu 6.06.1 box on the
second video card and monitor.
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?
Comments appreciated,
Brian


signature.asc
Description: This is a digitally signed message part
-
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
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users