0
votes
2answers
46 views

Add poweroff to startup script

Yes, as the title says I want to add poweroff to startup script /etc/rc.local (Ubuntu). It sounds odd or silly, the reason is I want to tease my friend for few minutes. I didn't tried it up to now. ...
0
votes
0answers
115 views

Where to check battery state and set CPU governor/performance level during boot?

My laptop supports setting a "performance level" (normal, overclock or silent) that influences the CPU clock rate and fan speed beyond the usual CPU governor setting. The level is set to "normal" by ...
5
votes
1answer
1k views

Disable atd (and other unnecessary startup processes) in Ubuntu?

I just spun up a new 12.04 server and have been having a bit of trouble getting the atd daemon to stop auto-launching. There's been a bit of changing around on the management of startup processes, ...
1
vote
1answer
417 views

Make a “java -jar file.jar” run at startup

Hello I am running a kubuntu 13.10 distro, but I guess my question is pretty general...how to make a .jar execute in background at system start?
2
votes
2answers
233 views

How do I disable the left CTRL on Ubuntu 13.10?

How do I disable the left CTRL on Ubuntu 13.10? Actually I can do it already. All I need to run is xmodmap -e "keycode 37 = " The problem I have is this only works if I run it from the terminal ...
1
vote
0answers
83 views

Can't reliably create a directory on startup after ec2 instance mounts its ephemeral drives

This particular instance type mounts two ephemeral drives, in /dev/ and /mnt/. I have to create working directories for one of my services in these paths at startup or the services won't launch. ...
2
votes
2answers
137 views

How to associate a script at boot time to a specific run level?

I am trying to understand how run levels work. I understand the meaning of the 7 run levels and I understand that they were usually configured by /etc/inittab, which used to call /etc/init.d/rc, which ...
1
vote
1answer
351 views

Finding log file of ntp daemon in Ubuntu 10.04 LTS

My Ubuntu is set to run ntp before dovecot at startup. (See my earlier question: The rc0.d,rc1.d,... directories in /etc in Ubuntu 10.04 LTS) However, I suspect that dovecot may have finished ...
0
votes
0answers
244 views

Ubuntu cannot start from terminal

Ubuntu 12.04 By a mistake, I stopped lightdm. Then switched to tty1, and rebooted. Now, After startup, It just came a black screen with a cursor, can type nothing. I tried Ctrl+F1 to F12 (and ...
1
vote
0answers
533 views

xrandr config not loading properly at startup from .xprofile

I'm using xrandr to rescale the resolution on a netbook (Ubuntu 12.10). When I run the following command it works fine: xrandr --output LVDS1 --mode 1024x600 --panning 1280x720 --scale 1.25x1.2 ...
2
votes
1answer
407 views

Xubuntu 12.04: slow login

I'm running Xubuntu 12.04, and after I ran the update, my login started slowing down big time. I've dabbled a little bit with the programs in Settings -> Settings Manager -> Session and Startup, and ...
1
vote
0answers
165 views

Automatically start named pipe reader on startup?

I'm trying to run a script with root access from PHP. I can't do that because Apache's user, www-data, don't have root access because of security reasons. To fix that, I was advised to use a named ...
3
votes
3answers
392 views

Upstart: How to run a “stop” before stopping other services?

I recently found out about the upstart "service starter" that Ubuntu is using and that is (apparently) the future to start/stop jobs in Linux. It's pretty new to me (I was used to the old SysV system ...
4
votes
2answers
4k views

How to start VNC server on start-up in Ubuntu 10.04

I've been struggling with this long enough to ask yet another startup script question. I've got a startup script that is relatively simple, ie: ### BEGIN INIT INFO # Provides: startVNC # ...
2
votes
1answer
429 views

Ubuntu 11.04 Startup Applicatation vs /etc/init.d

Is there any difference between these two methods for application to start on boot? I need an application to start before a logon occurs and am questioning whether or not Ubuntu's Startup Application ...
4
votes
2answers
1k views

Having a bash script run at startup and display the results when I log in

I am running Ubuntu 11.04 and I want to be able to run a command like top so when I login it is running in a window. I been trying many things for a while now and can't seem to get it to work I ...
5
votes
4answers
6k views

Run Python script on startup

Running on Ubuntu Karmic. I need to execute the following (updated) script at boot time #!/bin/sh # /etc/init.d/scripts # Description: Starts Python scripts # ————————————————– # ### BEGIN INIT INFO ...
6
votes
3answers
2k views

Why won't my xmodmap command run on startup/login?

I want to run this command every time I log in (or every time I start up, if that doesn't work): xmodmap -e 'keysym Delete = Menu' -e 'keysym Menu = Delete' I've tried many things. I put the command ...