Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-05-2013, 08:58 AM   #1
Registered: May 2013
Posts: 200

Rep: Reputation: 1
Remove start up application using command line

Hello everyone,

I am using ubuntu 12.10. My monitor is little old and some time it gives trouble.

I have put a command compiz --replace in my start up application, since then my monitor does not show desktop after log-in, it is closed automatically.
The cpu is on but the monitor is off and on/off switch can't make it working, the only way is restart.

I can see my log-in screen and as I enter my user name and password, monitor is closed automatically.

I know the start up applications are executed after log-in that's why it is closed automatically.

I can go on command line using ctrl+alt+f1.

Please give me a solution to remove this start up application using command line.

I should have made a shell script and put this command there. So I could rename the script using command line and my problem would be solved but unfortunately I have put the command there. Please tell me the way to remove this using command line.

Old 06-05-2013, 09:23 AM   #2
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Start a different fail-safe session instead from login screen.


# sudo apt-get purge compiz compiz-plugins-main-default libcompizconfig0

(if you have another desktop)


use gconftool-2

gconftool-2 --recursive-unset /apps/compiz-1



edit the relevant config files ...
Old 06-05-2013, 11:55 PM   #3
Registered: Mar 2013
Posts: 635

Rep: Reputation: 141Reputation: 141
If you can go on command line using ctrl+alt+f1, just log-in as root (if you can) or log-in as your regular user.
Run following command.
# rm /root/.config/autostart/start-up-allication-name.desktop
where start-up-allication-name is the name which you put while creating application.
suppose your application name is compiz in your start up application, run following command.
# rm /root/.config/autostart/compiz.desktop
If you are logged in as regular user, run
$ sudo rm /root/.config/autostart/compiz.desktop
I hope, it will help.
Old 06-06-2013, 07:14 AM   #4
Registered: May 2013
Posts: 200

Original Poster
Rep: Reputation: 1
Thanks... it worked for me.
Now my monitor is started and that start up application is deleted.

I thought there is a way like to do something with rc.d, I was searching about my solution so I found this.
but your way is different, thanks it worked for me.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I start "Application Browser" from the command line? ggyyree Linux - Newbie 5 11-09-2009 04:09 PM
Start 'Add/Remove' program GUI from command line j_70 Linux - Software 1 02-08-2008 02:59 PM
Command line Application search TheAvenger Linux - Software 3 06-20-2006 10:12 AM
command line help required please (remove driver) jz32300 Linux - Newbie 2 06-11-2006 07:13 AM
remove folder from command line demmylls Linux - General 3 02-15-2004 09:52 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration