Announcement

Collapse
No announcement yet.

Can't run graphic shell scripts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Post-Install] Can't run graphic shell scripts

    I have installed Kubuntu 26.04 minimal edition on two machines. On one computer graphic shell scripts (installers for games from GOG) don't work. Yes, I have made them executable. Nothing happens when I click them. No error message, no crash. They run in terminal mode (Right click -> Run in terminal) but just in terminal mode, not as usual graphic installers. Once installed the games run OK. Since I made a minimal install of Kubuntu I suspect there may be some missing dependencies. But the scripts run OK on my other computer, also with a minimal install of Kubuntu. Strange...

    #2
    Code:
    sudo apt install zenity kdialog xterm
    log out / in
    ʟɨռʊӼ ʄօʀ ʟɨʄɛ

    Comment


      #3
      Originally posted by die.boer View Post
      Code:
      sudo apt install zenity kdialog xterm
      log out / in
      Nope, no graphics.

      Comment


        #4
        run
        Code:
        bash -x ./installer.sh
        (replace installer.sh with the actual GOG installer filename)
        you can find it with ls *.sh inside the folder containing the installer.
        should look something like this setup_witcher_3_4.04_(64bit)_(gog).sh
        and post output please
        Last edited by die.boer; Yesterday, 01:30 PM.
        ʟɨռʊӼ ʄօʀ ʟɨʄɛ

        Comment


          #5
          "pavel@pavel-laptop:/run/media/pavel/27c44ae5-e82d-43e8-8a8f-6627b714aca9$
          bash ./iris_and_the_giant_1_1_1_2_37953.sh
          Verifying archive integrity... All good.
          Uncompressing Iris and the Giant (GOG.com) 100%
          Collecting info for this system...
          Operating system: linux
          CPU Arch: x86_64
          trying mojosetup in bin/linux/x86_64
          USING en_US
          Iris and the Giant
          Iris and the Giant

          Iris and the Giant
          Welcome to GOG.com installer!

          For technical support for this game, please visit our Support page at:
          http://www.gog.com/support/iris_and_the_giant
          EULA

          GOG.com End-User License Agreement
          ========================================

          Your use of this product/service is subject to the GOG User Agreement. Co
          py andpaste this link to your browser to check it out:http://www.gog.com/
          support/policies/gog_user_agreement


          MojoSetup License Terms
          ========================================
          Copyright (c) 2006-2010 Ryan C. Gordon and others.

          This software is provided 'as-is', without any express or implied warrant
          y.
          In no event will the authors be held liable for any damages arising from
          the use of this software.

          Permission is granted to anyone to use this software for any purpose,
          including commercial applications, and to alter it and redistribute it
          freely, subject to the following restrictions:

          (1-21 of 1062 lines, see more?) [Y/n]:"

          I can't see anything suspicious.

          Comment


            #6
            are you on wayland or X11 ?
            Code:
            echo $XDG_SESSION_TYPE
            ʟɨռʊӼ ʄօʀ ʟɨʄɛ

            Comment


              #7
              Wayland

              Comment


                #8
                install these and try again ?

                Code:
                sudo apt install libgtk2.0-0 libcanberra-gtk-module libcanberra-gtk3-module libxss1 libnss3 libxtst6 libglu1-mesa mesa-utils
                and

                Code:
                sudo dpkg --add-architecture i386 && sudo apt update && sudo apt install libgtk2.0-0:i386 libstdc++6:i386 libx11-6:i386
                ʟɨռʊӼ ʄօʀ ʟɨʄɛ

                Comment


                  #9
                  Originally posted by die.boer View Post
                  install these and try again ?

                  Code:
                  sudo apt install libgtk2.0-0 libcanberra-gtk-module libcanberra-gtk3-module libxss1 libnss3 libxtst6 libglu1-mesa mesa-utils
                  Did the trick. Except for there is no libcanberra-gtk-module. Now the install scripts run as supposed to do and the games run after installation. I wait with the second command until I install some old i386 games. I try to keep just an amd-64 architecture on this computer. Thank you very much!

                  Comment


                    #10
                    I wait with the second command until I install some old i386 games
                    yup that makes sense , as things are working ok now .
                    as for the
                    no libcanberra-gtk-module
                    , that's fine , as it might have been replaced/merged into: libcanberra-gtk3-module , or pulled indirectly via other GTK packages.

                    ​happy gaming !
                    ʟɨռʊӼ ʄօʀ ʟɨʄɛ

                    Comment

                    Users Viewing This Topic

                    Collapse

                    There are 0 users viewing this topic.

                    Working...
                    X