Score:2

Accidently removed pictures folder

sz flag

Hello I accidently deleted the pictures folder and retsored it but now it is not appearing in navigation bar.

Attaching the image The folder is restored but it is not showing in navigation bar along with home,music etc

enter image description here

enter image description here

enter image description here Thanks kenn for resolving the issue.

Mohul Chakraborty avatar
sz flag
I am using the latest version 22.04 LTS
Mohul Chakraborty avatar
sz flag
Yes but nothing happened
Mohul Chakraborty avatar
sz flag
"Yes" you added the line and nothing happened
Will avatar
id flag
There are a couple of questions already answered on this subject, but I can’t get them to work on 22.04. What version of Ubuntu are you using? There are some answers here https://askubuntu.com/questions/79150/how-do-i-remove-places-entries-from-the-nautilus-sidebar that might help.
Mohul Chakraborty avatar
sz flag
Ubuntu 22.04.1 LTS x86_64
in flag
run this in terminal `xdg-user-dirs-update --set PICTURES ~/Pictures`
ar flag
Please don't post screenshots of text files. Copy and paste the content directly in the question and then format the pasted text as `code` using the {_} icon above the edit window. You can also copy the output from a terminal using a mouse.
ar flag
The screenshot of the `cat user-dirs.dirs` show an existing line: `XDG_PICTURES_DIR="$HOME/"`. Try editing this line and make it point to the correct folder: `XDG_PICTURES_DIR="$HOME/Pictures"`. Rather than adding a new line.
Mohul Chakraborty avatar
sz flag
Hi kenn. Thanks for helping me.Your code worked perfectly and restored my pictures folder.
Score:1
ng flag

Enter the new ~/Pictures directory in Nautilus and hit Ctrl+D.

Mohul Chakraborty avatar
sz flag
Hello,I am new to Linux.Please explain me what is nautiles.
ng flag
@MohulChakraborty "Nautilus" is the file manager you're using. Ubuntu's GUI calls it "Files."
Will avatar
id flag
@MDeBusk - I don’t think that’s quite the same - I think that adds the directory to the lower (bookmarks) section of the left side. It’s not far off what is wanted, but I’m interested to see if there’s a way to restore the original feature. The previous questions have answers that don’t work on 22.04. I wonder if those files are now obsolete as editing them doesn’t seem to change anything.
ng flag
@Will It's not quite the same, no, but it gets the OP something of what they lost and it's easy to do. Considering the difficulty they're having with other approaches, I thought it best to mention it. I suspect, but only suspect, that the OP has yet to log out and back in after editing the file. They don't seem to be obsolete here; I messed one of them up a few weeks ago and my startup files failed to be read until I realized what I'd done wrong.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.