RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    [Solved] Remove Themes No Longer In ESThemes?

    Scheduled Pinned Locked Moved Help and Support
    emulationstatiothemescommand linessh
    6 Posts 4 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hooperreH
      hooperre
      last edited by hooperre

      Pi Model or other hardware: RPi3B
      RetroPie Version Used: 4.2.2
      Built From: (Pre made SD Image on RetroPie website)
      USB Devices connected: DS4

      Attempting to remove the Futura-10px as they were replaced by the video versions in the estheme menu. Attempting to do it manually via SSH or the command line is giving me a permission error.

      Using the /etc/emulationstation/themes path since it was downloaded from the Retropie Setup config screen, not the /opt/retropie/configs/all/emulationstation/themes path.

      Attempted using the chmod -r 777 command to grant permission to delete the folder with no luck. Anyone have any ideas?

      Thanks!

      4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

      B 1 Reply Last reply Reply Quote 0
      • B
        backstander @hooperre
        last edited by backstander

        @hooperre
        What do you see when you type this (with the correct directory for the theme)?

        ls -l /etc/emulationstation/themes/ blah blah blah
        

        You can change the owner to Pi

        sudo chown pi:pi /etc/emulationstation/themes/ blah blah blah
        

        Then maybe change the permissions to read/write/execute (777)

        chmod 777 /etc/emulationstation/themes/ blah blah blah
        
        1 Reply Last reply Reply Quote 2
        • TMNTturtlguyT
          TMNTturtlguy
          last edited by

          I think you can just use sudo rm -r name of folder

          Sorry, on my phone so forgive the formatting

          hooperreH 1 Reply Last reply Reply Quote 3
          • hooperreH
            hooperre @TMNTturtlguy
            last edited by

            @TMNTturtlguy Oh this did the trick. Thanks! Weird. Why did it require sudo in front of rm -r? When I tried it without sudo in front it didn't work.

            4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

            SanoS 1 Reply Last reply Reply Quote 1
            • SanoS
              Sano @hooperre
              last edited by Sano

              @hooperre
              Because /etc is a system directory, so regular users like pi can't write (deleting is a kind of writing) inside, you need to be root.
              sudo grants you root privileges for the current command, and allows you to remove the files.

              hooperreH 1 Reply Last reply Reply Quote 3
              • hooperreH
                hooperre @Sano
                last edited by

                @Sano Thanks, team!

                4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.