HELP accidentally overwrite autostart file

Forum rules
Before you post please read how to get help
Post Reply
f0olyc0oly
Level 1
Level 1
Posts: 11
Joined: Mon Aug 12, 2013 11:45 pm

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 :( :( :( :( :( :(

seppalta
Level 4
Level 4
Posts: 386
Joined: Wed Jun 08, 2011 12:08 pm

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
Level 1
Level 1
Posts: 11
Joined: Mon Aug 12, 2013 11:45 pm

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:

Post Reply

Return to “Others”