Comments (18)
Are you using the start_wayfire script that is installed with wf-install? I'm not sure if it would make a difference but if you're not using it, you might try it because it sets up the environment properly.
from wf-install.
Yes, the one that gets installed to /opt/wayfire/bin/startwayfire.
from wf-install.
Did you install your own gtk or have multiple gtk installations?
from wf-install.
@four-griffins I find it strange that swaybg and oguri worked under Sway, but not under Wayfire. Could you try wf-background under sway?
from wf-install.
I have both gtk2 and gtk3 installed (which I both need) and I use a custom theme made with oomox. When I change it
to Adwaita in .config/gtk-3.0/settings/ini
it changes the background color generated by wf-background from dark grey to white.
Could you try wf-background under sway?
that gives me an error:
/opt/wayfire/bin/wf-background: error while loading shared libraries: libwf-config.so.0: cannot open shared object
from wf-install.
that gives me an error:
Oh yes you'd need to also set the env vars, LD_LIBRARY_PATH=/opt/wayfire/lib
or lib64
depending on what your distro uses.
from wf-install.
Now it works on Sway. I also fixed the invalid option value
error by changing yes
to true
on that line.
from wf-install.
So this looks like because of different environment variables, wf-background is picking up a wrong version of gdk-pixbuf or something. I'd suggest comparing all environment variables in Sway and Wayfire to find the differences.
from wf-install.
The main difference seems to be SHLVL=2 in sway and SHLVL=3 in Wayfire, and also XCURSOR_SIZE
is set in sway. Fiddling around with these doesn't seem to make a difference (although I noticed that the mouse pointer is only too large if I hover over the background). There are also a few compositor-specific things like SWAYSOCK, I3SOCK, XDG_DATA_DIRS, LD_LIBRARY_PATH
and a different WINDOWID
.
from wf-install.
LD_LIBRARY_PATH is probably of the most interest.
from wf-install.
It's currently set to /opt/wayfire/lib
(and of course doesn't exist in Sway).
from wf-install.
If you run wayfire in sway, do things work?
from wf-install.
No, I get a white window with the aspect ratio of my screen and the window title wlroots - WL-1
. I can't use any keybinds either.
from wf-install.
After a lot of head-against-desk-smashing I found the problem: when XDG_DATA_DIRS
is set to /opt/wayfire/bin:
it causes gdk-pixbuf2 to mess up for some reason.
Is that variable required for Wayfire to run, and if not, how do I disable it from being set?
from wf-install.
Are you sure it's not /opt/wayfire/share
as it is here?
Anyway, just edit /opt/wayfire/bin/startwayfire and comment out the line that exports XDG_DATA_DIRS.
from wf-install.
Ah, I see the problem here: "If $XDG_DATA_DIRS is either not set or empty, a value equal to /usr/local/share/:/usr/share/ should be used." (from the specification). So this is an issue in wf-install, we just need to add those two directories in case data_dirs is not set at all ...
from wf-install.
Yes, I meant to say /usr/local/share
, my bad. Thanks for the help!
from wf-install.
Also thanks for pointing this out :)
from wf-install.
Related Issues (20)
- Error on running install.sh HOT 8
- Subprojects gvc is buildable: NO HOT 3
- wf-config is failing to build with stream 0.4.0 HOT 1
- Error with install.sh --stream 0.5.0
- List of dependencies? HOT 5
- Install script doesn't work with 0.6.0 HOT 6
- Problem with config files HOT 5
- startwayfire should source .profile
- MESON error on Pop!_OS! HOT 8
- Probably not a Problem just user error HOT 5
- sed error unterminated `s' command HOT 1
- ERROR: Neither a subproject directory nor a seatd.wrap file was found. HOT 3
- wlroots| Dependency wayland-server found: NO found 1.18.0 but need: '>=1.20' (cached) HOT 1
- Script builds great! But Xwayland not working when invoked with /opt/wayfire/bin/startwayfire HOT 21
- Minimal install wayland/wayfire on alpine 3.16.2 HOT 1
- How to Install on Ubuntu Jammy? HOT 1
- Dependencies different? HOT 2
- Binaries not added to PATH. HOT 3
- uninstall / cleanup script? 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 wf-install.