Results 1 to 9 of 9

Thread: KAG - Rights issue when i copy game in /opt root folder

  1. #1
    Join Date
    Jan 2017
    Beans
    21

    KAG - Rights issue when i copy game in /opt root folder

    Hello, in first sorry if sometimes i don't speak english very well, i'm french

    I use Ubuntu 16.10 and i would like to use KAG:
    https://www.kag2d.com/en/

    The game works fine when it's in my folder, but when I copy it to the root / opt folder (and I've changed the permissions) the game does not run properly ... If I do not run the game with the sudo command, the game does not run properly.

    I also create a shortcut for the game.

    Code:
    [Desktop Entry]
    Type=Application
    Encoding=UTF-8
    Name=King Arthur's Gold
    Comment=Build freeform constructions as a medieval Builder, fight in sword duels as a Knight or snipe with your bow as an Archer.
    Icon=/opt/KAG/KAG.ico
    Exec=/opt/KAG/KAG
    Categories=Game
    Finally, I add my user to the group games

    /opt/KAG rights directory: http://img11.hostingpics.net/pics/260987opt.png

    /usr/share/applications/KAG rights shortcut:
    http://img11.hostingpics.net/pics/245877kag.png


    Last edited by zohran; January 30th, 2017 at 07:44 PM.

  2. #2
    Join Date
    Oct 2006
    Beans
    58,286

    Re: KAG - Rights issue when i copy game in /opt root folder

    Thread moved to the "Gaming & Leisure" forum.

  3. #3
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    19,553
    Distro
    Ubuntu Budgie Development Release

    Re: KAG - Rights issue when i copy game in /opt root folder

    When you say it won't run properly - what do you mean? Won't it load?

  4. #4
    Join Date
    Jan 2017
    Beans
    21

    Re: KAG - Rights issue when i copy game in /opt root folder

    It does not launch the updates or the edges of the window disappear if I do not launch the application as root

  5. #5
    Join Date
    Apr 2008
    Location
    Norwich CT
    Beans
    2,659
    Distro
    Ubuntu Mate

    Re: KAG - Rights issue when i copy game in /opt root folder

    Where is the data for the game? If it's not in your /home directory, it may need chown for you to run it.

    Code:
    sudo chown yourusername:yourusername /path/to/data
    chown stands for "change owner"

    Of course, if the executable is in your /home directory, it'll run without root. Try that.

    I drink my Ubuntu black, no sugar.
    Ubuntu user 28819

  6. #6
    Join Date
    Jan 2017
    Beans
    21

    Re: KAG - Rights issue when i copy game in /opt root folder

    It's good, thanks you for your help, i made a mistake !

  7. #7
    Join Date
    Apr 2008
    Location
    Norwich CT
    Beans
    2,659
    Distro
    Ubuntu Mate

    Re: KAG - Rights issue when i copy game in /opt root folder

    Please mark this thread as [SOLVED]. Whose advice did you use?

    I drink my Ubuntu black, no sugar.
    Ubuntu user 28819

  8. #8
    Join Date
    Jan 2017
    Beans
    21

    Re: KAG - Rights issue when i copy game in /opt root folder

    I was wrong, the problem is not always solved. The bug window again.The outline of the window disappears and its icon in the dashboard when the app is opened is not displayed


  9. #9
    Join Date
    Jan 2017
    Beans
    21

    Re: KAG - Rights issue when i copy game in /opt root folder

    I found out where the problem comes from. The bug window when the window animations are activated!

    That was not an issue of law.

    I do not know if we can correct that ...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •