Ubuntu :: Call A .sh Script Without Directly Opening The Terminal?

Nov 22, 2010

I need to call a .sh script without directly opening the terminal. Is possible to do so writing and compiling a script (e.g. Java or Python) so when I double click it, it opens a terminal window and runs the .sh automatically?

View 4 Replies


ADVERTISEMENT

Ubuntu :: Booting Directly Into Terminal?

Jul 9, 2010

i'm running 9.10. For no reaso whatsoever that I can fathom, ubuntu now boots directly to a terminal. I use startx to get to the desktop, but if i do that, after a short while, the screen will go black and then ubuntu will take me to the GUI log-in screen. I noticed that I'f I was using firefox I would have to go into system monitor to kill the process before I could restart the browser. I also noticed while doing this that most processes seem to be running twice.

View 4 Replies View Related

Ubuntu :: Directly Booting Into Tty1 / Changing Server Via The Terminal And Restore Gdm?

Apr 12, 2011

I was experimenting with new splash screens in the plymouth manager when my ubuntu stopped loading into the gnome desktop. Ive tried to search for some solutions over the internet but i cant seem to find any. and to top it all of, the server from which i used to get updates from seems to have stopped running.i need help in changing my server via the terminal and to help restore my gdm.

View 1 Replies View Related

Programming :: Write A Bash Script To Call From A Terminal?

May 24, 2010

I am trying to write a bash script to call from a terminal that will change the terminal title. I am using ubuntu 10.04. The script is meant to be used in the gnome-terminal.

Here is what I have:

Code: #! bin/bash
echo "New title: c"
read title
echo "33]0;$titl07c" -e

[Code]....

it doesn't work

I think the problem has to do with modifying PS1 inside the bash so i tried this:

Code: echo `export PS1="[e]1;u@h:wa]${debian_chroot:+($debian_chroot)}u@h:w$ "` and it still didn't work.

View 1 Replies View Related

General :: Call Or Resume A Paused Process In To Another Terminal?

Jan 13, 2010

how to call or resume a paused process in to another terminal.

View 1 Replies View Related

General :: Installed Driver For Graphics Card, Now It Boots Directly To Terminal?

Jan 4, 2011

Finished installing Ubuntu 10.10 in my XPS15, intel i5 4g ram, nvidia GT 420M graphics card,

problem is when i go to additional drivers, the driver listed (Nvidia accelerated graphics) when I install it and reboot it the computer starts on the terminal, no graphic interface. All I get is the black screen asking me login and password, when I enter them, just get the terminal prompt in a black screen.

View 3 Replies View Related

General :: Directly Logging In As Root In A Text Mode Terminal (tty1-tty6)?

May 13, 2010

What are the differences between "su -" in a GUI terminal and directly logging in as root in a text mode terminal (tty1-tty6)? Any environment, path or other functionality differences?

View 14 Replies View Related

Ubuntu :: Opening Applications In Terminal?

Aug 20, 2010

I use terminal a lot. Sometimes I would like to open up applications, like start reading a pdf. But when I do

Code:
$ evince foo.pdf
(actually I use zathura to read pdfs now , but anyway...)

[code]....

View 6 Replies View Related

Slackware :: Add Own Personal Database Of Quotes For The Fortune App To Call When Open A Terminal

Feb 5, 2010

I'm trying to add my own personal database of quotes for the fortune app to call when i open a terminal. I was able to successfully create the data base from a text file along the lines of this thread [URL] And it works when i type :$ fortune mydatabase The problem is, when i open a terminal i dont believe fortune knows to look for the new database, and im yet to see one of my quotes appear. If anyone can point me in the right direction as to where the command is issued to run fortune when i open the terminal

View 5 Replies View Related

Ubuntu :: Startup Script Opening Terminal?

Jan 1, 2010

Ive got a simple bash script that basically just displays a couple lines of text and a random quote. In startup applications, I made "gnome-terminal --full-screen" open up and in the profile preferences of gnome-terminal I made it run my startup script. There are two problems though.(1) At startup, 2 terminals are opened (one fullscreen, one not fullscreen)(2) By bash script runs and keeps on running (how do I get it to display another input line?)

