modified: README.md
modified: docs/desktop-environments/gnome.md new file: docs/desktop-environments/xfc4.md modified: docs/display-managers/lightdm.md deleted: docs/ssh.md
This commit is contained in:
61
README.md
61
README.md
@@ -38,9 +38,9 @@ Main job: It handles user sessions — letting you log in, choose a user, select
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
- LightDM (lightweight and flexible)
|
- [LightDM (lightweight and flexible)](./docs/display-managers/lightdm.md)
|
||||||
- GDM (GNOME Display Manager)
|
- [GDM (GNOME Display Manager)](./docs/desktop-environments/gnome.md)
|
||||||
- SDDM (used by KDE)
|
- [SDDM (used by KDE)](./docs/desktop-environments/kde.md)
|
||||||
- LXDM (used by LXDE)
|
- LXDM (used by LXDE)
|
||||||
|
|
||||||
### Graphical Applications
|
### Graphical Applications
|
||||||
@@ -53,7 +53,6 @@ Examples:
|
|||||||
|
|
||||||
### Navigation and File Management
|
### Navigation and File Management
|
||||||
|
|
||||||
|
|
||||||
📁 List information about the FILEs (the current directory by default).
|
📁 List information about the FILEs (the current directory by default).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -95,31 +94,6 @@ tar -I pigz -cvf - /fileserver/media/music/*
|
|||||||
tar -I pigz -cvf - /sourcefolder/* | split --bytes=8GB - /tmp/file.tar.gz
|
tar -I pigz -cvf - /sourcefolder/* | split --bytes=8GB - /tmp/file.tar.gz
|
||||||
```## Visual Linux
|
```## Visual Linux
|
||||||
|
|
||||||
🖥️
|
|
||||||
|
|
||||||
### Display Manager (DM)
|
|
||||||
|
|
||||||
🎛️
|
|
||||||
|
|
||||||
What it is: A display manager is the graphical login screen you see when you boot your system.
|
|
||||||
|
|
||||||
Main job: It handles user sessions — letting you log in, choose a user, select a desktop environment, and start the graphical session.
|
|
||||||
|
|
||||||
Examples:
|
|
||||||
|
|
||||||
- LightDM (lightweight and flexible)
|
|
||||||
- GDM (GNOME Display Manager)
|
|
||||||
- SDDM (used by KDE)
|
|
||||||
- LXDM (used by LXDE)
|
|
||||||
|
|
||||||
### Graphical Apps
|
|
||||||
|
|
||||||
🧰
|
|
||||||
|
|
||||||
## Gnome Files/Nautilus
|
|
||||||
|
|
||||||
<https://www.maketecheasier.com/useful-nautlius-tweaks-linux/>
|
|
||||||
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
tar -cvpzf "/vault/.backups/devices/homeserver/tar/backup_$(date +"%Y%m%d%H%M%S").tar.gz \
|
tar -cvpzf "/vault/.backups/devices/homeserver/tar/backup_$(date +"%Y%m%d%H%M%S").tar.gz \
|
||||||
@@ -164,33 +138,7 @@ usermod -a -G GROUPNAME USERNAME
|
|||||||
hostname
|
hostname
|
||||||
|
|
||||||
#set hostname
|
#set hostname
|
||||||
hostnamectl## Visual Linux
|
hostnamectl
|
||||||
|
|
||||||
🖥️
|
|
||||||
|
|
||||||
### Display Manager (DM)
|
|
||||||
|
|
||||||
🎛️
|
|
||||||
|
|
||||||
What it is: A display manager is the graphical login screen you see when you boot your system.
|
|
||||||
|
|
||||||
Main job: It handles user sessions — letting you log in, choose a user, select a desktop environment, and start the graphical session.
|
|
||||||
|
|
||||||
Examples:
|
|
||||||
|
|
||||||
- LightDM (lightweight and flexible)
|
|
||||||
- GDM (GNOME Display Manager)
|
|
||||||
- SDDM (used by KDE)
|
|
||||||
- LXDM (used by LXDE)
|
|
||||||
|
|
||||||
### Graphical Apps
|
|
||||||
|
|
||||||
🧰
|
|
||||||
|
|
||||||
## Gnome Files/Nautilus
|
|
||||||
|
|
||||||
<https://www.maketecheasier.com/useful-nautlius-tweaks-linux/>
|
|
||||||
|
|
||||||
|
|
||||||
sudo nano /etc/hostname
|
sudo nano /etc/hostname
|
||||||
#alterar o nome
|
#alterar o nome
|
||||||
@@ -305,4 +253,3 @@ lspci [options]
|
|||||||
``` bash
|
``` bash
|
||||||
lspci -v
|
lspci -v
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
# Gnome
|
# Gnome
|
||||||
|
|
||||||
- [desktop shortcuts](#desktop-shortcuts)
|
- [desktop shortcuts](#desktop-shortcuts)
|
||||||
|
|||||||
18
docs/desktop-environments/xfc4.md
Normal file
18
docs/desktop-environments/xfc4.md
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# XFCE4
|
||||||
|
|
||||||
|
Xfce4 is a lightweight, modular, and visually appealing desktop environment for Unix-like systems, designed for speed, low resource usage, and adherence to FreeDesktop standards. It’s ideal for older hardware, minimalist setups, and users who value performance over visual effects.
|
||||||
|
|
||||||
|
**🧱 Core Components:**
|
||||||
|
|
||||||
|
- Thunar: Fast, simple file manager with bulk renaming and custom actions
|
||||||
|
- xfwm4: Window manager with compositing and theming
|
||||||
|
- xfce4-panel: Customizable panel with plugin support
|
||||||
|
- xfce4-settings: Centralized configuration tools
|
||||||
|
- xfce4-terminal: Lightweight terminal emulator
|
||||||
|
- Xfce Power Manager: Handles battery, brightness, and suspend settings
|
||||||
|
|
||||||
|
**Installing with lightdm:**
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
apt install xfce4 lightdm
|
||||||
|
```
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
# lightdm
|
# LightDM
|
||||||
|
|
||||||
LightDM is a lightweight, cross-desktop display manager used to handle graphical logins on Linux systems. It provides the login screen (called a greeter) and manages user sessions, including authentication and session launching.
|
**LightDM** is a lightweight, cross-desktop display manager used to handle graphical logins on Linux systems. It provides the login screen (called a greeter) and manages user sessions, including authentication and session launching.
|
||||||
|
|
||||||
**🧭 Key Features of LightDM:**
|
**🧭 Key Features of LightDM:**
|
||||||
|
|
||||||
@@ -13,6 +13,12 @@ LightDM is a lightweight, cross-desktop display manager used to handle graphical
|
|||||||
- Remote login support: Includes protocols like XDMCP and VNC for remote graphical sessions.
|
- Remote login support: Includes protocols like XDMCP and VNC for remote graphical sessions.
|
||||||
- Guest sessions and autologin: Can be configured for temporary guest accounts or automatic login.
|
- Guest sessions and autologin: Can be configured for temporary guest accounts or automatic login.
|
||||||
|
|
||||||
|
**Install:**
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
apt install lightdm
|
||||||
|
```
|
||||||
|
|
||||||
**Disable suspend black screen:**
|
**Disable suspend black screen:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -26,7 +32,7 @@ xserver-command=X -s 0 dpms
|
|||||||
```bash
|
```bash
|
||||||
# /etc/lightdm/lightdm.conf
|
# /etc/lightdm/lightdm.conf
|
||||||
[SeatDefaults]
|
[SeatDefaults]
|
||||||
autologin-user=public
|
autologin-user=$USERNAME_TO_AUTOLOGIN
|
||||||
autologin-user-timeout=5
|
autologin-user-timeout=5
|
||||||
# Uncomment the following, if running Unity
|
# Uncomment the following, if running Unity
|
||||||
#greeter-session=unity-greeter
|
#greeter-session=unity-greeter
|
||||||
|
|||||||
43
docs/ssh.md
43
docs/ssh.md
@@ -1,43 +0,0 @@
|
|||||||
# SSH
|
|
||||||
|
|
||||||
## Create key
|
|
||||||
|
|
||||||
```bash
|
|
||||||
ssh-keygen -t ecdsa -b 521
|
|
||||||
#or
|
|
||||||
ssh-keygen -t ecdsa -b 521 -f ~/.ssh/key-ecdsa
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
## Copy public key
|
|
||||||
|
|
||||||
```bash
|
|
||||||
ssh-add ~/.ssh/id_ed25519
|
|
||||||
ssh-copy-id -i ~/.ssh//ey-ecdsa.pub example_user@192.0.2.4
|
|
||||||
```
|
|
||||||
|
|
||||||
## Add existing Key
|
|
||||||
|
|
||||||
```bash
|
|
||||||
ssh-add ~/.ssh/key-ecdsa
|
|
||||||
```
|
|
||||||
|
|
||||||
## Alias
|
|
||||||
|
|
||||||
```bash
|
|
||||||
Host srv01
|
|
||||||
HostName srv01.lan
|
|
||||||
User john
|
|
||||||
RemoteCommand cd ~/; exec bash --login
|
|
||||||
RequestTTY yes
|
|
||||||
```
|
|
||||||
|
|
||||||
## Port Binding
|
|
||||||
|
|
||||||
Bind local port 8001 to target-server port 80 using jump-machine.local.
|
|
||||||
_(local machine without direct access to target-server)_
|
|
||||||
|
|
||||||
```bash
|
|
||||||
ssh -f -N -L localhost:8001:target-server:80 usr@jump-machine.local
|
|
||||||
```
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user