Advertisement
bluebyt

Wayfirereadme.ini

Mar 13th, 2024 (edited)
1,312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
INI file 32.12 KB | None | 0 0
  1.  
  2. Wayfire
  3.  
  4. Environment
  5. Dont do that:
  6. export WAYFIRE_SOCKET=/tmp/wayfire-wayland-1.socket
  7. Do That:
  8. /home/bluebyt/.config/environment.d/environment.conf
  9. WAYFIRE_SOCKET=/tmp/wayfire-wayland-1.socket
  10.  
  11. Plugin and IPC
  12. follow-focus
  13. wayfire-shell
  14.  
  15. systemctl --user start mpDris2.service
  16.  
  17. Native Resolution QHD 2560 x 1440 at 75 Hz
  18.  
  19. Youtube sec.
  20. https://www.youtube.com/watch?v=0zvXSQRsLHk&t=15s
  21.  
  22. Delete the folder gnome-thumbnail-factory
  23. ~/.cache/thumbnails/fail/gnome-thumbnail-factory/
  24.  
  25. *****************************************
  26. List of thing to do:
  27. Put eww on bottom full screen Window (Work with :stacking "bg" but something disappear
  28. wf-info
  29.  
  30. gtkcord4 (CPU crash possible...)
  31. check why the Gstreamer bug freeze video more in detail.
  32. Systemd boot up menu
  33. pactl load-module module-switch-on-connect (Not working in .config/pulse/default.pa)
  34. ulauncher --no-window in v6 and --hide-window in v5
  35. Mouse with Flatpak
  36. Try pixdecor
  37. Try OBS to work
  38.  
  39. Window decoration archcraft-wayfire
  40. Find sddm theme
  41. Remove xf86-video-intel
  42.  
  43.  
  44.  
  45. ______________________________________________
  46. wayfire.ini
  47. [scale]
  48. toggle_all = <super> KEY_W | hotspot right-top 10x10 200
  49. ______________________________________________
  50.  
  51. Install C++
  52. make
  53. make install
  54.  
  55. Terminal key
  56. Clean up the line: You can use Ctrl+U to clear up to the beginning.
  57. Recall the deleted command: Ctrl+Y (then Alt+Y)
  58. Go to beginning of the line: Ctrl+A
  59. Go to end of the line: Ctrl+E
  60. Alt+F moves one word forward, and Alt+B moves one word back.
  61. Remove the forward words for example, if you are middle of the command: Ctrl+K
  62. Remove characters on the left, until the beginning of the word: Ctrl+W
  63. To clear your entire command prompt: Ctrl + L
  64.  
  65. Fish
  66. Shortcut    Description
  67. ^A ←/^E →   Move to the line beginning/end
  68. Alt ←/Alt → Jump to the previous/next word
  69. ↑/↓ Switch to the previous/next command
  70. Alt ↑/Alt ↓ Switch to the previous/next arguments
  71. --- ---
  72. ^U  Delete to the beginning
  73. ^C  Cancel the line
  74. --- ---
  75. Alt H   Show the command man page description
  76. Alt W   Show the short command description
  77. ______________________________________________
  78. Pacman command
  79. pacman -Qe                                                   List all Arch package
  80. sudo pacman -Rns example         Remove the program and dependencies
  81. sudo pacman -Rsc qemu-common
  82. sudo pacman -Qm                  List Aur package
  83. sudo pacman -Scc                 Cache clean – remove all files from cache
  84. sudo pacman -Rns $(pacman -Qdtq) Remove Orphaned (Unused) Packages
  85. sudo pacman -Rsunc $(pacman -Qdtq)
  86. pacman -Ql vlc                   Find All Files Owned by a Package
  87.  
  88. Packages already  installed
  89. pacman -Qi intel-ucode
  90. ______________________________________________
  91.  
  92.  
  93. Update kernel USB
  94. efivar --list
  95. timedatectl set-ntp true
  96. mount /dev/nvme1n1p2 /mnt
  97. mount /dev/nvme1n1p1 /mnt/boot/
  98. lsblk
  99. arch-chroot /mnt
  100. pacman -Syu
  101.  
  102. -------------------------------------------
  103.  
  104.  
  105. mpd Play 2, 8
  106. Nom de musique player de marde!
  107. ncmpcpp
  108.  
  109. App
  110. Telegram or tangram(Telegram for Gnome)
  111. Celluloid -video player
  112. Cavalier -spectrum
  113. pamixer -adjust volume
  114. catfish
  115. czkawka_gui
  116. Font Manager
  117. gucharmap
  118. pdf slider
  119. reminder
  120. bashtop
  121. btop
  122. wl-clipboard
  123. nitch
  124. Image roll
  125. overskride (Bluetooth manager GTK4)
  126. xana spectrum viewer
  127. lswt (List all wayland windows)
  128. sudo pacman -S gstreamer-vaapi
  129. G4music
  130. audience-video-player or io.elementary.videos
  131. org.gnome.Prompt.Devel
  132. flatseal (Flatpak permission)
  133. xlsclients (List Xwayland app)
  134. wl-screenrec
  135. mediainfo
  136. vainfo
  137. intel-gpu-tools
  138. org.gnome.Prompt.Devel
  139. waybar-hyprland-cava-git
  140. brave-beta-bin
  141.  
  142.  
  143. brave://flags
  144. ozone
  145. scrollbars
  146. brave://components
  147. brave://gpu/
  148.  
  149.  
  150. Bluetooth
  151.  
  152. lsusb | grep -i "bluetooth"
  153.  
  154. sudo /etc/bluetooth/nano main.conf
  155. AutoEnable=true
  156.  
  157. sudo nano /etc/bluetooth/audio.conf
  158. [General]
  159. Enable=Control,Gateway,Headset,Media,Sink,Socket,Source
  160.  
  161. systemctl status bluetooth
  162. systemctl start bluetooth
  163. systemctl stop bluetooth
  164. systemctl enable bluetooth
  165.  
  166. Bluetooth Airpod
  167.  
  168. bluetoothctl
  169. power on
  170. scan on
  171. remove 60:93:16:0D:F9:59
  172. Push the button while ipod is in the case (pair 60:93:16:0D:F9:59)
  173. connect 60:93:16:0D:F9:59
  174. trust 60:93:16:0D:F9:59
  175.  
  176. Device
  177. Device 00:1F:47:EC:E3:19 YSP-2500 Yamaha  
  178. Device 50:1A:A5:76:B3:6D Jabra MOVE v2.5.0
  179.  
  180. command
  181. bluetoothctl -- pair XX:XX:XX:XX:XX:XX
  182. sleep 10
  183. bluetoothctl -- trust XX:XX:XX:XX:XX:XX
  184. bluetoothctl -- connect XX:XX:XX:XX:XX:XX
  185. sleep 5
  186.  
  187. Icons thunar
  188. /home/bluebyt/.local/share/icons/Nordzy-cyan-dark/actions/16
  189. tab-close.svg
  190.  
  191. File:
  192. Key bindings
  193. https://github.com/WayfireWM/wayfire/wiki/Tutorial
  194.  
  195. Autostart
  196. dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY XAUTHORITY
  197.  
  198. /home/bluebyt/.config/environment.d/envvars.conf
  199. GST_PLUGIN_FEATURE_RANK=pulsesink:NONE
  200.  
  201.  
  202. Logfile:
  203. .local/share/wayfire/wayfire.log
  204. /opt/wayfire/include/wlr/config.h (install log)
  205. /run/user/1000/wayfire.log
  206. window-list widget of wf-panel
  207.  
  208. Install master wayfire:
  209. Install before:
  210. python-pip
  211. wlroots
  212. glm
  213. cmake
  214. Archlinux-keyring
  215. gobject-introspection
  216.  
  217. nlohmann-json
  218. doxygen
  219. doctest
  220. libliftoff
  221. wlroots
  222. glm
  223. cmake
  224. wayland-protocols
  225. git clone https://github.com/WayfireWM/wf-install
  226. cd wf-install
  227. ./install.sh --prefix /opt/wayfire --stream master
  228.  
  229.  
  230. CTRL ALT F2 desktop or F3 wayfire
  231. Gnome-session-quit
  232. CTRL-BACK-BSPC
  233.  
  234.  
  235. Screenshot
  236. sudo pacman -S slurp grim
  237. -grim $HOME/Downloads/screenshot.png
  238. -sleep 2 && grim $HOME/Downloads/screenshot-$(date "+%Y-%m-%d-%H:%M:%S").png
  239.  
  240. Select part of the screen:
  241. slurp | grim -g - ~/Downloads/slurped.png
  242.  
  243.  
  244. Pick a color:
  245. grim -g "$(slurp -p)" -t ppm - | convert - -format '%[pixel:p{0,0}]' txt:-
  246.  
  247.  
  248. Configuration Wayfire
  249. wcm
  250.  
  251. [workarounds]
  252. #app_id_mode = stock
  253. app_id_mode = full
  254.  
  255. Wf-recorder
  256. trizen -S wf-recorder-git
  257. run wf-recorder to start recording and use Ctrl+C to stop.
  258. wf-recorder -f video.mp4 -c h264_vaapi -d /dev/dri/renderD128 -a -t
  259.  
  260. Yay
  261. yay -Rns cmatrix
  262. yay -Qu
  263.  
  264. Terminal command:
  265. checkupdates 2> /dev/null | wc -l
  266. checkupdates-with-aur 2> /dev/null | wc -l
  267. grep -rnw  -e 'dunst'
  268. wdisplays
  269. sensors
  270. lspci
  271. lsusb
  272. lscpu
  273. pactl info
  274. ps -ax | grep pipewire
  275. hwinfo --short >hwinfo.ini
  276. journalctl -x -b -p 3
  277. systemctl --user restart wireplumber pipewire pipewire-pulse
  278. systemctl --user daemon-reload
  279. flatpak list --app
  280. dmesg (Kernel message)
  281. dmesg | grep -i usb
  282. sudo lspci -k | grep -A 4 Audio
  283. SDL_VIDEODRIVER=wayland lite-xl &
  284. launcher26 = SDL_VIDEODRIVER=wayland lite-xl
  285. launcher18 = celluloid $HOME/Documents/playlist.m3u
  286. wf-recorder --audio --file=recording_with_audio.mp4
  287. wayfire -d (Load)
  288. blackbox -c ncmpcpp
  289. tilix --geometry=110x55 -a app-new-window -x  "bpytop"
  290. tilix --geometry=112x110 -a app-new-window -x "weechat"
  291. tilix --geometry=65x17 -a app-new-window -x "ncmpcpp"
  292. nautilus --new-window /home/bluebyt/Videos &
  293. gnome-terminal -e ncmpcpp &
  294. gnome-terminal --geometry 80x22+100+75
  295. Exec=gnome-terminal --geometry 73x31+100+300
  296. --geometry=GEOMETRY
  297. Set the window size; for example: 80x24, or 80x24+200+200 (COLSxROWS+X+Y)
  298. gst-discoverer-1.0 dTreeGO.mp4
  299. gst-inspect-1.0 vaapi
  300. sudo intel_gpu_top
  301. swww init
  302. swww kill
  303. for i in *.HEIC; do heif-convert "$i" "${i%.*}.jpg"; done
  304. flatpak run org.gnome.Prompt.Devel -x "htop"
  305. flatpak run org.gnome.Prompt.Devel -x zsh
  306. ffmpeg -i input.mp4 -vf "fps=10,scale=1080:-1:flags=lanczos" -c:v pam \
  307.     -f image2pipe - | \
  308.     convert -delay 10 - -loop 0 -layers optimize output.gif
  309.  
  310.  sudo usermod -a -G video bluebyt
  311. Check the temp M2 Nvme disk:
  312. sudo nvme smart-log /dev/nvme0
  313. grep -ir rnotify .weechat/
  314. Aur helper
  315.  
  316.  
  317. sudo pacman -Syu --overwrite='*'  python-setuptools
  318. source ~/.zshrc
  319. Drivers$ glxinfo | grep OpenGL
  320. glxinfo | grep "OpenGL renderer"
  321. sudo pacman -S waybar
  322. Waybar /home/.config/waybar/config and style.css
  323. nautilus ~/
  324. "on-click": "nautilus --new-window"
  325. gnome-calendar
  326. gnome-system-monitor
  327. exa -l
  328. trizen -S mako-git (A lightweight notification daemon for Wayland)
  329. Exec=thunar /home/bluebyt
  330. Mediainfo
  331. Gtop
  332. Cmatrix -a
  333. dd bs=4M if=archlinux-2020.08.01-x86_64.iso of=/dev/sdd status=progress oflag=sync
  334. sudo virsh net-start default
  335. for i in *.rar; do unrar x -o+ "$i"; done
  336. For i in *.rar; do unrar x -o+ "$i"; done ; rm *.jpg
  337. Shows multiple desktops
  338. Install imagemagick
  339. For vertical stacking (top to bottom):
  340. convert screenshot1.png screenshot2.png -append out.png
  341.  
  342. For horizontal stacking (left to right):
  343. convert screenshot1.png screenshot2.png +append out.png
  344.  
  345. Or
  346. open one screenshot in GIMP, change the canvas size to double the height, and paste the second one below
  347.  
  348. WhiteSur Gtk Theme
  349. ./install.sh --nord -l -c Dark -m -p 60 -P bigger --normal
  350.  
  351. git clone https://github.com/vinceliuice/Magnetic-gtk-theme.git
  352. ./install.sh -d /home/bluebyt/.local/share/themes -c dark -l --tweaks nord outline
  353.  
  354. git clone https://github.com/vinceliuice/Graphite-gtk-theme.git
  355. ./install.sh -d /home/bluebyt/.local/share/themes -c dark -l --tweaks nord
  356. ./install.sh -d /home/bluebyt/.local/share/themes -c dark -l --tweaks nord rimless
  357.  
  358. git clone https://github.com/alvatip/Nordzy-icon.git
  359. ./install.sh -d /home/bluebyt/.local/share/icons -t cyan -c dark
  360.  
  361.  
  362. Input in the group user
  363. sudo usermod -aG input $USER
  364.  
  365.  
  366. wayfire -c /tmp/wayfire.ini
  367.  
  368. Font command
  369. cp Agave/* ~/.local/share/fonts/
  370. fc-cache -f -v
  371. fc-list | grep -i jetbrain
  372. fc-match -s monospace:charset=f79f | head -n7
  373.  
  374.  
  375.  
  376.  
  377.  
  378. Task to do and issues:
  379.  
  380.  
  381. Settings Video crash:
  382.   dconf reset -f /org/gnome/control-center/
  383.  
  384.  
  385. Terminal weather:
  386. curl wttr.in/Montreal
  387.  
  388.        
  389.  
  390. Clapper
  391. Ctrl R : Added repeat modes: single video, whole playlist and shuffle
  392.  
  393.  
  394.  
  395. Command
  396. killall wf-panel; wf-panel & disown
  397. locate *wayfire* >wayfiresearch
  398. Ctrl+Shift+Alt+R
  399. fc-match monospace
  400. NotoSansMono-Regular.ttf: "Noto Sans Mono" "Regular"
  401. Package:
  402. pamac list
  403. grep -i installed /var/log/pacman.log
  404. grep -i upgraded /var/log/pacman.log
  405.  
  406. Disable the alt-key menu bar showing behavior in Firefox
  407. about:config?filter=ui.key.menuAccessKeyFocuses
  408.  
  409.  
  410. wf-recorder -f test-vaapi.mkv -c h264_vaapi -d /dev/dri/renderD128
  411. wf-recorder -f video.mp4 -c h264_vaapi -d /dev/dri/renderD128 -a -t -b=100M
  412.  
  413.  
  414.  
  415.  
  416.  
  417. Xwayland
  418. The decoration plugin and buttons are not implemented in wayfire.
  419. try running the app with
  420. export GDK_BACKEND=wayland && appname
  421. if its qt app
  422. export QT_QPA_PLATFORM=wayland-egl && appname
  423.  
  424. Desktop entry
  425. Exec=bash -c "export QT_QPA_PLATFORM=wayland-egl && keepassxc %f"
  426.  
  427. Restart Puseaudio
  428. $ pulseaudio -k
  429. $ pulseaudio --start
  430.  
  431.  
  432.  
  433.  
  434. List of Apps
  435. pacman-contrib
  436. Shotwell
  437. Thunar
  438. Waybar
  439. Wofi (command: wofi --show drun)
  440. Rofi(rofi -show drun, rofi-theme-selector)
  441. rofi -show window -theme solarized_alternate
  442. rofi -show drun -theme solarized_alternate
  443. rofi -show run -theme solarized_alternate
  444. wlogout
  445. KeepassXC
  446. gThumb
  447. Ytop
  448. BashTOP
  449. Bpytop [Uninstall gnu-free-fonts]
  450. Htop
  451. Gtop
  452. glances
  453. Xfce-terminal
  454. Tilix
  455. pitivi
  456. powerlevel10k
  457. virt-manager
  458. unrar
  459. sudo pacman -S zsh-completions
  460. Password safe gnome
  461. Shell-color-scripts
  462. Lshw (hardware configuration)
  463.  
  464. gst-libav (Drivers h264)
  465. mediainfo
  466. libva-utils (vainfo)
  467. Easytag
  468. Weechat
  469. Hexchat
  470. nautilus-image-converter
  471. pacman-contrib (checkupdates | wc -l)
  472. bat, exa
  473. font-manager
  474.  
  475. paru seatd
  476. paru doctest
  477. sudo pacman -S cmake
  478. sudo pacman -S gtkmm3
  479. sudo pacman -S meson
  480.  
  481.  
  482.  
  483. Terminal apps
  484. black box
  485. Tilix
  486. xfce-terminal
  487. gnome-terminal
  488. terminator
  489. prompt
  490.  
  491. Fonts
  492. Monofur Nerd Font Bold 12
  493.  
  494.  
  495.  
  496.  
  497. home\.mame\mame.ini
  498. homepath                $HOME/.mame
  499. rompath                 roms;/home/bluebyt/.mame/roms
  500. hashpath                hash
  501. samplepath              samples
  502. artpath                 artwork
  503. ctrlrpath               ctrlr
  504. inipath                 $HOME/.mame;.;ini
  505. fontpath                .
  506. cheatpath               cheat
  507. crosshairpath           crosshair
  508. pluginspath             plugins
  509. languagepath            /home/bluebyt/.local
  510. swpath                  /home/bluebyt/.local
  511.  
  512. #
  513. # CORE OUTPUT DIRECTORY OPTIONS
  514. #
  515. cfg_directory           $HOME/.mame/cfg
  516. nvram_directory         $HOME/.mame/nvram
  517. input_directory         $HOME/.mame/inp
  518. state_directory         $HOME/.mame/sta
  519. snapshot_directory      $HOME/.mame/snap
  520. diff_directory          $HOME/.mame/diff
  521. comment_directory       $HOME/.mame/comment
  522.  
  523.  
  524. Partition
  525. sudo parted -l            
  526. [sudo] password for bluebyt:  
  527. Model: ATA KINGSTON SH103S3 (scsi)
  528. Disk /dev/sda: 120GB
  529. Sector size (logical/physical): 512B/512B
  530. Partition Table: msdos
  531. Disk Flags:  
  532.  
  533. Number  Start   End     Size    Type    File system  Flags
  534.  1      1049kB  31.5GB  31.5GB  primary  ext4       boot
  535.  2      31.5GB  120GB   88.6GB  primary  ext4
  536.  
  537.  
  538. Model: ATA WDC WD10EZEX-00R (scsi)
  539. Disk /dev/sdb: 1000GB
  540. Sector size (logical/physical): 512B/4096B
  541. Partition Table: msdos
  542. Disk Flags:  
  543.  
  544. Number  Start   End     Size    Type    File system  Flags
  545.  1      1049kB  1000GB  1000GB  primary  ext4
  546.  
  547.  
  548. Model: ATA KINGSTON SUV400S (scsi)
  549. Disk /dev/sdc: 240GB
  550. Sector size (logical/physical): 512B/4096B
  551. Partition Table: msdos
  552. Disk Flags:  
  553.  
  554. Number  Start   End Size   Type     File system  Flags
  555.  1      1049kB  240GB  240GB  primary  ext4         boot
  556.  
  557.  
  558.  
  559.  
  560. ************************
  561. Have applications open in specific, targeted locations
  562. https://github.com/WayfireWM/wayfire/issues/588
  563.  
  564.  
  565.  
  566. notifications = mako
  567. portal = /usr/libexec/xdg-desktop-portal
  568.  
  569.  
  570. P8B75-M ASUS
  571. dmesg | grep ata
  572.  
  573. [   0.731196] ata1.00: ATA-8: KINGSTON SH103S3120G, 502ABBF0, max UDMA/133
  574. [   0.719298] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
  575.  
  576. [   0.716375] ata4.00: ATA-11: KINGSTON SUV400S37240G, 0C3K87RA, max UDMA/133
  577. [13156.536056] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
  578.  
  579. [   0.717151] ata3.00: ATA-8: WDC WD10EZEX-00RKKA0, 80.00A80, max UDMA/133
  580. [13159.896368] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
  581.  
  582.  
  583. Hardware
  584. Motherboard P8B75-M ASUS
  585. CPU Intel i5-3470 CPU @ 3.20GHz
  586. RAM 16 GiB DIMM DDR3  1333 MHz  Kingston
  587.            
  588. KINGSTON SH103S3
  589. Disk /dev/sda: 111.79 GiB
  590.  
  591.  KINGSTON SUV400S
  592. Disk /dev/sdc: 223.57 GiB
  593.  
  594. WDC WD10EZEX-00R
  595. Disk /dev/sdb: 931.51 GiB
  596.  
  597.  
  598. Disk
  599. ❯ sudo hdparm -Tt --direct /dev/sdc
  600.  
  601. /dev/sdc:
  602.  Timing O_DIRECT cached reads:   508 MB in  2.01 seconds = 253.07 MB/sec
  603.  Timing O_DIRECT disk reads: 794 MB in  3.01 seconds = 264.14 MB/sec
  604.  
  605. /dev/nvme0n1p3:
  606.  Timing O_DIRECT cached reads:   3282 MB in  2.00 seconds = 1642.13 MB/sec
  607.  HDIO_DRIVE_CMD(identify) failed: Inappropriate ioctl for device
  608.  Timing O_DIRECT disk reads: 7150 MB in  3.00 seconds = 2383.09 MB/sec
  609.  
  610. ❯ dd if=/dev/zero of=/tmp/test1.img bs=1G count=1 oflag=dsync
  611.  
  612.  
  613. 1+0 records in
  614. 1+0 records out
  615. 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.868882 s, 1.2 GB/s
  616.  
  617. 1+0 records in
  618. 1+0 records out
  619. 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.595394 s, 1.8 GB/s
  620.  
  621.  
  622.  
  623. ❯ smartctl -i /dev/sdc
  624. SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
  625.  
  626.  
  627.  
  628. MPD
  629.  
  630. sudo pacman -S mpd mpc ncmpcpp timidity++
  631. sudo service mpd stop
  632. mkdir ~/.config/mpd/playlists
  633. mkdir -p ~/.config/ncmpcpp/lyrics
  634. chmod 710 /home/bluebyt
  635. systemctl --user enable mpd
  636.  
  637. sudo killall mpd
  638. sudo systemctl restart mpd
  639. sudo gpasswd -a mpd bluebyt
  640. sudo gpasswd -a mpd audio
  641.  
  642.  
  643. Notification
  644. systemctl --user start mpDris2.service
  645. systemctl --user enable mpDris2.service
  646.  
  647.  
  648.  
  649. Ctrl l (Split terminal to view visualizer)
  650. Once Launched, type u to update the database, it will automatically discover songs on ~/Music/directory:
  651. Space toggle between Visualiser
  652. ncmpcpp -S visualizer
  653. Capital S save the playlist ask for a name
  654.  
  655. sudo systemctl restart mpd
  656. sudo systemctl status mpd.service
  657.  
  658.  
  659. ********************************
  660. Virtual manager
  661. sudo pacman -S virt-manager
  662. sudo pacman -S libvirt  
  663. systemctl start libvirtd.service
  664. systemctl start virtlogd.service  
  665. sudo pacman -S ebtables dnsmasq  
  666. Gosser pour que network marche!
  667.  
  668. sudo usermod -a -G kvm bluebyt  
  669. sudo nano /etc/polkit-1/rules.d/50-libvirt.rules
  670. Paste the following:
  671. /* Allow users in kvm group to manage the libvirt
  672. daemon without authentication */
  673. polkit.addRule(function(action, subject) {
  674.     if (action.id == "org.libvirt.unix.manage" &&
  675.         subject.isInGroup("kvm")) {
  676.             return polkit.Result.YES;
  677.     }
  678. });
  679.  
  680. *******************************************
  681. Fish path
  682. set -Ua fish_user_paths ~/.bin/
  683. fish_config
  684. > bash -c SomeBashCommand
  685. fish_update_completions
  686.  
  687. ****************
  688. XFCE
  689. rofi -show drun -theme solarized_alternate
  690. bash ~/.config/polybar/launch.sh --material
  691. fc-list | grep -i noto
  692. sudo pacman -S gvfs (poubelle)
  693. paru  ttf-material-design-icons
  694. fc-list | grep -i Terminus
  695. sudo pacman -S catfish
  696.  
  697. **********************
  698. Conky
  699. font Open Sans
  700. sudo pacman -S lsb-release
  701. sudo pacman -S conky-lua
  702.  
  703.  
  704. ************************************
  705.  
  706.  
  707. Do you want larger icons in the Alt + Tab window cycling overlay? Simply create/modify the ~/.config/gtk-3.0/gtk.css file
  708.  
  709. #xfwm-tabwin {
  710. -XfwmTabwinWidget-icon-size: 96;
  711. -XfwmTabwinWidget-preview-size: 512;
  712. }
  713.  
  714. Polybar
  715. audacious
  716. sudo pacman -S playerctl
  717. paru -S zscroll-git
  718. paru  mpdris2
  719. Copy /home/bluebyt/.config/autostart/mpdris2.desktop
  720.  
  721. wf-recorder -f video.mp4 -c h264_vaapi -d /dev/dri/renderD128 -a -t -l
  722.  
  723. wf-recorder -f video.mp4 -c h264_vaapi -d /dev/dri/renderD128 -a -t -F hwupload,scale_vaapi=format=yuv444p
  724.  
  725.  
  726. playerctl --follow metadata
  727.  
  728. Mame
  729. Coin - 6
  730. Start - 1
  731.  
  732. Packages already  installed
  733. pacman -Qi intel-ucode
  734.  
  735. wlprop | jq -r '.app_id'
  736.  
  737.  
  738. Chromium wayland
  739.  ~/.config/chromium-flags.conf, add the following lines:
  740. --enable-features=UseOzonePlatform
  741. --ozone-platform=wayland
  742.  
  743.  
  744. git apply /path/to/some-changes.patch
  745.  
  746. wf-info
  747. export PKG_CONFIG_PATH=/opt/wayfire/lib/pkgconfig/
  748. meson build --prefix=/opt/wayfire
  749. ninja -C build
  750. sudo ninja -C build install
  751. /opt/wayfire/bin/wf-info
  752.  
  753.  
  754. **************************************************************************
  755. State of the keyboard layout in Wayland
  756.  
  757. Both command doesn't work in Wayland
  758. setxkbmap -print -verbose 10
  759. localectl status
  760.  
  761. Install  libxkbcommon
  762. xkbcli
  763. libinput events
  764.  
  765. 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.
  766. 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".
  767. *************************************************************************
  768.  
  769.  
  770. wf-shell.ini
  771. widgets_center = clock
  772. widgets_left = spacing4 menu spacing18 launchers window-list
  773. widgets_right = network spacing6 battery spacing12
  774.  
  775. **************************************
  776.  
  777. upgrading ydotool
  778. Make sure your user is in the `input` group by running the following command:
  779. $ usermod -aG input $USER
  780.  
  781. *************************************************
  782.  
  783. systemctl --user enable eww.service
  784. systemctl --user daemon-reload
  785. systemctl --user start eww.service
  786.  
  787. /home/bluebyt/.config/systemd/user
  788.  
  789.  
  790. [Unit]
  791. Description=eww startup
  792.  
  793. [Service]
  794. Type=oneshot
  795. ExecStart=/home/bluebyt/.bin/eww-start.sh
  796.  
  797. [Install]
  798. WantedBy=multi-user.target
  799.  
  800. Script
  801. #!/bin/bash
  802. /home/bluebyt/.local/bin/eww/eww daemon
  803. /home/bluebyt/.local/bin/eww/eww open sidebar
  804.  
  805.  
  806. File and path
  807. ~/.config/mimeapps.list
  808. /home/bluebyt/.local/share/applications
  809.  
  810. Graphite-gtk-theme
  811. git clone https://github.com/vinceliuice/Graphite-gtk-theme.git
  812. cd Graphite-gtk-theme/
  813. ./install.sh -d /home/bluebyt/.local/share/themes -c dark -l --tweaks nord rimless
  814.  
  815. Magnetic gtk theme
  816. ./install.sh -d /home/bluebyt/.local/share/themes -c dark -l --tweaks nord
  817. ./install.sh -d /home/bluebyt/.local/share/themes -c dark -l --tweaks nord black
  818.  
  819. git clone https://github.com/vinceliuice/Tela-circle-icon-theme.git
  820. cd Tela-circle-icon-theme/
  821. ./install.sh nord
  822.  
  823. Icons
  824. /home/bluebyt/.local/share/icons/
  825. /home/bluebyt/.icons
  826. /usr/share/icons/
  827.  
  828. Folder
  829. /home/bluebyt/.local/share/applications/
  830. /home/bluebyt/.config/systemd/user/
  831. /home/bluebyt/.bin/
  832. /home/bluebyt/.config/scripts/
  833. /home/bluebyt/.local/share/themes/
  834. /home/bluebyt/.local/share/icons/
  835. ~/.profile
  836. /home/bluebyt/.config/yay/
  837. /usr/local/share/applications/
  838. /opt/wayfire/bin/
  839. /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga
  840. /usr/share/wayland-sessions/
  841. /usr/share/backgrounds/gnome/drool-d.svg
  842. ~/.local/share/gnome-shell/extensions/
  843. /home/bluebyt/.config/autostart
  844. /var/lib/flatpak/exports/share/applications/
  845. ~/.local/share/flatpak/exports/share/applications/
  846. ~/.local/share/applications/
  847. ~/.config/environment.d/*.conf
  848. /etc/environment
  849.  
  850. Error
  851. Malformed input:
  852. on created if app_id is "gimp-2.99" then set alpha 0.8
  853.                         ^ Literal parser error. Text could not be converted to double. text:"gimp-2.99"
  854.  
  855.  
  856. gnome-text-editor
  857. sudo cp nord.xml /usr/share/gnome-text-editor/styles/
  858.  
  859. ***********************************************************
  860.  
  861. /home/bluebyt/.config/systemd/user/updates-notifier.service
  862.  
  863. [Unit]
  864. Description=Check and notify pacman updates
  865.  
  866. [Service]
  867. Type=simple
  868. ExecStart=/home/bluebyt/.bin/updates-notifier.sh
  869.  
  870. systemctl --user enable updates-notifier.service
  871. systemctl --user start updates-notifier.service
  872. systemctl --user status updates-notifier.service
  873.  
  874. ************************************************************
  875. /home/bluebyt/.config/systemd/user/updates-notifier.timer
  876.  
  877. [Unit]
  878. Description=Runs updates-notifier.service every hour
  879.  
  880. [Timer]
  881. # Time to wait after booting before we run first time
  882. OnBootSec=5min
  883. # Time between running each consecutive time
  884. OnUnitActiveSec=1h
  885. Unit=updates-notifier.service
  886.  
  887. [Install]
  888. WantedBy=timers.target
  889.  
  890.  
  891. *************************************************************
  892.  
  893. Video
  894. /home/bluebyt/.bin/./wallpapers_loop.sh &
  895. swww img ~/Pictures/Grayscale.jpeg
  896.  
  897.  
  898.  
  899. OBS
  900. sudo pacman -S xdg-desktop-portal-gnome
  901. sudo pacman -S qt5-wayland
  902.  
  903. QT_QPA_PLATFORM=wayland obs
  904.  
  905.  
  906. Rules
  907. The order of the rules does matter:
  908. Always put Workspace at the last line
  909.  
  910. Example2:
  911. rule_001 = on created if app_id is "firefox" then move 270 70
  912. rule_002 = on created if app_id is "firefox" then set alpha 1.0
  913. rule_003 = on created if app_id is "firefox" then assign_workspace 1 0
  914.  
  915.  
  916. Gstreamer command
  917. /home/bluebyt/.local/share/gstreamer-1.0/presets/
  918. GST_PLUGIN_FEATURE_RANK=pulsesink:NONE totem &
  919. GST_PLUGIN_FEATURE_RANK=pulsesink:NONE clapper &
  920. GST_PLUGIN_FEATURE_RANK=pulsesink:NONE io.elementary.videos &
  921.  
  922. gst-play-1.0 alt-tab.mkv
  923. __________________________________________________
  924. wpctl status
  925.  0. Audio/Sink    bluez_output.60_93_16_0D_F9_59.1
  926.  1. Audio/Source  alsa_output.pci-0000_00_1f.3.analog-stereo
  927.  
  928. pactl get-default-sink
  929. pactl set-default-sink <sink-name>
  930. pactl set-default-sink alsa_output.pci-0000_00_1f.3.analog-stereo
  931. pactl set-default-sink bluez_output.60_93_16_0D_F9_59.1
  932.  
  933. __________________________________________________
  934. Change I have done
  935.  
  936. systemctl --user restart wireplumber pipewire pipewire-pulse
  937. systemctl --user daemon-reload
  938. sudo systemctl restart bluetooth
  939.  
  940. Add files:
  941. /home/bluebyt/.config/pipewire/pipewire-pulse.conf.d/switch-on-connect.conf
  942. /home/bluebyt/.config/pulse/default.pa
  943.  
  944. Remove
  945. /home/bluebyt/.config/pipewire/media-session.d/default-routes
  946. /home/bluebyt/.config/pipewire/media-session.d/restore-stream
  947.  
  948. Change the command line for volume in wayfire.ini
  949. From
  950. pactl set-sink-volume 0 -5% | swayosd-client --output-volume lower
  951. pactl set-sink-volume 0 +5% | swayosd-client --output-volume raise
  952. to
  953. wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- | swayosd-client --output-volume lower
  954. wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ | swayosd-client --output-volume raise
  955.  
  956. Create a folder
  957. /home/bluebyt/.config/wireplumber/
  958. ~/.config/wireplumber/bluetooth.lua.d/50-bluez-config.lua
  959. "bluez5.enable-hw-volume" = true to false
  960.  
  961. sudo pacman -S gstreamer-vaapi
  962.  
  963. __________________________________________________
  964. Flatseal config
  965. All applications/Files system/Other files
  966. xdg-config/gtk-4.0
  967. ~/.local/share/themes/
  968. ~/.local/share/icons/
  969. export XCURSOR_THEME=Graphite-dark-cursors
  970. flatpak override --user --env=XCURSOR_PATH=~/.local/share/icons/
  971. alacritty -e zsh
  972.  
  973. __________________________________________________
  974. sddm‑greeter ‑‑test‑mode ‑‑theme /usr/share/sddm/themes/sugar‑candy
  975. sudo cp /usr/lib/sddm/sddm.conf.d/default.conf /etc/sddm.conf
  976. /usr/share/sddm/themes/sddm-astronaut-theme
  977. /etc/sddm.conf
  978. [Theme]
  979. Current=sddm-astronaut-theme
  980. CursorSize=24
  981.  
  982. wlogout layout
  983. GDM
  984. loginctl terminate-user $USER
  985. SDDM
  986. loginctl kill-user $(whoami)
  987.  
  988.  
  989. GDM
  990. sudo systemctl disable gdm -f
  991. sudo systemctl enable lightdm -f
  992. sudo systemctl enable sddm.service -f
  993. __________________________________________________
  994.  
  995. /etc/modprobe.d/i915.conf
  996. options i915 enable_guc=2
  997.  
  998. sudo dmesg | grep -i guc
  999. sudo dmesg | grep i915
  1000. modinfo i915 | grep guc
  1001. __________________________________________________
  1002.  
  1003. obs
  1004. [pipewire] No captures available
  1005.  
  1006. export XDG_CURRENT_DESKTOP=Wayfire
  1007.  
  1008. echo $XDG_CURRENT_DESKTOP
  1009. Wayfire
  1010.  
  1011. env | grep '^WAYLAND_DISPLAY='
  1012. WAYLAND_DISPLAY=wayland-1
  1013. __________________________________________________
  1014.  
  1015. sudo modprobe vboxdrv
  1016. sudo usermod -aG vboxusers bluebyt
  1017.  
  1018. export XCURSOR_THEME=Graphite-dark-cursors
  1019. unset XCURSOR_THEME=Graphite-dark-cursors
  1020.  
  1021. org.gnome.Prompt.Devel
  1022. Failed to read portal settings
  1023. /usr/share/xdg-desktop-portal/portals/gtk.portal
  1024. UseIn=gnome;wayfire
  1025. __________________________________________________
  1026.  
  1027. flatpak info --show-location
  1028. /home/bluebyt/.local/share/flatpak/app/
  1029. /var/lib/flatpak/app/
  1030.  
  1031. du -hsc ~/.var/app/*
  1032. du -hsc /var/lib/flatpak/*
  1033.  
  1034. flatpak info --user --show-permissions
  1035.  
  1036.  
  1037. YouTube thumbnail size in pixels is 1280 × 720
  1038. gsettings set org.gnome.Epiphany.web:/ hardware-acceleration-policy 'always'
  1039.  
  1040.  
  1041. --------------------------------------------------------
  1042. lsblk      
  1043. NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
  1044. nvme0n1     259:0    0 931.5G  0 disk
  1045. ├─nvme0n1p1 259:1    0   512M  0 part /boot
  1046. └─nvme0n1p2 259:2    0   931G  0 part /mnt/xfce
  1047.  
  1048. nvme1n1     259:3    0 931.5G  0 disk
  1049. ├─nvme1n1p1 259:4    0   512M  0 part /boot
  1050. ├─nvme1n1p2 259:5    0   200G  0 part /
  1051. └─nvme1n1p3 259:6    0   731G  0 part /mnt/media
  1052. ____________________________
  1053. Install Archlinux
  1054.  
  1055. setfont ter-132n
  1056. efivar --list
  1057. lsblk
  1058. ping google.com
  1059. timedatectl set-ntp true
  1060. WDC WDS100T2B0C-00PXH0 = nvme0n1
  1061. Samsung SSD 970 EVO 1TB = nvme1n1
  1062.  
  1063. mkfs.ext4 /dev/nvme1n1p2
  1064. mkfs.fat -F32 dev/nvme1n1p1
  1065. mount /dev/nvme1n1p2 /mnt
  1066. mkdir -p /mnt/boot
  1067. mount /dev/nvme1n1p1 /mnt/boot
  1068. pacstrap /mnt base base-devel linux linux-firmare nano
  1069. genfstab -U /mnt >> /mnt/etc/fstab
  1070. nano /mnt/etc/fstab
  1071. arch-chroot /mnt
  1072. ln -sf /usr/share/zoneinfo/America/Montreal /etc/localtime
  1073. hwclock --systohc
  1074. nano /etc/locale.gen
  1075. uncomment en_US.UTF-8 UTF-8
  1076. locale-gen
  1077. echo LANG=en_US.UTF-8 >> /etc/locale.conf
  1078. echo KEYMAP=us >> /etc/vconsole.conf
  1079. echo "gnome1" >> /etc/hostname
  1080. nano /etc/hosts
  1081. 127.0.0.1   localhost
  1082. ::1     localhost
  1083. 127.0.1.1   gnome1.localdomain  gnome1
  1084.  
  1085. passwd
  1086. pacman -S efibootmgr networkmanager base-devel pacman-contrib sudo wget curl dialog mtools dosfstools linux-headers intel-ucode
  1087.  
  1088. bootctl --path=/boot install
  1089. cd /boot/loader
  1090. nano loader.conf
  1091. default arch-*
  1092. timeout 3
  1093.  
  1094. cd entries
  1095. nano arch.conf
  1096. title Gnome
  1097. linux /vmlinuz-linux
  1098. initrd /intel-ucode.img
  1099. initrd /initramfs-linux.img
  1100. options root=/dev/nvme1n1p2 rw
  1101. or
  1102. options root=UUID=xxxxxxxxxxxxxxxxxxx rw
  1103.  
  1104. blkid -s UUID -o value /dev/nvme1n1p2 >> /boot/loader/entries/arch.conf
  1105. systemctl enable NetworkManager
  1106. useradd -mG wheel bluebyt
  1107. passwd bluebyt
  1108. EDITOR=nano visudo
  1109. %wheel ALL=(ALL:ALL) ALL
  1110. exit
  1111. umount -a
  1112. reboot
  1113. sudo pacman -S xorg-server libva-utils libva-intel-driver mesa gdm gnome gnome-extra
  1114. sudo systemctl enable gdm
  1115. sudo systemctl enable systemd-boot-update.service
  1116.  
  1117. sudo pacman -S git curl wget meson fish grim slurp polkit-gnome mako
  1118. Install rust and go
  1119. curl https://sh.rustup.rs -sSf | sh
  1120.  
  1121. yay ulauncher cava wlogout swayosd-git mpdris2 brave-browser-beta
  1122.  
  1123. Cargo rust
  1124. swww
  1125. Ironbar
  1126. swww init && swww img ~/wallpapers/1.jpeg
  1127.  
  1128. Fonts
  1129. ttf-cascadia-code-nerd
  1130. ttf-meslo-nerd
  1131. ttf-nerd-fonts-symbols
  1132. ttf-roboto-mono-nerd
  1133. Fallback font order archlinux
  1134. install `ttf-nerd-fonts-symbols` and use it as a fallback
  1135.  
  1136. Set default fish shell
  1137. chsh -s /usr/bin/fish
  1138. -----------------------------------
  1139. mkfs.ext4 /dev/nvme1n1p2
  1140. mount /dev/nvme1n1p2 /mnt
  1141. mount /dev/nvme1n1p1 /mnt/boot
  1142. --------------
  1143. Not need
  1144. pacman -Syy
  1145. pacman -S archlinux-keyring
  1146. pacman -Sy archinstall
  1147. ---------------------
  1148.  
  1149. ---------------------------------------------
  1150. Prompt a new terminal for Gnome by developer Christian Hergert
  1151. Features: Customizing the color themes, fancy animation, Built-In Profile and mores ...
  1152. https://blogs.gnome.org/chergert/2023/12/14/prompt/
  1153. Workflow
  1154. https://youtu.be/e9MxDKri1z0
  1155. ------------------------------------------------
  1156.  
  1157. /opt/wayfire/share/wayfire/metadata/expo.xml
  1158. <default>&lt;super&gt; KEY_E</default>
  1159. <default>&lt;super&gt;</default>
  1160. ----------------------------------
  1161. /usr/share/backgrounds/gnome/
  1162. Gnome extension
  1163. Auto move Windows
  1164. Compiz windows effect
  1165. Burn my windows
  1166.  
  1167. ----------------------------------------------
  1168. Autostart multiple instances on different workspaces
  1169. exec --no-startup-id sh -c 'sleep 1; i3-msg "workspace 10: <icon>"'
  1170. exec --no-startup-id "sh -c 'sleep 2; exec gnome-terminal --working-directory=/media/Data/Music -e ranger'"
  1171. exec --no-startup-id sh -c 'sleep 3; i3-msg "splitv"'
  1172. exec --no-startup-id sh -c 'sleep 4; exec gnome-terminal -e cava'
  1173. exec --no-startup-id sh -c 'sleep 5; i3-msg "focus up"; i3-msg "splith"'
  1174. exec --no-startup-id sh -c 'sleep 6; i3-msg "workspace 3: <icon>"'
  1175.  
  1176. _____________________________________________________
  1177. 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
  1178.  
  1179. Before in wayfire.ini
  1180. [autostart]
  1181. 0_0 = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
  1182. portal = sleep 1 && (XDG_SESSION_TYPE=wayland XDG_CURRENT_DESKTOP=sway /usr/lib/xdg-desktop-portal --replace & /usr/lib/xdg-desktop-portal-wlr)
  1183.  
  1184. ----------------------------------
  1185. < "/proc/$(pidof xdg-desktop-portal)/environ" tr '\0' '\n' | grep '^XDG_CURRENT_DESKTOP='
  1186.  
  1187. [autostart]
  1188. 00_autostart1 = systemctl --user set-environment XCURSOR_THEME=Hydrogen
  1189. _________________________________________
  1190.  
  1191.  - --env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons # This is used to show the correct cursor on Wayland
  1192.  
  1193.  
  1194.  libva-intel-driver vs intel-media-driver
  1195.  
  1196.  
  1197.  
  1198.  /home/bluebyt/.local/share/flatpak/runtime/org.gnome.Platform/x86_64/master/9334bdf3f3b16e7fcd95606435a260b02a916ec2f2953e28349194735d0df0ce/files/share/icons/Adwaita/cursors
  1199.  
  1200.  sudo flatpak update --commit=fb1dd3a4e4904ad0b5e6c21965b0f5c8f81586988fd96f4da0977d17411dfdec org.kde.kdenlive
  1201.  
  1202.  Ironbar
  1203.  crackling sound
  1204.  Focus window
  1205.  script temp exterieur
  1206.  
  1207.  
  1208. ___________________________________________
  1209. plugins/ipc/ipc-helpers.hpp
  1210. plugins/single_plugins/ipc-rules.cpp
  1211. plugins/single_plugins/wsets.cpp
  1212.  
  1213. _________________________________________
  1214. sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED
  1215. pip install wayfire
  1216. Defaulting to user installation because normal site-packages is not writeable
  1217. Collecting wayfire
  1218.   Downloading wayfire-0.1.0-py3-none-any.whl.metadata (604 bytes)
  1219. Downloading wayfire-0.1.0-py3-none-any.whl (7.8 kB)
  1220. Installing collected packages: wayfire
  1221. Successfully installed wayfire-0.1.0
  1222.  
  1223. -------------------------------------
  1224. link
  1225. https://github.com/Alexays/Waybar/issues/1507
  1226. https://github.com/killown/waypy
  1227. https://github.com/WayfireWM/wayfire/pull/2156
  1228. https://secure.matrox.com/dana-na/auth/url_rsLVr1iNn9Yr5io7/welcome.cgi
  1229. https://www.prepaidcardstatus.com/
  1230.  
  1231. Note: For ttf-nerd-fonts-symbols-mono, use the "Symbols Nerd Font Mono" family
  1232. in your font config.
  1233.  
  1234. Symlink /usr/share/fontconfig/conf.avail/10-nerd-font-symbols.conf to
  1235. /etc/fonts/conf.d/, or see `man 5 fonts-conf` for other options.
  1236.  
  1237. __________________________________
  1238. plugins/ipc/ipc-helpers.hpp
  1239. plugins/single_plugins/ipc-rules.cpp
  1240. plugins/single_plugins/wsets.cpp
  1241.  
  1242. Questions?
  1243. How do I make hyprland autostart one program twice on different workspaces
  1244.  
  1245. #!/bin/bash
  1246. nautilus --new-window /home/bluebyt/ &
  1247. nautilus --new-window /home/bluebyt/Videos &
  1248. nautilus --new-window /mnt/media &
  1249.  
  1250. ----------------------------------------
  1251.  
  1252. https://secure.matrox.com/dana-na/auth/url_rsLVr1iNn9Yr5io7/welcome.cgi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement