Comments (5)
An older build of sway 1.1-rc1 on another Arch machine with the same version of gdk-pixbuf2 installed does not have this issue so it appears to be a recent regression.
from swaybg.
This appears to be fixed now. Rebuilding wlroots, sway, and swaybg from source resolved the issue. Possibly an Arch packaging issue with dependencies given that it appeared on one Arch machine and not another.
from swaybg.
2020-10-28 17:16:32 - [swaybg-1.0/background-image.c:30] Failed to load background image (Couldn’t recognize the image file format for file “.config/awesome/mountains_wallpaper.jpg”).
2020-10-28 17:16:32 - [swaybg-1.0/main.c:438] Failed to load image: .config/awesome/mountains_wallpaper.jpg
2020-10-28 17:16:32 -
I get that error for *.jpg
from swaybg.
@uninhm Were you able to find a solution? Getting the same issue using swaylock with --image /path/to/some.svg
(sway/swaylock 1.5 and swaybg 1.0).
The strange thing is that manually locking via a bindsym
key works fine, and the image is shown, but when swaylock is triggered via a swayidle event, the error occurs and the image is not shown.
My swayidle command:
exec swayidle -w \
timeout 300 'swaylock -f' \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
timeout 1200 'systemctl hibernate' \
before-sleep 'swaylock -f' \
resume-sleep 'swaymsg "output * dpms on"'
from swaybg.
See https://bbs.archlinux.org/viewtopic.php?pid=1940215#p1940215
pacman -Qkk | grep mime
- There were some
/usr/share/mime Permissions mismatch
errors. sudo chmod -R uga+x /usr/share/mime
pacman -Qkk | grep mime
- /usr/share/mime permission mismatch errors no longer there
- In terminal: pkill -fe sway
- In terminal: sway
- Background now shows up
This also fixed a problem with wofi --show run
for me. I'll paste the error below for search engines:
broken wofi --show run
[artur@t430 ~]$ wofi --show run(wofi:28741): Gtk-WARNING **: 18:16:24.976: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Aborted (core dumped)
from swaybg.
Related Issues (20)
- Feature request: produce high bit depth buffers
- High CPU usage with Wayfire HOT 4
- swaybg command doesn't work until killed HOT 5
- High CPU usage with wlroots 0.15 HOT 6
- `swaybg` CPU spikes once a notification is shown HOT 2
- Swaybg doesn't recognize the output name as given by swaymsg HOT 2
- difference between swaybg and swaymsg HOT 1
- swaybg crashes when connecting/disconnecting external monitor HOT 2
- Cursor does not match set cursor theme HOT 2
- gdk-pixbuf fails to recognize image files when $XDG_DATA_DIR is set HOT 2
- Nearest neighbor scaling filter HOT 1
- Add option for swaybg HOT 2
- Render SVG files at output resolution HOT 1
- Support reloading image via SIGUSR? HOT 1
- Some pictures flipped 180 only with swaybg HOT 4
- Feature request: HDR/color managed output
- Swaybg crashes with swaylock HOT 8
- .svg are poorly rendered HOT 3
- Swaybg opens new process instead of using existing process HOT 1
- Request video file support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swaybg.