How Does One Re-set After Update/Grade?

Under the when things work - fix it.

I accidentally let L5 update/grade do it’s thing.:bomb:
I have been using “warp.exe” to move image files to computer tower for some time now - no issues until something was fixed. :boom:
An update/upgrade set itself up and
Now, Warp has changed:

  1. Open Warp on both L5 and tower.
  2. Select file on tower to trans to L5
  3. Enter new password in to Warp.
  4. "Error"

    Downloads dir missing. Please set XDG_DOWNLOAD_DIR

  5. Another *Must Know Linux Commands* without notice.

Now the question.
 
How Does One Set a "XDG download dir?

What I Did to check this myself:

  • The file was only 500K
  • Tried other 56K file - same thing.
  • This WARP program worked fine before L5 update/grade.
  • I didn't change anything. I just read text messages and did nothing else.
  • Have all my previous files Downloads gone now?
  • There **WAS** a folder called "Downloads" where Warp defaulted to before the fixes. Now it's called "Downloads\ (copy)"
  • Note: Might be 1 or 2 spaces between the \ and "copy)"

    TIA
    ~S

2 Likes
mv '/home/purism/Downloads\ (copy)' /home/purism/Downloads
2 Likes

I get:

mv: cannot stat ‘/home/purism/
Downloads\ (copy’ 'home/purism/Downloads
\ (copy): No such file or directory

as shown with ELO’s as is on L5.

2 Likes

Copy and paste the exact command.

Bear with me. Must research how to copy/paste via terminal using a new language that L5 didn’t come with. :rage:

Thanks for help
~s

1 Like

The graphical method has more steps, but it may be easier for you to use depending on your experience:

  1. Open Files/Nautilus.
  2. Change the Squeekboard keyboard layout to Terminal.
  3. Select the “Downloads\ (copy)” directory by dragging over it.
  4. On Squeekboard, tap >_, F2, then rename “Downloads\ (copy)” to “Downloads”.
1 Like

Me too!!
(10 chars)

1 Like

That made it easier to chnage. I still get the same error.

Downloads dir missing. Please set XDG_DOWNLOAD_DIR

:question:Does the “Downloads” folder need Permissions set any where maybe? Are we to ignore the “XDG_” part"

:question:Would it hurt the phone if I put the data on a USB-A stick with a USB-C adapter and plug that in to L5 and copy from USB in to L5?

~s
edit - typo

1 Like

Okay, use this command:

xdg-user-dirs-update --set DOWNLOADS ${HOME}/Downloads;

No, that w(sh)ould work just fine

2 Likes

Reflash; it will wipe everything on the device, and reinstall the OS.

You can turn off auto-updating in the PureOS Software app preferences. (Even if the app isn’t working on your device to discover applications, its preferences may still be getting applied.)

3 Likes