linux  linux OS  manjaro

manjaro - gnome 💚

█████████ ████
█████████ ████
████ ████
████ ████ ████
████ ████ ████
████ ████ ████

Qick-and-Dirty-Notes für meine Gehversuche mit meiner Manjaro-Distribution... is schon anders! 
ZSH macht einiges anders und irgendwie komisch, lässt sich aber durch bash ersetzen. 
Apache ist nicht sonderlich gut durchkonfiguriert und es muss viel Hand angelegt werden, für eine Entwicklungsumgebung aber nicht zu dramatisch?
Bei der minimal-Edition muss noch ein bissl mehr Hand angelegt werden, deshlab auf full-Edition gewechselt. Es wird!
In Summe, dank des Rolling-Releases und damit neuester Software, meine neue Wahl 💚

Install

full-ISO ohne Office! minimal-ISO fehlte einiges an vorkonfiguration... z.B. Drucker, Layout Switcher, Emoji-Schriften...

First-Steps

Layout Switcher

ZSH durch Bash ersetzen ❗

sudo chsh mani -s /bin/bash
#Relogin

Software

Updates...

Konfiguration

General
    Automatically download update / Upgrade the system at shutdown / hide icon
    Use mirrors from: Germany -> Refresh Mirrors
Advanced
    Remove unrequired dependencies 
Third Party
    Enable Arch + Flatpak (inkl. Update)

Install / Deinstall

pamac install pavucontrol \
doublecmd-qt6 filezilla \
tilix tree gparted gpart 7-zip-full neofetch \
ufw gufw nmap mtr arp-scan traceroute bind sshfs \
timeshift timeshift-systemd-timer timeshift-autosnap-manjaro \
google-chrome \
gitg github-cli visual-studio-code-bin notepadnext \
gimp inkscape scribus krita mypaint \
rpi-imager \
extension-manager diodon flameshot emojimart \
virt-manager qemu-full

#Choose optional dependencies for flameshot:
#1:  grim: for wlroots wayland support

#Choose optional dependencies for tilix:
#1:  vte3-notification: for desktop notifications support

pamac remove firefox thunderbird

flatpak install -y \
com.todoist.Todoist \
edu.mit.Scratch \
org.libretro.RetroArch \
org.signal.Signal

♯crypt♯

Tilix Konfiguration





#500530 / #CCCCCC

   

Qick-Notes:

- [ ] Nautilus Konfiguration [nur Listview ...]

- [ ] Gnome Extensions Install/Enable:
    - [ ] Desktop Icon
                personal, trash, drives, network, new drives: off
    - [ ] Dash to Panel
            Import settings...
    - [ ] Accent Color: Red
- [ ] gnome-shell 125% #Relogin
        gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"
- [ ] qt5/6 darker... <-? default war die letzte einstellung und fluppte!
- [ ] timeout delay if a programm not respond
        gsettings set org.gnome.mutter check-alive-timeout 30000 

- [ ] .bash_aliases -> https://heister.email/m.notes/index.php?article=14
- [ ] nano .bashrc
        #.bash_aliases
        if [ -f ~/.bash_aliases ]; then
        . ~/.bash_aliases
        fi

        bind 'set completion-ignore-case on'
        bind 'TAB:menu-complete'
- [ ] Bash-IT / ble.sh
        https://heister.email/m.notes/index.php?article=55
        https://heister.email/m.notes/index.php?article=56

- [ ] cd ~ && mkdir nas && mkdir web-tc14 && mkdir web-r4g9 && mkdir tmp

- [ ] Backup Restore
        bash
        7z -r -o. -p<PW> -y x *_FULL.7z
        7z -r -o. -p<PW> -y x *_INCREMENT.7z

        #Historyeintrag entfernen!
        history
        ?x <ZEILENNUMMER>

        #Wenn komplettes HOME wiederhergestellt, so entfallen viele Einstellungen!
        #reboot erforderlich!

- [ ] Icons
        wget -qO- https://git.io/papirus-icon-theme-install | sh
        wget -qO- https://git.io/papirus-folders-install | sh
        papirus-folders -C green --theme Papirus-Dark
- [ ] Tweaks (gnome)
        Appearance: 
                Cursor: Bibata-Modern-Amber
                Icons: Papirus-Dark
                Shell: Custom-Accent-Colors
                Legacy: Adwaita-dark
        Windows: 
                Centre New Windows
                Windows Action Key Alt

- [ ] flameshot troubleshooting 125% scaling
        sudo nano /usr/local/bin/screenshot.sh
        #!/bin/bash

        env QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_SCREEN_SCALE_FACTORS=1.25 /usr/bin/flameshot gui --path /home/mani/Pictures/Screenshots/

        sudo chmod +x /usr/local/bin/screenshot.sh
        #Dieses Skript in das Shortcut packen
- [ ] flameshot config
- [ ] flameshot permission
        GUI öffnen, screenshot machen und mit ja bestätigen!

- [ ] lockscreen
        Screen blank = 10 Min
        Automatic Screen Lock off
- [ ] user icon
- [ ] background

- [ ] Shortcuts
        Super+V	                diodon	        /usr/bin/diodon
        Super+R	                bash	        /usr/bin/tilix
        Super+Shift+S	        flameshot	/usr/local/bin/screenshot.sh
        Super+.	                emoji 😀	 /usr/bin/emojimart
        Super+E	                nautilus	nautilus
        Shift+Ctrl+Escape	taskmgr	        gnome-system-monitor
        Alt+F7 unset shortcut

- [ ] CA Import
        sudo trust anchor ~/.cert/HeisAG-CA.crt
        sudo update-ca-trust

- [ ] sudo nano /etc/hosts
        lola59.l11
        
- [ ] gh auth login
- [ ] gh extension install github/gh-copilot
- [ ] ->
        git config --global user.email "manfred@heister.email"
        git config --global user.name "maheis"

- [ ] backup job
- [ ] cron aktivieren
systemctl enable --now cronie.service
systemctl start cronie.service

- [ ] configure timeshift 7/24/9, include

- [ ] Firewall
        443 ALLOW IN 192.168.3.93 | HTTPS

- [ ] drucker

- [ ] webserver
        - [ ] apache / https / php Entwicklungsumgebung
                https://forum.manjaro.org/t/howto-install-apache-mariadb-mysql-php-lamp/13000
                https://forum.manjaro.org/t/apache-doesnt-start-with-ssl-engine-on/150493

                Install:
                        pamac install apache php-apache php php-sqlite php-gd

                Service:
                        sudo systemctl start httpd
                        sudo systemctl enable httpd

                Base-Conf:
                        sudo nano /etc/httpd/conf/httpd.conf
                                <Directory /srv/http/>
                                        AllowOverride ALL

                                uncomment:
                                LoadModule rewrite_module modules/mod_rewrite.so

                        sudo nano /etc/php/php.ini
                                uncomment:
                                extension=gd
                                extension=pdo_sqlite
                                extension=sqlite3
                PHP:
                        sudo nano /etc/httpd/conf/httpd.conf
                                #comment:
                                #LoadModule mpm_event_module modules/mod_mpm_event.so
                                #uncomment:
                                LoadModule mpm_prefork_module modules/mod_mpm_prefork.so

                                #Insert:
                                LoadModule php_module modules/libphp.so
                                AddHandler php-script .php
                                Include conf/extra/php_module.conf
                HTTPS:
                        sudo cp ~/.cert/l0la59.l11.crt /etc/httpd/conf/server.crt
                        sudo cp ~/.cert/l0la59.l11.key /etc/httpd/conf/server.key

                        sudo nano /etc/httpd/conf/httpd.conf
                                #uncomment:
                                LoadModule socache_shmcb_module modules/mod_socache_shmcb.so    
                                LoadModule ssl_module modules/mod_ssl.so
                                Include conf/extra/httpd-ssl.conf

                        sudo nano /etc/httpd/conf/extra/httpd-ssl.conf
                                ServerName l0la59.l11:443
                                ServerAdmin manfred@heister.email

                sudo systemctl restart httpd

                m.dev/m.de
                        sudo usermod -aG http mani
                        Relogin

                        sudo ln -s /srv/http ~/m.dev/m.de
                        sudo chown -R http:http /srv/http
                        sudo chmod -R 775 /srv/http
                        #Restore + Rechte erneut setzen!

                        git config --global --add safe.directory /srv/http

                MEMO:
                        apachectl configtest
                        Error-Log: /var/log/httpd/error_log
        - [ ] php.ini https://heister.email/m.notes/index.php?article=46
                sudo nano /etc/php/php.ini


## INWORK

- [ ] qemu / kvs / virt-manager
https://forum.manjaro.org/t/how-to-setting-up-qemu-kvm-with-virt-manager/127431

install qemu virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat ebtables iptables
sudo systemctl enable libvirtd.service
sudo systemctl start libvirtd.service

sudo nano /etc/libvirt/libvirtd.conf
#uncomment
unix_sock_group = "libvirt"
unix_sock_rw_perms = "0770"

sudo usermod -G libvirt -a mani
sudo systemctl restart libvirtd.service

echo "options kvm-intel nested=1" | sudo tee /etc/modprobe.d/kvm-intel.conf

- [ ] install go

## todo:
- [ ] Installs prüfen
- [ ] timeshift boot?
- [ ] diodon konfig
- [ ] Docker
- [ ] minikube
- [ ] diodon meldung beim einfügen