diff --git a/README.md b/README.md index dcc78a3..2ee17a9 100644 --- a/README.md +++ b/README.md @@ -38,9 +38,9 @@ Main job: It handles user sessions β€” letting you log in, choose a user, select Examples: -- LightDM (lightweight and flexible) -- GDM (GNOME Display Manager) -- SDDM (used by KDE) +- [LightDM (lightweight and flexible)](./docs/display-managers/lightdm.md) +- [GDM (GNOME Display Manager)](./docs/desktop-environments/gnome.md) +- [SDDM (used by KDE)](./docs/desktop-environments/kde.md) - LXDM (used by LXDE) ### Graphical Applications @@ -53,7 +53,6 @@ Examples: ### Navigation and File Management - πŸ“ List information about the FILEs (the current directory by default). ```bash @@ -95,31 +94,6 @@ tar -I pigz -cvf - /fileserver/media/music/* tar -I pigz -cvf - /sourcefolder/* | split --bytes=8GB - /tmp/file.tar.gz ```## 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 - - - ```bash 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 #set hostname -hostnamectl## 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 - - - +hostnamectl sudo nano /etc/hostname #alterar o nome @@ -305,4 +253,3 @@ lspci [options] ``` bash lspci -v ``` - diff --git a/docs/desktop-environments/gnome.md b/docs/desktop-environments/gnome.md index f66281b..839317d 100644 --- a/docs/desktop-environments/gnome.md +++ b/docs/desktop-environments/gnome.md @@ -1,4 +1,3 @@ - # Gnome - [desktop shortcuts](#desktop-shortcuts) diff --git a/docs/desktop-environments/xfc4.md b/docs/desktop-environments/xfc4.md new file mode 100644 index 0000000..f5cda38 --- /dev/null +++ b/docs/desktop-environments/xfc4.md @@ -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 +``` diff --git a/docs/display-managers/lightdm.md b/docs/display-managers/lightdm.md index b81be4a..bb0d658 100644 --- a/docs/display-managers/lightdm.md +++ b/docs/display-managers/lightdm.md @@ -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:** @@ -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. - Guest sessions and autologin: Can be configured for temporary guest accounts or automatic login. +**Install:** + +``` bash +apt install lightdm +``` + **Disable suspend black screen:** ```bash @@ -26,8 +32,8 @@ xserver-command=X -s 0 dpms ```bash # /etc/lightdm/lightdm.conf [SeatDefaults] -autologin-user=public +autologin-user=$USERNAME_TO_AUTOLOGIN autologin-user-timeout=5 # Uncomment the following, if running Unity #greeter-session=unity-greeter -``` \ No newline at end of file +``` diff --git a/docs/ssh.md b/docs/ssh.md deleted file mode 100644 index 671fdea..0000000 --- a/docs/ssh.md +++ /dev/null @@ -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 -``` -