OpenSUSE :: Gnome Terminal: How To Get The Bash Shell

Mar 17, 2010

i've finally got a NIX environment...yipee! Installed opensuse 11.2 in a dual boot with windoze with no problem whatsoever. unfortunately, my NIX skills are sadly dated or maybe things have changed or both. in any case, i have a rather trivial problem that i have not been able to figure out.

i go to gnome terminal to get to the bash shell, no problem except when i do things like cat, less and so on. the commands do what they do then when done the last line output is "some text" and "(END)" - at the completion of the command it does not return to the bash shell. i've tried ctrl-everything, enter, escape, actually all keystrokes i can think of to get back to the bash luck. man and docs have not been helpful or i simply missed the answer (i'm a little saturated at this point).the only thing i've been able to do to solve my dilema is close the terminal an start a new instance, not elegant but works.

View 8 Replies


Ubuntu :: Bash Broken, Lost Functionality In Terminal (gnome-terminal)?

Dec 10, 2010

Linux-goers. I did some research on this, but I am still fairly new to Linux. In Ubuntu 10.10 (Maverick), I accidentally overwrote my "/bin/bash" file. Dude, using "sudo" with a small typo can work disasters. Bash is now broken in the Terminal (gnome-terminal). Terminal itself still works fine, technically, but bash is still hosed/broken. Here is what I did to try to fix it: Booted from Ubuntu 10.10 live CD. Mounted my Ubuntu partition and manually copied the good/fresh "bash" file onto my hard drive. Verified copy was successful. Didn't help, as you see. Reinstalled "gnome-terminal" using synaptic package manager. Tried to reinstall bash via synaptic, it failed with error, "E: /var/cache/apt/archives/bash_4.1-2ubuntu4_i386.deb: subprocess new pre-removal script returned error exit status 2"

In Terminal, all basic commands work as far as I can tell. ("ls", "pwd", navigation, etc.) Here are some problems:My "username@computername" does not display in the prompt; only the $ sign. Bash keyboard shortcuts such as uparrow and tab do not work. Instead, each inserts a key code. I can't even move the cursor left/right. Aliases (a function of bash and .bashrc) are broken, of course. My sanity level decreases when I use Terminal now. For what it's worth, even with "sudo" I get a "permission denied" error when trying to run Google Chrome! I read something about a ".bashrc" file being a possible problem, but I don't know how to make it work, or the file's proper locations in Ubuntu 10.10. Is there something I can do with a "make" or "apt-get install" command or something?? Could this simply be a permissions problem? Is the link to "/bin/bash", "/bin/sh", or a ".bashrc" file broken? Guide me, oh Linux gurus.

P.S. I always wondered what exactly bash was and how it was different from the basic terminal. LoL, this is an excellent way to demonstrate the difference, and I WANT IT BACK!

View 9 Replies View Related

Ubuntu :: Gnome-terminal Not A Login Shell / Why Is So?

Mar 3, 2011

I've seen lots of posts all over the Internet that advise users to check the "Run command as a login shell" checkbox in GNOME Terminal under Edit->Profile Preferences->Title and Command.

This makes gnome-terminal run bash/csh/tcsh/ksh as a login shell, which it does not do by default. In turn, running gnome-terminal as a login shell sources the system and user login scripts. This sets up things like colored ls etc.

It seems like gnome-terminal should be a login shell by default. Why isn't it? I've never seen a good explanation of why gnome-terminal isn't a login shell. The "Run command as a login shell" checkbox must be unchecked by default for some good reason, right?

View 1 Replies View Related

Programming :: Invoke Java From Bash Terminal Via Shell Script Fails Under Mint Debian / Fix It?

Feb 16, 2011

I am running a Java application on the command line bash terminal under Mint Debian. I have JDK1.6.0_22 installed 64-bit, and the OS is 64-bit too. I have a few JAR files in the directory and a few native LWJGL libraries. When I run the application using the command line, all works fine.
Lets assume my directory where the files are is called /home/riz/MyGame. I change to that directory and this is the command I use code...

View 3 Replies View Related

Programming :: Bash Script To Start Gnome Terminal?

Apr 8, 2010

I want to write a bash script which can open a new gnome-terminal window.
In that gnome-terminal window, it should goto a specific directory and edit a file using Vi Editor.

How is it possible to do that?

View 7 Replies View Related

CentOS 5 Server :: FreeNX - Cannot Get Shell Prompt In GNOME Terminal Window

Jun 9, 2010

I've created a brand new CentOS 5.4 (Final) 64bit machine AMI on Amazon EC2. This was based off an existing image. I was able to follow the wiki to add NX server. I am using WIN XP desktop for NX client.

I can connect to the EC2 machine and get the GNOME desktop fine. I see the usual CentOS desktop and poke around.


I expected to open the Terminal window and get a shell prompt to su into root user (I need to be root to install some software that needs GUI). I do not want to install this from my plain SSH connection to EC2 (hence the NX server etc.).

When I open the Terminal window, all I get is the NX>105 prompt. I need to get to a shell prompt so I can su into root. For life of me, I cannot get around this prompt (I looked at NX documentation too). Note that this is a prompt NOT on client but on the remote machine. I do not need this as I'm already authenticated and logged in to remote GNOME desktop.

Obviously the TERMINAL is running some NX start up script (I've no idea which one). If there is some other way to sudo into root?

View 14 Replies View Related

General :: Gnome-terminal/bash - Cancel Inserted Commands That Will Be Executed Later?

Mar 13, 2011

$ execute_some_long_command <command is executing> <Accidently press middle button that inserts bunch of garbage (including, for example, `rm -Rf ~/*`) into console>

How to let execute_some_long_command finish, but not execute inserted things?

View 1 Replies View Related

OpenSUSE :: Customizing A Bash Shell Prompt (PS1)?

Jul 28, 2010

I changed the default SUSE prompt setting by modifying the shell variable PS1 to display the following information:

u : the username of the current user
h : the hostname up to the first '.'
w : the current working directory, with $HOME abbreviated with a tilde

I used export command to setup a new shell prompt:

export PS1="[u@h: w]$ " To add colors to the shell prompt and make a regular user prompt blue I used the following command syntax:export PS1="e[0;34m[u@h: w]$ e[m "


View 3 Replies View Related

OpenSUSE :: Using Emacs Shell-bash-mode-hook?

Feb 26, 2010

I want to show line numbers automatically in bash scripts (a habit of being a programmer) and when I load an emacs lisp file it works from the command below but the following command that sets up the same thing for bash scripts doesn't work. I played around with this for quite some time and couldn't find anything that would make work.This is the first time I have tried to customize emacs so it could easily be something ignorant on my part.

;; Load additional packages
(load-file "~/.elisp/whitespace.el")
(load-file "~/.elisp/setnu+.el")


View 1 Replies View Related

Fedora :: Unable To Reset Using Either The Reset Option In Gnome Shell Or The Command Using A Terminal?

Jun 3, 2011

I'm unable to reset using either the reset option in gnome shell or the command using a terminal. When I select it the shell exits and displays the graphic "exploding" and then it just sits there. Shutdown works fine; just no reset. Any ideas? I've installed from the DVD. I booted the live CD and it resets just fine so I know it's no my hardware

View 1 Replies View Related

OpenSUSE :: How To Get Gnome 3 Shell

Mar 14, 2011

If some one can tell me how to get Gnome 3 shell to try it out.I have the 11.4 Suzy gnome edition from Live CD. I tried to find Gnome 3 in the Install/remove software, after reloading it, but it i snot there.

View 3 Replies View Related

OpenSUSE :: Enabling Gnome Shell In 11.3?

Jul 18, 2010

Has anyone enabled Gnome Shell in OpenSUSE 11.3 and able to explain how to do it? Annoyingly Novel's press releases mention Gnome Shell is included, but there seems to be no obvious way to activate it.

View 9 Replies View Related

OpenSUSE :: Using Vlc Player In Gnome Shell ?

Jun 6, 2011

Has anyone had any problems using vlc player in gnome shell, when i try to play a cd it will play for a few seconds then freezes up. I have tried uninstall and reinstall but same, tried upgrading to beta but same problem.

View 1 Replies View Related

OpenSUSE Install :: 11.4 RC2 64 Bit No New Gnome Shell?

Feb 27, 2011

I downloaded the 64bit Gnome Live CD to play around with it.. I thought there was a new Gnome shell, new interface etc. Am I missing something?

View 1 Replies View Related

Fedora :: Stuck With Bash Shell / Changing Default Shell To Tcsh?

Mar 14, 2010

I want to change my default shell to tcsh. I used

usermod -s /bin/tcsh username
command as given at url

But if I open a new shell, it is still a bash shell.

How do I make my default shell as tcsh?

View 6 Replies View Related

OpenSUSE :: Gnome Shell Doesn't Work?

May 30, 2010

i tried gnome shell from the software center, but it has some graphics issues. Is it my graphics driver?

View 6 Replies View Related

OpenSUSE :: Allow Gnome-shell To Shutdown/restart?

Jul 23, 2010

Logout, Suspend and hibernate works as it should in my gnome-shell desktop.But Shutdown/Restart does not - I just get back to my kdm login screen do I enable this ?

View 5 Replies View Related

OpenSUSE :: Shell Extensions Crashing Gnome 3

Jun 2, 2011

GNOME 3 issues, I got everything figured out and was trying to get some extensions installed. I successfully installed the alternative shutdown menu and the applications menu. I tried to install alternate-tab and user-theme and they both caused gnome3 to boot into IceWM...I removed all the folders from /usr/share/gnome-shell/extensions and home/<user>/.local/share/gnome-shell/extensions and it fixed it. I read somewhere about them being outdated if a GNOME 3 update was released.

The two extensions I did install were from New GNOME Shell Extensions That Provide A GNOME2-Like User Experience ~ Web Upd8: Ubuntu / Linux blog and not the GNOME 3 website. The extensions that crashed GNOME were from all over, INCLUDING the GNOME website. I'd like to get the system monitor and a weather applet in the panel and the alternate-tab and change themes but I can't find any that work. [URL]. I tried to use the themeselector extension from here and I think another one or two, however, they were also a few that crashed my GNOME...

View 1 Replies View Related

OpenSUSE :: Gnome 3 - Shell Will Not Repaint After Login

Jul 12, 2011

I've been having some problems and was trying to diagnose them. My graphics were going wonky at the BIOS stage (spots, letters changing colour, and even the very first screen of nVidia details swapping "version" for "versikn") so I went to try a new graphics card. Not long before I got my new graphics card, Gnome 3 really started playing up and did the "oops, a problem occurred" at every login. I created a new account and got the same behaviour. I swapped my GeForce 7950 out for a GeForce 7300 that I scrounged up. The spots and changing letters disappeared, so I knew that at least part of the issue was the graphics and not something else (e.g. motherboard or memory). I still got the "Ooops" screen, so I knew that wasn't caused by a bad response from the graphics card or anything.

I've since nuked the install (which started out as 11.4 RC1 with GNOME3:STABLE) and re-installed from a new download of the 11.4 DVD plus GNOME3:STABLE (in accordance with these instructions) with all of the updates. I can now log in without the "Ooops", but if I am using the proprietary nVidia drivers then the display won't repaint after a few seconds (long enough for Gnome Do to appear, but not long long enough for me to do anything else) - clicking on Activities or on the menu in the top-right doesn't seem to do anything. If I Ctrl+Alt+F1 then Ctrl+Alt+F7 to skip to a terminal and back then the cursor is still there, but the screen is blank.

If I swap to the Nouveau drivers then I can log in to Gnome Shell and it continues to render, but even simple things like dialogs folding down from the top of their parent window can grind along and take a few seconds to finish painting. That is on the 7300 rather than the 7950, but I haven't swapped the cards back as I'm still suspicious of how healthy the 7950 is. I've not seen anything that appears relevant in the XOrg log, but given that X will reboot and isn't completely hung then it could be a repaint bug more than an error. I've tried all of this with clean accounts with the same results, so it wouldn't seem to be any of the standard .gconf/.dconf etc folders.

View 2 Replies View Related

OpenSUSE Install :: Configure Gnome 3 Shell In 11.3?

Feb 22, 2011

I've just installed the latest OpenSUSE 11.3 Gnome 3 Reload [and in so doing, by the way, replaced two other oses one advertised as something else but turned out to be what I regard as a poor imitatian of OpenSUSE 11.3 (and to add insult to injury it even identified itself as OpenSUSE 11.3 after install!) and the other a Linux distro more popular than OpenSUSE but failing to deliver a working Gnome 3 shell].

Which brings me to the subject at hand: Gnome 3 shell. I'm presently using the Gnome 3 panel (which I got after having to select the failsafe option after rebooting). OpenSUSE's Gnome 3 shell display is all jumbled up to the point of being unusable. Although I couldn't make out any legible print in the terminal (most of the Applications icons are recogniseable if rather tattered-looking), I had hoped I could still type in su>enter>password>enter>nvidia-xconfig>enter.

What do I do now to get a screenshot-like Gnome 3 shell display? I realize that this computer is rather resource-shabby, but I figure that if it'll run MintMenu, it should be able to run any other Gnome shell.

View 4 Replies View Related

Programming :: Bash-shell-like Less Functionality In The Python Shell?

Jun 25, 2010

Is there some type of functional way to read things in the Python shell interpreter similar to less or more in the bash (and other) command line shells?



>>> import subprocess
>>> help(subprocess)
[pages of stuff to read]

I'm hoping so as I hate scrolling and love how less works with simple keystrokes for page-up/page-down/searching etc.

View 4 Replies View Related

OpenSUSE :: Gnome Shell Extensions Available In Stable Repository

Apr 29, 2011

The gnome-shell-extensions have been accepted into the stable repository and should appear soon along with an updated gnome-shell. Now, if you installed the extensions for my factory branch whilst I was working on the extensions, you need to remove the repository and remove the installed packages as there have been some name changes to the extensions. I don't recommend the xrandr extension, it will crash the shell! If you do try it, you only need to do a ctrl+alt+F1 and login as root user and zypper rm, logout and ctrl+alt+F7 and login.

View 9 Replies View Related

OpenSUSE :: GNOME Shell Lost Desktop Icons?

Jun 19, 2011

I have lost some icons from my desktop, they are, firefox, yast, thunderbird, emacs, the space and the names are still there, and when I hover the mouse over the space, it is highlighted as it should be. The application opens and runs as normal when I click on the space where the icon should be. The icons are also missing from the favorites bar on the left side and also from the panel top left when the app is running.I have tried, rebuilding the icon cache in 'usr/share/icons/hicolor', and also all othercon caches for that matter, and no difference. I tried uninstalling and installing the app, no differenence. I tried changing themes and icons from Tweak Tool, no difference. As far as I can see the icons are there in the hicolor directory

View 9 Replies View Related

OpenSUSE Install :: Using Gnome-Shell Leads To CLI Login?

Mar 14, 2011

I installed 11.3 last week and eventually got nvidia drivers working. I was quite happy how most things were progressing, then the temptation to upgrade to 11.4 got too much I upgraded today (online, not dvd) and everything went well. On rebooting the desktop came up as normal and all was good. I installed nvidia and got that working ok. I then installed Gnome-Shell and couldn't figure out how to get it working. I've been using Fedora recently and the Gnome-Shell option is available at Login. I then discovered the gnome-shell --replace terminal command and I tried it. It seemed to load ok, but as I had used the terminal, when I closed the terminal it seems like compiz crashed. I lost all windows borders and nothing was usable. I REISUB'd and started again. On reboot I got a CLI login prompt. After logging in I tried startx, to no avail. I then tried gdm start and got to the desktop again (not gnome-shell). I Alt+F2'd and ran gnome-shell --replace again and all was good - except no network I rebooted again, and got the CLI again. Went through it all again and tried to configure network (wireless) no good. I then connected an ethernet cable and tried again. That worked, but I'm not sure why - I didn't think anything was downloaded. Anyway wireless now works ok - even on reboot. However I'm still getting dumped to the CLI login on restarts.

View 9 Replies View Related

OpenSUSE :: GNOME-Shell Refuses To Work After Full Reinstall

May 13, 2011

I have recently been pulling my hair out with Gnome-Shell. I had Gnome3 including the shell up and running as soon as it was ready in the stable repos. However it recently refused to work after the update to 3.0.1 hit the stable repository. Today I did a complete reinstall of OpenSUSE 11.4 from the gnome desktop CD, NVIDIA drivers are correctly installed and working. Gnome3 has been installed via the one-click method on top of this FRESH install. Yet still my gnome-shell freezes after login, I am running in fallback mode now. Really cannot see what can have gone wrong this time, nothing out of the ordinary has been knowingly installed at all. I'd really love to get my desktop up and running to how it used to be.

View 9 Replies View Related

OpenSUSE :: Gnome Terminal Not Working?

Jan 23, 2011

When i log in to my suse server enterprice editions (virtual) it doesnt show gnome terminal also there's no a button to go tot computer .

View 1 Replies View Related

OpenSUSE :: Gnome Terminal At Kde Start?

Apr 26, 2011

I installed gnome 3.0 through the one installer, and now every time I start kde I get a gnome terminal that says

** (orca:4321): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'
** (orca:4321): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'
** (orca:4321): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'

It keeps shrinking everytime I try to expand it a bit, I had to edit > select all and copy to be able to read it. And it sounds like it's trying to play a sound that sounds like welcome, but it gets cut off, it also makes a sound when closing it. I'm assuming this was supposed to be a first time run thing for gnome but it keeps showing up in kde.

View 4 Replies View Related

OpenSUSE :: Start A Gnome-terminal From Firefox Url?

Aug 14, 2011

Does anyone knows how to start a gnome-terminal from firefox url? With a protocol or something? Is this possible? Or any other command line.

View 4 Replies View Related

Ubuntu :: Switch Desktop Shell From Unity To Gnome-shell?

Apr 14, 2011

Is there any way I can switch my desktop shell from unity to, say, gnome-shell? I can switch using other console shell I like (bash, csh, fish, etc.). Assume that there is a stable alternative desktop shell, I should be able to choose, too.

(For console shell, we goes to /etc/passwd. But for desktop, I can't find the way to config.)

View 2 Replies View Related

OpenSUSE :: Terminal For Updating Gnome - Can't Write Password

Jun 25, 2010

I want to update my gnome to the latest version (2.30) because I have 2.28 so I go to terminal and enter the command "apt-get" or try "zypper dup" which both ask for root so I just add "sudo" before the commands and when it ask for the password it doesnt let me write it.

View 9 Replies View Related

Copyrights 2005-15, All rights reserved