Advertisement
bluebyt

Wayfirereadme.ini

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