bluebyt

Wayfirereadme.ini

Dec 4th, 2023 (edited)
3,015
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
INI file 57.01 KB | None | 0 0
  1. 61 679,99
  2.  
  3. Numéro de transit 1138-1
  4. Numéro de 10-359-98
  5. *************************************************
  6. Projets
  7.  
  8. KDEnlive better font
  9. Try Walker - Application launcher
  10. hidamari    Video wallpaper for Linux
  11. fd webui-user.bat trouve rien??
  12. Where to put environment?
  13. sudo systemctl restart bluetooth.service
  14.  
  15. **************************************
  16.  
  17. Gnome web
  18.  
  19. Run gsettings set org.gnome.Epiphany.web:/ hardware-acceleration-policy 'always'
  20.  
  21. Run gsettings set org.gnome.Epiphany.web:/org/gnome/epiphany/web/ enable-webextensions true
  22.  
  23. This means you must download the Add-ons file from Firefox Browser Add-ons website. For example, I clicked the Download file for uBlock Origin and installed the Add-on manually. Click the + symbol on the Add New Extension button in the Preferences dialog box.
  24. *****************************************
  25.  
  26. Project setting Kdenlive
  27. 2.5k QHD 1440 60fps
  28.  
  29.  
  30. Wayfire
  31.  
  32. "Wayfire itself is not a full desktop environment" developer
  33.  
  34. ext-workspace protocol
  35.  
  36. launcher08 = lite-xl ~/.config/wayfire.ini ~/.Wayfirereadme.ini &
  37.  
  38. /opt/wayfire/bin/startwayfire
  39. export reuse_gl_names=0
  40.  
  41. ----------------------------------------
  42. Resolution
  43.  2560x1440  2880x1800
  44. ----------------------------------------
  45.  
  46. reflector --list-countries
  47. sudo reflector --country 'Canada,United States' --age 12 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
  48. ------------------------------
  49. Latest YouTube posts
  50. fd wayfire.log / -H
  51. systemctl --user start mpDris2.service
  52. ~/.config/scripts/airpod3.sh --toggle &
  53. ~/.config/scripts/zellij.sh &
  54. systemctl --user restart wireplumber pipewire pipewire-pulse
  55.  
  56.  
  57. libva-intel-driver vs intel-media-driver for Coffee Lake
  58. vainfo
  59.  
  60. --------------------------------------------
  61.  
  62. Hyprland:
  63. windowrulev2 = opacity 0.94 0.86, class:^([Dd]iscord|[Vv]esktop)$
  64. First # is when focused,  2nd unfocused
  65.  
  66. pacman -Q | grep pulse
  67. which pipewire-pulse
  68.  
  69. App to try:
  70.     grep -> ripgrep (command `rg`)
  71.     find -> fd
  72.     sed -> sd
  73.     diff -> delta
  74.     cat -> bat
  75.     wc -> cw
  76.     du -> dust
  77.     ps -> procs
  78.     micro
  79.     https://github.com/Cairo-Dock/cairo-dock-core
  80.     Yazi - ⚡ Blazing Fast Terminal File Manager
  81. -----------------------------------
  82. /home/bluebyt/.config/mimeapps.list
  83. sudo update-mime-database /usr/share/mime/
  84.  
  85.  
  86.  
  87.  
  88.  
  89. Pixdecor and wf-info
  90. PKG_CONFIG_PATH=/opt/wayfire/lib/pkgconfig meson setup build --prefix=/opt/wayfire
  91. ninja -C build
  92. sudo ninja -C build install
  93. /opt/wayfire/bin/wf-info
  94.  
  95. -----------------------------------
  96.  
  97. Error libdisplay-info 0.2.0
  98. Open subprojects/wlroots/backend/drm/libliftoff.c for editing. Change line 439:
  99. int ret = liftoff_output_apply(crtc->liftoff, req, flags, NULL)
  100.  
  101. ignore_views = (app_id is "ulauncher") | (app_id is "foot")
  102.  
  103. cd pixdecor
  104. curl https://pastebin.com/sw64DCWH | git apply
  105. -----------------------------------
  106.  
  107. Environment
  108.  
  109. /home/bluebyt/.config/environment.d/environment.conf
  110. WAYFIRE_SOCKET=/tmp/wayfire-wayland-1.socket
  111.  
  112. Wayfire window decoration
  113. effect_type = smoke, ink,lava, neural_network,neon_pattern, neon_rings, cloud, deco
  114.  
  115. Plugin and IPC
  116. follow-focus
  117. wayfire-shell
  118.  
  119. Fonts
  120. fc-list | grep -i iosevka
  121. fc-list | grep -i caskaydiacove
  122.  
  123.  
  124. Native Resolution QHD 2560 x 1440 at 75 Hz
  125.  
  126. Youtube sec.
  127. https://www.youtube.com/watch?v=0zvXSQRsLHk&t=15s
  128.  
  129. Delete the folder gnome-thumbnail-factory
  130. ~/.cache/thumbnails/fail/gnome-thumbnail-factory/
  131. ______________________________________________
  132. Portal
  133. xdg-desktop-portal
  134. xdg-desktop-portal-wlr
  135. xdg-desktop-portal-gtk
  136. xdg-desktop-portal-hyprland
  137.  
  138. /home/bluebyt/.config/xdg-desktop-portal\portals.conf
  139. [preferred]
  140. # Use xdg-desktop-portal-gtk for every portal interface...
  141. default=gtk
  142.  
  143. ps aux | grep xdg-desktop-portal
  144.  
  145. ______________________________________________
  146. wayfire.ini
  147. [scale]
  148. toggle_all = <super> KEY_W | hotspot right-top 10x10 200
  149. ______________________________________________
  150.  
  151. Terminal key
  152. Clean up the line: You can use Ctrl+U to clear up to the beginning.
  153. Recall the deleted command: Ctrl+Y (then Alt+Y)
  154. Go to beginning of the line: Ctrl+A
  155. Go to end of the line: Ctrl+E
  156. Alt+F moves one word forward, and Alt+B moves one word back.
  157. Remove the forward words for example, if you are middle of the command: Ctrl+K
  158. Remove characters on the left, until the beginning of the word: Ctrl+W
  159. To clear your entire command prompt: Ctrl + L
  160.  
  161. Fish
  162. Shortcut    Description
  163. ^A ←/^E →   Move to the line beginning/end
  164. Alt ←/Alt → Jump to the previous/next word
  165. ↑/↓ Switch to the previous/next command
  166. Alt ↑/Alt ↓ Switch to the previous/next arguments
  167. --- ---
  168. ^U  Delete to the beginning
  169. ^C  Cancel the line
  170. --- ---
  171. Alt H   Show the command man page description
  172. Alt W   Show the short command description
  173. ______________________________________________
  174. Pacman command
  175. pacman -Qe                                                   List all Arch package
  176. sudo pacman -Rns example         Remove the program and dependencies
  177. sudo pacman -Rsc qemu-common
  178. sudo pacman -Qm                  List Aur package
  179. yay -Qq > packages               List Aur package
  180. sudo pacman -Scc                 Cache clean – remove all files from cache
  181. sudo pacman -Rns $(pacman -Qdtq) Remove Orphaned (Unused) Packages
  182. sudo pacman -Rsunc $(pacman -Qdtq)
  183. pacman -Ql vlc                   Find All Files Owned by a Package
  184. yay -Sii  albert
  185. pacman -Qi intel-ucode
  186. ______________________________________________
  187.  
  188. efivar --list
  189. timedatectl set-ntp true
  190. mount /dev/nvme1n1p2 /mnt
  191. mount /dev/nvme1n1p1 /mnt/boot/
  192. lsblk
  193. arch-chroot /mnt
  194. pacman -Syu
  195.  
  196. -------------------------------------------
  197.  
  198. mpd Play 2, 8
  199. Nom de musique player de marde!
  200. ncmpcpp
  201.  
  202. App list
  203.  
  204. egl-wayland
  205. python-pyqt6
  206. qt5-base
  207. qt5-wayland
  208. qt6-base
  209. libxcb
  210.  
  211. pqiv (Image viewer)
  212. lxappearance or nwg-look
  213. ristretto -s /mnt/media/Deviant/ &
  214. vesktop (Discord)
  215. wcm (Wayfire config manager)
  216. exa or eza (A modern replacement for ls)
  217. catnip
  218. viu
  219. ttf-joypixels
  220. sudo pacman -S man-db
  221. fd
  222. lsd
  223. pcmanfm-gtk3
  224. thunar
  225. thunar-archive-plugin
  226. sudo pacman -S xfce4-taskmanager
  227. Telegram or tangram(Telegram for Gnome)
  228. Celluloid -video player
  229. Cavalier -spectrum
  230. pamixer -adjust volume
  231. catfish
  232. czkawka_gui
  233. Font Manager
  234. gucharmap
  235. pdf slider
  236. reminder
  237. bashtop
  238. bpytop
  239. ytop
  240. btop
  241. wl-clipboard
  242. nitch
  243. tldr (Man page)
  244. xplr (Terminal file manager)
  245. Image roll
  246. overskride (Bluetooth manager GTK4)
  247. xana spectrum viewer
  248. lswt (List all wayland windows)
  249. sudo pacman -S gstreamer-vaapi
  250. G4music
  251. audience-video-player or io.elementary.videos
  252. org.gnome.Ptyxis.Devel
  253. flatseal (Flatpak permission)
  254. xlsclients (List Xwayland app)
  255. wl-screenrec
  256. mediainfo
  257. vainfo
  258. intel-gpu-tools
  259. waybar-hyprland-cava-git
  260. brave-beta-bin
  261. ffmpegthumbnailer
  262. chromium-bsu game
  263. sudo pacman -S tumbler (thumbnail for thunar)
  264. swayimg --slideshow --recursive --order=random
  265. timg -ps -g30x30 handsfree.jpg
  266. sixel
  267. easyeffects
  268. spotube-bin
  269. papers (PDF viewer for Gnome)
  270. superfile (Terminal file manager)
  271. yazi (Terminal file manager)
  272. Parabolic (tubeconverter)
  273. Rnote (Note app)
  274. swww & waypaper (waypaper nanager)
  275. Packet Send and receive files wirelessly with Android devices using Quick Share
  276. FlatConvert: Media Conversion Tool for the GNOME Desktop
  277.  
  278. pacman-contrib
  279. Shotwell
  280. Thunar
  281. Waybar
  282. Wofi (command: wofi --show drun)
  283. Rofi(rofi -show drun, rofi-theme-selector)
  284. rofi -show window -theme solarized_alternate
  285. rofi -show drun -theme solarized_alternate
  286. rofi -show run -theme solarized_alternate
  287. wlogout
  288. KeepassXC
  289. gThumb
  290. Ytop
  291. BashTOP
  292. Bpytop [Uninstall gnu-free-fonts]
  293. Htop
  294. Gtop
  295. glances
  296. Xfce-terminal
  297. Tilix
  298. pitivi
  299. powerlevel10k
  300. virt-manager
  301. unrar
  302. sudo pacman -S zsh-completions
  303. Password safe gnome
  304. Shell-color-scripts
  305. Lshw (hardware configuration)
  306. grim -g "$(slurp)" - | swappy -f -
  307.  
  308. gst-libav (Drivers h264)
  309. mediainfo
  310. libva-utils (vainfo)
  311. Easytag
  312. Weechat
  313. Hexchat
  314. nautilus-image-converter
  315. pacman-contrib (checkupdates | wc -l)
  316. bat, exa, fzf
  317. font-manager
  318. nmap (cat Documents/Files/patchrules.txt | ncat termbin.com 9999)
  319.  
  320.  
  321. Android phone:
  322. gvfs-mtp
  323. mtpfs
  324.  
  325. Terminal:
  326. kitty
  327. wezterm
  328. rio
  329. alacritty
  330. foot
  331.  
  332. GTK terminal
  333. xfce4-terminal
  334. gnome-terminal
  335. black box
  336. Ptyxis
  337. tilix
  338. Ghostty
  339.  
  340.  
  341. Gnome app GTK4:
  342. Text editor
  343. Nautilus
  344. Web (epiphany)
  345. Video
  346. showtime (New gnome video player)
  347. Secret
  348. gapless
  349. clapper
  350. Celluloid
  351. Resources (System monitor)
  352. pantheon-videos (Elementary os)
  353. parole (Video player Xfce)
  354. flatpak install flathub io.github.amit9838.mousam (Meteo widget)
  355.  
  356. Terminal GTK3 or GTK4
  357. Ghostty
  358. Ptyxis
  359. Tilix
  360. Black box
  361. xfce-terminal
  362. gnome terminal
  363.  
  364. Online video editor
  365. Clipchamp
  366. Capcut
  367.  
  368.  
  369. Image viewer
  370. qview (Default)
  371. nsxiv
  372. feh
  373. imv (Not working with pixdecor)
  374. swayimg (Not working with pixdecor)
  375. swappy (work with slurp)
  376.  
  377. brave://flags
  378. ozone
  379. scrollbars
  380. brave://components
  381. brave://gpu/
  382. brave://settings/content/notifications
  383.  
  384. Bluetooth
  385.  
  386. lsusb | grep -i "bluetooth"
  387.  
  388. sudo /etc/bluetooth/nano main.conf
  389. AutoEnable=true
  390.  
  391. sudo nano /etc/bluetooth/audio.conf
  392. [General]
  393. Enable=Control,Gateway,Headset,Media,Sink,Socket,Source
  394.  
  395. systemctl status bluetooth
  396. systemctl start bluetooth
  397. systemctl stop bluetooth
  398. systemctl enable bluetooth
  399.  
  400. Bluetooth Airpod
  401.  
  402. bluetoothctl
  403. power on
  404. scan on
  405. remove 60:93:16:0D:F9:59
  406. Push the button while ipod is in the case (pair 60:93:16:0D:F9:59)
  407. connect 60:93:16:0D:F9:59
  408. trust 60:93:16:0D:F9:59
  409.  
  410. Device
  411. Device 00:1F:47:EC:E3:19 YSP-2500 Yamaha
  412. Device 50:1A:A5:76:B3:6D Jabra MOVE v2.5.0
  413.  
  414. command
  415. bluetoothctl -- pair XX:XX:XX:XX:XX:XX
  416. sleep 10
  417. bluetoothctl -- trust XX:XX:XX:XX:XX:XX
  418. bluetoothctl -- connect XX:XX:XX:XX:XX:XX
  419. sleep 5
  420.  
  421. File:
  422. Key bindings
  423. https://github.com/WayfireWM/wayfire/wiki/Tutorial
  424.  
  425. Autostart
  426. dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY XAUTHORITY
  427.  
  428. /home/bluebyt/.config/environment.d/envvars.conf
  429. GST_PLUGIN_FEATURE_RANK=pulsesink:NONE
  430.  
  431.  
  432. Logfile:
  433. .local/share/wayfire/wayfire.log
  434. /opt/wayfire/include/wlr/config.h (install log)
  435. /run/user/1000/wayfire.log
  436. window-list widget of wf-panel
  437.  
  438. Install master wayfire:
  439. Install before:
  440. python-pip
  441. wlroots
  442. glm
  443. cmake
  444. Archlinux-keyring
  445. gobject-introspection
  446.  
  447. nlohmann-json
  448. doxygen
  449. doctest
  450. libliftoff
  451. wlroots
  452. glm
  453. cmake
  454. wayland-protocols
  455. git clone https://github.com/WayfireWM/wf-install
  456. cd wf-install
  457. ./install.sh --prefix /opt/wayfire --stream master
  458.  
  459.  
  460. CTRL ALT F2 desktop or F3 wayfire
  461. Gnome-session-quit
  462. CTRL-BACK-BSPC
  463.  
  464.  
  465. Screenshot
  466. sudo pacman -S slurp grim
  467. -grim $HOME/Downloads/screenshot.png
  468. -sleep 2 && grim $HOME/Downloads/screenshot-$(date "+%Y-%m-%d-%H:%M:%S").png
  469.  
  470. Select part of the screen:
  471. slurp | grim -g - ~/Downloads/slurped.png
  472.  
  473.  
  474. Pick a color:
  475. grim -g "$(slurp -p)" -t ppm - | convert - -format '%[pixel:p{0,0}]' txt:-
  476.  
  477.  
  478. Configuration Wayfire
  479. wcm
  480.  
  481. [workarounds]
  482. #app_id_mode = stock
  483. app_id_mode = full
  484.  
  485. Wf-recorder
  486. trizen -S wf-recorder-git
  487. run wf-recorder to start recording and use Ctrl+C to stop.
  488. wf-recorder -f test-vaapi.mkv -c h264_vaapi -d /dev/dri/renderD128
  489. wf-recorder -f test-vaapi.mp4 -c h264_vaapi -d /dev/dri/renderD128
  490.  
  491. gnome-text-editor
  492.  
  493. Yay
  494. yay -Rns cmatrix
  495. yay -Qu update
  496. yay -Qm List package
  497.  
  498. Terminal command:
  499. grep -rnw '/opt/wayfire'  -e 'squeezimize'
  500. pgrep eww && killall eww || ~/.config/scripts/./eww-start3.sh
  501. feh --scale-down -B '#1a1b26' -g 1024x768 /mnt/media/art6/nymphe2.png *.jpg
  502. feh --scale-down -B '#1a1b26' -g 1024x768 -S filename ~/Pictures/
  503. head -n 5 /proc/cpuinfo | tail -n 1
  504. history | grep yay
  505. source ~/.config/fish/config.fish
  506. xdg-mime query filetype handsfree.jpg
  507.  
  508. pokemon-colorscripts -r
  509. nautilus --new-window /home/bluebyt/ &
  510. yay -S ulauncher --answerclean All
  511. kitty icat --place 35x35@1x6 handsfree.jpg
  512. killall -SIGUSR2 waybar
  513. kitty +kitten icat handsfree.jpg
  514. foot --title=Foot --override locked-title=yes &
  515. (bell command urgent) sleep 3; echo -e '\a'
  516. sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED
  517. notify-send "Dinner ready!"
  518. checkupdates 2> /dev/null | wc -l
  519. checkupdates-with-aur 2> /dev/null | wc -l
  520. grep -rnw  -e 'dunst'
  521. grep -rnw '/home/user/documents/' -e 'example'
  522. wdisplays
  523. sensors
  524. lspci
  525. lsusb
  526. lscpu
  527. pactl info
  528. ps -ax | grep pipewire
  529. hwinfo --short >hwinfo.ini
  530. journalctl -x -b -p 3
  531. systemctl --user restart wireplumber pipewire pipewire-pulse
  532. systemctl --user daemon-reload
  533. flatpak list --app
  534. dmesg (Kernel message)
  535. dmesg | grep -i usb
  536. sudo lspci -k | grep -A 4 Audio
  537. SDL_VIDEODRIVER=wayland lite-xl &
  538. launcher26 = SDL_VIDEODRIVER=wayland lite-xl
  539. launcher18 = celluloid $HOME/Documents/playlist.m3u
  540. wf-recorder --audio --file=recording_with_audio.mp4
  541. wayfire -d (Load)
  542. blackbox -c ncmpcpp
  543. tilix --geometry=110x55 -a app-new-window -x  "bpytop"
  544. tilix --geometry=112x110 -a app-new-window -x "weechat"
  545. tilix --geometry=65x17 -a app-new-window -x "ncmpcpp"
  546. nautilus --new-window /home/bluebyt/Videos &
  547. gnome-terminal -e ncmpcpp &
  548. gnome-terminal --geometry 80x22+100+75
  549. Exec=gnome-terminal --geometry 73x31+100+300
  550. --geometry=GEOMETRY
  551. Set the window size; for example: 80x24, or 80x24+200+200 (COLSxROWS+X+Y)
  552. gst-discoverer-1.0 dTreeGO.mp4
  553. gst-inspect-1.0 vaapi
  554. sudo intel_gpu_top
  555. swww-daemon
  556. swww kill
  557. for i in *.HEIC; do heif-convert "$i" "${i%.*}.jpg"; done
  558. flatpak run org.gnome.Ptyxis.Devel -x "htop"
  559. flatpak run org.gnome.Ptyxis.Devel -x zsh
  560. ffmpeg -i input.mp4 -vf "fps=10,scale=1080:-1:flags=lanczos" -c:v pam \
  561.     -f image2pipe - | \
  562.     convert -delay 10 - -loop 0 -layers optimize output.gif
  563.    
  564. ffmpeg -i modules2.mp4 -vf "fps=10,scale=800:-1:flags=lanczos" -c:v pam -f image2pipe - | \convert -delay 10 - -loop 0 -layers optimize output2.gif
  565.  
  566.  sudo usermod -a -G video bluebyt
  567. Check the temp M2 Nvme disk:
  568. sudo nvme smart-log /dev/nvme0
  569. grep -ir rnotify .weechat/
  570. Aur helper
  571.  
  572.  
  573. sudo pacman -Syu --overwrite='*'  python-setuptools
  574. source ~/.zshrc
  575. Drivers$ glxinfo | grep OpenGL
  576. glxinfo | grep "OpenGL renderer"
  577. sudo pacman -S waybar
  578. Waybar /home/.config/waybar/config and style.css
  579. nautilus ~/
  580. "on-click": "nautilus --new-window"
  581. gnome-calendar
  582. gnome-system-monitor
  583. exa -l
  584. trizen -S mako-git (A lightweight notification daemon for Wayland)
  585. Exec=thunar /home/bluebyt
  586. Mediainfo
  587. Gtop
  588. Cmatrix -a
  589. dd bs=4M if=archlinux-2020.08.01-x86_64.iso of=/dev/sdd status=progress oflag=sync
  590. sudo virsh net-start default
  591. for i in *.rar; do unrar x -o+ "$i"; done
  592. For i in *.rar; do unrar x -o+ "$i"; done ; rm *.jpg
  593. Shows multiple desktops
  594. Install imagemagick
  595. For vertical stacking (top to bottom):
  596. convert screenshot1.png screenshot2.png -append out.png
  597.  
  598. For horizontal stacking (left to right):
  599. convert screenshot1.png screenshot2.png +append out.png
  600.  
  601. Or
  602. open one screenshot in GIMP, change the canvas size to double the height, and paste the second one below
  603.  
  604. WhiteSur Gtk Theme
  605. ./install.sh --nord -l -c Dark -m -p 60 -P bigger --normal
  606.  
  607. git clone https://github.com/vinceliuice/Magnetic-gtk-theme.git
  608. ./install.sh -d /home/bluebyt/.local/share/themes -c dark -l --tweaks nord outline
  609.  
  610. git clone https://github.com/vinceliuice/Graphite-gtk-theme.git
  611. ./install.sh -d /home/bluebyt/.local/share/themes -c dark -l --tweaks nord
  612. ./install.sh -d /home/bluebyt/.local/share/themes -c dark -l --tweaks nord rimless
  613.  
  614. git clone https://github.com/alvatip/Nordzy-icon.git
  615. ./install.sh -d /home/bluebyt/.local/share/icons -t cyan -c dark
  616.  
  617.  
  618. Input in the group user
  619. sudo usermod -aG input $USER
  620.  
  621.  
  622. wayfire -c /tmp/wayfire.ini
  623.  
  624. Font command
  625. cp Agave/* ~/.local/share/fonts/
  626. fc-cache -f -v
  627. fc-list | grep -i jetbrain
  628. fc-match -s monospace:charset=f79f | head -n7
  629.  
  630.  
  631.  
  632. Keep a list of recently closed tabs, and restore the tab in order on ctrl+shift+t.
  633.  
  634.  
  635. Terminal weather:
  636. curl wttr.in/Montreal
  637.  
  638.  
  639. Command
  640. killall wf-panel; wf-panel & disown
  641. locate *wayfire* >wayfiresearch
  642. Ctrl+Shift+Alt+R
  643. fc-match monospace
  644. NotoSansMono-Regular.ttf: "Noto Sans Mono" "Regular"
  645. Package:
  646. pamac list
  647. grep -i installed /var/log/pacman.log
  648. grep -i upgraded /var/log/pacman.log
  649.  
  650. Disable the alt-key menu bar showing behavior in Firefox
  651. about:config?filter=ui.key.menuAccessKeyFocuses
  652.  
  653.  
  654. wf-recorder -f test-vaapi.mkv -c h264_vaapi -d /dev/dri/renderD128
  655. wf-recorder -f video.mp4 -c h264_vaapi -d /dev/dri/renderD128 -a -t -b=100M
  656.  
  657.  
  658. Xwayland
  659. The decoration plugin and buttons are not implemented in wayfire.
  660. try running the app with
  661. export GDK_BACKEND=wayland && appname
  662. if its qt app
  663. export QT_QPA_PLATFORM=wayland-egl && appname
  664.  
  665. Desktop entry
  666. Exec=bash -c "export QT_QPA_PLATFORM=wayland-egl && keepassxc %f"
  667. QT_QPA_PLATFORMTHEME=gtk2 keepassxc
  668.  
  669. Restart Puseaudio
  670. $ pulseaudio -k
  671. $ pulseaudio --start
  672.  
  673.  
  674.  
  675. paru seatd
  676. paru doctest
  677. sudo pacman -S cmake
  678. sudo pacman -S gtkmm3
  679. sudo pacman -S meson
  680.  
  681.  
  682. Fonts
  683. Monofur Nerd Font Bold 12
  684.  
  685.  
  686.  
  687.  
  688. home\.mame\mame.ini
  689.  
  690. Mame
  691. Coin - 6
  692. Start - 1
  693.  
  694.  
  695. homepath                $HOME/.mame
  696. rompath                 roms;/home/bluebyt/.mame/roms
  697. hashpath                hash
  698. samplepath              samples
  699. artpath                 artwork
  700. ctrlrpath               ctrlr
  701. inipath                 $HOME/.mame;.;ini
  702. fontpath                .
  703. cheatpath               cheat
  704. crosshairpath           crosshair
  705. pluginspath             plugins
  706. languagepath            /home/bluebyt/.local
  707. swpath                  /home/bluebyt/.local
  708.  
  709. #
  710. # CORE OUTPUT DIRECTORY OPTIONS
  711. #
  712. cfg_directory           $HOME/.mame/cfg
  713. nvram_directory         $HOME/.mame/nvram
  714. input_directory         $HOME/.mame/inp
  715. state_directory         $HOME/.mame/sta
  716. snapshot_directory      $HOME/.mame/snap
  717. diff_directory          $HOME/.mame/diff
  718. comment_directory       $HOME/.mame/comment
  719.  
  720.  
  721. Partition
  722. sudo parted -l
  723. [sudo] password for bluebyt:
  724. Model: ATA KINGSTON SH103S3 (scsi)
  725. Disk /dev/sda: 120GB
  726. Sector size (logical/physical): 512B/512B
  727. Partition Table: msdos
  728. Disk Flags:
  729.  
  730. Number  Start   End     Size    Type    File system  Flags
  731.  1      1049kB  31.5GB  31.5GB  primary  ext4       boot
  732.  2      31.5GB  120GB   88.6GB  primary  ext4
  733.  
  734.  
  735. Model: ATA WDC WD10EZEX-00R (scsi)
  736. Disk /dev/sdb: 1000GB
  737. Sector size (logical/physical): 512B/4096B
  738. Partition Table: msdos
  739. Disk Flags:
  740.  
  741. Number  Start   End     Size    Type    File system  Flags
  742.  1      1049kB  1000GB  1000GB  primary  ext4
  743.  
  744.  
  745. Model: ATA KINGSTON SUV400S (scsi)
  746. Disk /dev/sdc: 240GB
  747. Sector size (logical/physical): 512B/4096B
  748. Partition Table: msdos
  749. Disk Flags:
  750.  
  751. Number  Start   End Size   Type     File system  Flags
  752.  1      1049kB  240GB  240GB  primary  ext4         boot
  753.  
  754.  
  755.  
  756. P8B75-M ASUS
  757. dmesg | grep ata
  758.  
  759. [   0.731196] ata1.00: ATA-8: KINGSTON SH103S3120G, 502ABBF0, max UDMA/133
  760. [   0.719298] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
  761.  
  762. [   0.716375] ata4.00: ATA-11: KINGSTON SUV400S37240G, 0C3K87RA, max UDMA/133
  763. [13156.536056] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
  764.  
  765. [   0.717151] ata3.00: ATA-8: WDC WD10EZEX-00RKKA0, 80.00A80, max UDMA/133
  766. [13159.896368] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
  767.  
  768.  
  769. Hardware
  770. Motherboard P8B75-M ASUS
  771. CPU Intel i5-3470 CPU @ 3.20GHz
  772. RAM 16 GiB DIMM DDR3  1333 MHz  Kingston
  773.  
  774. KINGSTON SH103S3
  775. Disk /dev/sda: 111.79 GiB
  776.  
  777.  KINGSTON SUV400S
  778. Disk /dev/sdc: 223.57 GiB
  779.  
  780. WDC WD10EZEX-00R
  781. Disk /dev/sdb: 931.51 GiB
  782.  
  783.  
  784. Disk
  785. ❯ sudo hdparm -Tt --direct /dev/sdc
  786.  
  787. /dev/sdc:
  788.  Timing O_DIRECT cached reads:   508 MB in  2.01 seconds = 253.07 MB/sec
  789.  Timing O_DIRECT disk reads: 794 MB in  3.01 seconds = 264.14 MB/sec
  790.  
  791. /dev/nvme0n1p3:
  792.  Timing O_DIRECT cached reads:   3282 MB in  2.00 seconds = 1642.13 MB/sec
  793.  HDIO_DRIVE_CMD(identify) failed: Inappropriate ioctl for device
  794.  Timing O_DIRECT disk reads: 7150 MB in  3.00 seconds = 2383.09 MB/sec
  795.  
  796. ❯ dd if=/dev/zero of=/tmp/test1.img bs=1G count=1 oflag=dsync
  797.  
  798.  
  799. 1+0 records in
  800. 1+0 records out
  801. 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.868882 s, 1.2 GB/s
  802.  
  803. 1+0 records in
  804. 1+0 records out
  805. 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.595394 s, 1.8 GB/s
  806.  
  807.  
  808.  
  809. ❯ smartctl -i /dev/sdc
  810. SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
  811.  
  812.  
  813.  
  814. MPD
  815. sudo pacman -S mpd mpc ncmpcpp timidity++
  816. mkdir ~/.config/mpd/playlists
  817. mkdir -p ~/.config/ncmpcpp/lyrics
  818.  
  819. systemctl --user start mpd.service && systemctl --user enable mpd.service
  820. systemctl --user start mpDris2.service && systemctl --user enable mpDris2.service
  821.  
  822. sudo killall mpd
  823. sudo service mpd stop
  824. sudo systemctl restart mpd
  825. sudo gpasswd -a mpd bluebyt
  826. sudo gpasswd -a mpd audio
  827. chmod 710 /home/bluebyt
  828.  
  829.  
  830. Ctrl l (Split terminal to view visualizer)
  831. Once Launched, type u to update the database, it will automatically discover songs on ~/Music/directory:
  832. Space toggle between Visualiser
  833. ncmpcpp -S visualizer
  834. Capital S save the playlist ask for a name
  835.  
  836. sudo systemctl restart mpd
  837. sudo systemctl status mpd.service
  838.  
  839.  
  840. ********************************
  841. Virtual manager
  842. sudo pacman -S virt-manager
  843. sudo pacman -S libvirt
  844. systemctl start libvirtd.service
  845. systemctl start virtlogd.service
  846. sudo pacman -S ebtables dnsmasq
  847. Gosser pour que network marche!
  848.  
  849. sudo usermod -a -G kvm bluebyt
  850. sudo nano /etc/polkit-1/rules.d/50-libvirt.rules
  851. Paste the following:
  852. /* Allow users in kvm group to manage the libvirt
  853. daemon without authentication */
  854. polkit.addRule(function(action, subject) {
  855.     if (action.id == "org.libvirt.unix.manage" &&
  856.         subject.isInGroup("kvm")) {
  857.             return polkit.Result.YES;
  858.     }
  859. });
  860.  
  861. *******************************************
  862. Fish path
  863. set -Ua fish_user_paths ~/.bin/
  864. fish_config
  865. > bash -c SomeBashCommand
  866. fish_update_completions
  867.  
  868. ****************
  869. Generate playlist of a folder
  870. find -type f -iname "*.mp4" -exec realpath {} + > playlist.m3u
  871.  
  872. ********************
  873.  
  874. meson builddir --prefix=/usr/local
  875. sudo meson install -C builddir
  876.  
  877. /home/bluebyt/Downloads/clapper/builddir
  878. sudo ninja uninstall
  879.  
  880. *******************
  881. XFCE
  882. rofi -show drun -theme solarized_alternate
  883. bash ~/.config/polybar/launch.sh --material
  884. fc-list | grep -i noto
  885. sudo pacman -S gvfs (poubelle)
  886. paru  ttf-material-design-icons
  887. fc-list | grep -i Terminus
  888. sudo pacman -S catfish
  889.  
  890. **********************
  891. Conky
  892. font Open Sans
  893. sudo pacman -S lsb-release
  894. sudo pacman -S conky-lua
  895. out_to_wayland = true,
  896.  
  897. conky.config = {
  898. out_to_x = false,
  899. out_to_wayland = true,
  900. own_window_type = override,
  901.  
  902. conky -c $HOME/.config/conky/Mimosa/Mimosa.conf &> /dev/null
  903.  
  904. https://openweathermap.org/
  905. city_id
  906. 6050610
  907. 2d4d08bd6db51ed7cee90f4b0b792c8b
  908. ************************************
  909.  
  910.  
  911. Do you want larger icons in the Alt + Tab window cycling overlay? Simply create/modify the ~/.config/gtk-3.0/gtk.css file
  912.  
  913. #xfwm-tabwin {
  914. -XfwmTabwinWidget-icon-size: 96;
  915. -XfwmTabwinWidget-preview-size: 512;
  916. }
  917.  
  918. Polybar
  919. audacious
  920. sudo pacman -S playerctl
  921. paru -S zscroll-git
  922. paru  mpdris2
  923. Copy /home/bluebyt/.config/autostart/mpdris2.desktop
  924.  
  925. wf-recorder -f video.mp4 -c h264_vaapi -d /dev/dri/renderD128 -a -t -l
  926.  
  927. wf-recorder -f video.mp4 -c h264_vaapi -d /dev/dri/renderD128 -a -t -F hwupload,scale_vaapi=format=yuv444p
  928.  
  929.  
  930. playerctl --follow metadata
  931.  
  932. Packages already  installed
  933. pacman -Qi intel-ucode
  934.  
  935. wlprop | jq -r '.app_id'
  936.  
  937.  
  938. Chromium wayland
  939.  ~/.config/chromium-flags.conf, add the following lines:
  940. --enable-features=UseOzonePlatform
  941. --ozone-platform=wayland
  942.  
  943.  
  944. git apply /path/to/some-changes.patch
  945.  
  946. **************************************************************************
  947. State of the keyboard layout in Wayland
  948.  
  949. Both command doesn't work in Wayland
  950. setxkbmap -print -verbose 10
  951. localectl status
  952.  
  953. Install  libxkbcommon
  954. xkbcli
  955. libinput events
  956.  
  957. Actually xkbcli does not make it possible to set the XKB layout of the desktop environment. On Wayland currently each compositor has their own settings for that.
  958. On gnome it's gsettings get org.gnome.desktop.input-sources sources and similar settings. I am not familiar with KDE personally, but a DDG search suggest something like qdbus org.kde.keyboard /Layouts setLayout "us".
  959. *************************************************************************
  960.  
  961.  
  962. wf-shell.ini
  963. widgets_center = clock
  964. widgets_left = spacing4 menu spacing18 launchers window-list
  965. widgets_right = network spacing6 battery spacing12
  966.  
  967. **************************************
  968.  
  969. upgrading ydotool
  970. Make sure your user is in the `input` group by running the following command:
  971. $ usermod -aG input $USER
  972.  
  973. *************************************************
  974.  
  975. systemctl --user enable eww.service
  976. systemctl --user daemon-reload
  977. systemctl --user start eww.service
  978.  
  979. /home/bluebyt/.config/systemd/user
  980.  
  981.  
  982. [Unit]
  983. Description=eww startup
  984.  
  985. [Service]
  986. Type=oneshot
  987. ExecStart=/home/bluebyt/.bin/eww-start.sh
  988.  
  989. [Install]
  990. WantedBy=multi-user.target
  991.  
  992. Script
  993. #!/bin/bash
  994. /home/bluebyt/.local/bin/eww/eww daemon
  995. /home/bluebyt/.local/bin/eww/eww open sidebar
  996.  
  997.  
  998. File and path
  999. ~/.config/mimeapps.list
  1000. /home/bluebyt/.local/share/applications
  1001.  
  1002. Graphite-gtk-theme
  1003. git clone https://github.com/vinceliuice/Graphite-gtk-theme.git
  1004. cd Graphite-gtk-theme/
  1005. ./install.sh -d /home/bluebyt/.local/share/themes -c dark -l --tweaks nord rimless
  1006.  
  1007. Magnetic gtk theme
  1008. ./install.sh -d /home/bluebyt/.local/share/themes -c dark -l --tweaks nord
  1009. ./install.sh -d /home/bluebyt/.local/share/themes -c dark -l --tweaks nord black
  1010.  
  1011. git clone https://github.com/vinceliuice/Tela-circle-icon-theme.git
  1012. cd Tela-circle-icon-theme/
  1013. ./install.sh nord
  1014.  
  1015. Icons
  1016. /home/bluebyt/.local/share/icons/
  1017. /home/bluebyt/.icons
  1018. /usr/share/icons/
  1019.  
  1020. Folder
  1021. /home/bluebyt/.local/share/applications/
  1022. /home/bluebyt/.config/systemd/user/
  1023. /home/bluebyt/.bin/
  1024. /home/bluebyt/.local/bin/
  1025. /home/bluebyt/.config/scripts/
  1026. /home/bluebyt/.local/share/themes/
  1027. /home/bluebyt/.local/share/icons/
  1028. /home/bluebyt/.local/share/nautilus-python/extensions
  1029. /usr/share/nautilus-python/extensions/
  1030. ~/.profile
  1031. /home/bluebyt/.config/yay/
  1032. /usr/local/share/applications/
  1033. /opt/wayfire/bin/
  1034. /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga
  1035. /usr/share/wayland-sessions/
  1036. /usr/share/backgrounds/gnome/drool-d.svg
  1037. ~/.local/share/gnome-shell/extensions/
  1038. /home/bluebyt/.config/autostart
  1039. /var/lib/flatpak/exports/share/applications/
  1040. ~/.local/share/flatpak/exports/share/applications/
  1041. ~/.local/share/applications/
  1042. ~/.config/environment.d/*.conf
  1043. /etc/environment
  1044.  
  1045. Error
  1046. Malformed input:
  1047. on created if app_id is "gimp-2.99" then set alpha 0.8
  1048.                         ^ Literal parser error. Text could not be converted to double. text:"gimp-2.99"
  1049.  
  1050.  
  1051. gnome-text-editor
  1052. ~/.local/share/gtksourceview-5/styles
  1053. or
  1054. /usr/share/gtksourceview-5/styles/
  1055.  
  1056. ***********************************************************
  1057.  
  1058. /home/bluebyt/.config/systemd/user/updates-notifier.service
  1059.  
  1060. [Unit]
  1061. Description=Check and notify pacman updates
  1062.  
  1063. [Service]
  1064. Type=simple
  1065. ExecStart=/home/bluebyt/.bin/updates-notifier.sh
  1066.  
  1067. systemctl --user enable updates-notifier.service
  1068. systemctl --user start updates-notifier.service
  1069. systemctl --user status updates-notifier.service
  1070.  
  1071. ************************************************************
  1072. /home/bluebyt/.config/systemd/user/updates-notifier.timer
  1073.  
  1074. [Unit]
  1075. Description=Runs updates-notifier.service every hour
  1076.  
  1077. [Timer]
  1078. # Time to wait after booting before we run first time
  1079. OnBootSec=5min
  1080. # Time between running each consecutive time
  1081. OnUnitActiveSec=1h
  1082. Unit=updates-notifier.service
  1083.  
  1084. [Install]
  1085. WantedBy=timers.target
  1086.  
  1087.  
  1088. *************************************************************
  1089.  
  1090. Video
  1091. /home/bluebyt/.bin/./wallpapers_loop.sh &
  1092. swww img ~/Pictures/Grayscale.jpeg
  1093.  
  1094. OBS
  1095. sudo pacman -S xdg-desktop-portal-gnome
  1096. sudo pacman -S qt5-wayland
  1097.  
  1098. QT_QPA_PLATFORM=wayland obs
  1099.  
  1100.  
  1101. Rules
  1102. The order of the rules does matter:
  1103. Always put Workspace at the last line
  1104.  
  1105. Example2:
  1106. rule_001 = on created if app_id is "firefox" then move 270 70
  1107. rule_002 = on created if app_id is "firefox" then set alpha 1.0
  1108. rule_003 = on created if app_id is "firefox" then assign_workspace 1 0
  1109.  
  1110.  
  1111. Gstreamer command
  1112. /home/bluebyt/.local/share/gstreamer-1.0/presets/
  1113. GST_PLUGIN_FEATURE_RANK=pulsesink:NONE totem &
  1114. GST_PLUGIN_FEATURE_RANK=pulsesink:NONE clapper &
  1115. GST_PLUGIN_FEATURE_RANK=pulsesink:NONE io.elementary.videos &
  1116.  
  1117. launcher17 = clapper /mnt/media/Videos/Chillout009/playlist.claps
  1118.  
  1119. gst-play-1.0 alt-tab.mkv
  1120. __________________________________________________
  1121. wpctl status
  1122.  0. Audio/Sink    bluez_output.60_93_16_0D_F9_59.1
  1123.  1. Audio/Source  alsa_output.pci-0000_00_1f.3.analog-stereo
  1124.  
  1125. pactl get-default-sink
  1126. pactl set-default-sink <sink-name>
  1127. pactl set-default-sink alsa_output.pci-0000_00_1f.3.analog-stereo
  1128. pactl set-default-sink bluez_output.60_93_16_0D_F9_59.1
  1129.  
  1130. __________________________________________________
  1131. Change I have done
  1132.  
  1133. systemctl --user restart wireplumber pipewire pipewire-pulse
  1134. systemctl --user daemon-reload
  1135. sudo systemctl restart bluetooth
  1136.  
  1137. Add files:
  1138. /home/bluebyt/.config/pipewire/pipewire-pulse.conf.d/switch-on-connect.conf
  1139. /home/bluebyt/.config/pulse/default.pa
  1140.  
  1141. Remove
  1142. /home/bluebyt/.config/pipewire/media-session.d/default-routes
  1143. /home/bluebyt/.config/pipewire/media-session.d/restore-stream
  1144.  
  1145. Change the command line for volume in wayfire.ini
  1146. From
  1147. pactl set-sink-volume 0 -5% | swayosd-client --output-volume lower
  1148. pactl set-sink-volume 0 +5% | swayosd-client --output-volume raise
  1149. to
  1150. wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- | swayosd-client --output-volume lower
  1151. wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ | swayosd-client --output-volume raise
  1152.  
  1153. Create a folder
  1154. /home/bluebyt/.config/wireplumber/
  1155. ~/.config/wireplumber/bluetooth.lua.d/50-bluez-config.lua
  1156. "bluez5.enable-hw-volume" = true to false
  1157.  
  1158. sudo pacman -S gstreamer-vaapi
  1159.  
  1160. __________________________________________________
  1161. Flatseal config
  1162. All applications/Files system/Other files
  1163. xdg-config/gtk-4.0
  1164. ~/.local/share/themes/
  1165. ~/.local/share/icons/
  1166. export XCURSOR_THEME=Graphite-dark-cursors
  1167. flatpak override --user --env=XCURSOR_PATH=~/.local/share/icons/
  1168. alacritty -e zsh
  1169.  
  1170. __________________________________________________
  1171. sddm‑greeter ‑‑test‑mode ‑‑theme /usr/share/sddm/themes/sugar‑candy
  1172. sudo cp /usr/lib/sddm/sddm.conf.d/default.conf /etc/sddm.conf
  1173. /usr/share/sddm/themes/sddm-astronaut-theme
  1174. /etc/sddm.conf
  1175. [Theme]
  1176. Current=sddm-astronaut-theme
  1177. CursorSize=24
  1178.  
  1179. ____________________
  1180. flatpak override --filesystem=~/.local/share/themes/:ro --user
  1181. ____________________
  1182. wlogout layout
  1183. GDM
  1184. loginctl terminate-user $USER
  1185. SDDM
  1186. loginctl kill-user $(whoami)
  1187.  
  1188.  
  1189. GDM
  1190. sudo systemctl disable gdm -f
  1191. sudo systemctl enable lightdm -f
  1192. sudo systemctl enable sddm.service -f
  1193. __________________________________________________
  1194.  
  1195. /etc/modprobe.d/i915.conf
  1196. options i915 enable_guc=2
  1197.  
  1198. sudo dmesg | grep -i guc
  1199. sudo dmesg | grep i915
  1200. modinfo i915 | grep guc
  1201. __________________________________________________
  1202.  
  1203. obs
  1204. [pipewire] No captures available
  1205.  
  1206. export XDG_CURRENT_DESKTOP=Wayfire
  1207.  
  1208. echo $XDG_CURRENT_DESKTOP
  1209. Wayfire
  1210.  
  1211. env | grep '^WAYLAND_DISPLAY='
  1212. WAYLAND_DISPLAY=wayland-1
  1213. __________________________________________________
  1214.  
  1215. sudo modprobe vboxdrv
  1216. sudo usermod -aG vboxusers bluebyt
  1217.  
  1218. export XCURSOR_THEME=Graphite-dark-cursors
  1219. unset XCURSOR_THEME=Graphite-dark-cursors
  1220.  
  1221. __________________________________________________
  1222.  
  1223. flatpak info --show-location
  1224. /home/bluebyt/.local/share/flatpak/app/
  1225. /var/lib/flatpak/app/
  1226.  
  1227. du -hsc ~/.var/app/*
  1228. du -hsc /var/lib/flatpak/*
  1229.  
  1230. flatpak info --user --show-permissions
  1231.  
  1232.  
  1233. YouTube thumbnail size in pixels is 1280 × 720
  1234. gsettings set org.gnome.Epiphany.web:/ hardware-acceleration-policy 'always'
  1235.  
  1236.  
  1237. --------------------------------------------------------
  1238. lsblk
  1239. NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
  1240. nvme0n1     259:0    0 931.5G  0 disk
  1241. ├─nvme0n1p1 259:1    0   512M  0 part /boot
  1242. └─nvme0n1p2 259:2    0   931G  0 part /mnt/xfce
  1243.  
  1244. nvme1n1     259:3    0 931.5G  0 disk
  1245. ├─nvme1n1p1 259:4    0   512M  0 part /boot
  1246. ├─nvme1n1p2 259:5    0   200G  0 part /
  1247. └─nvme1n1p3 259:6    0   731G  0 part /mnt/media
  1248. ____________________________
  1249. Install Archlinux
  1250.  
  1251. setfont ter-132n
  1252. efivar --list
  1253. lsblk
  1254. ping google.com
  1255. timedatectl set-ntp true
  1256. WDC WDS100T2B0C-00PXH0 = nvme0n1
  1257. Samsung SSD 970 EVO 1TB = nvme1n1
  1258.  
  1259. mkfs.ext4 /dev/nvme1n1p2
  1260. mkfs.fat -F32 dev/nvme1n1p1
  1261. mount /dev/nvme1n1p2 /mnt
  1262. mkdir -p /mnt/boot
  1263. mount /dev/nvme1n1p1 /mnt/boot
  1264. pacstrap /mnt base base-devel linux linux-firmare nano
  1265. genfstab -U /mnt >> /mnt/etc/fstab
  1266. nano /mnt/etc/fstab
  1267. arch-chroot /mnt
  1268. ln -sf /usr/share/zoneinfo/America/Montreal /etc/localtime
  1269. hwclock --systohc
  1270. nano /etc/locale.gen
  1271. uncomment en_US.UTF-8 UTF-8
  1272. locale-gen
  1273. echo LANG=en_US.UTF-8 >> /etc/locale.conf
  1274. echo KEYMAP=us >> /etc/vconsole.conf
  1275. echo "gnome1" >> /etc/hostname
  1276. nano /etc/hosts
  1277. 127.0.0.1   localhost
  1278. ::1     localhost
  1279. 127.0.1.1   gnome1.localdomain  gnome1
  1280.  
  1281. passwd
  1282. pacman -S efibootmgr networkmanager base-devel pacman-contrib sudo wget curl dialog mtools dosfstools linux-headers intel-ucode
  1283.  
  1284. bootctl --path=/boot install
  1285. cd /boot/loader
  1286. nano loader.conf
  1287. default arch-*
  1288. timeout 3
  1289.  
  1290. cd entries
  1291. nano arch.conf
  1292. title Gnome
  1293. linux /vmlinuz-linux
  1294. initrd /intel-ucode.img
  1295. initrd /initramfs-linux.img
  1296. options root=/dev/nvme1n1p2 rw
  1297. or
  1298. options root=UUID=xxxxxxxxxxxxxxxxxxx rw
  1299.  
  1300. blkid -s UUID -o value /dev/nvme1n1p2 >> /boot/loader/entries/arch.conf
  1301. systemctl enable NetworkManager
  1302. useradd -mG wheel bluebyt
  1303. passwd bluebyt
  1304. EDITOR=nano visudo
  1305. %wheel ALL=(ALL:ALL) ALL
  1306. exit
  1307. umount -a
  1308. reboot
  1309. sudo pacman -S xorg-server libva-utils libva-intel-driver mesa gdm gnome gnome-extra
  1310. sudo systemctl enable gdm
  1311. sudo systemctl enable systemd-boot-update.service
  1312.  
  1313. sudo pacman -S git curl wget meson fish grim slurp polkit-gnome mako
  1314. Install rust and go
  1315. curl https://sh.rustup.rs -sSf | sh
  1316.  
  1317. yay ulauncher cava wlogout swayosd-git mpdris2 brave-browser-beta
  1318.  
  1319. Cargo rust
  1320. swww
  1321. Ironbar
  1322. swww-daemon && swww img ~/wallpapers/1.jpeg
  1323.  
  1324. Fonts
  1325. ttf-cascadia-code-nerd
  1326. ttf-meslo-nerd
  1327. ttf-nerd-fonts-symbols
  1328. ttf-roboto-mono-nerd
  1329. Fallback font order archlinux
  1330. install `ttf-nerd-fonts-symbols` and use it as a fallback
  1331.  
  1332. Set default fish shell
  1333. chsh -s /usr/bin/fish
  1334. -----------------------------------
  1335. mkfs.ext4 /dev/nvme1n1p2
  1336. mount /dev/nvme1n1p2 /mnt
  1337. mount /dev/nvme1n1p1 /mnt/boot
  1338. --------------
  1339. Not need
  1340. pacman -Syy
  1341. pacman -S archlinux-keyring
  1342. pacman -Sy archinstall
  1343. ------------------------------------------------
  1344.  
  1345. /opt/wayfire/share/wayfire/metadata/expo.xml
  1346. <default>&lt;super&gt; KEY_E</default>
  1347. <default>&lt;super&gt;</default>
  1348. ----------------------------------
  1349.  
  1350. _____________________________________________________
  1351. You need to set XDG_CURRENT_DESKTOP yourself if your display manager does not do it. The variable has to be set before sway is launched not afterward
  1352.  
  1353. Before in wayfire.ini
  1354. [autostart]
  1355. 0_0 = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
  1356. portal = sleep 1 && (XDG_SESSION_TYPE=wayland XDG_CURRENT_DESKTOP=sway /usr/lib/xdg-desktop-portal --replace & /usr/lib/xdg-desktop-portal-wlr)
  1357.  
  1358. ----------------------------------
  1359.  
  1360. plugins/ipc/ipc-helpers.hpp
  1361. plugins/single_plugins/ipc-rules.cpp
  1362. plugins/single_plugins/wsets.cpp
  1363.  
  1364. _________________________________________
  1365. sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED
  1366. pip install wayfire
  1367. Defaulting to user installation because normal site-packages is not writeable
  1368. Collecting wayfire
  1369.   Downloading wayfire-0.1.0-py3-none-any.whl.metadata (604 bytes)
  1370. Downloading wayfire-0.1.0-py3-none-any.whl (7.8 kB)
  1371. Installing collected packages: wayfire
  1372. Successfully installed wayfire-0.1.0
  1373.  
  1374. -------------------------------------
  1375. link
  1376. https://github.com/Alexays/Waybar/issues/1507
  1377. https://github.com/killown/waypy
  1378. https://github.com/WayfireWM/wayfire/pull/2156
  1379. https://secure.matrox.com/dana-na/auth/url_rsLVr1iNn9Yr5io7/welcome.cgi
  1380. https://www.prepaidcardstatus.com/
  1381.  
  1382. Note: For ttf-nerd-fonts-symbols-mono, use the "Symbols Nerd Font Mono" family
  1383. in your font config.
  1384.  
  1385. Symlink /usr/share/fontconfig/conf.avail/10-nerd-font-symbols.conf to
  1386. /etc/fonts/conf.d/, or see `man 5 fonts-conf` for other options.
  1387.  
  1388. __________________________________
  1389. plugins/ipc/ipc-helpers.hpp
  1390. plugins/single_plugins/ipc-rules.cpp
  1391. plugins/single_plugins/wsets.cpp
  1392.  
  1393. Questions?
  1394. How do I make hyprland autostart one program twice on different workspaces
  1395.  
  1396. #!/bin/bash
  1397. nautilus --new-window /home/bluebyt/ &
  1398. nautilus --new-window /home/bluebyt/Videos &
  1399. nautilus --new-window /mnt/media &
  1400.  
  1401. ----------------------------------------
  1402.  
  1403.  
  1404. [pixdecor]
  1405. always_decorate = imv
  1406. animate = true
  1407. bg_color = \#9D7CD8FF
  1408. bg_text_color = \#B3B3B3FF
  1409. border_size = 2
  1410. effect_color = \#9D7CD8FF
  1411. effect_type = smoke, ink,lava, neural_network,neon_pattern, neon_rings, cloud, deco, none
  1412. fg_color = \#BB9AF7FF
  1413. fg_text_color = \#FFFFFFFF
  1414. ignore_views = ulauncher
  1415. maximized_borders = false
  1416. maximized_shadows = false
  1417. overlay_engine = rounded_corners
  1418. rounded_corner_radius = 5
  1419. shadow_color = \#00000040
  1420. shadow_radius = 10
  1421. titlebar = false
  1422.  
  1423. _________________________________________________
  1424.  
  1425.  
  1426. [autostart]
  1427. bluebyt
  1428. 0_0 = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
  1429. 0_1 = dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY XAUTHORITY XDG_CURRENT_DESKTOP=sway XDG_SESSION_TYPE=wayland
  1430.  
  1431. ammen99
  1432. 0_0 = systemctl --user import-environment
  1433. gtk = sleep 1 && (XDG_SESSION_TYPE=wayland XDG_CURRENT_DESKTOP=sway /usr/libe/xdg-desktop-portal --replace & /usr/lib/xdg-desktop-portal-wlr)
  1434.  
  1435. Other
  1436. importenv = systemctl --user import-environment DISPLAY WAYLAND_DISPLAY
  1437. dbusupdate = dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY
  1438.  
  1439.  exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
  1440. exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
  1441. exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
  1442.  
  1443.  
  1444. systemctl --user status xdg-desktop-portal-wlr
  1445.  
  1446. flatpak run org.gimp.GIMP --no-splash &
  1447. flatpak run org.kde.kdenlive &
  1448.  
  1449. ____________________________________________________
  1450.  
  1451. These are date command:
  1452.  
  1453. %D – Display date as mm/dd/yy
  1454. %Y – Year (e.g., 2020)
  1455. %m – Month (01-12)
  1456. %B – Long month name (e.g., November)
  1457. %b – Short month name (e.g., Nov)
  1458. %d – Day of month (e.g., 01)
  1459. %j – Day of year (001-366)
  1460. %u – Day of week (1-7)
  1461. %A – Full weekday name (e.g., Friday)
  1462. %a – Short weekday name (e.g., Fri)
  1463. %H – Hour (00-23)
  1464. %I – Hour (01-12)
  1465. %M – Minute (00-59)
  1466. %S – Second (00-60)
  1467. ------------------------------------
  1468. CSS
  1469. Two values apply to the top and bottom, then right and left.
  1470. Three values apply to the top, then right and left, then bottom.
  1471. Four values apply to the top, then right, then bottom, then left.
  1472.  
  1473. Insall with cargo
  1474. git clone https://github.com/jakestanger/ironbar.git
  1475. cd ironbar
  1476. cargo build --release
  1477. # change path to wherever you want to install
  1478. install target/release/ironbar ~/.local/bin/ironbar
  1479.  
  1480.  
  1481. -------------------------
  1482. Hyprland command
  1483.  
  1484. hyprctl keyword general:col.inactive_border 0xff9d7cd8
  1485. hyprctl keyword general:col.active_border 0xffff757f
  1486. hyprctl keyword general:col.active_border 0xff9ece6a 0xffff007c 45deg
  1487. hyprctl reload
  1488.  
  1489. -------------------------------------------------
  1490.  
  1491. How to download a PR from GitHub to your computer
  1492. cd wayfire/
  1493. git status
  1494. git checkout master
  1495. git fetch origin squeezimize:squeezimize
  1496. git checkout squeezimize
  1497.  
  1498. *******************
  1499.  
  1500. From ChatGPT
  1501. git clone https://github.com/example/repo.git
  1502. cd repo
  1503.  
  1504. git fetch origin '+refs/pull/*/head:refs/remotes/origin/pr/*'
  1505.  
  1506. git checkout pr/123
  1507.  
  1508. ---------------------------------------------------
  1509.  
  1510. git clone https://github.com/username/repository.git
  1511. cd repository
  1512. git fetch origin '+refs/pull/*/head:refs/remotes/origin/pr/*'
  1513. git checkout -b combined-prs
  1514. git merge origin/pr/2408
  1515. git merge origin/pr/2411
  1516. Correct the file
  1517. git add plugins/animate/animate.cpp
  1518. git commit -m "commit"
  1519. git merge origin/pr/2412
  1520.  
  1521. -----------------------------------------------
  1522. kbdd
  1523. /opt/wayfire/share/wayfire/metadata/kbdd.xml
  1524. /opt/wayfire/lib/wayfire/libkbdd.so
  1525. /tmp/layout.json
  1526.  
  1527. ------------------------
  1528.  
  1529. pavucontrol: ignoring package upgrade (1:5.0+r66+gc330506-1 => 1:6.0-1)
  1530.  
  1531. pulseaudio-17.0-3 and pipewire-pulse-1:1.2.2-1 are in conflict. Remove pipewire-pulse?
  1532.  
  1533.  
  1534.  aur/xava-git  0.7.1.1.r1.g41fc693-1 -> 0.7.1.1.r6.ge1d52fa-1
  1535.  
  1536. __________________________________________________________
  1537.  
  1538. Patch for mpv but broke alpha
  1539. git clone https://github.com/wayfirewm/wf-utils && cd wf-utils && curl https://termbin.com/ns10 | git apply && PKG_CONFIG_PATH=/opt/wayfire/lib/pkgconfig meson setup build --prefix=/opt/wayfire && ninja -C build && sudo ninja -C build install
  1540.  
  1541. Remove the patch
  1542. git clone https://github.com/wayfirewm/wf-utils && cd wf-utils && PKG_CONFIG_PATH=/opt/wayfire/lib/pkgconfig meson setup build --prefix=/opt/wayfire && ninja -C build && sudo ninja -C build install
  1543.  
  1544.  
  1545. rule_012 = on created if app_id is "mpv" then set geometry 1304 717 812 476
  1546. rule_013 = on created if title is "Paramore Last Hope.mp4 - mpv" then assign_workspace 2 2
  1547.  
  1548.  
  1549. Github SSH
  1550. ssh-keygen -t rsa -b 4096 -C "[email protected]"
  1551. eval "$(ssh-agent -s)"
  1552. ----> result Agent pid 142574
  1553. ssh-add .ssh/id_rsa
  1554. ----> Identity added: .ssh/id_rsa ([email protected])
  1555.  
  1556. Remove close button Gnome file:
  1557. gsettings set org.gnome.desktop.wm.preferences button-layout :
  1558. gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
  1559.  
  1560. ---------------------------------------
  1561. Sometimes, when I close Lite XL and reopen it,
  1562. it doesn't remember all the tabs that were open before,
  1563. but sometimes it does. I look everywhere, where this option
  1564.  
  1565. ------------------------------------------
  1566. tmux
  1567. tmux new-session \; split-window -h \; split-window -v \; attach
  1568.  
  1569. ------------------------------------------
  1570. alacritty -e fish -c 'zellij'
  1571.  
  1572. exec-once = [workspace special:magic silent] kitty lazygit -p ~/.config/
  1573. exec-once = [workspace 1 silent;fullscreen] kitty zellij -l pomoTask
  1574. exec-once = [workspace 1 silent] kitty zellij attach Todo
  1575. exec-once = [workspace 2 silent;fullscreen] kitty -e btop
  1576. exec-once = [workspace 8 silent] firefox -new-instance -P Youtube
  1577. exec-once = [workspace 4 silent] firefox -new-instance -kiosk -P Discord
  1578.  
  1579. ------------------------------------------
  1580.  
  1581. Celi
  1582.  
  1583. 28 oct
  1584. 42 776,19
  1585.  
  1586. 30 sept
  1587. 40 295,53 $
  1588.  
  1589. 31 aout
  1590. 39 450,84 $
  1591.  
  1592. Aout 2025
  1593. 57 784,84 $
  1594.  
  1595. Reer
  1596. 339 315,62 $
  1597.  
  1598. 340 520,46
  1599.  
  1600. Aout 2025
  1601. 370 454,19 $
  1602.  
  1603. Emoji:
  1604. 👾 💀 🍓
  1605. -------------------
  1606. zeditor:
  1607. https://github.com/zed-industries/zed/issues/4678
  1608.  
  1609. Waiting zellij to be update
  1610.  
  1611. ----------------------------------
  1612. Noel list
  1613. -Iphone
  1614. -Wallet
  1615.  
  1616. ------------------------------------------
  1617.  
  1618. workspace_monitor.sh
  1619. #!/bin/bash
  1620. # Get the active workspace
  1621. active_ws=$(~/.config/ipc-scripts/active_workspace_number.py)
  1622.  
  1623. # Generate JSON for all workspaces
  1624. for i in {1..9}; do
  1625.     if [ "$i" -eq "$active_ws" ]; then
  1626.         echo "{\"text\": \"$i\", \"class\": \"custom-work$i active\"}"
  1627.     else
  1628.         echo "{\"text\": \"$i\", \"class\": \"custom-work$i\"}"
  1629.     fi
  1630. done
  1631.  
  1632. -----------------------------------------------
  1633. #!/bin/bash
  1634.  
  1635. # Get the active workspace
  1636. active_ws=$(~/.config/ipc-scripts/active_workspace_number.py)
  1637.  
  1638. # Construct the JSON output
  1639. jq --null-input --unbuffered --compact-output \
  1640.     --arg text "$active_ws" \
  1641.     --argjson percentage 0 \
  1642.     --arg alt "workspace-$active_ws" \
  1643.     --arg tooltip "Workspace $active_ws" \
  1644.     --argjson class "[\"custom-work$active_ws\", \"active\"]" \
  1645.     '{text: $text, alt: $alt, tooltip: $tooltip, class: $class, percentage: $percentage}'
  1646. -----------------------------------------------------------
  1647.  
  1648. makoctl reload
  1649.  
  1650. on-button-left=exec makoctl list | jq -r '.data|..|select(.id?.data=='$id')|.body|.data' | wl-copy; mackoctl dismiss -n $id
  1651.  
  1652. ----------------------------------------
  1653. /usr/share/applications/
  1654.  
  1655. ~/.local/share/applications/
  1656. Remove text/plain
  1657. MimeType=text/plain;application/pdf;
  1658.  
  1659. update-desktop-database ~/.local/share/applications
  1660.  
  1661. xdg-mime query filetype handsfree.jpg
  1662. image/jpeg
  1663. ----------------------------------------
  1664. "externally-managed-environment"
  1665. cd /usr/lib/python3.13
  1666. sudo rm EXTERNALLY-MANAGED
  1667.  
  1668. ----------------------------------------
  1669. Waybar
  1670.     "group/group-taskbar": {
  1671.         "orientation": "inherit",
  1672.         "drawer": {
  1673.             "transition-duration": 500,
  1674.             "transition-left-to-right": true,
  1675.         },
  1676.         "modules": [
  1677.             "custom/start",
  1678.             "group/taskbar",
  1679.             "group/group-power"
  1680.         ]
  1681.     },
  1682.  
  1683. ----------------------------------------
  1684. /etc/environment
  1685. QT_QPA_PLATFORMTHEME="gtk2"
  1686. systemctl --user import-environment QT_QPA_PLATFORMTHEME
  1687.  
  1688. ------------------------------------------
  1689.  
  1690. bluetoothctl devices
  1691. Device 60:93:16:0D:F9:59 AirPods
  1692. Device 2C:BE:EB:0F:7D:7C Nothing ear (1)
  1693. bluetoothctl pair 60:93:16:0D:F9:59
  1694. bluetoothctl connect 60:93:16:0D:F9:59
  1695. bluetoothctl trust
  1696. bluetoothctl untrust
  1697. bluetoothctl block
  1698. bluetoothctl unblock
  1699.  
  1700. https://earweb.bttl.xyz/index.html
  1701.  
  1702. Wayfire.ini backup and rules:
  1703.  
  1704. command_launcher = ulauncher-toggle &
  1705. follow-focus
  1706. launcher27 = /usr/bin/xava
  1707. launcher21 = ~/.config/scripts/zellij.sh
  1708. launcher09 = flatpak run org.gnome.Ptyxis.Devel &
  1709. launcher15 = loupe /home/bluebyt/Pictures/Pictures/Astronaut.jpg &
  1710. launcher29 = flatpak run org.gnome.Showtime.Devel
  1711. launcher18 = g4music
  1712. launcher16 = xfce4-terminal
  1713. launcher06 = SDL_VIDEODRIVER=wayland lite-xl ~/.config/wayfire.ini ~/.Wayfirereadme.ini &
  1714. launcher08 = lite-xl ~/.config/wayfire.ini ~/.Wayfirereadme.ini &
  1715. launcher04 = chromium --ozone-platform=wayland &
  1716. launcher01 = /home/bluebyt/.bin/thunar.sh
  1717. launcher13 = /home/bluebyt/.bin/mpv.sh
  1718. launcher14 = ~/.config/ipc-scripts/mpvrule1.py
  1719. launcher15 = ~/.config/ipc-scripts/mpvrule2.py
  1720. launcher18 = ~/.config/ipc-scripts/workspace_update_style.py
  1721. launcher21 = xfce4-terminal -e ncmpcpp
  1722. launcher28 = sleep 2 && swww-daemon && swww img ~/Pictures/Nord/Nord_wall2.jpeg
  1723. launcher20 = ~/.config/scripts/zellij.sh
  1724. launcher31 = flatpak run com.github.rafostar.Clapper -n ~/Videos/AI/FutureBeauty.mp4 &
  1725. rule_057 = on created if app_id is "com.github.rafostar.Clapper" then set geometry 1350 720 750 500
  1726. rule_058 = on created if app_id is "com.github.rafostar.Clapper" then assign_workspace 2 2
  1727. launcher32 = flatpak run com.github.rafostar.Clapper -n ~/Videos/AI/BountyHunterGalacticAdventures.mp4 &
  1728.  
  1729. xdg = sleep 1 && (XDG_SESSION_TYPE=wayland XDG_CURRENT_DESKTOP=sway /usr/lib/xdg-desktop-portal --replace & /usr/lib/xdg-desktop-portal-wlr)
  1730. -----------------------------
  1731.  
  1732.  
  1733. bluetooth issue
  1734. systemctl status bluetooth
  1735. systemctl --user status pipewire{,-pulse} pulseaudio wireplumber
  1736. pactl list cards
  1737. pactl list sinks
  1738.  
  1739. sudo systemctl stop bluetooth.service
  1740. sudo rm -rf /var/lib/bluetooth
  1741. sudo systemctl start bluetooth.service
  1742.  
  1743. $ rfkill list
  1744. 0: hci0: Bluetooth
  1745.         Soft blocked: yes
  1746.         Hard blocked: no
  1747. rfkill unblock all
  1748.  
  1749. systemctl --user status wireplumber pipewire pipewire-pulse
  1750. sudo fuser -v /dev/snd/*
  1751. sudo journalctl -b | grep bluetoothd
  1752. sudo pacman -Q | grep pipe
  1753.  
  1754. Wallpaper:
  1755. A room for a 14 years old girl with a desk and a windows with  view of outside night time,the color should be based on theme tokyonight
  1756.  
  1757.  
  1758. openvino
  1759.  
  1760. Prompt
  1761. women, short black hair,wearing a yellow crop-top, black shorts, 2d comic style
  1762. Girl, petite, short black hair,wearing a yellow crop-top, black shorts,the girl is lying down on the bed exhausted in the hotel room,2d comic style
  1763.  
  1764. Why it is disappointed? If you don't tell why, how the developer can improve it?
  1765.  
  1766. -------------------------------------------------------------
  1767.  
  1768.  
  1769. $ ssh-keygen -t ed25519 -C "[email protected]"
  1770.  
  1771. Generating public/private ed25519 key pair.
  1772. Enter file in which to save the key (/home/bluebyt/.ssh/id_ed25519):
  1773. Created directory '/home/bluebyt/.ssh'.
  1774. Enter passphrase for "/home/bluebyt/.ssh/id_ed25519" (empty for no passphrase):
  1775. Enter same passphrase again:
  1776. Your identification has been saved in /home/bluebyt/.ssh/id_ed25519
  1777. Your public key has been saved in /home/bluebyt/.ssh/id_ed25519.pub
  1778. The key fingerprint is:
  1779. SHA256:eUNHBdSKUK2cBGYaTjr4TfAA1S+1jhkBKGrS3jT6X7I [email protected]
  1780. The key's randomart image is:
  1781. +--[ED25519 256]--+
  1782. |  .+=oo +o.o++.  |
  1783. |. .. Bo=o ... .  |
  1784. |.o. o =+ =.+..   |
  1785. |o...o+o oo=..    |
  1786. |o. +...*S o      |
  1787. |  o . o .. .     |
  1788. |   .  . .        |
  1789. |    .  +         |
  1790. |     .E          |
  1791. +----[SHA256]-----+
  1792.  
  1793. --------------------------------------------------------------
  1794.  
  1795. $ eval (ssh-agent -c)
  1796. Agent pid 1306578
  1797.  
  1798. $ ssh-add ~/.ssh/id_ed25519
  1799. Identity added: /home/bluebyt/.ssh/id_ed25519 ([email protected])
  1800.  
  1801. $ bat ~/.ssh/id_ed25519.pub
  1802. ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINm/D+kreI5+DvGG9vCLPNdBs3t7mTvrHXvBRGqm0wSH [email protected]
  1803.  
  1804. The authenticity of host 'github.com (140.82.113.4)' can't be established.
  1805. ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
  1806. This key is not known by any other names.
  1807. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
  1808. Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
  1809. Hi bluebyt! You've successfully authenticated, but GitHub does not provide shell access.
  1810.  
  1811. If your repo uses HTTPS, change it to SSH:
  1812. $ git remote set-url origin [email protected]:bluebyt/Wayfire-dots.git
  1813.  
  1814. -------------------------------------------
  1815.  
  1816. Check
  1817. $ git remote -v
  1818.  
  1819. Now you can push/pull without typing your password every time:
  1820. git push origin main
  1821.  
  1822.  
  1823. Clone Your Fork
  1824. $ git clone https://github.com/bluebyt/Wayfire-dots.git
  1825. $ cd Wayfires-dots
  1826.  
  1827. Create a New Branch
  1828. $ git checkout -b my-new-feature
  1829.  
  1830. If your repo uses HTTPS, change it to SSH:
  1831. $ git remote set-url origin [email protected]:bluebyt/Wayfire-dots.git
  1832.  
  1833. Push Changes to Your Fork
  1834. $ git push origin my-new-feature
  1835.  
  1836. Yazi
  1837. For ttf-nerd-fonts-symbols-mono, use the "Symbols Nerd Font Mono" family
  1838. in your font config.
  1839.  
  1840. Symlink /usr/share/fontconfig/conf.avail/10-nerd-font-symbols.conf to
  1841. /etc/fonts/conf.d/
  1842. installing:
  1843. ttf-nerd-fonts-symbols
  1844. ttf-nerd-fonts-symbols-mono
  1845.  
  1846. Invoke it with the image path, e.g. "/path/to/script %f -F -Z". It should open that image in feh and let you browse through other images in the folder in the usual order, i.e. "feh /path/to/dir/*".
  1847.  
  1848.  
  1849. -----------------------------
  1850. mesa 1:25.0.5-1
  1851. vulkan-intel 1:25.0.5-1
  1852. CoffeeLake-S UHD Graphics 630
  1853.  
  1854. ----------------------------------------------------------------
  1855.  
  1856. https://apps.gnome.org/Showtime/
  1857. ATTENTION: default value of option reuse_gl_names overridden by environment.
  1858. MESA-INTEL: warning: ../mesa-25.0.5/src/intel/vulkan/anv_formats.c:802: FINISHME: support YUV colorspace with DRM format modifiers
  1859. MESA-INTEL: warning: ../mesa-25.0.5/src/intel/vulkan/anv_formats.c:834: FINISHME: support more multi-planar formats with DRM modifiers
  1860. Gdk-Message: 04:54:11.116: Lost connection to Wayland compositor.
  1861.  
  1862. -----------------------------------------------------------------
  1863. [pixdecor]
  1864. always_decorate = imv
  1865. animate = true
  1866. bg_color = \#1A1B26FF
  1867. bg_text_color = \#B3B3B3FF
  1868. --  border_size = 5
  1869. button_close_image =
  1870. button_color = \#000000FF
  1871. button_line_thickness = 0.700000
  1872. button_maximize_image =
  1873. button_minimize_image =
  1874. button_spacing = 5
  1875. button_x_offset = 0
  1876. button_y_offset = 0
  1877. csd_titlebar_height = 32
  1878. effect_color = \#9D7CD8FF
  1879. effect_type = none
  1880. enable_shade = true
  1881. fg_color = \#1A1B26FF
  1882. fg_text_color = \#FFFFFFFF
  1883. ignore_views = (app_id is "ulauncher" )
  1884. maximized_borders = true
  1885. maximized_shadows = true
  1886. overlay_engine = rounded_corners
  1887. -- rounded_corner_radius = 12
  1888. shade_duration = 1000ms sigmoid
  1889. shade_modifier = <ctrl> <super>
  1890. shade_toggle =
  1891. shadow_color = \#00000040
  1892. shadow_radius = 10
  1893. title_font =
  1894. title_text_align = 1
  1895. titlebar = false
  1896.  
  1897. --------------------------------------------------
  1898. gdb ./xava first
  1899.  
  1900. then once you get the (gdb) prompt type in r<Enter>
  1901.  
  1902. once it crashes type b<Enter>
  1903.  
  1904. ------------------------------------------------
  1905.  
  1906. Transform shrink a video
  1907. Crop by padding video round corner
  1908.  
  1909. ------------------------------------------------
  1910.  
  1911. Screenshot
  1912.  
  1913. Wallpaper
  1914. https://www.deviantart.com/mikaildesign/art/Space-SHIFT2-5106365074
  1915.  
  1916. ------------------------------------------------------------
  1917.  
  1918. Video youtube
  1919. Thumbnail 1280 x 720 pixels and up to 2MB
  1920.  
  1921.  
  1922. 🎯 Here's a formula:
  1923. “My Arch Linux Setup – [What] I Use for [Why]
  1924.  
  1925. 🔥 Catchy Title Ideas for Your Video
  1926. “All the Apps I Use on My Arch Linux Desktop (2025 Edition)
  1927.  
  1928. “My Daily Linux Workflow – Apps I Can’t Live Without on Wayfire”
  1929.  
  1930. “From Boot to Browsing: Every App I Use on Arch Linux”
  1931.  
  1932. “What I Use on My Linux Desktop – Clean, Fast, Custom”
  1933.  
  1934. “Apps I Use on Arch Linux – Wayfire Edition”
  1935.  
  1936. “All the Linux Apps I Use (and Why)
  1937.  
  1938. 💡 Tips for Extra Clicks:
  1939.  
  1940. ---------------------------------------------
  1941. launcher03 = kitty --title Kitty
  1942. launcher04 = kitty --title layout --session ~/.config/kitty/kitty_layout.conf &
  1943. launcher05 = rio -e ncmpcpp
  1944. launcher06 = wezterm
  1945. launcher07 = brave-beta --ozone-platform=wayland &
  1946. launcher03 = gnome-terminal -e ~/.config/zellij/zellijLayout.sh
  1947. launcher04 = tilix -e ncmpcpp
  1948. launcher05 = xfce4-terminal
  1949. launcher06 = blackbox
  1950.  
  1951. ---------------------------------------------------
  1952. kdenlive Color Scheme
  1953. sudo cp TokyoNight.colors /var/lib/flatpak/runtime/org.kde.Platform/x86_64/6.9/f930fae18cfc829f51db18b9324905a3bebee0ec7e9d4d62afbb17f696fb20d0/files/share/color-schemes
  1954.  
  1955. desktop
  1956. 2.5K QHD 1440p 59.94 fps
  1957. veda
  1958. 1080x1920 23.98 fps
  1959.  
  1960. ----------------------------------------------------
  1961.  
  1962. ffmpeg -i 'Input.mp4' -vn -acodec libmp3lame -ac 2 -ab 160k -ar 48000 audio.mp3
  1963.  
  1964. ----------------------------------------------------
  1965.  
  1966. The Waybar configuration includes:
  1967.  
  1968. Workspace module
  1969.  
  1970. Window module, which displays the title of the currently focused window
  1971.  
  1972. Language module, which displays the current keyboard layout and allows switching to another layout
  1973.  
  1974. (All modules use the Wayfire IPC interface, and all Python scripts are located in the .config/ipc-scripts folder.)
  1975.  
  1976.  
  1977. The workspace module in Waybar
  1978. More information: pywayfire on GitHub
  1979.  
  1980. The script workspace_update_style_waybar.py is used to highlight the currently active workspace in Waybar.
  1981.  
  1982. What it does: it updates the value of "custom-work" in the file ~/.config/waybar/workspace_wayfire_now.css at line 22.
  1983.  
  1984. If you change workspace_wayfire_now.css, don’t forget to also update the values in workspace_update_style_waybar.py at lines 29, 34, and 40.
  1985. (Note: Python starts counting from 0, not 1.)
  1986.  
  1987. -----------------------------------------------------
  1988.  
  1989. systemctl --user enable xava-restart.service
  1990. systemctl --user stop xava-restart.service
  1991.  
  1992. /home/bluebyt/.config/systemd/user/xava-restart.service
  1993.  
  1994. [Unit]
  1995. Description=Auto-restart My App
  1996. After=graphical-session.target
  1997.  
  1998. [Service]
  1999. ExecStart=/usr/bin/xava
  2000. Restart=on-failure
  2001. RestartSec=3
  2002. Environment=DISPLAY=:0
  2003. Environment=XDG_CURRENT_DESKTOP=wayfire
  2004. Environment=WAYLAND_DISPLAY=wayland-1
  2005.  
  2006. [Install]
  2007. WantedBy=default.target
  2008.  
  2009. -----------------------------------------------------
  2010.  
  2011. echo $WAYFIRE_SOCKET
  2012. /run/user/1000/wayfire-wayland-1-.socket
  2013.  
  2014. echo $WLR_RENDERER
  2015. vulkan
  2016.  
  2017. wayfire --version
  2018. 0.10.0-a1032fd5 (Jul 13 2025) branch HEAD wlroots-0.18.24
  2019.  
  2020. echo $WAYLAND_DISPLAY
  2021. wayland-1
  2022.  
  2023. verify Xwayland is working:
  2024. echo $DISPLAY
  2025. :0
  2026.  
  2027. eglinfo -p wayland | grep renderer
  2028. OpenGL core profile renderer: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
  2029. OpenGL compatibility profile renderer: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
  2030. OpenGL ES profile renderer: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
  2031.  
  2032. -----------------------------------------------------
  2033.  
  2034. exec systemctl --user import-environment WAYLAND_DISPLAY DISPLAY XDG_CURRENT_DESKTOP SWAYSOCK I3SOCK XCURSOR_SIZE XCURSOR_THEME
  2035.  
  2036. printenv
  2037. XCURSOR_THEME=Bibata-Modern-Classic
  2038. XCURSOR_SIZE=24
  2039.  
  2040. ~/.config/environment.d/environment.conf
  2041. export XCURSOR_THEME=Bibata-Modern-Classic
  2042. export XCURSOR_SIZE=24
  2043. ln --symbolic /usr/share/icons/Adwaita/cursors ~/.local/share/icons/default
  2044. export XCURSOR_PATH=${XCURSOR_PATH}:~/.local/share/icons
  2045.  
  2046. -----------------------------------------------------
  2047.  
  2048. YouTube keeps logging out on Firefox
  2049.  
  2050. -----------------------------------------------------
  2051.  
  2052. sudo ln -s /usr/lib/libdisplay-info.so.0.3.0 /usr/lib/libdisplay-info.so.2
  2053.  
  2054. -----------------------------------------------------
  2055. gedit
  2056. sudo pacman -S libvoikko hspell nuspell hunspell aspell
  2057. sudo cp tokyonight2.xml /usr/share/libgedit-gtksourceview-300/styles/
  2058.  
  2059. ***************************************************************
  2060.  
  2061. /var/lib/flatpak/runtime/org.kde.Platform/x86_64/6.9/random number!/files/share/color-schemes/
  2062.  
  2063. ****************************************************************
  2064.  
  2065.  
  2066. bluetoothctl list
  2067. rfkill list
  2068. pactl list short sinks
  2069. 65  alsa_output.pci-0000_00_1f.3.hdmi-stereo PipeWire s32le 2ch 48000Hz SUSPENDED
  2070. 19946   bluez_output.60_93_16_0D_F9_59.1 PipeWire s16le 2ch 48000Hz RUNNING
  2071.  
  2072. pactl set-default-sink bluez_output.60_93_16_0D_F9_59.1
  2073. pactl list short sink-inputs
  2074. pactl move-sink-input 42 bluez_output.60_93_16_0D_F9_59.1
  2075.  
  2076. bluetoothctl disconnect 60:93:16:0D:F9:59
  2077. bluetoothctl connect 60:93:16:0D:F9:59
  2078.  
  2079. pactl set-card-profile bluez_output.60_93_16_0D_F9_59.1
  2080.  
  2081. pactl list cards | grep -E 'Name:|Profiles|Active Profile'
  2082.  
  2083.     Name: alsa_card.pci-0000_00_1f.3
  2084.     Profiles:
  2085.     Active Profile: output:hdmi-stereo+input:analog-stereo
  2086.     Name: bluez_card.60_93_16_0D_F9_59
  2087.     Profiles:
  2088.     Active Profile: a2dp-sink-sbc
  2089.    
  2090. Next time instead of reboot:
  2091. systemctl --user restart pipewire pipewire-pulse wireplumber
  2092. pactl set-default-sink bluez_output.60_93_16_0D_F9_59.1
  2093. sudo systemctl restart bluetooth
  2094.  
  2095. ****************************************************************
  2096.  
  2097.  
Add Comment
Please, Sign In to add comment