View previous topic :: View next topic |
Author |
Message |
NameNotQuality n00b
Joined: 27 Apr 2024 Posts: 17
|
Posted: Thu May 02, 2024 2:01 pm Post subject: Can't change sway wallpaper, even with swaybg (systemd) |
|
|
In my new gentoo system, I've copied the config files from my previous system for sway, installed the components I had earlier (like the notification daemon or swaybg), and finally launched sway, but contrary to the wallpaper, the background was just gray. After exiting, the error appeared:
Code: | 00:00:00.082 [common/ipc-client.c:87] Unable to receive IPC response: /home/nnq/.config/sway/Wallpapers/tgrimbert_santorini.jpgormat for file ⬛/home/nnq/.config/sway/Wallpapers/tgrimbert_santorini.jpg⬛.s |
My user is nnq, the wallpaper I wanna set is at /home/nnq/.config/sway/Wallpapers/tgrimbert_santorini.jpg
And the ⬛ character is an emoji for a square icon that appeared in its place on the screen. On my phone it looks like a black square.
This happens when launching sway both from typing 'sway' and 'dbus-run-session sway' (probably because dbus is already set up).
I also remember seeing longer logs (which happens probably when I boot the system and then launch sway), which had errors about swaybg complaining that it doesn't recognize the image's format, even though I've compiled it with the USE flag gdk-pixbuf on and on the previous system (arch) the image worked.
Also, those longer logs included the line I shared on top about IPC.
Note: I'm on da phone so don't find misspellings and photos for longer logs (if I need to provide more info) being out of the ordinary.
Edit note: Don't act like I already solved this issue because it has been more than... 10 DAYS? If I will find a solution myself, I'll post it here for others. |
|
Back to top |
|
|
NameNotQuality n00b
Joined: 27 Apr 2024 Posts: 17
|
Posted: Fri May 24, 2024 5:08 pm Post subject: |
|
|
Alright, for some reason I didn't try this ealier, but better late than never.
I tried a png image instead of a jpg, and it worked!
But why didn't a jpg work, I'm still confused.
Edit: Tip: You can use the convert command if you have ImageMagick installed to convert your previous file to png. What I've done:
Code: | convert tgrimbert_santorini.jpg tgrimbert_santorini.png |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|