View 5 Replies View Related

Ubuntu :: Opening Firefox In New Window From Terminal

Feb 15, 2010

I like to alias my firefox commands so I can open up mutiple pages at once. This works great. firefox [URL]

But if I have firefox already up and running it will open as tabs of the firefox I already have running. How can I open the multiple pages in a new window in this case?

- Using -no-remote could work, but I would have to make a whole different firefox profile for each set of pages, not really a solution. - Also tried setting it to a particular display and it opened as a tab again. ie. firefox [URL] -display=":0.0"

View 7 Replies View Related

Ubuntu :: Terminal Closes Immediately Upon Opening?

Feb 9, 2011

I really can't say what I did that may have triggered this problem. I've been trying to setup remote access through SSH but that's about it. Haven't changed any settings in a bit though. I downloaded Konsole and it closes immediately as well.

View 6 Replies View Related

Ubuntu :: Opening Current Directory In Nautilus From Terminal?

May 20, 2010

Like the title says, I want to be able to open the directory I'm browsing in nautilus.To clarify this, as I barely understand what I said, I'll give an example.

Code:
cd ~/what/ever/this/is/complex/path
Hmmm.... A lot of files in here with long complex names and I only want to move certain ones..... Better open it in nautilus with my handy dandy script/alias!

View 4 Replies View Related

Ubuntu :: Open Folder Opening Terminal Instead Of Nautilus

Apr 29, 2011

I just upgraded from Maverick 10.10 to 11.04 64-bit and I have the following problem: every program that provides an "open file or folder" function such as synapse -> open folder, firefox downloads open folder, deluge open, instead of opening nautilus in the desired folder (default behavior of 10.10), it just opens a gnome-terminal.

View 7 Replies View Related

Fedora :: Gnome Terminal Not Opening ?

Jun 1, 2011

I tried to run

Quote:

Command automatically in gnome terminal, when i open it. so i changed the setting in edit->profile preferences->title and the command->command section. now when i open the terminal,command is running successfully.afterwards terminal is closed automatically. how to open my terminal prompt.with the sl program running and not closed..

View 2 Replies View Related

Fedora :: Error While Opening Terminal ?

Oct 25, 2010

Whenever I open the Terminal using the shortcut, I get the following error.

Code:

I understand that it is a misspelt word (report). But I didn't type that command in the past. And why it is coming up EVERY time I open the Terminal.

View 2 Replies View Related

Ubuntu :: Got Possible Nautilus Error When Opening Gedit From Terminal / Sort It?

Apr 25, 2010

I received this odd error when opening gedit from the terminal . gedit opened, but this error worries me code...

After changing the hostname, you need to reboot your machine. That fixed it

View 3 Replies View Related

Ubuntu :: Error - Cannot Open Display - 0 - When Opening Any GTK Application From The Terminal

May 13, 2011

For awhile I have had this issue with the command line and every time I try to complete any command that requires GTK graphics, It always returns the error "Error: cannot open display: 0:" The "EXPORT display" command that I normally use to fix this issue is not working. The only issue that I can think might be the cause for this could be my upgrade to natty (which was in fact a clean installation), or when I edited plymouth so that the startup and shutdown animations would match my laptop's native resolution (by the way I would also appreciate it if I could do the same with the startup animation, only the shutdown really works). If anybody know how I could resolve this issue I would greatly appreciate it. Oh and for specifics on my machine, I am using an ASUS N82 with an NVIDIA GEFORCE GT335M graphics card, running Ubuntu 11.04.

View 3 Replies View Related

OpenSUSE :: Opening Terminal When Viewing A Folder?

Jun 27, 2010

I used to be able to open a terminal when viewing a folder and the terminal would automatically be in that directory so all I would have to do is type the command. Now, it doesn't seem to work like that. No matter what folder I'm viewing within Konquerer or Dolphin, the terminal is always at the /home folder no matter what. Can I change this behavior and set it to the way it used to work on my old system? (SuSE 10.0)

View 3 Replies View Related

General :: Error Opening Terminal - Xterm ?

