Programming :: Cannot Open Terminal On Startup
Jun 8, 2011I wanted to write the script which runs at startup and opens the terminal window the moment desktop screen appears(GNU linux).
View 3 RepliesI wanted to write the script which runs at startup and opens the terminal window the moment desktop screen appears(GNU linux).
View 3 RepliesI have written a script to display a message that I wish to run whenever a terminal session is initialized.
The script is working but I am unclear how to implement it.Do I need to create a file called 'gnome-terminal.sh' in /etc/profile.d?
I've been learning C recently and have used Vim to write my code, however switching between tabs to compile and run annoys me so i was wondering if it would be possible to have a terminal in the bottom half of the screen inside vim. similar to most text editors.
View 1 Replies View RelatedI am working on a small project for making a small configuration tool for ubuntu 9.10 for new linux users, that make their system working easily without knowledge of the linux commands.I created a gui in glade and loaded the gui with my python program to show up, now i wish to have some python codes that can launch a gnome terminal (and also pass some linux commands to it) on the click of a button contained in the glade file.
View 1 Replies View RelatedWhat is the command for "Open a terminal window and run application in this terminal
View 4 Replies View RelatedI've fallen in love with Terminator as a replacement for the standard gnome-terminal app.
However, I'm also very much in the habit of using the nautilus-open-terminal extension for launching new terminal sessions.
I'd like nautilus-open-terminal to launch Terminator rather than gnome-terminal.
A quick search of my system and the web didn't reveal anything. i didn't find a gconf setting to control this. A quick look at the source code didn't help much either.
I have a problem that I can't seem to figure out. I can easily create a .sh file that will execute a command in Terminal, but as soon as it executes the terminal disappears. How do I get it to stay? My idea is to have the keyboard shortcut "ctrl+alt+del" open a .sh file with the contents "ps ax". Then it would be just like having a task manager; the terminal would open with "ps ax" already executed, and all I would have to do is kill the process number.
View 5 Replies View Relatedwhen my netbook remix 10.04 starts I can see only terminal and no graphic interface (as you can see in the picture). I see the log in screen type my password and when the screen like on the picture. I 'm using lenovo N100 nb Tryed to install ubuntu desktop but no use
View 9 Replies View RelatedI am quite aware that one can add a startup application to the gnome session by going to System -> Preferences -> Startup Applications (Sessions). But, is there a way to achieve the same thing via the terminal? I want to know because I am writing a simple bash script that installs all of the programs I commonly use. One such program is compiz fusion with fusion-icon.And so I want to add the fusion-icon into the gnome session with my script (strictly within the terminal).
View 2 Replies View RelatedI know how to make things run at startup, and obviously know how to run a command in terminal (type and enter... duhhhh). However I would like to be able to run vnstat in terminal when my computer logs in, this is very handy for seeing how much I have downloaded. I have a terminal embedded on the desktop and would very much like to run vnstat in it for me when it starts, I know I could just type in vnstat when I've logged on, but where is the fun in that? Just having it already there for me would be far better.
The command for starting my desktop terminal is as follows:
Code:
gnome-terminal --window-with-profile=trans --geometry 90x40+280+30
I know this has been asked a 1000 times, but none of the solutions I've read so far work.I need to run the following terminal command every time Ubuntu (10.04 64bit) starts:Code:xset m 9 1This boosts mouse speed to maximum. I don't know why, but it is the only thing that works. All built-in mouse settings are at maximum, yet my mouse crawls across the screen when Ubu starts. So far, I have tried:Creating a startup script called "/etc/init.d/autorun.sh" containing code...
View 9 Replies View RelatedI've searched everywhere, but they all talk about BOOTING into the terminal instead of ubuntu. But here all I want is for ubuntu to automatically run a certain command when I boot into ubuntu.This is related to the screen brightness change problem that's still much of an unsolved mystery for ubuntu and I have mostly solved this 'm able to change the brightness with sudo setpci -s 00:02.0 F4.B=xx, xx being from 00 to FF, but it doesnt seem to stay when I log out and log back in. Is there any possible way to put a terminal command in the startup applications or something or a possible solution to the brightness problem that I havent discovered yet?
View 9 Replies View RelatedThis is a weird problems.Everytime i log on to my computer/restart my computer, the terminal always autostart.I already checked at startup application.No terminal there.Any suggestion to stop the terminal from autostart with startup?
View 2 Replies View RelatedI recently upgraded to Ubuntu 11.04, and I installed it via the Update Manager and restarted as normal. But, as I went on my dual boot OS selection screen and selected Ubuntu, this message appeared:
init: udevtrigger main process ( 398 ) terminated with status 1
init: udevtrigger post-stop process (404) terminated with status 1
init: udevmonitor main process (397) killed by TERM signal
The disk drive for / is not yet ready or is not present
Continue to wait; or Press S to skip mounting or M for manual
I'm afraid to do anything after this screen...
Well, I want to run a terminal command at startup. I Google searched, but all the threads were ~5 years old. The command I want to run is code...
View 9 Replies View RelatedI have a question regarding terminal. I try to launch it from the "Startup Applications" by entering a script.Code: sh -c '/usr/bin/gnome-terminal'but it does not start.Also, when it does start I would like it to auto run certain commands: navigate to my project folder run "play test" open a new tab run "top".how can I achieve this?
View 9 Replies View RelatedIve 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 RelatedI'm having trouble with the rc.local file. So I tried the suggestions on this page[URL]I could run the script ok through the terminal. But it doesn't run on startup. Has anyone got this to work in the way explained in the link above? I'm using Ubuntu Lucid.
View 2 Replies View RelatedI would like to setup a command to run when I start up the terminal, but have the terminal stay open for use when it's finished. I was trying to get my terminal to run fortune whenever I start it just for cosmetic value, so I tried changing the launcher command to gnome-terminal --command=fortune, but that makes it just output the fortune result and then terminate.
View 1 Replies View Relatedi'm trying to automate terminal commands to execute at startup (rc5)one is a background process: Code: xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1 the other is a gui application: Code: /home/labr/apps/gmail-notify/notifier.py i placed these commands in /etc/rc.local but does nothing.
View 2 Replies View RelatedI successfully created launchers for apps and I can run them in terminal with double clicking.Now I want them to run on startup, automatically. They run with arguments.There is System-> Preferences -> More Preferences - > Sessions - > Startup Programs where I can add my commands.I put:
gnome-terminal -e "/some_path/myapp1 -arg1 - arg2"
gnome-terminal -e "/some_path/myapp2 -arg1 - arg2"
Dear experts,I have a question about open() function of gcc3.4.6.I write a example:
Code:
using namespace std;
#include<iostream>
#include<fstream>
int main()
{
[Code].....
It can be compiled and ran.The statement file=txt_stream_file is in order to change char* to const char*. But open() function is not work,and out: can not open plots/results.txt The open() function of gcc3.4.6 is:
[Code]....
I have Lucid Lynx (10.04) installed, and have this annoyance with various terminals and the Help Menu automatically opening at startup. So every time i boot up i get a screen full of open terminals:
1. Ubuntu Help Centre
2. File Browser
3. Desktop Terminal
I have tried looking at the Startup menu under Preferences but there is no entry for any of the above.
I click StartUp-Manager from the System menu password prompt the "preforming pre-configuration tasks" starts up then... nothing. no startup manager window.
here is the terminal output
Quote:
ry@ry-desktop:~$ startupmanager
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
[Code]....
In xubuntu 10.04, Whenever i startup my laptop, xubuntu loads up well and everything. it prompts me to enter my passwprd then after that it starts up as normal...the problem is that my videos file is always open and in the taskbar on the desktop when i startup.
View 2 Replies View RelatedI'm a day-1 Ubuntu user with a question about getting multi-touch scrolling enabled on my laptop automatically each time 10.04 loads. I'm very green when it comes to all-things-Linux. Basically, I'm just searching for help, following step-by-step guides, and copying-and-pasting commands. I found the following website that helped me create a little script to enable multi-touch control:[URL]...
But I can't figure out the last step: "All you need to do to have this run at startup [instead of typing ./2fsrl in terminal manually each time] is add it to you startup programs." I tried creating a file path to the 2fsrl file in Preferences -> Startup Applications program, but upon re-starting the laptop, the multi-touch isn't enabled anymore. I'm sure I'm missing something simple. Can anyone advise? (Keep in mind my beginner's status!)
After several upgrades (from 8.xx) I noticed Gnome terminal took about 4 seconds to open an window and another 4 seconds to give me a prompt. This is excruciating when blasting out CLI in dozens of terminals ssh'd into dozens of machines. Tabs were no different.
Fix was: Comment out anything in ~/.bashrc that references xterm. BOOM less than 1s total to prompt.
If it's faster than I can get my mouse hand back to the keyboard to start blasting CLI, it's good enough
I am running Linux Mint 9..I play xbox live and run it through my laptops wireless network connection so i dont have to pay 100 dollars for the usb wireless adapter for the xbox. In windows 7 this is easy to configure so that when i turn my laptop on and then xbox it automatically connects.
View 10 Replies View RelatedI've been messing around with Slackware 13.1 and I screwed something up. I was trying to get Wicd to start automatically at startup so I found a chmod... line of code online and copy/pasted it on my command line. Now whenever I boot the computer, when I get to the KDE desktop, the BASH window opens, Opera opens and I get a bunch of Wicd error windows. How can I fix this?
View 14 Replies View RelatedEvery time I start Ubuntu, I set up an ssh session to a server. In order to automate this I made an entry in startup programs like this:/usr/bin/gnome-terminal -e '/usr/bin/ssh name@server.com'Nothing happens when I log in, and I've checked that the command works.
View 2 Replies View Related