Giter VIP home page Giter VIP logo

Comments (7)

theofficialgman avatar theofficialgman commented on July 21, 2024

When i try to launch steam from my desktop

delete the steam file from your desktop and then reboot. afterwards it should launch without errors

you neglected to follow the warning displayed "YOU NEED TO REBOOT before starting steam. This is because Steam is the first application on your system to be installed into the /usr/local folder." since you did not have a /usr/local folder prior to installing steam

from pi-apps.

Im-CatDev avatar Im-CatDev commented on July 21, 2024

When i try to launch steam from my desktop

delete the steam file from your desktop and then reboot. afterwards it should launch without errors

you neglected to follow the warning displayed "YOU NEED TO REBOOT before starting steam. This is because Steam is the first application on your system to be installed into the /usr/local folder." since you did not have a /usr/local folder prior to installing steam

I rebooted as the console told me to, but no one said to delete the desktop file

from pi-apps.

Botspot avatar Botspot commented on July 21, 2024

This situation confuses me.
Installing steam should not leave behind a launcher on the Desktop. Such a file is explicitly removed by pi-apps at the end of installation:

rm -f $HOME/Desktop/steam.desktop

what I don't understand is: How was the steam.desktop file still there after a reboot?

from pi-apps.

Im-CatDev avatar Im-CatDev commented on July 21, 2024

This situation confuses me. Installing steam should not leave behind a launcher on the Desktop. Such a file is explicitly removed by pi-apps at the end of installation:

rm -f $HOME/Desktop/steam.desktop

what I don't understand is: How was the steam.desktop file still there after a reboot?

Sorry, I made a mistake, I meant I tried to start it from the taskbar thing

from pi-apps.

theofficialgman avatar theofficialgman commented on July 21, 2024

This situation confuses me. Installing steam should not leave behind a launcher on the Desktop. Such a file is explicitly removed by pi-apps at the end of installation:

rm -f $HOME/Desktop/steam.desktop

what I don't understand is: How was the steam.desktop file still there after a reboot?

installation of the steam deb installs a .desktop file in /usr/share/applications/steam.desktop. Running steam copies that .desktop file to ~/Desktop/steam.desktop. unfortunately, both of these files hardcode the location of the steam binary Exec=/usr/bin/steam. If the user DOES NOT HAVE .desktop files existing in /usr/local/share/applications at the time of DE LOGIN, then that directory NEVER gets searched for new .desktop files. That is why the reboot is critical for users where this is the first application in /usr/local/share/applications.

IF they do NOT reboot, then launching steam through the applications menu, then it will run /usr/share/applications/steam.desktop which calls /usr/bin/steam which will result in the errors posted in the first message here. Additionally, it will also copy that .desktop file to ~/Desktop/steam.desktop. Now if the user reboots it doesn't matter that /usr/local/share/applications is searched, because ~/Desktop has priority over all other locations. So they will NEVER get our custom steam.desktop file in /usr/local/share/applications unless they manually delete the one on their desktop. This is why its critical to read and follow directions.

from pi-apps.

theofficialgman avatar theofficialgman commented on July 21, 2024

I have already explained this before multiple times. As mentioned, the best way to workaround how DEs search the XDG paths based on what is available at login is to use dpkg-divert as described here #2555 (comment)

from pi-apps.

Im-CatDev avatar Im-CatDev commented on July 21, 2024

I will update you when something changes, at the moment my pi broke :( so it may take a while

from pi-apps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.