Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-09-22 19:44:39

johnywhy
Member
Registered: 2011-10-09
Posts: 283

Command on Login, for All Users, with No DM, and No systemd?

Using DevuanDog, a no-systemd distro based on DebianDog, a slimmed down version of current Debian release
https://debiandog.github.io/doglinux/zz … essie.html

http://murga-linux.com/puppy/viewtopic. … 908#996908

I'm using command line as login screen, so we're not consuming RAM and diskspace with Slim or other login eye-candy.

But, still want xfce desktop to start as soon as the user logs in at the command line, without having to type startx or startxfce4. That should happen for all users, including new ones added later.

How to do that? One of these?

Adding the command to the end of ~/.profile
https://askubuntu.com/questions/270049/ … d-at-login

seems that won't work for new users added later.

put a .desktop file in ~/.config/autostart to run applications after a user login. This may have following content:
[Desktop Entry]
Type=Application
Name=<Name of application as displayed>
Exec=<command to execute>
Icon=<full path to icon>
Comment=<optinal comments>
X-GNOME-Autostart-enabled=true
https://askubuntu.com/a/48327

xfce4-terminal  -e  "/batch-path/batch-name.sh"
    xfce4-terminal: open the terminal after user login with current user privileges
    -e: set the terminal to execute the batch file
    /batch-path/batch-name.sh: is the batch full path and full name
https://askubuntu.com/a/310333

Is this question specific enuf?  big_smile

Last edited by johnywhy (2019-08-13 02:50:38)


arch xfce x86_64

Offline

Board footer

Powered by FluxBB