Comments (3)
What is necessary to use lightdm instead of GDM?
from steamos-ubuntu.
from steamos-ubuntu.
Ok... Let's do this from the start...
1- Install Ubuntu 18.04. Create your admin account (must be named desktop and nothing else);
2- Personally, I use this script which is a modified version of the script supplied on this github:
#!/bin/bash
Set the defaults. These can be overridden by specifying the value as an
environment variable when running this script.
NON_INTERACTIVE="${NON_INTERACTIVE:-false}"
Configure the default versions of the SteamOS packages to use. These generally
don't ever need to be overridden.
STEAMOS_COMPOSITOR_VER="${STEAMOS_COMPOSITOR_VER:-1.35+bsos1_amd64}"
STEAMOS_MODESWITCH_VER="${STEAMOS_MODESWITCH_VER:-1.10+bsos1_amd64}"
STEAMOS_PLYMOUTH_VER="${STEAMOS_PLYMOUTH_VER:-0.17+bsos2_all}"
Ensure the script is being run as root
if [ "$EUID" -ne 0 ]; then
echo "This script must be run with sudo."
exit
fi
Confirm from the user that it's OK to continue
if [[ "${NON_INTERACTIVE}" != "true" ]]; then
echo "This script will configure a SteamOS-like experience on Ubuntu."
read -p "Do you want to continue? [Yy]" -n 1 -r
echo
if [[
echo "Starting installation..."
else
echo "Aborting installation."
exit
fi
fi
Create 'steam' user account.
echo "Creating the steam user account..."
adduser steam
Replace GDM3 with Lightdm and configure the desktop user.
Required to make the BPM "Switch to desktop" feature work.
apt remove gdm3 -y
apt install lightdm -y
usermod -a -G nopasswdlogin desktop
usermod -a -G nopasswdlogin steam
dpkg-reconfigure lightdm
Install steam and steam device support.
echo "Installing steam..."
apt update
apt install steam steam-devices -y
Download the packages we need. If we fail at downloading, stop the script.
set -e
echo "Downloading SteamOS packages..."
wget "http://repo.steamstatic.com/steamos/pool/main/s/steamos-compositor/steamos-compositor_${STEAMOS_COMPOSITOR_VER}.deb"
wget "http://repo.steamstatic.com/steamos/pool/main/s/steamos-modeswitch-inhibitor/steamos-modeswitch-inhibitor_${STEAMOS_MODESWITCH_VER}.deb"
wget "http://repo.steamstatic.com/steamos/pool/main/p/plymouth-themes-steamos/plymouth-themes-steamos_${STEAMOS_PLYMOUTH_VER}.deb"
set +e
Install the steamos compositor, modeswitch, and themes
echo "Configuring the SteamOS boot themes..."
dpkg -i ./*.deb &>/dev/null
apt install -f -y
update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/steamos/steamos.plymouth 100
update-alternatives --set default.plymouth /usr/share/plymouth/themes/steamos/steamos.plymouth
Enable automatic login on steam user and default to SteamOS BPM UI.
echo "Enabling automatic login..."
echo '[SeatDefaults]' > /etc/lightdm/lightdm.conf
echo 'autologin-user=steam' >> /etc/lightdm/lightdm.conf
echo '[InputSource0]' > /var/lib/AccountsService/users/steam
echo 'xkb=ca' >> /var/lib/AccountsService/users/steam
echo ' ' >> /var/lib/AccountsService/users/steam
echo '[User]' >> /var/lib/AccountsService/users/steam
echo 'XSession=steamos' >> /var/lib/AccountsService/users/steam
echo 'SystemAccount=false' >> /var/lib/AccountsService/users/steam
Change desktop wallpaper
gsettings set org.gnome.desktop.background picture-uri "file:////usr/share/plymouth/themes/steamos/steam.png"
Update the grub theme.
cp /usr/share/plymouth/themes/steamos/steam.png /boot/grub
Updating grub for splash screen resolution issue
echo 'GRUB_GFXMODE=1920x1080' >> /etc/default/grub
echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash
update-initramfs -u
update-grub
echo ""
echo "Installation complete! Press ENTER to reboot or CTRL+C to exit"
read -r
reboot
That's it. This way, the switch to desktop option in steamos-compositor should now work as expected. At least, on my 2 setups, it does.
from steamos-ubuntu.
Related Issues (13)
- Steam controller just needs a package HOT 2
- Vulkan problems HOT 1
- FEATURE REQUEST
- SteamOS package source depreciated? HOT 1
- Cannot boot into Ubuntu or Steam HOT 1
- repo.steamstatic.com seems to be gone HOT 1
- steamos-ubuntu cannot download HOT 3
- new update
- Network not available then pushes to user login HOT 1
- steamos-ubuntu user log in HOT 1
- Black screen on boot HOT 2
- Install on Dual GPU gaming laptop
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steamos-ubuntu.