LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-03-2024, 05:28 AM   #1
bg368
Member
 
Registered: Nov 2006
Location: USA
Distribution: Debian
Posts: 43

Rep: Reputation: 12
Terminal won't open after mistakes made with using fish shell (dont know how to undo my error)


I've been fooling (that's too true) around with fish shell. And now when I try to open gnome-terminal or terminator, I can see them try to open but close immediately.
I was trying to login to bash and then drop into fish via bashrc. When i ran fish from .bashrc it worked fine but started very slowly. So went into gnome-terminal configs and added fish startup as a startup command. This seemed to work ok but when I then opened mc there was a lag of maybe 10 sec delay. After trying to cancel the startup command, terminal closed immediately and terminator wouldn't open.
I thougt maybe something could be fixed through dconf but I don't have a terminal.
I realize I probably deserve it but I hope someone can help me resurrect my terminal access. I don't want to have to re-install if I can avoid it.
 
Old 05-03-2024, 06:05 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,335
Blog Entries: 3

Rep: Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731
If you have a working Desktop Environment, you can make a new icon for it for gnome-terminal or xterm. Then modify that icon so that the command it executes is something like this:

Code:
gnome-terminal -x /bin/bash
gnome-terminal -x /bin/sh
The Gnome Terminal should also work with the -x option if you prefer that.

Then you should be able to use Gnome Terminal directly.

If that doesn't work, maybe try ctrl-alt-f1 and switch to a console and use dconf from there?

Which files did you change manually?

Last edited by Turbocapitalist; 05-03-2024 at 06:15 AM. Reason: bash -> POSIX sh
 
1 members found this post helpful.
Old 05-03-2024, 06:14 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,982

Rep: Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337
Quote:
Originally Posted by bg368 View Post
I don't want to have to re-install if I can avoid it.
I'm afraid this is a very bad solution, almost the worst possible solution. (the worst would be to buy a new house with a new computer with a new os in another city).
Anyway, you can remove your .bashrc file (or better to just comment out lines) (or whatever file you changed) to see if that helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: 5 agile mistakes I've made and how to solve them LXer Syndicated Linux News 0 04-26-2022 05:43 PM
Konqueror fish into fish, nested fish command? Altrex Linux - Newbie 2 03-01-2013 04:36 PM
Verizon Data Breach Investigations Report 2012 (frequently made security mistakes) salasi Linux - Security 0 10-29-2012 05:37 AM
lvm mistakes/manual partioniong mistakes- not using fdisk! Fred Caro Linux - Newbie 3 03-30-2008 02:05 AM
SUSE 9.3 / 10.1 beta 4 / RC 1 Mistakes I made 1kyle SUSE / openSUSE 5 09-17-2005 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration