ChrisTitusTech / Debian-titus

Debian customizations from Chris Titus Tech
GNU General Public License v3.0
414 stars 152 forks source link

Can you add the option of ly display manager? #77

Open RobotsAreCrazy opened 1 year ago

RobotsAreCrazy commented 1 year ago

Hi Chris, great fan of your work

Wondering if you could add support in your script for ly display manager please as I wanted to use it instead of sddm, but unsure what to do as in the script it mentions sddm themes....

Thankyou

ghost commented 1 year ago

Hi. I have created a branch called ly in my fork. https://github.com/nxjosephofficial/Debian-titus/tree/ly

If you already ran the install script, you can just use the codes below. You don't need to run install script again.

# Installing ly display manager dependencies
sudo nala install build-essential libpam0g-dev libxcb-xkb-dev

# Install ly display manager
git clone --recurse-submodules https://github.com/fairyglade/ly
cd ly
make -j$(nproc)
sudo make install installsystemd
cd ..
rm -rf ly

#  Disable sddm and enable ly
sudo systemctl disable sddm
sudo systemctl enable ly.service
sudo systemctl disable getty@tty2.service
RobotsAreCrazy commented 1 year ago

So would this work on an arm64 Debian install or would I have to modify the script to be arch=aarch64 or should that be arm64 to install the various packages e.g. brave browser?

Also, would this also require an install without an desktop environment?

Thanks

ghost commented 1 year ago

Also, would this also require an install without an desktop environment?

No, this doesn't matter. You can select your preferred environment in the display manager.

I'm not sure but it should work without any modify.

You are welcome.

RobotsAreCrazy commented 1 year ago

Just in the script for things like brave it has arch listed as amd64, so as I use an pi4 I wondered if it would even work

ghost commented 1 year ago

Ah, yes. Brave's arch is amd64 in the script. Let me see if brave has arm64 build.

Yes, brave has arm64 build.

I updated the steps for installing brave browser:

# Install brave-browser
nala install apt-transport-https curl -y
curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main"|tee /etc/apt/sources.list.d/brave-browser-release.list
nala update
nala install brave-browser
RobotsAreCrazy commented 1 year ago

Tbh if I can't use brave, maybe flatpak as can then use librewolf it's a really good privacy orientated browser that would be a great option to have in the script

ghost commented 1 year ago

Actually it is easy to modify this script. You just put commands that you need to install packages.