I can't open nautilus after executing rm -rf ~/.ddd/
I tried to install ddd from my schools site and it gave me this command to remove installed version of ddd:
rm -rf ~/.ddd/
It wouldn't execute so i tried with sudo
and it worked, but after that i couldn't open nautilus. When i tried to start it from the terminal it displayed this:
Unable to create a required folder. Please create the following folder, or set permissions such that it can be created: /home/sensej/.config/nautilus
Output of ls -ld ~/.config
is:
ls: cannot access '~/.config':No such file or directory
Output of sudo ls -ld ~/.config
:
ls: cannot access '/home/sensej/.config': No such file or directory
And here is the output of history
1 sudo apt-get install gcc
2 sudo apt-get install ddd
3 ddd
4 gcc
5 ddd
6 sudo apt-get install gcc-multilib
7 sudo apt-get intall gcc-multilib
8 sudo apt-get install gcc-multilib
9 cd Downloads
10 ls
11 sudo cp asm.lang /usr/ sudo cp asm.lang /usr/share/gtksourceview-3.0/language-specs/
12 ls /usr/share/mime/packages/Overrides.xml
13 udo cp Overrides.xml /usr/share/mime/packages/
14 sudo cp Overrides.xml /usr/share/mime/packages/
15 sudo update-mime-database /usr/share/mime
16 ls
17 mkdir Asembler
18 cd Asembler
19 gedit &
20 ls
21 gcc -m32 -g -o zbir_n_brojeva zbir_n_brojeva.S
22 ./zbir_n_brojeva.S
23 ddd zbir_n_brojeva &
24 rm -rf ~/ .ddd/
25 sudo rm -rf ~/ .ddd/
26 sudo apt-get install ddd
27 sudo apt-get purge nautilus
28 sudo apt-get install nutilus
29 nautilus --check
30 sudo apt install nautilu
31 sudo apt install nautilus
32 nutilus --check
33 clear
34 nautilus --check
35 sudo apt-get intall --reinstall nautilu-data
36 sudo apt-get intall --reinstall nautilus-data
37 sudo apt-get install --reinstall nautilus-data
38 nautilus
39 ddd
40 nautilus
41 sudo chown sensej:sensej ~/.config
42 mkdir /home/sensej/.config
43 sudo mkdir /home/sensej/.config
44 nautilus
45 cd .
46 hitory
47 history
48 ls -l ~/.config
49 ls -l ~/ .config
50 ls -ld ~./config
51 history
52 sudo ls -ld ~/ .config
53 history
command-line permissions nautilus helpfile
|
show 15 more comments
I tried to install ddd from my schools site and it gave me this command to remove installed version of ddd:
rm -rf ~/.ddd/
It wouldn't execute so i tried with sudo
and it worked, but after that i couldn't open nautilus. When i tried to start it from the terminal it displayed this:
Unable to create a required folder. Please create the following folder, or set permissions such that it can be created: /home/sensej/.config/nautilus
Output of ls -ld ~/.config
is:
ls: cannot access '~/.config':No such file or directory
Output of sudo ls -ld ~/.config
:
ls: cannot access '/home/sensej/.config': No such file or directory
And here is the output of history
1 sudo apt-get install gcc
2 sudo apt-get install ddd
3 ddd
4 gcc
5 ddd
6 sudo apt-get install gcc-multilib
7 sudo apt-get intall gcc-multilib
8 sudo apt-get install gcc-multilib
9 cd Downloads
10 ls
11 sudo cp asm.lang /usr/ sudo cp asm.lang /usr/share/gtksourceview-3.0/language-specs/
12 ls /usr/share/mime/packages/Overrides.xml
13 udo cp Overrides.xml /usr/share/mime/packages/
14 sudo cp Overrides.xml /usr/share/mime/packages/
15 sudo update-mime-database /usr/share/mime
16 ls
17 mkdir Asembler
18 cd Asembler
19 gedit &
20 ls
21 gcc -m32 -g -o zbir_n_brojeva zbir_n_brojeva.S
22 ./zbir_n_brojeva.S
23 ddd zbir_n_brojeva &
24 rm -rf ~/ .ddd/
25 sudo rm -rf ~/ .ddd/
26 sudo apt-get install ddd
27 sudo apt-get purge nautilus
28 sudo apt-get install nutilus
29 nautilus --check
30 sudo apt install nautilu
31 sudo apt install nautilus
32 nutilus --check
33 clear
34 nautilus --check
35 sudo apt-get intall --reinstall nautilu-data
36 sudo apt-get intall --reinstall nautilus-data
37 sudo apt-get install --reinstall nautilus-data
38 nautilus
39 ddd
40 nautilus
41 sudo chown sensej:sensej ~/.config
42 mkdir /home/sensej/.config
43 sudo mkdir /home/sensej/.config
44 nautilus
45 cd .
46 hitory
47 history
48 ls -l ~/.config
49 ls -l ~/ .config
50 ls -ld ~./config
51 history
52 sudo ls -ld ~/ .config
53 history
command-line permissions nautilus helpfile
Please edit your question and add output ofls -ld ~/.config
terminal command.
– Pilot6
Mar 2 at 11:38
1
But I suspect you ran something else with sudo.
– Pilot6
Mar 2 at 11:39
@Pilot6 I just typed sudo in front of this command, nothing else was changed.
– Filip Ignjatovic
Mar 2 at 11:42
You can runhistory
and see what you really ran.
– Pilot6
Mar 2 at 11:45
I suspect something likesudo nautilus
, etc.
– Pilot6
Mar 2 at 11:46
|
show 15 more comments
I tried to install ddd from my schools site and it gave me this command to remove installed version of ddd:
rm -rf ~/.ddd/
It wouldn't execute so i tried with sudo
and it worked, but after that i couldn't open nautilus. When i tried to start it from the terminal it displayed this:
Unable to create a required folder. Please create the following folder, or set permissions such that it can be created: /home/sensej/.config/nautilus
Output of ls -ld ~/.config
is:
ls: cannot access '~/.config':No such file or directory
Output of sudo ls -ld ~/.config
:
ls: cannot access '/home/sensej/.config': No such file or directory
And here is the output of history
1 sudo apt-get install gcc
2 sudo apt-get install ddd
3 ddd
4 gcc
5 ddd
6 sudo apt-get install gcc-multilib
7 sudo apt-get intall gcc-multilib
8 sudo apt-get install gcc-multilib
9 cd Downloads
10 ls
11 sudo cp asm.lang /usr/ sudo cp asm.lang /usr/share/gtksourceview-3.0/language-specs/
12 ls /usr/share/mime/packages/Overrides.xml
13 udo cp Overrides.xml /usr/share/mime/packages/
14 sudo cp Overrides.xml /usr/share/mime/packages/
15 sudo update-mime-database /usr/share/mime
16 ls
17 mkdir Asembler
18 cd Asembler
19 gedit &
20 ls
21 gcc -m32 -g -o zbir_n_brojeva zbir_n_brojeva.S
22 ./zbir_n_brojeva.S
23 ddd zbir_n_brojeva &
24 rm -rf ~/ .ddd/
25 sudo rm -rf ~/ .ddd/
26 sudo apt-get install ddd
27 sudo apt-get purge nautilus
28 sudo apt-get install nutilus
29 nautilus --check
30 sudo apt install nautilu
31 sudo apt install nautilus
32 nutilus --check
33 clear
34 nautilus --check
35 sudo apt-get intall --reinstall nautilu-data
36 sudo apt-get intall --reinstall nautilus-data
37 sudo apt-get install --reinstall nautilus-data
38 nautilus
39 ddd
40 nautilus
41 sudo chown sensej:sensej ~/.config
42 mkdir /home/sensej/.config
43 sudo mkdir /home/sensej/.config
44 nautilus
45 cd .
46 hitory
47 history
48 ls -l ~/.config
49 ls -l ~/ .config
50 ls -ld ~./config
51 history
52 sudo ls -ld ~/ .config
53 history
command-line permissions nautilus helpfile
I tried to install ddd from my schools site and it gave me this command to remove installed version of ddd:
rm -rf ~/.ddd/
It wouldn't execute so i tried with sudo
and it worked, but after that i couldn't open nautilus. When i tried to start it from the terminal it displayed this:
Unable to create a required folder. Please create the following folder, or set permissions such that it can be created: /home/sensej/.config/nautilus
Output of ls -ld ~/.config
is:
ls: cannot access '~/.config':No such file or directory
Output of sudo ls -ld ~/.config
:
ls: cannot access '/home/sensej/.config': No such file or directory
And here is the output of history
1 sudo apt-get install gcc
2 sudo apt-get install ddd
3 ddd
4 gcc
5 ddd
6 sudo apt-get install gcc-multilib
7 sudo apt-get intall gcc-multilib
8 sudo apt-get install gcc-multilib
9 cd Downloads
10 ls
11 sudo cp asm.lang /usr/ sudo cp asm.lang /usr/share/gtksourceview-3.0/language-specs/
12 ls /usr/share/mime/packages/Overrides.xml
13 udo cp Overrides.xml /usr/share/mime/packages/
14 sudo cp Overrides.xml /usr/share/mime/packages/
15 sudo update-mime-database /usr/share/mime
16 ls
17 mkdir Asembler
18 cd Asembler
19 gedit &
20 ls
21 gcc -m32 -g -o zbir_n_brojeva zbir_n_brojeva.S
22 ./zbir_n_brojeva.S
23 ddd zbir_n_brojeva &
24 rm -rf ~/ .ddd/
25 sudo rm -rf ~/ .ddd/
26 sudo apt-get install ddd
27 sudo apt-get purge nautilus
28 sudo apt-get install nutilus
29 nautilus --check
30 sudo apt install nautilu
31 sudo apt install nautilus
32 nutilus --check
33 clear
34 nautilus --check
35 sudo apt-get intall --reinstall nautilu-data
36 sudo apt-get intall --reinstall nautilus-data
37 sudo apt-get install --reinstall nautilus-data
38 nautilus
39 ddd
40 nautilus
41 sudo chown sensej:sensej ~/.config
42 mkdir /home/sensej/.config
43 sudo mkdir /home/sensej/.config
44 nautilus
45 cd .
46 hitory
47 history
48 ls -l ~/.config
49 ls -l ~/ .config
50 ls -ld ~./config
51 history
52 sudo ls -ld ~/ .config
53 history
command-line permissions nautilus helpfile
command-line permissions nautilus helpfile
edited Mar 2 at 12:59
Filip Ignjatovic
asked Mar 2 at 11:30
Filip IgnjatovicFilip Ignjatovic
32
32
Please edit your question and add output ofls -ld ~/.config
terminal command.
– Pilot6
Mar 2 at 11:38
1
But I suspect you ran something else with sudo.
– Pilot6
Mar 2 at 11:39
@Pilot6 I just typed sudo in front of this command, nothing else was changed.
– Filip Ignjatovic
Mar 2 at 11:42
You can runhistory
and see what you really ran.
– Pilot6
Mar 2 at 11:45
I suspect something likesudo nautilus
, etc.
– Pilot6
Mar 2 at 11:46
|
show 15 more comments
Please edit your question and add output ofls -ld ~/.config
terminal command.
– Pilot6
Mar 2 at 11:38
1
But I suspect you ran something else with sudo.
– Pilot6
Mar 2 at 11:39
@Pilot6 I just typed sudo in front of this command, nothing else was changed.
– Filip Ignjatovic
Mar 2 at 11:42
You can runhistory
and see what you really ran.
– Pilot6
Mar 2 at 11:45
I suspect something likesudo nautilus
, etc.
– Pilot6
Mar 2 at 11:46
Please edit your question and add output of
ls -ld ~/.config
terminal command.– Pilot6
Mar 2 at 11:38
Please edit your question and add output of
ls -ld ~/.config
terminal command.– Pilot6
Mar 2 at 11:38
1
1
But I suspect you ran something else with sudo.
– Pilot6
Mar 2 at 11:39
But I suspect you ran something else with sudo.
– Pilot6
Mar 2 at 11:39
@Pilot6 I just typed sudo in front of this command, nothing else was changed.
– Filip Ignjatovic
Mar 2 at 11:42
@Pilot6 I just typed sudo in front of this command, nothing else was changed.
– Filip Ignjatovic
Mar 2 at 11:42
You can run
history
and see what you really ran.– Pilot6
Mar 2 at 11:45
You can run
history
and see what you really ran.– Pilot6
Mar 2 at 11:45
I suspect something like
sudo nautilus
, etc.– Pilot6
Mar 2 at 11:46
I suspect something like
sudo nautilus
, etc.– Pilot6
Mar 2 at 11:46
|
show 15 more comments
1 Answer
1
active
oldest
votes
You ran a completely wrong command
rm -rf ~/ .ddd/
It removed your home directory ~/
.
The correct command was
rm -r ~/.ddd/
You added a space there. You seem to be a bit careless with adding spaces.
Since your home directory is gone, I suggest re-installing the system.
Beware that you lost all your files. Be careful in the future.
Thanks for the help man. I will be more careful next time.
– Filip Ignjatovic
Mar 2 at 13:05
5
I agree with your diagnosis - but reinstalling the system seems like overkill. Couldn't the OP just create a new home directory and restore their personal files from backup for example?
– steeldriver
Mar 2 at 13:07
@steeldriver All configs are lost. That`s the problem. It will be easier to re-install for a newbie.
– Pilot6
Mar 2 at 13:09
@steeldriver How can you see successful creating and restoring with this kind of CLI skills?
– Pilot6
Mar 2 at 13:10
1
The vast majority of configs will be recreated when the relevant programs are executed for the first time. The rest could be copied from/etc/skel
. I agree that reinstalling is needlessly extreme here.
– terdon♦
Mar 2 at 18:46
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1122464%2fi-cant-open-nautilus-after-executing-rm-rf-ddd%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You ran a completely wrong command
rm -rf ~/ .ddd/
It removed your home directory ~/
.
The correct command was
rm -r ~/.ddd/
You added a space there. You seem to be a bit careless with adding spaces.
Since your home directory is gone, I suggest re-installing the system.
Beware that you lost all your files. Be careful in the future.
Thanks for the help man. I will be more careful next time.
– Filip Ignjatovic
Mar 2 at 13:05
5
I agree with your diagnosis - but reinstalling the system seems like overkill. Couldn't the OP just create a new home directory and restore their personal files from backup for example?
– steeldriver
Mar 2 at 13:07
@steeldriver All configs are lost. That`s the problem. It will be easier to re-install for a newbie.
– Pilot6
Mar 2 at 13:09
@steeldriver How can you see successful creating and restoring with this kind of CLI skills?
– Pilot6
Mar 2 at 13:10
1
The vast majority of configs will be recreated when the relevant programs are executed for the first time. The rest could be copied from/etc/skel
. I agree that reinstalling is needlessly extreme here.
– terdon♦
Mar 2 at 18:46
add a comment |
You ran a completely wrong command
rm -rf ~/ .ddd/
It removed your home directory ~/
.
The correct command was
rm -r ~/.ddd/
You added a space there. You seem to be a bit careless with adding spaces.
Since your home directory is gone, I suggest re-installing the system.
Beware that you lost all your files. Be careful in the future.
Thanks for the help man. I will be more careful next time.
– Filip Ignjatovic
Mar 2 at 13:05
5
I agree with your diagnosis - but reinstalling the system seems like overkill. Couldn't the OP just create a new home directory and restore their personal files from backup for example?
– steeldriver
Mar 2 at 13:07
@steeldriver All configs are lost. That`s the problem. It will be easier to re-install for a newbie.
– Pilot6
Mar 2 at 13:09
@steeldriver How can you see successful creating and restoring with this kind of CLI skills?
– Pilot6
Mar 2 at 13:10
1
The vast majority of configs will be recreated when the relevant programs are executed for the first time. The rest could be copied from/etc/skel
. I agree that reinstalling is needlessly extreme here.
– terdon♦
Mar 2 at 18:46
add a comment |
You ran a completely wrong command
rm -rf ~/ .ddd/
It removed your home directory ~/
.
The correct command was
rm -r ~/.ddd/
You added a space there. You seem to be a bit careless with adding spaces.
Since your home directory is gone, I suggest re-installing the system.
Beware that you lost all your files. Be careful in the future.
You ran a completely wrong command
rm -rf ~/ .ddd/
It removed your home directory ~/
.
The correct command was
rm -r ~/.ddd/
You added a space there. You seem to be a bit careless with adding spaces.
Since your home directory is gone, I suggest re-installing the system.
Beware that you lost all your files. Be careful in the future.
edited Mar 2 at 18:45
terdon♦
67.4k13139222
67.4k13139222
answered Mar 2 at 13:02
Pilot6Pilot6
53.8k15110198
53.8k15110198
Thanks for the help man. I will be more careful next time.
– Filip Ignjatovic
Mar 2 at 13:05
5
I agree with your diagnosis - but reinstalling the system seems like overkill. Couldn't the OP just create a new home directory and restore their personal files from backup for example?
– steeldriver
Mar 2 at 13:07
@steeldriver All configs are lost. That`s the problem. It will be easier to re-install for a newbie.
– Pilot6
Mar 2 at 13:09
@steeldriver How can you see successful creating and restoring with this kind of CLI skills?
– Pilot6
Mar 2 at 13:10
1
The vast majority of configs will be recreated when the relevant programs are executed for the first time. The rest could be copied from/etc/skel
. I agree that reinstalling is needlessly extreme here.
– terdon♦
Mar 2 at 18:46
add a comment |
Thanks for the help man. I will be more careful next time.
– Filip Ignjatovic
Mar 2 at 13:05
5
I agree with your diagnosis - but reinstalling the system seems like overkill. Couldn't the OP just create a new home directory and restore their personal files from backup for example?
– steeldriver
Mar 2 at 13:07
@steeldriver All configs are lost. That`s the problem. It will be easier to re-install for a newbie.
– Pilot6
Mar 2 at 13:09
@steeldriver How can you see successful creating and restoring with this kind of CLI skills?
– Pilot6
Mar 2 at 13:10
1
The vast majority of configs will be recreated when the relevant programs are executed for the first time. The rest could be copied from/etc/skel
. I agree that reinstalling is needlessly extreme here.
– terdon♦
Mar 2 at 18:46
Thanks for the help man. I will be more careful next time.
– Filip Ignjatovic
Mar 2 at 13:05
Thanks for the help man. I will be more careful next time.
– Filip Ignjatovic
Mar 2 at 13:05
5
5
I agree with your diagnosis - but reinstalling the system seems like overkill. Couldn't the OP just create a new home directory and restore their personal files from backup for example?
– steeldriver
Mar 2 at 13:07
I agree with your diagnosis - but reinstalling the system seems like overkill. Couldn't the OP just create a new home directory and restore their personal files from backup for example?
– steeldriver
Mar 2 at 13:07
@steeldriver All configs are lost. That`s the problem. It will be easier to re-install for a newbie.
– Pilot6
Mar 2 at 13:09
@steeldriver All configs are lost. That`s the problem. It will be easier to re-install for a newbie.
– Pilot6
Mar 2 at 13:09
@steeldriver How can you see successful creating and restoring with this kind of CLI skills?
– Pilot6
Mar 2 at 13:10
@steeldriver How can you see successful creating and restoring with this kind of CLI skills?
– Pilot6
Mar 2 at 13:10
1
1
The vast majority of configs will be recreated when the relevant programs are executed for the first time. The rest could be copied from
/etc/skel
. I agree that reinstalling is needlessly extreme here.– terdon♦
Mar 2 at 18:46
The vast majority of configs will be recreated when the relevant programs are executed for the first time. The rest could be copied from
/etc/skel
. I agree that reinstalling is needlessly extreme here.– terdon♦
Mar 2 at 18:46
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1122464%2fi-cant-open-nautilus-after-executing-rm-rf-ddd%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please edit your question and add output of
ls -ld ~/.config
terminal command.– Pilot6
Mar 2 at 11:38
1
But I suspect you ran something else with sudo.
– Pilot6
Mar 2 at 11:39
@Pilot6 I just typed sudo in front of this command, nothing else was changed.
– Filip Ignjatovic
Mar 2 at 11:42
You can run
history
and see what you really ran.– Pilot6
Mar 2 at 11:45
I suspect something like
sudo nautilus
, etc.– Pilot6
Mar 2 at 11:46