Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: [SOLVED] Anyone familiar with bashish?

  1. #1
    Join Date
    Apr 2008
    Location
    New York
    Beans
    354
    Distro
    Ubuntu 8.04 Hardy Heron

    [SOLVED] Anyone familiar with bashish?

    I just installed bashish and thought I configured everything correctly. Is it normal to get this EVERY time I start gnome-terminal?

    Code:
    bashish: please select the profile [New Bashish Tab]
    bashish: and press [RETURN]
    as soon as I press return it gets right to the bash prompt (modified to the theme I selected with 'bashishtheme,' but this is quite annoying every time I lauch gnome-terminal.

  2. #2
    Join Date
    Mar 2008
    Beans
    4,715
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Anyone familiar with bashish?

    Type
    Code:
    grep $USER /etc/passwd
    This will show you a line from your /etc/passwd file. It might look something like

    Code:
    m_ad:x:1000:1000:M_Ad,,,:/home/m_ad:/bin/bashish
    The last colon-separated field is your default shell.
    Check if bashish has changed this to bashish instead of the usual /bin/bash.

    If it has, you can restore bash as your default shell by typing
    Code:
    sudo usermod --shell /bin/bash $USER
    Last edited by unutbu; September 23rd, 2008 at 06:33 PM.

  3. #3
    Join Date
    Apr 2008
    Location
    New York
    Beans
    354
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Anyone familiar with bashish?

    This isn't the case, the shell is still set to /bin/bash.


    I'm thinking that it's something that bashish modified in ~/.bashrc.. here are the lines in .bashrc that were added by bashish:

    Code:
    BASHISHDIR=`bashish --bashishdir`                             ## line added by bashish
    test "$BASHISH_OLDPATH"||BASHISH_OLDPATH=$PATH                ## line added by bashish
    TTY=`tty`                                                     ## line added by bashish
    PATH=$HOME/.bashish/launcher:$BASHISHDIR/lib:$BASHISH_OLDPATH ## line added by bashish
    BASHSIH_CP=437                                                ## line added by bashish
    . _bashish_utfcheck && BASHISH_CP=utf8                          ## line added by bashish
    ENV=$HOME/.profile                                            ## line added by bashish
    export BASHISH_OLDPATH TTY ENV                                ## line added by bashish
    bashish                                                       ## line added by bashish
    . $BASHISHDIR/main/prompt/sh/init                             ## line added by bashish
    I think it has something to do with the line 'ENV=$HOME/.profile'?

  4. #4
    Join Date
    Apr 2008
    Location
    New York
    Beans
    354
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Anyone familiar with bashish?

    Any other ideas unutbu?

  5. #5
    Join Date
    Mar 2008
    Beans
    4,715
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Anyone familiar with bashish?

    The message
    please select the profile [New Bashish Tab]
    comes from these lines in the "termhandler" file:
    Code:
    			printf "bashish: please select the profile [New Bashish Tab]\nbashish: and press [RETURN]"
    			read -n1
    			printf "\033[H\033[2J"
    If you edit this file you can comment out these three lines to get rid of the message and the need to press return.

    If you installed bashish from a deb package, then you can find where termhandler is installed by typing
    Code:
    dpkg --listfiles bashish | grep termhandler
    (assuming the package is called bashish).
    If that doesn't work, then try
    Code:
    sudo find / -name "termhandler" -print
    It may take a few minutes, but it will find it.

    Then type
    Code:
    gksu gedit /path/to/termhandler
    You will find the three lines that need commenting-out around line 105 (about 3/4 of the way down the file).
    Last edited by unutbu; September 23rd, 2008 at 06:51 PM.

  6. #6
    Join Date
    Apr 2008
    Location
    New York
    Beans
    354
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Anyone familiar with bashish?

    This is set to where it should be.. /bin/bash. I executed the command to be sure, and the problem persists.

    I screwed up gnome-terminal even more now. I decided to do what it said and select the profile as [New Bashish Tab]. This didn't only make my gnome-terminal settings worse (no toolbars, or scrolling), but it didn't fix the problem either.

  7. #7
    Join Date
    Apr 2008
    Location
    New York
    Beans
    354
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Anyone familiar with bashish?

    heres a screenshot, I cant access the toolbar or anything else..
    Attached Images Attached Images

  8. #8
    Join Date
    Mar 2008
    Beans
    4,715
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Anyone familiar with bashish?

    I edited my last post before seeing your latest posts. Sorry for the confusion.

    If you right-click in the gnome-terminal window, can you enable the "Show Menubar" option? This may give you your menu bar back.

    Then perhaps try uninstalling bashish, delete the ~/.bashish directory, and then re-installing. Then try what I posted in my previous post.

  9. #9
    Join Date
    Apr 2008
    Location
    New York
    Beans
    354
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Anyone familiar with bashish?

    LOL, thanks for the help on getting my toolbar back. I didn't realize I could right click my terminal.

    I'm going to try this when I get home, I have class until 9:00pm so I'll respond as soon as I can. I hope you're still around, unutbu. I appreciate all your help so far.

  10. #10
    Join Date
    Mar 2008
    Beans
    4,715
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Anyone familiar with bashish?

    After studying the termhandler script some more, I think I know what it saying
    "please select the profile [New Bashish Tab]"
    means "Please click on Edit>Profiles in the gnome-terminal window and select the profile
    called '[New Bashish Tab]'".

    I would try this before editing termhandler.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •