Closed tlg-tg closed 1 month ago
You're missing packages; see the error output. For example, you don't have starship
or fastfetch
.
Ok but another problem is that the display has no wallpaper or bar or widgets
I remember having that issue but I don't exactly remember how I solved it. The hyprland configuration may have errors and you may be still missing things. Do you have bun? It might also help you find errors if you check the output when you run Hyprland in the terminal emulator or check its logs.
did u follow the installation guide perhaps? see here
if u followed the installation and got errors let me know am happy to help
I did follow the steps and it did not work
Here is the output after runnung the script
Here is how it looks after reboot
Ok so the script does not install almost any of the packages and ags just does not want to get installed there is also a missing dir .cache/wal/sequences
``(com.github.Aylur.ags:9974): Gjs-CRITICAL *: 21:19:07.498: JS ERROR: TypeError: section.get_file() is null applyCss/<@resource:///com/github/Aylur/ags/app.js:73:34 applyCss@resource:///com/github/Aylur/ags/app.js:81:29 refreshCss@file:///tmp/ags/main.js:1844:7 @file:///tmp/ags/main.js:1884:1 async_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:263:34
(com.github.Aylur.ags:9974): Gjs-Console-CRITICAL *: 21:19:07.499: Gtk.CssProviderError: :1:0Expected a valid selector applyCss@resource:///com/github/Aylur/ags/app.js:81:29 refreshCss@file:///tmp/ags/main.js:1844:7 @file:///tmp/ags/main.js:1884:1 `async_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:263:34`
this is the error thrown by ags
got it working kind but still no wallpaper works for some reason could be that there is not a wallpaper setter program installed. Which one is supposed to be installed?
Ok so the script does not install almost any of the packages and ags just does not want to get installed there is also a missing dir .cache/wal/sequences
these sequences get generated each time the wallpaper changes when switching workspaces, make sure that hyprpaper and its scripts are working if not let me know
got it working kind but still no wallpaper works for some reason could be that there is not a wallpaper setter program installed. Which one is supposed to be installed?
its hyprpaper
to test it:
run hyprpaper in terminal
then in a new terminal run : $HOME/.config/hypr/hyprpaper/load.sh
Ok so it worked after I copied the wallpapers dir to /home/myuser but the ags wallpaper selector does not work
Ok so it worked after I copied the wallpapers dir to /home/myuser but the ags wallpaper selector does not work
the latest version of the dotfiles stores wallpapers in /home/myuser/.config/wallpapers so u are following an old version,
I've made a one line command u could just paste in ur terminal:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/AymanLyesri/hyprland-conf/refs/heads/master/.config/hypr/maintenance/INSTALL.sh)"
this will install everything, its been tested in a virtual machine so its guaranteed to work
ok I used the command one problem that is still is that the wallpaper selector in ags is not working I select any wallpaper and then nothing happens
screenshots please, the more the better, oh btw u need a reboot after finishing the install using the one liner
screenshot command : SUPER + SHIFT + s
yes I did reboot
When u click on one of the wallpapers a revealer should display at the bottom like so:
yes that it does and after I click on the lower image nothing happens
Click on the reset button
then do : SUPER + b
to restart ags
did that and nothing changes
in a new terminal do :
killall hyprpaper; hyprpaper
then click the reset button in wallpaper selector
if it dosent work, show me the output of
cat $HOME/.config/hypr/hyprpaper/config/defaults.conf
│ File: /home/tlg/.config/hypr/hyprpaper/config/defaults.conf
───────┼──────────────────────────────────────────────────────────────────────────────────────────────── 1 ~ │ w-1=$HOME/.config/wallpapers/normal/ayanami_rei_neon_genesis_evangelion_and_2_more_drawn_by_s │ wkl_d733a176b4dbed9c6f859924dfebb73f2.jpg 2 ~ │ w-2=$HOME/.config/wallpapers/normal/ayanami_rei_neon_genesis_evangelion_and_2_more_drawn_by_s │ wkl_d733a176b4dbed9c6f859924dfebb73f2.jpg 3 ~ │ w-3=$HOME/.config/wallpapers/normal/airi_kanna_stellive_drawn_by_cicei8207191a8e0c0d6d32016 │ 8a23bba15da.png 4 ~ │ w-4=$HOME/.config/wallpapers/normal/hoshimachi_suisei_hololive_drawn_by_fuann9238bd873fcf2d │ bfb59133fb4dae6cd4.jpg 5 ~ │ w-5=$HOME/.config/wallpapers/normal/herta_honkai_and_1_more_drawn_by_apple_caramel3ed780454 │ ec4e598c89e2b9920bc5c1c.jpg 6 ~ │ w-6=$HOME/.config/wallpapers/normal/kazusa_blue_archive_drawn_by_uaxa233482e1237f9fc8f67adc │ e6dc48061d54ad.jpg 7 ~ │ w-7=$HOME/.config/wallpapers/normal/kisaki_blue_archive_drawn_by_aoi_sakura_seak5545f6c90df │ 1f7da64b7591db4b59edd0657.jpg 8 ~ │ w-8=$HOME/.config/wallpapers/normal/kita_ikuyo_bocchi_the_rock_drawn_by_bafangyud72eb163096 │ c2eb4a544d362ed6603d8.jpg 9 ~ │ w-9=$HOME/.config/wallpapers/normal/shyrei_faolan_pepe_the_frog_vedal987_filian_and_rick_astl │ ey_indie_virtual_youtuber_drawn_by_haedgie19ca44fa28b99f7fcc265fa76a7840b5.jpg 10 ~ │ w-10=$HOME/.config/wallpapers/normal/lumine_genshin_impact_drawn_by_heitian_keji1f3aebacc1e │ f15d910b1c0b3619d9b22.jpg
could it be an issue with set-wallpaper.sh? Here is the file `
hyprDir=$HOME/.config/hypr # hypr directory current_config=$hyprDir/hyprpaper/config/defaults.conf # config file previous_config=$hyprDir/hyprpaper/config/previous.conf # previous config file current_workspace=$(hyprctl monitors | grep active | awk '{print $3}') # get current workspace
new_wallpaper=""
#############################################
if [ -z "$1" ]; then
echo "Usage: set-wallpaper.sh
if [ -z "$2" ]; then echo "Setting random wallpaper for workspace $workspace_id" new_wallpaper=$(find $HOME/wallpapers/normal -type f | shuf -n 1 | sed "s|$HOME|\\$HOME|") # get random wallpaper else echo "Setting wallpaper $2 for workspace $workspace_id" new_wallpaper=$(echo $2 | sed "s|$HOME|\\$HOME|") # get wallpaper fi
#############################################
old_wallpaper=$(grep "w-${workspace_id}" $current_config | cut -d'=' -f2)
if [ "$old_wallpaper" = "$new_wallpaper" ]; then echo "Wallpaper is already set to $new_wallpaper" exit 0 fi
hyprctl hyprpaper preload "$new_wallpaper" # preload wallpaper
hyprctl hyprpaper unload "$old_wallpaper" # unload old wallpaper
#############################################
if [ "$workspace_id" = "$current_workspace" ]; then $hyprDir/hyprpaper/w.sh "$new_wallpaper" & # set wallpaper fi
#############################################
sed -i "s|w-${workspace_id}=.*|w-${workspace_id}=${old_wallpaper}|" $previous_config # set wallpaper in previous config
sed -i "s|w-${workspace_id}=.*|w-${workspace_id}=${new_wallpaper}|" $current_config # set wallpaper in config
`
hmmm, i see u have different wallpapers, how did u changed them, is it from the wallpaper selector or from the config files
from the wallpaper selector
so it worked before pheeww, good, now do in a new terminal
git restore .
git fetch --all
git reset --hard origin/master
reboot
Now it does not display any wallpaper
so the wallpaper switcher still is not working
but when I run ./set-wallpaper.sh manualy trough cli it does work
i fixed a bug when switching to the same wallpaper twice, i don't know if that was the problem for u
do a git pull
and let me know
ok did git pull still the same interesting could it be in set-wallpaper.sh problem?
ok so now I rebooted and logged in and there is no wallpaper at all also tried to use wallpaper select and does nothing do I have to chose a specific number from the wallpapers?
Idk, it works for both my laptop, desktop and virtual machine, we need somebody else to confirm if this is a problem with the script or with ur config/machine
I do see that in set-wallpaper.sh on line 22 $(find $HOME/wallpapers/normal instead of /.config/wallpapers could it be that?
Oh, I missed it, I've made a hotfix.
git pull
as always
But don't get ur hopes up it only affects random wallpaper generation, which is not ur case with the wallpaper selector
yeah I know just trying to help and maybe figure out the problem
I see that every time I reboot and log in there is no wallpaper until I run ./set-wallpaper.sh very interesting
Hmmm maybe the problem is in the boot up scripts, I'll check it out tomorrow and let u know BTW I really appreciate ur feedback it means a lot
Yeah no problem I love the work and trying to work on a fix too and improvements
Also thanks for all the help
this is the script that get executed at boot-up after hyprpaper
$HOME/.config/hypr/hyprpaper/load.sh
run it and see if there are any errors
ok I just ran the script and everything shows ok
oh and the new get-waifyu.py is not working as much as I tried
Right now I am trying to install the rice onto my laptop to see if it works correctly trough the one line script will let you know
so the one line script is not working for some reason like curl says there is error 404
ok got it to work was a problem on my side
ok after reboot the script does still not install any of the packages
There is nothing except blank on display in terminal there are errors