mvnForum Homepage Welcome Guest  | Guest Setting  |  Register  |   Login
  Search  
Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help


»

No member browsing this thread
Thread Status: Active
Total posts in this thread: 2
Post new Thread
Author
Previous Thread This topic has been viewed 2889 times and has 1 reply Next Thread
Male Yapper
Newbie



France
Joined: Nov 20, 2008
Post Count: 9
Status: Offline
Reply to this Post  Reply with Quote 
Launch a specific session of gnomeswor from a command-line

Hello every body

I use GnomeSword 2.4.1 (thanks this repository: http://dominique.corbex.net/gnomesword/ubuntu) on Ubuntu Intrepid Ibex. Besides I use several sessions, for example: session1 and session2 (which I have created thanks to "Save a session" in the ~/.gnomesword/tabs directory).
But when I want to launch a specific session, for example the session "session2", it doesn't work. (I want to make a launcher to launch gnomesword with the session "session2" (and not the last session used)).

That's what I have tried (thanks to the command : "gnomesword --help") :

gnomesword2 session2
gnomesword2 ~/.gnomesword/tabs/session2
gnomesword2 --sm-client-id=session2
gnomesword2 --sm-client-id=~/.gnomesword/tabs/session2

GnomeSword starts with the last session used and not session2 !

What is the ID/PREFIX of a session ?
Why doesn't it work ? (the syntax ? the ID ?)

[i]Sorry for my bad English
I hope you will understand my problem.[/i]
----------------------------------------
[Edit 1 times, last edit by Yapper at Feb 7, 2009 9:03:33 AM]
[Feb 7, 2009 9:01:51 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male ransom1982
Regular




Joined: Sep 28, 2007
Post Count: 75
Status: Offline
Reply to this Post  Reply with Quote 
Re: Launch a specific session of gnomeswor from a command-line

Hi Yapper,

Unfortunately I think what you are trying to do isn't supported. --sm-client-id is a comman-line argument that appears to be added to all gnome apps. In other words, it is not directly support by GnomeSword itself. I have no idea what it means.

However, what you would like to do is an interesting concept, and probably not very hard to add to GnomeSword. I suggest that you add it to our request tracker at https://sourceforge.net/tracker2/?group_id=5528&atid=355528

Also, be advised that we have changed our name to Xiphos and will be releasing Xiphos 3.0 today with many bug fixes and feature enhancements. For support, we encourage the use of our users-mailing list https://lists.sourceforge.net/lists/listinfo/gnomesword-users/ as that is watched more closely than this forum.

Matthew
[Feb 8, 2009 9:28:19 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Show Printable Version of Thread  Post new Thread