Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 8358  / 2 Years ago, wed, may 4, 2022, 2:59:24

I want to use the file manager to copy a directory from my Desktop to the /opt directory. When I run gksudo nautilus, I do not see anything in the Desktop directory.



If I open Nautilus normally from the taskbar, it shows the lampp directory along with other existing ones.



So how do I get to view this directory so I can cut and paste it into /opt directory?


More From » sudo

 Answers
4

You are seeing an empty desktop because it is root's desktop directory since you use gksudo to open Nautilus. So, when you open Nautilus just follow this path from the left sidebar:




--> File system --> home --> your_user_name --> your_desktop




Then copy whatever you want. For an alternative way, you can use terminal for this:



sudo cp -r ~/Desktop/directory_that_will_be_copied /opt/where_to_copy

[#41807] Wednesday, May 4, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
raacket

Total Points: 198
Total Questions: 114
Total Answers: 111

Location: Czech Republic
Member since Mon, May 15, 2023
1 Year ago
;