Skip to content

Latest commit

 

History

History
321 lines (259 loc) · 10.8 KB

configuration-guide.md

File metadata and controls

321 lines (259 loc) · 10.8 KB

Note: This is a forever work in progress

  • Read The Fabulous Manual (RTFM) always, like Archwiki , geento wiki or Self-doc written by project, this repo dotfile guide is considered out of date by design

Mkinitcpio

  • In /etc/mkinitcpio.conf at MODULES, add i915
  • Edit /etc/modprobe.d/i915.conf add options i915 enable_guc=2
  • sudo mkinitcpio -p linux
  • reboot

Update Grub and mkinitcpio

grub-mkconfig -o /boot/grub/grub.cfg
mkinitcpio --config /etc/mkinitcpio.conf --generate /boot/initramfs-custom.img
mkinitcpio -p linux

Firefox Config

Note1: $Firefox-Channel is the firefox Channel you selected, examples Nightly Beta Developer Normal ESR, maybe it's just non-sense .default folder like: Firefox -> u0kchxzv.default Firefox Developer Edition -> idknp77f.dev-edition-default Firefox-ESR -> rycwnmek.default-release

cd ~/.mozilla/$Firefox-Channel/$Firefox-Default/
mkdir chrome
mv ~/Documents/git/dotfiles-gabo/.mozilla/$CSS-Folder/* chrome/

Write in search-bar about:config

Set to True

  • toolkit.legacyUserProfileCustomizations.stylesheets
  • layers.acceleration.force-enabled
  • gfx.webrender.all
  • svg.context-properties.content.enabled

PDF Dark Mode (wow)

  • pdfjs.forcePageColors to true
  • pdfjs.pageColorsBackground to #202020 | default Canvas
  • pdfjs.pageColorsForeground to #d1d1d1 | default CanvasText

Vaapi Via FFMPEG Acceleration

  • media.ffmpeg.vaapi.enabled to true

Smaller Tabs Width

  • browser.tabs.tabMinWidth to 50

Disable Firefox Screenshot

  • extensions.screenshots.disabled to true

Disable Translation Popup

  • browser.translations.automaticallyPopup to false

Disable Autoplay (Playlist stop too 😲) | 2 stop every domain | 1 block autoplay | 0 permit autoplay

  • media.autoplay.blocking_policy to 2

Set this to 0 to use your own fonts always ^^

  • browser.display.use_document_fonts

Disable Webrtc indicator (Set to False)

  • privacy.webrtc.legacyGlobalIndicator

Make Compact UI (Set to True)

  • uc.tweak.context-menu.hide-firefox-account

Disable Ugly Suggestion (Set to False)

  • browser.formfill.enable
  • browser.search.suggest.enabled
  • extensions.formautofill.addresses.enabled
  • extensions.formautofill.creditCards.enabled

Use more Net cache :D

  • network.buffer.cache.size to 524288 -> 512KB
  • network.buffer.cache.count to 128
  • network.http.max-connections to 1800
  • network.http.max-persistent-connections-per-server to 12
  • network.http.max-urgent-start-excessive-connections-per-host to 8
  • network.http.pacing.requests.burst to 8
  • network.http.pacing.requests.min-parallelism to 8
  • network.websocket.max-connections to 400
  • network.ssl_tokens_cache_capacity to 32768

Fastest Full Screen, this can set to 0 but can generate some troubles :p

  • full-screen-api.warning.timeout to 20
  • full-screen-api.warning.delay to 20
  • full-screen-api.transition.timeout to 0

Accept more images than webp (kinda deprecated)

  • image.http.accept to */*

Warn when close firefox with tabs

  • browser.tabs.warnOnClose to true

Disable "Update Page" in firefox after an upgrade

  • browser.startup.upgradeDialog.enabled to false

Disable Automatic pop-up when download is finished

  • browser.download.alwaysOpenPanel to false

Faster Mouse Wheel

  • mousewheel.default.delta_multiplier_y to 200

Smooth Mouse :D

  • general.smoothScroll.msdPhysics.enabled to true

Open Bookmark in new tab

  • browser.tabs.loadBookmarksInTabs to true

Enable More RAM consuming, less HDD (I dont use but help a lot in old machines)

  • browser.cache.disk.enable to false
  • browser.cache.memory.capacity to -1 (Unlimited i guess)
  • media.memory_cache_max_size to bigger number

What is this ADs?? please disable

  • browser.vpn_promo.enabled to false
  • browser.newtabpage.activity-stream.feeds.recommendationprovider to false
  • browser.newtabpage.activity-stream.showSponsored to false
  • extensions.htmlaboutaddons.recommendations.enabled to false

