Hello. I have a problem with my terminal: I can't open it. I have done a thing like written hereI 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?
Can't open terminal because of settings
linux;shell;debian;terminal;gnome
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 then gnome-terminal -x sleep 10h.Or: Open your file manager, and go to /usr/share/applicationsFind gnome-terminal.desktop, and copy it somewhere (your ~/Desktop, or ~, etc.)Edit the copy (probably can be done by right clicking and choosing Open With, and then picking an editor)Change Exec=gnome-terminal to Exec=gnome-terminal -x sleep 10hThe copied file should be showing the GNOME Terminal icon. If it isn't, right click it, go to Properties and ensure that it is executable.Double-click the copy to execute it, which should launch an instance of GNOME Terminal running sleep 10h.You now have 10 hours to undo whatever you did.