Форум

Linking games for more than one user - is it possible?

Автор Replies
HarveyP Tuesday 2 December 2014 at 19:50
HarveyPAnonymous

I have an 8-year old in the house. He likes to mess with my PC and likes to play some of the games I do. No way am I going to let him on unchaperoned with MY password, so I have created a user for him with his own password. In order to preserve space on the HD I have been symbollically linking my gnome desktop app launchers on his desktop. And then I got to Wizard 101 on POL ... I know it is still in beta, but it works well enough for me.

The problem is not Wiz related, except inasmuch as I want nipper to run Wiz 101 in its POL VM under my user file tree, whilst he is logged in in his, if you get my drift? The problem is that I am fairly new to desktop UNIX (Ubuntu 12.04 LTS), the Gnome screen manager, app launcher, POL, etc.

He has his own /home/nipper/.PlayOnLinux/, but without .../install/. Does that matter?

Any clues as to what I should do next would be gratefully received.

Below is my Wizard.desktop file - works for me, but linked (ln --symbolic ...) does not work for him. I have got 2 other .desktop files (Ancient Domains of Mystery [ADOM] & Linux Letters [Lletters]) to work using this method. This file already displays the icon correctly on his desktop. By the way, what does the %F do?

I apologise if you think that this is the wrong place for this query, but I don't think the Ubuntu crowd will do as well with it as yourselves.

#!/bin/env xdg_open
[Desktop Entry]
Encoding=UTF-8
Name=Wizard 101
Comment=PlayOnLinux
Type=Application
Exec=/usr/share/playonlinux/playonlinux --run "Wizard 101" %F
Icon=/home/harveyp/.PlayOnLinux//icones/full_size/Wizard 101
Name[fr_FR]=Wizard 101
StartupWMClass=Wizard101.exe
Categories=Game;RolePlaying;

Edited by HarveyP

petch Tuesday 2 December 2014 at 19:55
petch
Developer

Hi,

Wine does not support the sharing of virtual drives between users, so PlayOnLinux/PlayOnMac does not support it either.

 

HarveyP Tuesday 2 December 2014 at 20:09
HarveyPAnonymous

Lots of things go unsupported but still work smiley It is just a matter of knowing enough about how things DO work as opposed to how they SHOULD work ...

What might put me on the right road ...

  • What does %F do?
  • What is StartupWMClass?
    • Can I use an absolute address here?
  • Are there any environment parameters which can be set on or before the Exec line

I've started, so I hope to finish! Where do you suggest I start my studies?

 

Edited by HarveyP