HELP accidentally overwrite autostart file

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
f0olyc0oly

HELP accidentally overwrite autostart file

Post by f0olyc0oly »

HELP!! I accidentally overwrite /etc/xdg/lxsession/LXDE/autostart now I am not able to see my desktop it's just stuck on a blank screen :( :( :( :( :( :(
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
seppalta

Re: HELP accidentally overwrite autostart file

Post by seppalta »

Use a text editor to create a file:

Code: Select all

@lxpanel --profile LXDE
@pcmanfm --desktop --profile LXDE
@xscreensaver -no-splash
Name it autostart and put it (as root) into /etc/xdg/lxsession/LXDE. You will have to create (sudo mkdir) first any of the directories in this address that you removed. If you cannot access enough of your installed system to do this, then boot-up to your install disk system and do it from there. Be sure to put it in /etc/xdg/lxsession/LXDE on your hard drive.
f0olyc0oly

Re: HELP accidentally overwrite autostart file

Post by f0olyc0oly »

seppalta wrote:Use a text editor to create a file:

Code: Select all

@lxpanel --profile LXDE
@pcmanfm --desktop --profile LXDE
@xscreensaver -no-splash
Name it autostart and put it (as root) into /etc/xdg/lxsession/LXDE. You will have to create (sudo mkdir) first any of the directories in this address that you removed. If you cannot access enough of your installed system to do this, then boot-up to your install disk system and do it from there. Be sure to put it in /etc/xdg/lxsession/LXDE on your hard drive.
thanks seppalta! :wink:
Locked

Return to “Software & Applications”