Hello. I have a problem with my terminal: I can't open it. I have done a thing like written here
I have checked 'Run a custom command instead of my shell' and typed in 'echo Hello World'. Now I can't open terminal – whenever I try nothing doesn't apear, so I can't change back the settings. Any idea of how could I fix it?
Best Answer
There might be simpler ways around this.
In many desktop environments, you can run an arbitrary command via the GUI. A common shortcut for this is AltF2. Just run
gnome-terminal -x sleep 10h
.Or: Login to a TTY (CtrlAltF1-F6). Run
DISPLAY=:0 gnome-terminal -x sleep 10h
.Or: You might have another terminal emulator installed, say
xterm
. Run it, and thengnome-terminal -x sleep 10h
.Or:
/usr/share/applications
gnome-terminal.desktop
, and copy it somewhere (your~/Desktop
, or~
, etc.)Exec=gnome-terminal
toExec=gnome-terminal -x sleep 10h
sleep 10h
.You now have 10 hours to undo whatever you did.