Can't open Terminal!

I've customized the terminal to put a transparency. But I put a start command "dir" to see what happen, now I open the terminal ,he makes a dir and closes. Before I could to change the default profile .

How I can edit the profile o change to the Default profile?

1

4 Answers

You need to remove the folder ~/.gconf/apps/gnome-terminal (where the profiles are stored), and log out and back in before opening the terminal again(!!).
If you open gnome-terminal before logging out/in, the existing profile settings will simply be recreated (including the error).

So:

  1. remove the folder ~/.gconf/apps/gnome-terminal
  2. log out and back in. You will lose the possible settings changes you made, but you will have your gnome-terminal back.

Note

from the GUI (nautilus) (since the terminal is not available :) )
~ stands for your home directory. If you browse (in nautilus) into your home directory and press Ctrl+H the folder .gconf becomes visible.


NBThis answer was written for 15.xx, no longer applicable from 16.04 and later.

6

By default, Ubuntu comes with 2 terminal emulators actually: one is gnome-terminal and the other is xterm, and as others suggested, there is always virtual tty consoles (which you can access through CtrlAltF3 , or really any f key from 1 to 6). Now, open xterm and run gnome-terminal -e 'YOLOSWAG' (note that YOLOSWAG is just place holder, could be anything; the real purpose here is to bring up gnome-terminal complaining about a non-existent command being given to the -e flag, which stands for executing a command with gnome-terminal; read man gnome-terminal for more info on that). Now when you have gnome-terminal window open, you can right click and edit the profiles. Close the window (don't click relaunch) and reopen the gnome-terminal again.enter image description here

In the image up above you can see that I've put custom command mkdir YOLO , which prevented the gnome-terminal window staying open (yes, in reality, your terminal was opening, just too fast and exited right away). I've called the terminal with the method described above.

1

Before typing the following line: remember that Ctrl+Alt+F7 is your friend! (This will bring you back here!)

Change to TTY2 with Ctrl+Alt+F2 and log in.

Install dconf-editor, because IMHO, a GUI is a good choice here:

sudo apt-get install dconf-editor

Now go back to TTY7 (normally) with Ctrl+Alt+F7.

Open the application with:

dconf-editor

and open this path in the tree:

org.gnome.Terminal.Legacy.Settings

Open the profiles as shown in the screenshot:

enter image description here

and revert your changes.

Done! :-)

0

if your gnome terminal isnt opening, try reinstalling it and if it doesnt work even then, install a different terminal emulator; i installed Konsole and it works just the same as the gnome-terminal. good luck.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like