mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-02 15:07:45 +02:00
Compare commits
6 Commits
366a48e16e
...
ab0e2f9349
Author | SHA1 | Date | |
---|---|---|---|
|
ab0e2f9349 | ||
|
caf0b2214c | ||
|
607f3806b9 | ||
|
0f550650f6 | ||
|
f50c9d991b | ||
|
257ce8a96a |
13
wiki/acer.md
Normal file
13
wiki/acer.md
Normal file
@ -0,0 +1,13 @@
|
||||
# Acer
|
||||
|
||||
[Acer](https://www.acer.com) is a company that produces computers.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
This section focusses on vendor specific problems and ways how to fix them.
|
||||
|
||||
### Recovering the BIOS Password
|
||||
|
||||
Acer laptops usually feature a 8-digit BIOS password.
|
||||
If it was lost it can easily be regenerated/recovered by using the website
|
||||
[BIOSBug](https://www.biosbug.com/acer).
|
28
wiki/linux/display_managers.md
Normal file
28
wiki/linux/display_managers.md
Normal file
@ -0,0 +1,28 @@
|
||||
# Display Managers
|
||||
|
||||
Display managers are graphical user interfaces that is displayed after booting.
|
||||
Usually it also manages the login process before starting the window manager.
|
||||
|
||||
## List of Display Managers
|
||||
|
||||
The following display managers are featured in this wiki.
|
||||
|
||||
- [LightDM](/wiki/linux/lightdm.md) is a lightweight GUI display manager.
|
||||
- [Lemurs](/wiki/linux/lemurs.md) is a lightweight TUI display manager.
|
||||
|
||||
## Use `xinitrc` as `xsession`
|
||||
|
||||
Often a display manager needs a `xsession` to work.
|
||||
For this `init-xsession` needs to be installed which is available on most
|
||||
[Linux distributions](/wiki/linux.md#distributions) in a package of the same name.
|
||||
When setting this up there should be no `~/.xsession` available.
|
||||
If it is please use another setup or backup this file.
|
||||
Make the `xinitrc` file executable as shown in the following command and link it to the `xsession`
|
||||
file.
|
||||
|
||||
```sh
|
||||
chmod +x ~/.xinitrc
|
||||
ln -s ~/.xsession ~/.xinitrc
|
||||
```
|
||||
|
||||
Afterwards the session will start like the `xinitrc`
|
@ -13,3 +13,8 @@ It will show the state, voltage, percentage and many other information about a g
|
||||
```sh
|
||||
upower -i /org/freedesktop/UPower/devices/battery_BAT0
|
||||
```
|
||||
|
||||
## (Liquid) Coolers
|
||||
|
||||
The viewing of temperatures of coolers aswell as the selection of RGB-settings can be achieved by
|
||||
using [liquidctl](https://github.com/liquidctl/liquidctl).
|
||||
|
31
wiki/linux/lemurs.md
Normal file
31
wiki/linux/lemurs.md
Normal file
@ -0,0 +1,31 @@
|
||||
# Lemurs
|
||||
|
||||
[Lemurs](https://github.com/coastalwhite/lemurs) is a lightweight TUI
|
||||
[display manager](/wiki/linux/display_managers.md).
|
||||
It is available for both [X](/wiki/linux/x_window_system.md) and Wayland.
|
||||
|
||||
## Setup
|
||||
|
||||
On most linux distributions LightDM can be installed with the `lemurs` package.
|
||||
|
||||
This setup needs an `xsession`.
|
||||
An alternative to this is using `xinitrc` as an `xsession`.
|
||||
The process of this is desribed in the
|
||||
[display manager entry](/wiki/linux/display_managers.md#use-xinitrc-as-xsession).
|
||||
Make sure to have a working `xsession` or `xinitrc`.
|
||||
If you are not sure about it, use the tests provided in the penultimate step.
|
||||
|
||||
Before finishing the setup the functionality should be tested.
|
||||
This can be done by using one or both of the following commands.
|
||||
|
||||
```sh
|
||||
systemctl start lemurs.service
|
||||
```
|
||||
|
||||
Finally the [SystemD](/wiki/linux/systemd.md) lightdm service needs to be enabled and reboot the
|
||||
system.
|
||||
|
||||
```sh
|
||||
systemctl enable lemurs.service`
|
||||
reboot
|
||||
```
|
40
wiki/linux/lightdm.md
Normal file
40
wiki/linux/lightdm.md
Normal file
@ -0,0 +1,40 @@
|
||||
# LightDM
|
||||
|
||||
[LightDM](https://github.com/canonical/lightdm/) is a lightweight GUI
|
||||
[display manager](/wiki/linux/display_managers.md).
|
||||
It is available for both [X](/wiki/linux/x_window_system.md) and Wayland.
|
||||
|
||||
## Setup
|
||||
|
||||
On most linux distributions LightDM can be installed with the `lightdm` package.
|
||||
Additionally `lightdm-gtk-greeter` and `xorg-server-xephyr` are recommended.
|
||||
|
||||
This setup needs an `xsession`.
|
||||
An alternative to this is using `xinitrc` as an `xsession`.
|
||||
The process of this is desribed in the
|
||||
[display manager entry](/wiki/linux/display_managers.md#use-xinitrc-as-xsession).
|
||||
Make sure to have a working `xsession` or `xinitrc`.
|
||||
If you are not sure about it, use the tests provided in the penultimate step.
|
||||
|
||||
Then edit the config file `~/.dmrc` and edit the file to the following contents.
|
||||
|
||||
```txt
|
||||
[Desktop]
|
||||
Session=xinitrc
|
||||
```
|
||||
|
||||
Before finishing the setup the functionality should be tested.
|
||||
This can be done by using one or both of the following commands.
|
||||
|
||||
```sh
|
||||
lightdm --test-mode --debug
|
||||
systemctl start lightdm.service
|
||||
```
|
||||
|
||||
Finally the [SystemD](/wiki/linux/systemd.md) lightdm service needs to be enabled and reboot the
|
||||
system.
|
||||
|
||||
```sh
|
||||
systemctl enable lightdm.service`
|
||||
reboot
|
||||
```
|
58
wiki/linux/plymouth.md
Normal file
58
wiki/linux/plymouth.md
Normal file
@ -0,0 +1,58 @@
|
||||
# Plymouth
|
||||
|
||||
[Plymouth](https://www.freedesktop.org/Software/Plymouth) is a software that provides a better
|
||||
graphical boot process.
|
||||
It can change the native resolution early in the boot process and display splash screens.
|
||||
|
||||
## Setup
|
||||
|
||||
On most linux distributions LightDM can be installed with the `plymouth` package.
|
||||
|
||||
Afterwards the kernel options need to be changed.
|
||||
On [Arch Linux](/wiki/linux/arch-linux.md) systems this can be done by editing the file located at
|
||||
`/boot/loader/entries/arch.conf`.
|
||||
In the options line append `quiet` if you want to use the quiet-mode and `splash` if you want to
|
||||
add a splash screen.
|
||||
|
||||
If the splash screen option was selected set a default theme.
|
||||
A more detailed guide on this is available in [another section](#list-install-and-set-themes).
|
||||
|
||||
```sh
|
||||
plymouth-set-default-theme bgrt
|
||||
```
|
||||
|
||||
Alternatively another theme than `fade-in` can be set.
|
||||
The listing of installed themes is featured in a [latter section](#list-available-themes).
|
||||
|
||||
Then inside the file `/etc/mkinitcpio.conf` add the hook under the `HOOKS` section.
|
||||
Add `plymouth` after `systemd` (if available) and before `encrypt` and `lvm2` (if available.)
|
||||
|
||||
Finally regenerate the initial ramdisk as described
|
||||
[in the mkinitcpio entry](/wiki/linux/mkinitcpio.md#manually-generate-initial-ramdisk).
|
||||
For this run the following command.
|
||||
|
||||
```sh
|
||||
mkinitcpio -p linux
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
This section addresses the location and
|
||||
|
||||
### List, Install and Set Themes
|
||||
|
||||
A list of installed themes can be listed by running the following.
|
||||
|
||||
```sh
|
||||
plymouth-set-default-theme --list
|
||||
```
|
||||
|
||||
One of the listed themes can then be installed like the following command does.
|
||||
|
||||
```sh
|
||||
plymouth-set-default-theme fade-in
|
||||
```
|
||||
|
||||
Other themes can be found in online sources like the
|
||||
[AUR](/wiki/linux/arch-linux.md#package-manager-and-aur) or websites like
|
||||
[Gnome-Look.org](https://www.gnome-look.org/browse?cat=108).
|
@ -63,3 +63,17 @@ This can be achieved by running the following command.
|
||||
```sh
|
||||
journalctl -b-1
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
This section focusses on errors that correspond to the SystemD software.
|
||||
|
||||
### Timed Out Waiting for Device `/dev/tpmrm0`
|
||||
|
||||
This error signals problems with the trusted platform module.
|
||||
This however usually can be fixed easily by masking the service and is done like the following
|
||||
command shows.
|
||||
|
||||
```sh
|
||||
systemctl mark dev-tpmrm0.device
|
||||
```
|
||||
|
@ -10,6 +10,12 @@ It is maintained by the [X.Org Foundation](https://x.org/wiki/).
|
||||
|
||||
This section addresses various usages of the X Window System.
|
||||
|
||||
### Display Managers
|
||||
|
||||
[Display managers](/wiki/linux/display_managers.md) are user interfaces displayed after booting.
|
||||
They are featured in a [separate entry](/wiki/linux/display_managers.md).
|
||||
This also includes any configuration needed for it like `xsession`.
|
||||
|
||||
### Screen Locker
|
||||
|
||||
The X Window System allows various screen lockers to be used.
|
||||
|
Loading…
x
Reference in New Issue
Block a user