Ubuntu :: Add Startup Application Through Bash?
Jun 19, 2010I am trying to write a bast script, and I need the script to add something to the startup applications, so that it runs when the user logs in.
View 2 RepliesI am trying to write a bast script, and I need the script to add something to the startup applications, so that it runs when the user logs in.
View 2 RepliesI am trying to run my tomcat 5.5 at startup.. I went to System-->Preferences-->Startup applications and entered the command to launch my script: /bin/sh /home/marco/apache-tomcat-5.5/bin/catalina.sh run
But when i restart ubuntu, my tomcat does not run and i dont know where to find the proper logs to see what happened.
I'm trying to set firestarter as a startup application using the gui but it will not run due to permissions problems,?
View 4 Replies View Relatedhow to get Vuz installed properly and running, however I would like to make it start the gui interface automatically on login/startup and minimized. I tried adding it to the SYSTEM->PREFERENCES->STARTUP APPLICATIONS as that seemed the obvious way to do it, however it does not startup automatically after I restart the system.
I am running:
Ubuntu 10.04 LTS
Java 1.6.0_18
Sun Microsystems Inc.
SWT v3555, gtk
Linux v2.6.32-23-generic, i386
Vuze V4.3.0.6/4 az3
I am running Unbuntu 10.10 on a HTPC, and also XBMC. With some effort it worked ok, sounds, remote etc. Via systems>preferences I managed to add XBMC to the startup. It now starts when I start the PC. However it sort-of hijacks the PC, so the WiFi does not start among other things. Also I am no longer able to log into the desktop, so I am not able to emove XBMC from the start-up of the computer. If I exit XBMC I get to the log-in screen for the desktop, but when I log in it starts XBMC directly.
How can I remove it via the terminal? I cannot find a .config directory, any autostart, any .xsession, .xinitrc or anything else that looks like startup-script. How can I get access to my desktop again?
I have downloaded Ubuntu within windows 7, with wubi. It shows itself as Ubuntu 10.10, though I had selected 11.04, not to worry, this is for information only. I downloaded Q Cad, a drawing programme from the Ubuntu software centre and it shows in the list but I do not know how to launch it.I will have to down load some more applications and I think I will run into this wall again. I can enter CLI through Ctrl+Alt+F1 to F7 and probably do nothing more.
View 1 Replies View RelatedMy karmic install locks up whenever I try to launch an application. Open office, firefox, doesn't really matter. about the only thing that works consistently is terminal.
View 1 Replies View RelatedI like to use Tilda in transparent mode. In Karmic I just added tilda to the startup applications and everything worked well. Now in Lucid, it starts up before Compiz and I don't get Compiz transparency. I have to quit Tilda and load it again before I get the transparency right. Is there some way to force tilda to start after Compiz? (I have tested this on several comps. it seems to hold true)
View 5 Replies View RelatedI want to launch qiv upon startup to show a series of photos in slideshow fashion (this will be the sole purpose of this particular laptop). I tried adding the command via System->Preferences->Startup Applications but this does not produce the desired result. In fact, the slide show doesn't even start.
View 5 Replies View RelatedI have an embedded PC104 application where I am trying to get my program to start automatically at power up. The program contains a graphical user interface, using an old SVGALIB (no longer supported). It works fine if I start it after log in.But when I put the path in rc.local, it will only run if I disable all the graphical stuff. The program bunts if it looks ahead and sees the call to vga_setmode(), where I set it for 480 x 640 resolution.
View 3 Replies View Relatedhow to add start up for the JDownloader on fedora 15
View 14 Replies View Relatedim building a small wallboard machine, using ubuntu 10.10 as 11.4 refuses to load correctly on any of my spare machines.but, anyway, thats not the issue, ive installed chromium-browser, and added it to the startup applications with
Code:
chromium-browser -kiosk http://wallboard
where http://wallboard is the wallboard info thats being displayed.
that works, BUT the browser is opening BEHIND the top 'menu' bar, and the bottom 'task' bar, which obviously, is not what i want. how do i set it to either hide these 'bars' or open the browser in front of them like it does if i manually run the command from a terminal?
I 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 RelatedIn my case I have TeamViewer 6 (remote desktop application) opening as one of my Startup applications. I only really need it to run in the background, so I don't need it in my face after logging in.
What I'm looking for is a command line option for opening an application in a minimized state. Is this possible? Or should I start looking into a script to find the window and minimize it?
i just installed fedora 12 and got conky working like i want. i created a '.conkyscript.sh' in my home folder to run conky that looks like this...
Code:
#!/bin/sh
sleep 15 && conky
[code]....
I am trying to get the KDE Media screen saver working in GNOME. Is there a way to use kde's screensaver program in gnome on startup, instead of gnome's screen saver program? Basically, I am trying to disable gnome's screensaver, and load kde's program in its place at gnome startup.
View 1 Replies View RelatedCentos 5.6 - I'm trying to lock the screen immediately after successful gnome user login. My steps...
System > Preferences > More Preferences > Sessions > Startup Programs tab > Add
I've tried the following...
gnome-screensaver-command --lock
/usr/bin/gnome-screensaver-command --lock
Neither of these seem to work from the Sessions gui. Although from terminal I can run gnome-screensaver-command --lock with no problems.
I have script that is called from a startup init script before login. It has some different behavior than if it ran from a login script. It doesn't allow to have input characters deleted on a line and doesn't allow for the break command. It's part of Live CD, I'm going to make publicly available, so I want to boot straight to into the script.
View 1 Replies View RelatedI made a mistake on my home server. I installed the eXist xml db, and wrote a bash script so that it would start up when the machine boots up. But now, the server just hangs before the system asks for a user logon, so I can't ssh into the machine, and when I have the monitor and keyboard hooked up to it, it's not letting me logon or cancel the script. Anyway to kill the current running process and get to the logon, so I can delete that bash script?
View 1 Replies View RelatedI installed Startup Manager but the appearance and security tabs are missing. I really want to be able to change the resolution of the splash screen cause it looks all pixelated and I want to have the splash screen that 9.10 had.
I tried reinstalling and restarting but the issue remains. I know its somewhat functional because I am able to change the seconds that grub takes but when I try to change the resolution of the purple ubuntu startup screen it looks like it tries to change it but it fails.
I'm trying to launch CoverGloobus (a fantastic little album art and current song display) and Rhythmbox simultaneously through a BASH script. Problem is that when I attempt to run the script the first time, CoverGloobus doesn't launch, but Rhythmbox does. Here's my script as it is right now:
Code:
#! /bin/bash
#Opens Rhythmbox and CoverGloobus
rhythmbox && covergloobus
done
I've double-checked the commands in gnome-terminal, and they're the right ones for launching the applications. Here's where it gets odd, though. The second time I run the script, CoverGloobus and Rhythmbox launch simultaneously. I've reproduced this scenario multiple times.
I've just added an application to load on startup in gnome.At first gnome loads properly,but after few seconds that application starts automatically and I can see its icon on taskbar , then gnome freezes and I can't do anything in gui.
How I can remove that application from starup of gnome using command line?
I recently installed OpenSUSE 11.3 amd64 from DVD on a new HP 625 Laptop. Whenever networking is activated, application startup slows down significantly. When I deactivate networking in the nm-applet application startup is fine. I am using the broadcom-wl package from packman for the broadcom wireless card (BCM4313)
View 9 Replies View RelatedSo I turn on my PC this morning, and it comes up with this telling me to use 'TAB' to see a bunch of options I can use, not knowing any idea on how to use them properly I type in 'boot', it returns with 'error: no kernel' and then I type 'exit', it just reboots.
I've scanned endless posts on the forum trying to find the most useful replies and tried to use 'find /grub/stage2' and 'find boot/grub/stage2' and it says 'find is not a command' so that failed. I then tried to find out the partition my installation is in, which is hd0,1 so I tried using 'setup (hd0,1) which returned with 'setup is not a command'. I even tried 'boot (hd0,1) but it returned with the first error 'error: no kernel'. Luckily, when I installed Ubuntu I dual-booted it with Windows so I'm still able to use the Internet but I would love Ubuntu back and I had a lot of important files on it. So does anyone know how to solve this?
By the way, the way I installed Ubuntu was through Windows using 'wibu', it's worked absolutely fine ever since this morning. Oh and I'm using Ubuntu 10.04 (Loopy Lynx or whatever it's called ;p)(Also, for more information this screen appears after I choose 'Ubuntu' from the Windows bootloader, it doesn't even get to the Ubuntu bootloader it just goes straight to that screen)
[Code]...
I was wondering how to run a bash command automatically on startup. on start-up have "alsamixer" or "start-network" executed from terminal.
View 3 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 RelatedMe and my mom are sharing a laptop.My mom likes to use Google Chrome. I like to use Opera. Is there any way I can tell the system to start the Opera application , but then instantly minimize it to the tray bar? I want that because : if my mom starts the computer and I'm not around , I still want all the tabs in my Opera to load , without my mom knowing anything about my "malefic" plan ...
View 6 Replies View RelatedI'd like to add custom startup commands (for example starting a process, registering to a registration server, downloading a configuration file) to the Linux startup process. Those commands should be triggered on startup only. What is the standard/appropriate way to do this?
EDIT: Is /etc/profile the right place to trigger such things?
EDIT2: I'm using Ubuntu.
I have some problems with rc.local. It wont execute a scipt of mine at startup.
The script itself works and if I run rc.local manually it works too...
The script to run:
Doesn't seem to be a lynx-issue. I've tried with hard coded text as message too...
The script lies under / and have chmod 777.
Running CentOS 5.5 (if you didn't get it, this script is for sending the external IP-adress to my email att startup. If a thief is stupid enough to start it connected to internet)
I want to tweak my linux environment so that when I type a text file name on the command line and hit enter the file should be opened in Vim.
$: /tmp/file.txt
should open the file in Vim. This is similar to what happens on windows (where a text file is opened in notepad.)