Jul 15, 2010

Error opening terminal : xterm

While start nano editor in terminal

View 2 Replies View Related

CentOS 5 :: VNC Server - Terminal Window Always Opening?

Sep 24, 2010

When I VNC into my CentOS server I am always met with the usual GUI and an annoying terminal window. If I try to close the terminal window it reappears immediately. I can only minimize it to the taskbar. Am I missing a simple setting to disable this?

Here is my xstartup file:

#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

[code]...

View 3 Replies View Related

Fedora :: Opening Gnome-terminal - To Be Performed Only At Login

Jan 17, 2011

I have a 'special script' in my .bashrc file, which I want to be performed only at Login. When I open a terminal (through a gnome launcher <gnome-terminal> as the command) it unfortunately sources .bashrc.

Hence the opening of the terminal runs the 'special script' again.

How can I instruct .bashrc not to do something except when and only when I am logging in? I found a segment of code which is supposed to do what I want but I am not sure of how it works.

Code:

Will this work to put my 'special script' in to ensure that it only runs when it is a login script and not when it is a simple launcher terminal opening?

View 8 Replies View Related

General :: Displays Error Opening Terminal : Xterm

Jul 16, 2010

I am new in Linux,i build nano editor on Linux,it compile successfully but when i open in terminal then error displays "Error opening terminal : Xterm" while nano help is running successfully.

View 14 Replies View Related

General :: Launch Screen As First Program When Opening Terminal?

Jun 14, 2011

I want to launch the screen program by default and automatically every time that I open the bash terminal. How can I set this in terminal? I'm using lxterminal - terminal for lxde desktop environment.

View 2 Replies View Related

General :: Opening Files In Text Editor From The Terminal

Mar 7, 2010

Using ubuntu 9.10

If I'm in a terminal window, and I open a file by typing eg :

It opens as a blank document... I know it has text in it though!

I've tried with other files and also with nano so it's not just a problem with a particular file.

How do I view the current contents of the file so I can then edit it?

View 4 Replies View Related

Slackware :: 13.1 - Firefox 3.6.6 Not Opening - No Terminal Info Output

Jun 28, 2010

Firefox does not open under any circumstances, it's allocated in the memory and has it's process ids, but the browser is not opened at all. There's not terminal output when ran in terminal, no dmesg, debug..., nothing.

The only info I could give:

Terminal try:

Code:

Code:

So, I really don't know what's happening, if someone have some light to shed, I'd be glad.

Slackware 13.1 32-bit x86, package is mozilla-firefox-3.6.6-i686-1.

View 14 Replies View Related

Debian Multimedia :: Gnome-terminal Doesn't Reset Cwd When Opening New Tab

Sep 7, 2015

After a recent Debian 8 update, I notice a new problem with the Gnome-Terminal. When you open a new tab or window, whatever is the cwd of the current tab becomes the cwd of the new tab or window. This always used to reset to ~, which is what I want. Is this a new "feature" and if I can disable it?

View 3 Replies View Related

General :: Gnome-terminal: Preserve Symlinks Of Working Directory When Opening New Tab?

Aug 31, 2010

If I'm using gnome-terminal in a working directory whose path includes symlinks and I open a new tab, the symlinks will be expanded to their destinations in the working directory of the new tab.

Is there any way to preserve the symlinks when opening a new tab?

View 1 Replies View Related

Software :: Script That Call A Java Program That Call A System Command?

Nov 29, 2010

In practice I have a script that call a java program that call a linux system command. The script if I run it, from a shell functions well,so it is not a java problem. The problem come out when i put this script in a crontab schedulation. The result in this case is that java do not execute the system command. I think it depends on crontab

View 4 Replies View Related

General :: Error Opening Terminal - Edit Sudoers File By Typing Visudo

Nov 13, 2010

Recently I migrated from Ubuntu to Debian, first thing i wanted to do was to give myself sudo permissions and lock the roir account. By default sudo group don't have permissions to do this on debian, so i wanted to edit sudoers file by typing visudo. But i keep getting this
error: Error opening terminal: vanilla How can i solve this.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved