New answers tagged autostart
1
Turns out that there is a .desktop file for lxrandr that you can edit with the contents from an ARandR file.
e.g. here is my ARandR file for a laptop with an external monitor attached.
$ cat ~/.screenlayout/dual.sh
#!/bin/sh
xrandr --output VGA-0 --mode 1920x1080 --pos 0x0 --rotate normal --output LVDS --mode 1280x800 --pos 1920x280 --rotate normal ...
1
If you are using Unity, just search 'Startup Applications' in the Dash
and add Empathy to the list
(this command is empathy)
0
I got this:
System start/stop links for /etc/init.d/minidlna already exist.
because I had added a symlink to my service into /etc/rc5.d/ (could be other rc directory). After removing the symlink I was able to use update-rc.d to set up autostart. Service started fine.
1
You Want to look into a program called devilspie. Ubuntu-Link
It is in the repos so a simple sudo apt-get install devilspie will do it.
0
According to the desktop entry spec, there don't appear to be any position-based properties in the standard entry keys.
If the specific application you're running accepts positional parameters though, you might be able to get it to work that way in the Exec entry.
0
If you cannot find the entry that starts a program, you might also find it in /etc/xdg/autostart instead. I know they finally fixed Nautilus automatically starting in KDE using the OnlyShownIn setting. Changing files in this directory is system wide, so you may want to copy the file of the offending application to ~/.config/autostart/
Instead of using ...
0
So it turns out it wasn't the settings in dconf-editor it was looking for specifically, but somehow the schema had gotten out of sync.
First try reinstalling the package gsettings-desktop-schemas; it didn't work in my case:
If that doesn't work, and this is a bit of a hack, but using the information from the Gnome Shell docs, I recreated the schema entries ...
3
Upstart v1.4+ states ...
setuid $user
Changes to the user before running the job's process.
Change $user to an actual username
Note that all processes (pre-start, post-stop, et cetera) will be run as the user specified.
Note that if you specify an invalid username in the setuid stanza, Upstart will log an error if it is in Debug Mode.
...
Top 50 recent answers are included
