You are not logged in.
Hello,
it seems as if nothing I put in.config/openbox/autostart automatically starts. I need to have a browser window opened automatically after logon.
First of all: is it autostart or autostart.sh?
Btw I tried both versions, under .config/openbox, which I created, both with permissions 700.
The test command is simple, just like:
sleep 10 && leafpad &
Nothing happens. Any hints?
thank you
--
rob
Offline
application must be launched to Login.
review group and user:
USER: your user
GROUP: users
#chown tux:users autostart.sh
#chmod 644 autostart.sh
restart session
Offline
thank, but it doesn't work.
It is the latest RC2, fresh reinstalled it on a VM, just to be sure (and I tried also autostart.sh):
tux@slitaz:~$ cd .config/openbox/
tux@slitaz:~/.config/openbox$ ls -la
total 3
drwxr-xr-x 2 tux tux 1024 Sep 11 18:02 .
drwxr-xr-x 9 tux users 1024 Sep 11 18:00 ..
-rwxrwxrwx 1 tux users 22 Sep 11 17:58 autostart
tux@slitaz:~/.config/openbox$ cat autostart
sleep 20 && leafpad &
tux@slitaz:~/.config/openbox$
Offline
First of all Latest is rolling with updates, not RC2.
Autostart script ~/.config/openbox/autostart requires creating [c]~/.config/openbox/[/c] dir and works only in openbox-session. ~/.profile can be useful to add commands in it.
lxde-session uses autostart from [c]*.desktop[/c] files in directories:
systemwide: /etc/xdg/autostart/
user's: ~/.config/autostart/
[c][Desktop Entry][/c]
[c]Type=Application[/c]
[c]Name=script[/c]
[c]Exec=/path/filename[/c]
Then check for it in lxsession-edit.
In slitaz4: opening autostart-script without mkdir, old lxsession-edit (or something simalar) had 'add' button. For those who wants add-button it's possible to use [c]/usr/bin/lxqt-config-session[/c] from lxqt-session package. I just built lxsession 0.4.9.2 (gee1.0=0.6.8) with its lxsession-edit - nothing new, except new bugs and +200K to stripped binary. Maybe it's a good idea to create default ~/.config/openbox/autostart with #solution.
Offline
Thanks az_ua!
That *.desktop thing worked out just fine
I created a new file named tazweb.desktop under systemwide dir with the following content:
[Desktop Entry]
Type=Application
Name=TazWeb
Exec=tazweb --kiosk http://www.google.com
Offline
[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]