mvnForum Homepage

Print at Nov 20, 2017 5:48:38 PM View all posts in this thread on one page
Posted by Yapper at Feb 7, 2009 9:01:51 AM
Launch a specific session of gnomeswor from a command-line
Hello every body

I use GnomeSword 2.4.1 (thanks this repository: 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]

Posted by ransom1982 at Feb 8, 2009 9:28:19 AM
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

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 as that is watched more closely than this forum.