Hello TJ,
Welcome to the Forums.
That's lot of dependancies for a window manager. More than 200 MB. But it's preety cool isn't it.
You don't need gedit, you can use leafpad to edit this file:
/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xmlIt's actually just a
xfce4-session.xml
But you should always include the path to that file.
If you use the next command it will open the file in default text editor which is included in Linux Lite.
gksudo leafpad "/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml"
You are getting that error in gedit because gedit can not open your home folder simply because it's a folder.
~ is the same as $HOME which is an environment variable.
If you echo it you will see what is stored in the variable:
echo ~
echo $HOME
I get /home/milos
For you it will print out /home/tj or something like that.
You typed in:
sudo gedit ~ /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
The first tab gedit is trying to open is your home folder and text editor can't do that.
This will open just the file you want to edit:
sudo gedit "/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml"
It's a good practice to use the quotes " " when you are opening a file with the command line.
"/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml"
Some files may contain spaces and this way you are "telling" the program where the string begins and where it ends.