Hi!

Actually, there are options to minimize X2GoClient to the tray. You just
need to set them once via GUI (or know the proper key=value pairs for
the settings file). These are global options, not per-session options,
though.

Start X2GoClient, Click "Options" in the menu bar, then "Settings".
The first tab, "General", should have all the options you need.
Check the "Display Icon in System Tray" box, this un-greys the four
checkboxes below it, check all of them as well, click "OK".

After that, once X2GoClient is running and has an active session,
published apps can be accessed by right-clicking the tray icon and
selecting the name of the session.
If you don't want X2GoClient to pop up when it doesn't have a running
session, do not check the last of the four checkboxes.

On Linux/macOS, these settings are stored in ~/.x2goclient/settings.
If you check all of the boxes I mentioned, the corresponding section
will look like this:
[trayicon]
enabled=true
mintotray=true
noclose=true
mincon=true
maxdiscon=true

On Windows, these settings are stored $SOMEWHERE in the registry (sorry,
I don't remember the exact path at the moment, but look for
"obviously-nice" in HKCU, it should be somewhere in there), unless you
run X2GoClient in portable mode (--portable), then it will create
session and settings files on Windows as well.

-Stefan


Am 26.10.19 um 14:18 schrieb Fingerless Gloves:
> I'm using Windows (due to steam games I play), so I think I'd have to
> use autohotkey, to get similar options. But I know from experience its
> not always that reliable.
> 
> Hopefully it can be fixed in the next release of the client. 😀
> 
> On 25/10/2019 15:40, Ulrich Sibiller wrote:
>> Sounds like a bug. As a workaround you could instruct your local
>> window manager to minimize the x2go window. kwin offers a lot of
>> options for doing this, not sure what other window managers have.
>>
>> Uli
>>
>> On Fri, Oct 25, 2019 at 4:03 PM Fingerless Gloves
>> <fingerlessglo...@lemonjuice.tk> wrote:
>>> Hi All,
>>>
>>> I too have this problem too. I would like to open x2go with the command
>>> below and then have it resume my published apps session, but unless I
>>> remove --hide I can't make it resume and always creates a new session. I
>>> tried setting a session limit for my user on the x2go server but that
>>> just errors saying no more sessions.
>>>
>>> "C:\Program Files (x86)\x2goclient\x2goclient.exe" --session=Parrot
>>> --tray-icon --hide --select-first-display
>>>
>>> I'd like to make it so when my PC boots x2go session starts in the
>>> background automaticly with my ssh key, without any prompts other than
>>> the ssh key password. Only way to do this currently is to have the x2go
>>> session window always there, which I can't find a way to minimize to tray.
>>>
>>> Would be nice if there was a command line option to make it resume the
>>> first session it sees.
>>> _______________________________________________
>>> x2go-dev mailing list
>>> x2go-dev@lists.x2go.org
>>> https://lists.x2go.org/listinfo/x2go-dev
> _______________________________________________
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-dev
> 


-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
_______________________________________________
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev

Reply via email to