Disable telemetry

  • browser.discovery.enabled to false
  • datareporting.policy.dataSubmissionEnabled to false
  • datareporting.healthreport.uploadEnabled to false
  • toolkit.telemetry.unified to false
  • toolkit.telemetry.archive.enabled to false
  • toolkit.telemetry.newProfilePing.enabled to false
  • toolkit.telemetry.shutdownPingSender.enabled to false
  • toolkit.telemetry.updatePing.enabled to false
  • toolkit.telemetry.bhrPing.enabled to false
  • toolkit.telemetry.firstShutdownPing.enabled to false
  • toolkit.telemetry.coverage.opt-out (hidden|logic) to true
  • toolkit.coverage.opt-out (hidden|logic) to true
  • toolkit.coverage.endpoint.base to ""
  • browser.ping-centre.telemetry to false
  • browser.newtabpage.activity-stream.feeds.telemetry to false
  • browser.newtabpage.activity-stream.telemetry to false
  • app.normandy.api_url to ""

Disable Crash Report

  • breakpad.reportURL to ""
  • browser.tabs.crashReporting.sendReport to false

Prevent Script move windows

  • dom.disable_window_move_resize to true

Force Secure HTTPS Conection

  • security.ssl.require_safe_negotiation to true

Max GFX.accelerated

  • gfx.canvas.accelerated.cache-items to 4096 | default 2048
  • gfx.canvas.accelerated.cache-size to 1024 | default 256
  • gfx.content.skia-font-cache-size to 20 | default 5

Fish Config

Tip

You need to redo all step in root mode to have fisher working well

Note

Config File Default are ~/.config/fish/config.fish & ~/.config/fish/conf.d/

Install Fisher

curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher

Plugins

Note

see more plugins here

Install Tide

fisher install IlanCosman/tide@v6

Install Done

fisher install franciscolourenco/done
fisher install rose-pine/fish

Fish Default Shell

chsh -s /bin/fish

Note

Move .config with your configurations:

  • Kitty
  • Fastfetch
  • Hyprland
  • qt5ct
  • qt6ct

Important

To work, you need Nerd Fonts, like HackNerdFont or JetBrains

mv ~/Documents/git/dotfiles-gabo/.config ~/.config

THEME

My Favs <3

paths to qt6ct User & Root and Colors

User Files

- Configuration path: "/home/deathgabox/.config/qt6ct"
- Shared QSS paths:"/usr/share/qt6ct/qss")
- Shared color scheme paths: "/usr/share/qt6ct/colors")

Root Files

- Configuration path: "/root/.config/qt6ct"
- Shared QSS paths:"/usr/share/qt6ct/qss")
- Shared color scheme paths:"/usr/share/qt6ct/colors")

Catpuccin Colors means

Catppuccin-Frappe.conf      (Light Mode)
Catppuccin-Latte.conf       (Dark Mode)
Catppuccin-Macchiato.conf   (Darker Mode)
Catppuccin-Mocha.conf       (Darkest Mode)

TTY

Clone and Copy Files

cd ~/Documents/git
git clone https://github.com/catppuccin/tty.git && cd tty
chmod a+x *.sh
./generate.sh mocha

Edit /etc/default/grub and append the stdin of sh script to GRUB_CMDLINE_LINUX

Grub2

Clone and Copy Files

cd /home/$USER/Documentos/git
git clone https://github.com/catppuccin/grub.git && cd grub
sudo cp -r src/* /usr/share/grub/themes/

Edit /etc/default/grub and add GRUB_THEME="/usr/share/grub/themes/catppuccin-macchiato-grub-theme/theme.txt" Next run:

sudo grub-mkconfig -o /boot/grub/grub.cfg

Extra-Config

XDG-MIME

This is a life-changer for app like lf, all is about context ^^

  • xdg-mime default org.xfce.mousepad.desktop text/plain
  • xdg-mime default org.xfce.mousepad.desktop text/xml
  • xdg-mime default org.xfce.mousepad.desktop application/x-subrip
  • xdg-mime default org.xfce.mousepad.desktop application/javascript
  • xdg-mime default org.pwmt.zathura.desktop application/pdf
  • xdg-mime default thunar.desktop inode/directory
  • xdg-mime default imv-dir.desktop image/jpeg
  • xdg-mime default imv-dir.desktop image/png
  • xdg-mime default imv-dir.desktop image/svg+xml
  • xdg-mime default imv-dir.desktop image/heic
  • xdg-mime default mpv.desktop video/mp4
  • xdg-mime default mpv.desktop video/x-matroska
  • xdg-mime default mpv.desktop video/mpeg
  • xdg-mime default mpv.desktop video/quicktime
  • xdg-mime default mpv.desktop audio/ogg
  • xdg-mime default mpv.desktop audio/x-wav
  • xdg-mime default mpv.desktop audio/flac

SDDM

Installation

Theme Aur

cd ~/Documents/git/dotfiles-gabo/etc/sddm.conf.d/
cat theme.conf > /usr/share/sddm/themes/tokyo-night-sddm/theme.conf
mkdir /etc/sddm.conf.d
cat sddm.conf > /etc/sddm.conf.d/sddm.conf

Qemu

User-Group

Info about Qemu

  • In /etc/libvirt/qemu.conf ~520-525 line, discomment, change user to $USER
user="$USER"
group="libvirt-qemu"

Use Modular Daemon instead of monolitic daemon

Steam

With Nouveau commands per game is:

DRI_PRIME=1 %command%

Thunar

Note You can navigate network with smb://, ftp://, ssh://, sftp://, davs://