Skip to content

Instantly share code, notes, and snippets.

@ohsevin
Created April 1, 2018 05:39
Show Gist options
  • Save ohsevin/9a377a1c47e009ebdce3b1386d4467c3 to your computer and use it in GitHub Desktop.
Save ohsevin/9a377a1c47e009ebdce3b1386d4467c3 to your computer and use it in GitHub Desktop.
Enabling-XFdesktop-OnBoot-and-LightDM-conf.txt
# HOW to enable XFDESKTOP to auto-start upon booting to every (x)session: (+ keep lightdm)
# Tutorial/tip written in a heat of random energy likely produced from the effects of bustin' ass
# (C) Shane Maloney of ZYPLOK LLC. of Portland, Maine 04103
## FIRST, copy & paste (the below) command(s) to a text editor app (gui) for later use w/ our task
## THIS IS CRUCIAL as it'll be THE command(s) you will provide to where needed, to start xfdesktop
exec /usr/bin/xfdesktop
# OR
exec=xfdesktop
## inside of editing this file found below;
sudo nano /usr/share/xsessions/Peppermint.desktop
# you will see this something like this--tadaahh, the OZ behind the curtain--pursue onward;
## COPY & PASTE (below) TO TEXT EDITOR FOR just-in-case AND ITS GOOD PRACTICE IF ALTERING CONFIGS
Exec=/usr/bin/startpeppermint
## that's the key to where the pot of gold is held, so go open that bitch:
sudo nano /usr/bin/startpeppermint
# you will then see when you scroll to the very bottom of the page, this:
"# Start the LXDE session
exec /usr/bin/lxsession -s Peppermint -e LXDE"
## simply remove this entire entry and replace with something similar or exec=xfdesktop:
"# Start the desktop session manager xfdesktop4
exec /usr/bin/xfdesktop"
## DO NOT INCLUDE THE two " QUOTEs FOUND ABOVE--only the two lines command provided
##/!\## [HIGHLY RECOMMENDED] Here's my suggestion folks--to be honest:
[I would let LightDM RUN & RUN xfdesktop(4)--then, xf works primarily as your desktop functions]
# LEVEL II: (continue forward if you wish to modify your lightdm .conf to reflect desired changes)
## (and)/OR you may take a look direction within the LightDM configuration file
## you can open your editor and adjust the .conf file as shown below:
sudo nano /etc/lightdm/lightdm.conf
## once you're inside the "lightdm.conf" file you'll see .desktop scheme for exec/init:
# just make sure you change that shit out for somthing like this if you prefer GNOME:
"[SeatDefaults]
greeter-session=unity-greeter
user-session=gnome-shell
autologin-user=paul"
## DO NOT INCLUDE THE two " QUOTEs FOUND ABOVE--only the two lines command provided
## meh interw3bz fe-mail fo yeh questions or nudez: [email protected] // muah xo
## @ninetyfivenorth with GitHub // github.com/ninetyfivenorth
# IG@shanefr0mmaine // shanefr0mmaine.tk // April 1st, 2018 [Happy Easter Fools Day!]lookitup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment