diff --git a/README.md b/README.md index 7ab473d..1cf12f5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,109 @@ # TCET Linux -TCET Linux is a GNU/Linux distribution based on Arch Linux. It is currently under development. +![TCET LINUX](https://github.com/tcet-opensource/tcet-linux-assets/blob/main/tcet-linux.png) -![tl](https://user-images.githubusercontent.com/55846983/227738673-5d215644-d234-4066-b97a-79aebf3b3301.jpeg) +## What is TCET Linux? +**[TCET Linux](https://linux.tcetmumbai.in/)** is an **open-source operating system** providing basic services, and various software packages that make up the user-space applications, utilities and it is highly customized. Our goal in creating this operating system is to provide a platform that combines **robust functionality** with a **user-friendly experience**. Built from the ground up, TCET Linux boasts **efficient performance**, **customization options**, and a range of features tailored to meet the needs of both casual users and enthusiasts. + +
+ +## Minimum requirements for Installating TCET Linux +* 64 bit x86_64 processor (Intel/ AMD), with at least 2 CPU cores. (32-bit not supported) +* Any GPU/iGPU with OpenGl 3.3+ support. +* Atleast 2GB DDR3/DDR4 RAM. +* Atleast 8GB HDD/SSD storage. +* Basic WPA/WPA2 compatible wifi card or ethernet supported motherboard. + +![installer](https://github.com/tcet-opensource/tcet-linux-assets/blob/main/installer.png) + +The complete process for the installation is given in details on the website of **[TCET Linux](https://linux.tcetmumbai.in/)**. + +
+ +## Welcome App +The welcome app provides the user with the important links and shortcuts to some features and the installer. + +![Welcomeapp](https://github.com/tcet-opensource/tcet-linux-assets/blob/main/welcome-app.png) + +It includes the following options: +* **Install TCET Linux**: This starts the TCET Linux Installer + +* **Fix Screen Resolution(VM)**: Adjusting the screen resolution to match the native resolution of the monitor, which can help improve image quality and prevent scaling issues. + +* **Arch User Repository** (Main Page) + +* **Link to our Discord Server** + +* **Updating the PC**: Through this you can upgrade all the packages in the system. + +* **Updating the Mirrors**: It provides the user with the lastest mirrors. + +* **Arch Wiki** (Main Page) + +* **How you can contribute to TCET Linux**: It will redirect you to the official repo of TCET Linux + +* **Toggle autostart for the Welcome App**: It is a toggle for the welcome app itself, which decides the launching of the "Welcome app" on user login. + +* **About us** + +
+ +## To Install and remove packages + +Packages in TCET Linux is managed by package manager. +1. Before installing any package it is always recommened to **synchronize your package database**. For that use command: + + ``` + sync + ``` +2. To **install a package** and its necessary depedencies use command: + + ``` + install package_name + ``` + +3. To **remove a package** from your package database use command: + ``` + remove package_name + ``` + +4. Packages also come with dependencies on which package relies on in order to function properly. To remove package with its dependencies use command: + ``` + autoremove package_name + ``` + +
+ +## Terminal Features + 1. `Autosuggestion` is for the people who are using terminal frequently, sometimes users forget about previously entered command and their parameters. It is also helpful for beginners who often make mistakes. + + > You can add autosuggestions to your terminal in Linux by installing the `zsh-autosuggestions package`. + + You can run following command on terminal: + ``` + install zsh-autosuggestions + ``` + +2. `Autocompletion` allows user to automatically complete the command by typing partial commands. It is one of the most useful tools in any operating system. Linux distribution with *bash* as their default shell has inbuilt auto-completion feature. Type your command partially and then hit `tab` key to autocomplete rest of your command.TCET Linux comes with autocompletion and autosuggestion as a `default in-built` feature. + + You can add Autocompletion to your terminal by running command: + ``` + install zsh-auto-completion + ``` + +## Xfce +`Xfce` is and `open-source desktop environment` for Unix and Unix like operating systems like Linux. We made this choice to ensure a smooth and intuitive user experience, recognizing Xfce's reputation for being lightweight, yet feature-rich, making it an ideal match for our operating system's philosophy.In addition to this features,it runs `low on system resources` which makes it a perfect desktop environment for TCET Linux. + +
+ +## Glimpses of TCET Linux + +![tcet-linux-desktop](https://github.com/tcet-opensource/tcet-linux-assets/blob/main/tcet-linux_desktop1.png) + + +
+ +## Important Links: + +- [TCET Linux Website](https://linux.tcetmumbai.in/) +- [TCET Linux Documentation](https://opensource.tcetmumbai.in/docs/projects/tcet-linux/about-tcet-linux) diff --git a/airootfs/etc/lsb-release b/airootfs/etc/lsb-release index 7c48243..6a66977 100644 --- a/airootfs/etc/lsb-release +++ b/airootfs/etc/lsb-release @@ -1,3 +1,3 @@ DISTRIB_ID=TCET DISTRIB_RELEASE=tcetlinux -DISTRIB_DESCRIPTION="TCET Linux" +DISTRIB_DESCRIPTION="TcetLinux1" diff --git a/airootfs/etc/mkinitcpio.d/linux.preset b/airootfs/etc/mkinitcpio.d/linux.preset index 55096d9..39c6910 100644 --- a/airootfs/etc/mkinitcpio.d/linux.preset +++ b/airootfs/etc/mkinitcpio.d/linux.preset @@ -2,7 +2,7 @@ PRESETS=('archiso') -ALL_kver='/boot/vmlinuz-linux-zen' +ALL_kver='/boot/vmlinuz-linux-lts' ALL_config='/etc/mkinitcpio.conf' -archiso_image="/boot/initramfs-linux-zen.img" +archiso_image="/boot/initramfs-linux-lts.img" diff --git a/airootfs/etc/mkinitcpio.d/tcetlinux b/airootfs/etc/mkinitcpio.d/tcetlinux index b46b4a6..8baa217 100644 --- a/airootfs/etc/mkinitcpio.d/tcetlinux +++ b/airootfs/etc/mkinitcpio.d/tcetlinux @@ -1,14 +1,14 @@ -# mkinitcpio preset file for the 'linux-zen' package on tcetlinuxiso +# mkinitcpio preset file for the 'linux-lts' package on tcetlinuxiso PRESETS=('default' 'fallback') -ALL_kver='/boot/vmlinuz-linux-zen' +ALL_kver='/boot/vmlinuz-linux-lts' ALL_config='/etc/mkinitcpio.conf' #default_config="/etc/mkinitcpio.conf" -default_image="/boot/initramfs-linux-zen.img" +default_image="/boot/initramfs-linux-lts.img" #default_options="" #fallback_config="/etc/mkinitcpio.conf" -fallback_image="/boot/initramfs-linux-zen-fallback.img" +fallback_image="/boot/initramfs-linux-lts-fallback.img" fallback_options="-S autodetect" diff --git a/airootfs/etc/pacman.conf b/airootfs/etc/pacman.conf index 1773890..c59b961 100644 --- a/airootfs/etc/pacman.conf +++ b/airootfs/etc/pacman.conf @@ -94,3 +94,7 @@ Include = /etc/pacman.d/mirrorlist #[custom] #SigLevel = Optional TrustAll #Server = file:///home/custompkgs + +[tcet-linux-repo] +SigLevel = Optional TrustedOnly +Server = https://tcet-opensource.github.io/$repo/$arch diff --git a/airootfs/etc/skel/.config/autostart/set_once_xfce4.desktop b/airootfs/etc/skel/.config/autostart/set_once_xfce4.desktop deleted file mode 100755 index d0bce48..0000000 --- a/airootfs/etc/skel/.config/autostart/set_once_xfce4.desktop +++ /dev/null @@ -1,11 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Version=0.9.4 -Type=Application -Name=set_once -Comment=set up xed once -Exec=sh -c ~/set_once_xfce4.sh -OnlyShowIn=XFCE; -StartupNotify=false -Terminal=false -Hidden=false diff --git a/airootfs/etc/skel/.zshrc b/airootfs/etc/skel/.zshrc index 90f10d6..a981eff 100644 --- a/airootfs/etc/skel/.zshrc +++ b/airootfs/etc/skel/.zshrc @@ -2,6 +2,8 @@ [[ $- != *i* ]] && return alias ls='ls --color=auto' +alias ll='ls --color=auto -lah' +alias grep='grep -n --color' PS1='[\u@\h \W]\$ ' # Autosuggestions @@ -9,8 +11,6 @@ source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh # synatx-highlighting source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh -#source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh - #Display ISO version and distribution information in short alias version="sed -n 1p /etc/os-release && sed -n 7p /etc/os-release && sed -n 8p /etc/os-release" @@ -28,14 +28,9 @@ alias unlock="sudo rm /var/lib/pacman/db.lck" alias remove="sudo pacman -R" alias autoremove="sudo pacman -Rns" -# Fix keyring and gnupg mount isuue +# Fix keyring and gnupg mount isuue alias fix-keys="sudo rm -rvf /etc/pacman.d/gnupg && sudo pacman-key --init && sudo pacman-key --populate" -# keyboard ctrl+arrow key issue solved -#bindkey '^[[1;5C' forward-word # Ctrl+Right arrow -#bindkey '^[[1;5D' backward-word # Ctrl+Left arrow - - ## Path section # Set $PATH if ~/.local/bin exist if [ -d "$HOME/.local/bin" ]; then @@ -51,7 +46,6 @@ precmd_functions+=(set_win_title) ## Plugins section: Enable fish style features # Use syntax highlighting source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh -#source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # Use autosuggestion source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh @@ -70,7 +64,6 @@ source /usr/share/fzf/completion.zsh # Advanced command-not-found hook [[ -e /usr/share/doc/find-the-command/ftc.zsh ]] && source /usr/share/doc/find-the-command/ftc.zsh - ## Options section setopt correct # Auto correct mistakes setopt extendedglob # Extended globbing. Allows using regular expressions with * @@ -90,7 +83,7 @@ setopt pushdminus autoload -Uz compinit compinit zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # Case insensitive tab completion -zstyle ':completion:*' rehash true # automatically find new executables in path +zstyle ':completion:*' rehash true # automatically find new executables in path zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" # Colored completion (different colors for dirs/files/etc) zstyle ':completion:*' completer _expand _complete _ignored _approximate zstyle ':completion:*' menu select @@ -109,66 +102,64 @@ HISTFILE=~/.zhistory HISTSIZE=50000 SAVEHIST=10000 - ## Keys # Use emacs key bindings bindkey -e # Ctrl+ backspace delets the word - bindkey '^H' backward-kill-word bindkey '5~' kill-word # [PageUp] - Up a line of history if [[ -n "${terminfo[kpp]}" ]]; then - bindkey -M emacs "${terminfo[kpp]}" up-line-or-history - bindkey -M viins "${terminfo[kpp]}" up-line-or-history - bindkey -M vicmd "${terminfo[kpp]}" up-line-or-history + bindkey -M emacs "${terminfo[kpp]}" up-line-or-history + bindkey -M viins "${terminfo[kpp]}" up-line-or-history + bindkey -M vicmd "${terminfo[kpp]}" up-line-or-history fi # [PageDown] - Down a line of history if [[ -n "${terminfo[knp]}" ]]; then - bindkey -M emacs "${terminfo[knp]}" down-line-or-history - bindkey -M viins "${terminfo[knp]}" down-line-or-history - bindkey -M vicmd "${terminfo[knp]}" down-line-or-history + bindkey -M emacs "${terminfo[knp]}" down-line-or-history + bindkey -M viins "${terminfo[knp]}" down-line-or-history + bindkey -M vicmd "${terminfo[knp]}" down-line-or-history fi # Start typing + [Up-Arrow] - fuzzy find history forward if [[ -n "${terminfo[kcuu1]}" ]]; then - autoload -U up-line-or-beginning-search - zle -N up-line-or-beginning-search + autoload -U up-line-or-beginning-search + zle -N up-line-or-beginning-search - bindkey -M emacs "${terminfo[kcuu1]}" up-line-or-beginning-search - bindkey -M viins "${terminfo[kcuu1]}" up-line-or-beginning-search - bindkey -M vicmd "${terminfo[kcuu1]}" up-line-or-beginning-search + bindkey -M emacs "${terminfo[kcuu1]}" up-line-or-beginning-search + bindkey -M viins "${terminfo[kcuu1]}" up-line-or-beginning-search + bindkey -M vicmd "${terminfo[kcuu1]}" up-line-or-beginning-search fi # Start typing + [Down-Arrow] - fuzzy find history backward if [[ -n "${terminfo[kcud1]}" ]]; then - autoload -U down-line-or-beginning-search - zle -N down-line-or-beginning-search + autoload -U down-line-or-beginning-search + zle -N down-line-or-beginning-search - bindkey -M emacs "${terminfo[kcud1]}" down-line-or-beginning-search - bindkey -M viins "${terminfo[kcud1]}" down-line-or-beginning-search - bindkey -M vicmd "${terminfo[kcud1]}" down-line-or-beginning-search + bindkey -M emacs "${terminfo[kcud1]}" down-line-or-beginning-search + bindkey -M viins "${terminfo[kcud1]}" down-line-or-beginning-search + bindkey -M vicmd "${terminfo[kcud1]}" down-line-or-beginning-search fi # [Home] - Go to beginning of line if [[ -n "${terminfo[khome]}" ]]; then - bindkey -M emacs "${terminfo[khome]}" beginning-of-line - bindkey -M viins "${terminfo[khome]}" beginning-of-line - bindkey -M vicmd "${terminfo[khome]}" beginning-of-line + bindkey -M emacs "${terminfo[khome]}" beginning-of-line + bindkey -M viins "${terminfo[khome]}" beginning-of-line + bindkey -M vicmd "${terminfo[khome]}" beginning-of-line fi # [End] - Go to end of line if [[ -n "${terminfo[kend]}" ]]; then - bindkey -M emacs "${terminfo[kend]}" end-of-line - bindkey -M viins "${terminfo[kend]}" end-of-line - bindkey -M vicmd "${terminfo[kend]}" end-of-line + bindkey -M emacs "${terminfo[kend]}" end-of-line + bindkey -M viins "${terminfo[kend]}" end-of-line + bindkey -M vicmd "${terminfo[kend]}" end-of-line fi # [Shift-Tab] - move through the completion menu backwards if [[ -n "${terminfo[kcbt]}" ]]; then - bindkey -M emacs "${terminfo[kcbt]}" reverse-menu-complete - bindkey -M viins "${terminfo[kcbt]}" reverse-menu-complete - bindkey -M vicmd "${terminfo[kcbt]}" reverse-menu-complete + bindkey -M emacs "${terminfo[kcbt]}" reverse-menu-complete + bindkey -M viins "${terminfo[kcbt]}" reverse-menu-complete + bindkey -M vicmd "${terminfo[kcbt]}" reverse-menu-complete fi # [Backspace] - delete backward @@ -177,67 +168,56 @@ bindkey -M viins '^?' backward-delete-char bindkey -M vicmd '^?' backward-delete-char # [Delete] - delete forward if [[ -n "${terminfo[kdch1]}" ]]; then - bindkey -M emacs "${terminfo[kdch1]}" delete-char - bindkey -M viins "${terminfo[kdch1]}" delete-char - bindkey -M vicmd "${terminfo[kdch1]}" delete-char + bindkey -M emacs "${terminfo[kdch1]}" delete-char + bindkey -M viins "${terminfo[kdch1]}" delete-char + bindkey -M vicmd "${terminfo[kdch1]}" delete-char else - bindkey -M emacs "^[[3~" delete-char - bindkey -M viins "^[[3~" delete-char - bindkey -M vicmd "^[[3~" delete-char + bindkey -M emacs "^[[3~" delete-char + bindkey -M viins "^[[3~" delete-char + bindkey -M vicmd "^[[3~" delete-char - bindkey -M emacs "^[3;5~" delete-char - bindkey -M viins "^[3;5~" delete-char - bindkey -M vicmd "^[3;5~" delete-char + bindkey -M emacs "^[3;5~" delete-char + bindkey -M viins "^[3;5~" delete-char + bindkey -M vicmd "^[3;5~" delete-char fi typeset -g -A key if (( ${+terminfo[smkx]} && ${+terminfo[rmkx]} )); then - autoload -Uz add-zle-hook-widget - function zle_application_mode_start { echoti smkx } - function zle_application_mode_stop { echoti rmkx } - add-zle-hook-widget -Uz zle-line-init zle_application_mode_start - add-zle-hook-widget -Uz zle-line-finish zle_application_mode_stop + autoload -Uz add-zle-hook-widget + function zle_application_mode_start { echoti smkx } + function zle_application_mode_stop { echoti rmkx } + add-zle-hook-widget -Uz zle-line-init zle_application_mode_start + add-zle-hook-widget -Uz zle-line-finish zle_application_mode_stop fi # Control Left - go back a word key[Control-Left]="${terminfo[kLFT5]}" if [[ -n "${key[Control-Left]}" ]]; then - bindkey -M emacs "${key[Control-Left]}" backward-word - bindkey -M viins "${key[Control-Left]}" backward-word - bindkey -M vicmd "${key[Control-Left]}" backward-word + bindkey -M emacs "${key[Control-Left]}" backward-word + bindkey -M viins "${key[Control-Left]}" backward-word + bindkey -M vicmd "${key[Control-Left]}" backward-word fi # Control Left - go forward a word key[Control-Right]="${terminfo[kRIT5]}" if [[ -n "${key[Control-Right]}" ]]; then - bindkey -M emacs "${key[Control-Right]}" forward-word - bindkey -M viins "${key[Control-Right]}" forward-word - bindkey -M vicmd "${key[Control-Right]}" forward-word + bindkey -M emacs "${key[Control-Right]}" forward-word + bindkey -M viins "${key[Control-Right]}" forward-word + bindkey -M vicmd "${key[Control-Right]}" forward-word fi # Alt Left - go back a word key[Alt-Left]="${terminfo[kLFT3]}" if [[ -n "${key[Alt-Left]}" ]]; then - bindkey -M emacs "${key[Alt-Left]}" backward-word - bindkey -M viins "${key[Alt-Left]}" backward-word - bindkey -M vicmd "${key[Alt-Left]}" backward-word + bindkey -M emacs "${key[Alt-Left]}" backward-word + bindkey -M viins "${key[Alt-Left]}" backward-word + bindkey -M vicmd "${key[Alt-Left]}" backward-word fi # Control Right - go forward a word key[Alt-Right]="${terminfo[kRIT3]}" if [[ -n "${key[Alt-Right]}" ]]; then - bindkey -M emacs "${key[Alt-Right]}" forward-word - bindkey -M viins "${key[Alt-Right]}" forward-word - bindkey -M vicmd "${key[Alt-Right]}" forward-word + bindkey -M emacs "${key[Alt-Right]}" forward-word + bindkey -M viins "${key[Alt-Right]}" forward-word + bindkey -M vicmd "${key[Alt-Right]}" forward-word fi - -# Load Mcfly -export MCFLY_FUZZY=true -export MCFLY_RESULTS=20 -export MCFLY_INTERFACE_VIEW=BOTTOM -export MCFLY_RESULTS_SORT=LAST_RUN -eval "$(mcfly init zsh)" - -## Run neofetch -#neofetch - diff --git a/airootfs/etc/skel/set_once_xfce4.sh b/airootfs/etc/skel/set_once_xfce4.sh deleted file mode 100755 index 5c72123..0000000 --- a/airootfs/etc/skel/set_once_xfce4.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -dbus-launch dconf load / < ~/xed.dconf -rm ~/xed.dconf ~/.config/autostart/set_once_xfce4.desktop ~/set_once_xfce4.sh diff --git a/airootfs/etc/systemd/system/vboxservice.service b/airootfs/etc/systemd/system/vboxservice.service new file mode 100644 index 0000000..de17112 --- /dev/null +++ b/airootfs/etc/systemd/system/vboxservice.service @@ -0,0 +1,11 @@ +[Unit] +Description=VirtualBox Guest Additions service +After=network.target + +[Service] +ExecStart=/usr/bin/VBoxService --foreground +ExecStop=/usr/bin/VBoxService --pidfile /var/run/vboxadd-service.pid --no-start + +[Install] +WantedBy=multi-user.target + diff --git a/airootfs/root/.config/starship.toml b/airootfs/root/.config/starship.toml index 08d3651..a1acda3 100644 --- a/airootfs/root/.config/starship.toml +++ b/airootfs/root/.config/starship.toml @@ -1,23 +1,48 @@ format = """ -[░▒▓](#a3aed2)\ -[  ](bg:#a3aed2 fg:#090c0c)\ -[](bg:#769ff0 fg:#a3aed2)\ +[░▒▓](#BAAFC6 )\ +[  ](bg:#BAAFC6 fg:#180024)\ +[](bg:#7E6B9C fg:#BAAFC6 )\ $directory\ -[](fg:#769ff0 bg:#394260)\ +[](fg:#7E6B9C bg:#614E7A)\ $git_branch\ $git_status\ -[](fg:#394260 bg:#212736)\ +[](fg:#614E7A bg:#212736)\ $nodejs\ $rust\ $golang\ $php\ -[](fg:#212736 bg:#1d2230)\ +$python\ +$aws\ +$buf\ +$c\ +$conda\ +$dart\ +$docker_context\ +$elixir\ +$elm\ +$fossil_branch\ +$guix_shell\ +$haxe\ +$hostnam\ +$java\ +$julia\ +$lua\ +$memory_usage\ +$meson\ +$nim\ +$nix_shell\ +$package\ +$pijul_channel\ +$rlang\ +$ruby\ +$scala\ +[](fg:#2C193D bg:#261132)\ $time\ -[ ](fg:#1d2230)\ +[ ](fg:#261132)\ \n▶▶ """ [directory] -style = "fg:#e3e5e5 bg:#769ff0" +style = "fg:#180024 bg:#7E6B9C " format = "[ $path ]($style)" truncation_length = 3 truncation_symbol = "…/" @@ -30,35 +55,155 @@ truncation_symbol = "…/" [git_branch] symbol = "" -style = "bg:#394260" -format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)' +style = "bg:#BCEBCB" +format = '[[ $symbol $branch ](fg:#180024 bg:#614E7A)]($style)' [git_status] -style = "bg:#394260" -format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)' +style = "bg:#BCEBCB" +format = '[[($all_status$ahead_behind )](fg:#180024 bg:#614E7A)]($style)' [nodejs] symbol = "" style = "bg:#212736" -format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)' +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' [rust] symbol = "" style = "bg:#212736" -format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)' +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' [golang] symbol = "" style = "bg:#212736" -format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)' +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' [php] symbol = "" style = "bg:#212736" -format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)' +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[python] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[aws] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[buf] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[c] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[conda] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[dart] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[docker_context] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[elixir] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[elm] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[guix_shell] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[haskell] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[haxe] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[hostname] +ssh_symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[java] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[julia] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[lua] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[memory_usage] +symbol = "" +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[meson] +symbol = "" +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[nim] +symbol = "" +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[nix_shell] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[package] +symbol = "" +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[rlang] +symbol = "" +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[ruby] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' + +[scala] +symbol = " " +style = "bg:#212736" +format = '[[ $symbol ($version) ](fg:#FEFEE3 bg:#2C193D)]($style)' [time] disabled = false time_format = "%R" # Hour:Minute Format style = "bg:#1d2230" -format = '[[  $time ](fg:#a0a9cb bg:#1d2230)]($style)' +format = '[[  $time](fg:#FEFEE3 bg:#261132)]($style)' diff --git a/airootfs/root/.zshrc b/airootfs/root/.zshrc index 90f10d6..a981eff 100644 --- a/airootfs/root/.zshrc +++ b/airootfs/root/.zshrc @@ -2,6 +2,8 @@ [[ $- != *i* ]] && return alias ls='ls --color=auto' +alias ll='ls --color=auto -lah' +alias grep='grep -n --color' PS1='[\u@\h \W]\$ ' # Autosuggestions @@ -9,8 +11,6 @@ source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh # synatx-highlighting source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh -#source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh - #Display ISO version and distribution information in short alias version="sed -n 1p /etc/os-release && sed -n 7p /etc/os-release && sed -n 8p /etc/os-release" @@ -28,14 +28,9 @@ alias unlock="sudo rm /var/lib/pacman/db.lck" alias remove="sudo pacman -R" alias autoremove="sudo pacman -Rns" -# Fix keyring and gnupg mount isuue +# Fix keyring and gnupg mount isuue alias fix-keys="sudo rm -rvf /etc/pacman.d/gnupg && sudo pacman-key --init && sudo pacman-key --populate" -# keyboard ctrl+arrow key issue solved -#bindkey '^[[1;5C' forward-word # Ctrl+Right arrow -#bindkey '^[[1;5D' backward-word # Ctrl+Left arrow - - ## Path section # Set $PATH if ~/.local/bin exist if [ -d "$HOME/.local/bin" ]; then @@ -51,7 +46,6 @@ precmd_functions+=(set_win_title) ## Plugins section: Enable fish style features # Use syntax highlighting source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh -#source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # Use autosuggestion source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh @@ -70,7 +64,6 @@ source /usr/share/fzf/completion.zsh # Advanced command-not-found hook [[ -e /usr/share/doc/find-the-command/ftc.zsh ]] && source /usr/share/doc/find-the-command/ftc.zsh - ## Options section setopt correct # Auto correct mistakes setopt extendedglob # Extended globbing. Allows using regular expressions with * @@ -90,7 +83,7 @@ setopt pushdminus autoload -Uz compinit compinit zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # Case insensitive tab completion -zstyle ':completion:*' rehash true # automatically find new executables in path +zstyle ':completion:*' rehash true # automatically find new executables in path zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" # Colored completion (different colors for dirs/files/etc) zstyle ':completion:*' completer _expand _complete _ignored _approximate zstyle ':completion:*' menu select @@ -109,66 +102,64 @@ HISTFILE=~/.zhistory HISTSIZE=50000 SAVEHIST=10000 - ## Keys # Use emacs key bindings bindkey -e # Ctrl+ backspace delets the word - bindkey '^H' backward-kill-word bindkey '5~' kill-word # [PageUp] - Up a line of history if [[ -n "${terminfo[kpp]}" ]]; then - bindkey -M emacs "${terminfo[kpp]}" up-line-or-history - bindkey -M viins "${terminfo[kpp]}" up-line-or-history - bindkey -M vicmd "${terminfo[kpp]}" up-line-or-history + bindkey -M emacs "${terminfo[kpp]}" up-line-or-history + bindkey -M viins "${terminfo[kpp]}" up-line-or-history + bindkey -M vicmd "${terminfo[kpp]}" up-line-or-history fi # [PageDown] - Down a line of history if [[ -n "${terminfo[knp]}" ]]; then - bindkey -M emacs "${terminfo[knp]}" down-line-or-history - bindkey -M viins "${terminfo[knp]}" down-line-or-history - bindkey -M vicmd "${terminfo[knp]}" down-line-or-history + bindkey -M emacs "${terminfo[knp]}" down-line-or-history + bindkey -M viins "${terminfo[knp]}" down-line-or-history + bindkey -M vicmd "${terminfo[knp]}" down-line-or-history fi # Start typing + [Up-Arrow] - fuzzy find history forward if [[ -n "${terminfo[kcuu1]}" ]]; then - autoload -U up-line-or-beginning-search - zle -N up-line-or-beginning-search + autoload -U up-line-or-beginning-search + zle -N up-line-or-beginning-search - bindkey -M emacs "${terminfo[kcuu1]}" up-line-or-beginning-search - bindkey -M viins "${terminfo[kcuu1]}" up-line-or-beginning-search - bindkey -M vicmd "${terminfo[kcuu1]}" up-line-or-beginning-search + bindkey -M emacs "${terminfo[kcuu1]}" up-line-or-beginning-search + bindkey -M viins "${terminfo[kcuu1]}" up-line-or-beginning-search + bindkey -M vicmd "${terminfo[kcuu1]}" up-line-or-beginning-search fi # Start typing + [Down-Arrow] - fuzzy find history backward if [[ -n "${terminfo[kcud1]}" ]]; then - autoload -U down-line-or-beginning-search - zle -N down-line-or-beginning-search + autoload -U down-line-or-beginning-search + zle -N down-line-or-beginning-search - bindkey -M emacs "${terminfo[kcud1]}" down-line-or-beginning-search - bindkey -M viins "${terminfo[kcud1]}" down-line-or-beginning-search - bindkey -M vicmd "${terminfo[kcud1]}" down-line-or-beginning-search + bindkey -M emacs "${terminfo[kcud1]}" down-line-or-beginning-search + bindkey -M viins "${terminfo[kcud1]}" down-line-or-beginning-search + bindkey -M vicmd "${terminfo[kcud1]}" down-line-or-beginning-search fi # [Home] - Go to beginning of line if [[ -n "${terminfo[khome]}" ]]; then - bindkey -M emacs "${terminfo[khome]}" beginning-of-line - bindkey -M viins "${terminfo[khome]}" beginning-of-line - bindkey -M vicmd "${terminfo[khome]}" beginning-of-line + bindkey -M emacs "${terminfo[khome]}" beginning-of-line + bindkey -M viins "${terminfo[khome]}" beginning-of-line + bindkey -M vicmd "${terminfo[khome]}" beginning-of-line fi # [End] - Go to end of line if [[ -n "${terminfo[kend]}" ]]; then - bindkey -M emacs "${terminfo[kend]}" end-of-line - bindkey -M viins "${terminfo[kend]}" end-of-line - bindkey -M vicmd "${terminfo[kend]}" end-of-line + bindkey -M emacs "${terminfo[kend]}" end-of-line + bindkey -M viins "${terminfo[kend]}" end-of-line + bindkey -M vicmd "${terminfo[kend]}" end-of-line fi # [Shift-Tab] - move through the completion menu backwards if [[ -n "${terminfo[kcbt]}" ]]; then - bindkey -M emacs "${terminfo[kcbt]}" reverse-menu-complete - bindkey -M viins "${terminfo[kcbt]}" reverse-menu-complete - bindkey -M vicmd "${terminfo[kcbt]}" reverse-menu-complete + bindkey -M emacs "${terminfo[kcbt]}" reverse-menu-complete + bindkey -M viins "${terminfo[kcbt]}" reverse-menu-complete + bindkey -M vicmd "${terminfo[kcbt]}" reverse-menu-complete fi # [Backspace] - delete backward @@ -177,67 +168,56 @@ bindkey -M viins '^?' backward-delete-char bindkey -M vicmd '^?' backward-delete-char # [Delete] - delete forward if [[ -n "${terminfo[kdch1]}" ]]; then - bindkey -M emacs "${terminfo[kdch1]}" delete-char - bindkey -M viins "${terminfo[kdch1]}" delete-char - bindkey -M vicmd "${terminfo[kdch1]}" delete-char + bindkey -M emacs "${terminfo[kdch1]}" delete-char + bindkey -M viins "${terminfo[kdch1]}" delete-char + bindkey -M vicmd "${terminfo[kdch1]}" delete-char else - bindkey -M emacs "^[[3~" delete-char - bindkey -M viins "^[[3~" delete-char - bindkey -M vicmd "^[[3~" delete-char + bindkey -M emacs "^[[3~" delete-char + bindkey -M viins "^[[3~" delete-char + bindkey -M vicmd "^[[3~" delete-char - bindkey -M emacs "^[3;5~" delete-char - bindkey -M viins "^[3;5~" delete-char - bindkey -M vicmd "^[3;5~" delete-char + bindkey -M emacs "^[3;5~" delete-char + bindkey -M viins "^[3;5~" delete-char + bindkey -M vicmd "^[3;5~" delete-char fi typeset -g -A key if (( ${+terminfo[smkx]} && ${+terminfo[rmkx]} )); then - autoload -Uz add-zle-hook-widget - function zle_application_mode_start { echoti smkx } - function zle_application_mode_stop { echoti rmkx } - add-zle-hook-widget -Uz zle-line-init zle_application_mode_start - add-zle-hook-widget -Uz zle-line-finish zle_application_mode_stop + autoload -Uz add-zle-hook-widget + function zle_application_mode_start { echoti smkx } + function zle_application_mode_stop { echoti rmkx } + add-zle-hook-widget -Uz zle-line-init zle_application_mode_start + add-zle-hook-widget -Uz zle-line-finish zle_application_mode_stop fi # Control Left - go back a word key[Control-Left]="${terminfo[kLFT5]}" if [[ -n "${key[Control-Left]}" ]]; then - bindkey -M emacs "${key[Control-Left]}" backward-word - bindkey -M viins "${key[Control-Left]}" backward-word - bindkey -M vicmd "${key[Control-Left]}" backward-word + bindkey -M emacs "${key[Control-Left]}" backward-word + bindkey -M viins "${key[Control-Left]}" backward-word + bindkey -M vicmd "${key[Control-Left]}" backward-word fi # Control Left - go forward a word key[Control-Right]="${terminfo[kRIT5]}" if [[ -n "${key[Control-Right]}" ]]; then - bindkey -M emacs "${key[Control-Right]}" forward-word - bindkey -M viins "${key[Control-Right]}" forward-word - bindkey -M vicmd "${key[Control-Right]}" forward-word + bindkey -M emacs "${key[Control-Right]}" forward-word + bindkey -M viins "${key[Control-Right]}" forward-word + bindkey -M vicmd "${key[Control-Right]}" forward-word fi # Alt Left - go back a word key[Alt-Left]="${terminfo[kLFT3]}" if [[ -n "${key[Alt-Left]}" ]]; then - bindkey -M emacs "${key[Alt-Left]}" backward-word - bindkey -M viins "${key[Alt-Left]}" backward-word - bindkey -M vicmd "${key[Alt-Left]}" backward-word + bindkey -M emacs "${key[Alt-Left]}" backward-word + bindkey -M viins "${key[Alt-Left]}" backward-word + bindkey -M vicmd "${key[Alt-Left]}" backward-word fi # Control Right - go forward a word key[Alt-Right]="${terminfo[kRIT3]}" if [[ -n "${key[Alt-Right]}" ]]; then - bindkey -M emacs "${key[Alt-Right]}" forward-word - bindkey -M viins "${key[Alt-Right]}" forward-word - bindkey -M vicmd "${key[Alt-Right]}" forward-word + bindkey -M emacs "${key[Alt-Right]}" forward-word + bindkey -M viins "${key[Alt-Right]}" forward-word + bindkey -M vicmd "${key[Alt-Right]}" forward-word fi - -# Load Mcfly -export MCFLY_FUZZY=true -export MCFLY_RESULTS=20 -export MCFLY_INTERFACE_VIEW=BOTTOM -export MCFLY_RESULTS_SORT=LAST_RUN -eval "$(mcfly init zsh)" - -## Run neofetch -#neofetch - diff --git a/airootfs/usr/local/bin/tl-finalisation b/airootfs/usr/local/bin/tl-finalisation index 2be99b0..45a9feb 100755 --- a/airootfs/usr/local/bin/tl-finalisation +++ b/airootfs/usr/local/bin/tl-finalisation @@ -14,4 +14,8 @@ rm -vf /etc/polkit-1/rules.d/49-nopasswd_global.rules rm -vf /root/{.automated_script.sh,.zlogin} rm -vf /usr/share/pixmaps/{archlinux-logo.png,archlinux-logo.svg,archlinux-logo-text.png,archlinux-logo-text.svg} +rm -rf /etc/skel/Desktop +find / -name "calamares.desktop" -type f -exec rm -f {} \; + + rm /usr/local/bin/{tl-finalisation,livecd-sound,Installation_guide} diff --git a/airootfs/usr/share/backgrounds/xfce/wallpaper1.png b/airootfs/usr/share/backgrounds/xfce/wallpaper1.png deleted file mode 100644 index a1f8b2c..0000000 Binary files a/airootfs/usr/share/backgrounds/xfce/wallpaper1.png and /dev/null differ diff --git a/airootfs/usr/share/backgrounds/xfce/wallpaper2.png b/airootfs/usr/share/backgrounds/xfce/wallpaper2.png deleted file mode 100644 index 335b474..0000000 Binary files a/airootfs/usr/share/backgrounds/xfce/wallpaper2.png and /dev/null differ diff --git a/airootfs/usr/share/backgrounds/xfce/wallpaper3.png b/airootfs/usr/share/backgrounds/xfce/wallpaper3.png deleted file mode 100644 index 5f44adb..0000000 Binary files a/airootfs/usr/share/backgrounds/xfce/wallpaper3.png and /dev/null differ diff --git a/airootfs/usr/share/backgrounds/xfce/wallpaper4.png b/airootfs/usr/share/backgrounds/xfce/wallpaper4.png deleted file mode 100644 index 774adcb..0000000 Binary files a/airootfs/usr/share/backgrounds/xfce/wallpaper4.png and /dev/null differ diff --git a/airootfs/usr/share/backgrounds/xfce/wallpaper5.png b/airootfs/usr/share/backgrounds/xfce/wallpaper5.png deleted file mode 100644 index 2a68ea2..0000000 Binary files a/airootfs/usr/share/backgrounds/xfce/wallpaper5.png and /dev/null differ diff --git a/airootfs/usr/share/backgrounds/xfce/wallpaper6.png b/airootfs/usr/share/backgrounds/xfce/wallpaper6.png deleted file mode 100644 index fc51cbe..0000000 Binary files a/airootfs/usr/share/backgrounds/xfce/wallpaper6.png and /dev/null differ diff --git a/efiboot/loader/entries/01-archiso-x86_64-linux.conf b/efiboot/loader/entries/01-archiso-x86_64-linux.conf index 298d734..1d59935 100644 --- a/efiboot/loader/entries/01-archiso-x86_64-linux.conf +++ b/efiboot/loader/entries/01-archiso-x86_64-linux.conf @@ -1,7 +1,7 @@ title TCET Linux install medium (x86_64, UEFI) sort-key 01 -linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-zen +linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-lts initrd /%INSTALL_DIR%/boot/intel-ucode.img initrd /%INSTALL_DIR%/boot/amd-ucode.img -initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-zen.img +initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-lts.img options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram=n cow_spacesize=5G nouveau.modeset=1 radeon.modeset=1 i915.modeset=1 nvme_load=yes diff --git a/grub/grub.cfg b/grub/grub.cfg index 13d9b24..9a173fe 100644 --- a/grub/grub.cfg +++ b/grub/grub.cfg @@ -44,8 +44,8 @@ timeout_style=menu menuentry "TCET Linux install medium (x86_64, UEFI)" --class arch --class gnu-linux --class gnu --class os --id 'tcetlinux' { set gfxpayload=keep - linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-zen archisobasedir=%INSTALL_DIR% archisodevice=UUID=${ARCHISO_UUID} copytoram=n cow_spacesize=5G nouveau.modeset=1 radeon.modeset=1 i915.modeset=1 nvme_load=yes - initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/x86_64/initramfs-linux-zen.img + linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-lts archisobasedir=%INSTALL_DIR% archisodevice=UUID=${ARCHISO_UUID} copytoram=n cow_spacesize=5G nouveau.modeset=1 radeon.modeset=1 i915.modeset=1 nvme_load=yes + initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/x86_64/initramfs-linux-lts.img } if [ "${grub_platform}" == "efi" ]; then diff --git a/packages.x86_64 b/packages.x86_64 index 15d1a8e..0752132 100644 --- a/packages.x86_64 +++ b/packages.x86_64 @@ -49,7 +49,7 @@ less lftp libfido2 libusb-compat -linux-zen +linux-lts #linux-atm linux-firmware linux-firmware-marvell @@ -135,7 +135,7 @@ networkmanager network-manager-applet base-devel pacman-contrib -#virtualbox-guest-utils +virtualbox-guest-utils ## TCET Linux Desktop Env - XFCE @@ -166,7 +166,7 @@ xfce4-screenshooter xfce4-sensors-plugin xfce4-smartbookmark-plugin xfce4-systemload-plugin -xfce4-taskmanager +#xfce4-taskmanager xfce4-time-out-plugin xfce4-timer-plugin xfce4-verve-plugin @@ -234,7 +234,6 @@ awesome-terminal-fonts fzf powerline-fonts #find-the-command-git -mcfly starship zsh-history-substring-search #grml-zsh-config @@ -261,7 +260,23 @@ gthumb file-roller # Neofetch Tcet -neofetch-tcet +tcet-linux-neofetch # Tcet Linux Welcome tcet-linux-welcome + +# Task Manager +glances +tcet-linux-task-manager + +# Calamares Desktop +calamares-desktop + +# Set once +tcet-linux-set-once + +# Wallpaper +tcet-linux-wallpaper + +#newFont-terminal-stable +ttc-iosevka diff --git a/syslinux/archiso_sys-linux.cfg b/syslinux/archiso_sys-linux.cfg index ecefd67..77f7dc1 100644 --- a/syslinux/archiso_sys-linux.cfg +++ b/syslinux/archiso_sys-linux.cfg @@ -5,6 +5,6 @@ Boot the TCET Linux install medium on BIOS. It allows you to install TCET Linux or perform system maintenance. ENDTEXT MENU LABEL TCET Linux install medium (x86_64, BIOS) -LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-zen -INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux-zen.img +LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-lts +INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux-lts.img APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram=n cow_spacesize=5G nouveau.modeset=1 radeon.modeset=1 i915.modeset=1 nvme_load=yes