Coder Social home page Coder Social logo

wf-install's People

Contributors

ammen99 avatar edent avatar ericonr avatar octopus1348 avatar randompersondude avatar sir-photch avatar soreau avatar suzannesoy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wf-install's Issues

sed error unterminated `s' command

Full Log
The forward slash at line 159, character 54, in the install script, is causing the issue. I tried putting a backslash to escape it, but that didn't seem to work (I didn't think it would).

wf-config is failing to build with stream 0.4.0

Hi, I think Wayfire's 0.4.0 branch is pointing to old wf-config who's src/section.cpp don't include and thats why I am getting these errors while installing wayfire.


../subprojects/wf-config/src/section.cpp: In member function 'std::shared_ptr<wf::config::option_base_t> wf::config::section_t::get_option(const string&)':
../subprojects/wf-config/src/section.cpp:38:20: error: 'invalid_argument' is not a member of 'std'
   38 |         throw std::invalid_argument("Non-existing option " + name
      |                    ^~~~~~~~~~~~~~~~
../subprojects/wf-config/src/section.cpp: In member function 'void wf::config::section_t::register_new_option(std::shared_ptr<wf::config::option_base_t>)':
../subprojects/wf-config/src/section.cpp:60:20: error: 'invalid_argument' is not a member of 'std'
   60 |         throw std::invalid_argument(
      |                    ^~~~~~~~~~~~~~~~

here is full output:-

❯ ./install.sh --prefix /opt/debug_wayfire --system-wlroots --stream 0.4.0
Building Wayfire 0.4.0
Installation prefix: /opt/debug_wayfire
HEAD is now at 1c19515 update meson.build version to 0.4.0
HEAD is now at d865383 background: do not use deprecated std::random_shuffle
Directory already configured.

Just run your build command (e.g. ninja) and Meson will regenerate as necessary.
If ninja fails, run "ninja reconfigure" or "meson --reconfigure"
to force Meson to regenerate.

If build failures persist, run "meson setup --wipe" to rebuild from scratch
using the same options as passed when configuring the build.
To change option values, run "meson configure" instead.
ninja: Entering directory `build'
[12/139] Compiling C++ object 'subprojects/wf-config/c6feab7@@wf-config@sha/src_section.cpp.o'
FAILED: subprojects/wf-config/c6feab7@@wf-config@sha/src_section.cpp.o 
c++ -Isubprojects/wf-config/c6feab7@@wf-config@sha -Isubprojects/wf-config -I../subprojects/wf-config -Isubprojects/wf-config/include -I../subprojects/wf-config/include -I/usr/include/libevdev-1.0/ -I/usr/include/libxml2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++17 -g -Wno-deprecated-declarations -fsanitize=address -g -fPIC -MD -MQ 'subprojects/wf-config/c6feab7@@wf-config@sha/src_section.cpp.o' -MF 'subprojects/wf-config/c6feab7@@wf-config@sha/src_section.cpp.o.d' -o 'subprojects/wf-config/c6feab7@@wf-config@sha/src_section.cpp.o' -c ../subprojects/wf-config/src/section.cpp
../subprojects/wf-config/src/section.cpp: In member function 'std::shared_ptr<wf::config::option_base_t> wf::config::section_t::get_option(const string&)':
../subprojects/wf-config/src/section.cpp:38:20: error: 'invalid_argument' is not a member of 'std'
   38 |         throw std::invalid_argument("Non-existing option " + name
      |                    ^~~~~~~~~~~~~~~~
../subprojects/wf-config/src/section.cpp: In member function 'void wf::config::section_t::register_new_option(std::shared_ptr<wf::config::option_base_t>)':
../subprojects/wf-config/src/section.cpp:60:20: error: 'invalid_argument' is not a member of 'std'
   60 |         throw std::invalid_argument(
      |                    ^~~~~~~~~~~~~~~~
[21/139] Compiling C++ object 'plugins/single_plugins/65acb7e@@move@sha/move.cpp.o'
ninja: build stopped: subcommand failed.

If i add manully add #include <stdexcept>to the wayfire/subprojects/wf-config/src/section.cpp, then it works

Dependencies different?

In the install readme, there is two dependencies sections and they're different. The last three or four items are different. Which one is real??

Dependencies

The following is a list of dependencies needed on Ubuntu, similar lists are required on other distributions. The last one is only needed if you want to install WCM.

sudo apt install git meson python3-pip pkg-config libwayland-dev autoconf libtool libffi-dev libxml2-dev libegl1-mesa-dev libgles2-mesa-dev libgbm-dev libinput-dev libxkbcommon-dev libpixman-1-dev xutils-dev xcb-proto python3-xcbgen libcairo2-dev libglm-dev libjpeg-dev libgtkmm-3.0-dev xwayland libdrm-dev libgirepository1.0-dev libsystemd-dev policykit-1 libx11-xcb-dev libxcb-xinput-dev libxcb-composite0-dev xwayland libasound2-dev libpulse-dev libseat-dev valac libdbusmenu-gtk3-dev libxkbregistry-dev
install.sh

The general usage is:

git clone https://github.com/WayfireWM/wf-install
cd wf-install

./install.sh --prefix /opt/wayfire --stream 0.8.x

The last script will download all necessary components and install them to the given prefix. If you want to build the latest versions, use --stream master. For Wayfire and wf-shell, default configuration files will also be installed to $XDG_CONFIG_HOME/wayfire.ini or ~/.config/wayfire.ini

The script also has a few other options, which you can see by calling ./install.sh --help
Dependencies

The following is a list of dependencies needed on Ubuntu, similar lists are required on other distributions.

sudo apt install git meson python3-pip pkg-config libwayland-dev autoconf libtool libffi-dev libxml2-dev libegl1-mesa-dev libgles2-mesa-dev libgbm-dev libinput-dev libxkbcommon-dev libpixman-1-dev xutils-dev xcb-proto python3-xcbgen libcairo2-dev libglm-dev libjpeg-dev libgtkmm-3.0-dev xwayland libdrm-dev libgirepository1.0-dev libsystemd-dev policykit-1 libx11-xcb-dev libxcb-xinput-dev libxcb-composite0-dev xwayland libasound2-dev libpulse-dev libdisplay-info-dev hwdata

Subprojects gvc is buildable: NO

|Run-time dependency alsa found: NO (tried pkgconfig and cmake)
|
|subprojects/gvc/meson.build:60:2 Exception: Dependency "alsa" not found, tried pkgconfig and cmake

Subprojects gvc is buildable: NO

meson.build:26:2 ERROR: Subproject "subprojects/gvc" disabled can't get_variable on it.

I am running it on debian( Elive ),
meson.build:60:2 is:
60 libgvc_deps += dependency('alsa')

what package should I install?
I have tried libalsaplayer-dev

Regards

Yep! I got it! It needed libalsa-ocaml-dev
Sorry

ERROR: Neither a subproject directory nor a seatd.wrap file was found.

Hi, Any Ides why it fail ?

./install.sh --prefix /opt/wayfire --stream 0.7.x
Building Wayfire 0.7.x
Installation prefix: /opt/wayfire
HEAD ist jetzt bei 61bcbec8 bump version to 0.7.3
HEAD ist jetzt bei fe91f18 bump version
The Meson build system
Version: 0.61.2
Source dir: /home/slider/Schreibtisch/wf-install/wayfire
Build dir: /home/slider/Schreibtisch/wf-install/wayfire/build
Build type: native build
Project name: wayfire
Project version: 0.7.3
C compiler for the host machine: cc (gcc 11.2.0 "cc (Ubuntu 11.2.0-19ubuntu1) 11.2.0")
C linker for the host machine: cc ld.bfd 2.38
C++ compiler for the host machine: c++ (gcc 11.2.0 "c++ (Ubuntu 11.2.0-19ubuntu1) 11.2.0")
C++ linker for the host machine: c++ ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency wayland-server found: YES 1.20.0
Run-time dependency wayland-client found: YES 1.20.0
Run-time dependency wayland-cursor found: YES 1.20.0
Run-time dependency wayland-protocols found: YES 1.25
Run-time dependency cairo found: YES 1.16.0
Run-time dependency pango found: YES 1.50.6
Run-time dependency pangocairo found: YES 1.50.6
Run-time dependency libdrm found: YES 2.4.110
Run-time dependency egl found: YES 1.5
Run-time dependency glesv2 found: YES 3.2
Run-time dependency glm found: YES 0.9.9.6
Run-time dependency libinput found: YES 1.20.0
Run-time dependency pixman-1 found: YES 0.40.0
Run-time dependency threads found: YES
Run-time dependency xkbcommon found: YES 1.4.0
Dependency wlroots skipped: feature use_system_wlroots disabled
Dependency wf-config skipped: feature use_system_wfconfig disabled

Executing subproject wlroots

wlroots| Project name: wlroots
wlroots| Project version: 0.15.0
wlroots| C compiler for the host machine: cc (gcc 11.2.0 "cc (Ubuntu 11.2.0-19ubuntu1) 11.2.0")
wlroots| C linker for the host machine: cc ld.bfd 2.38
wlroots| Compiler for C supports arguments -Wundef: YES
wlroots| Compiler for C supports arguments -Wlogical-op: YES
wlroots| Compiler for C supports arguments -Wmissing-include-dirs: YES
wlroots| Compiler for C supports arguments -Wold-style-definition: YES
wlroots| Compiler for C supports arguments -Wpointer-arith: YES
wlroots| Compiler for C supports arguments -Winit-self: YES
wlroots| Compiler for C supports arguments -Wstrict-prototypes: YES
wlroots| Compiler for C supports arguments -Wimplicit-fallthrough=2: YES
wlroots| Compiler for C supports arguments -Wendif-labels: YES
wlroots| Compiler for C supports arguments -Wstrict-aliasing=2: YES
wlroots| Compiler for C supports arguments -Woverflow: YES
wlroots| Compiler for C supports arguments -Wmissing-prototypes: YES
wlroots| Compiler for C supports arguments -Walloca: YES
wlroots| Compiler for C supports arguments -Wno-missing-braces: YES
wlroots| Compiler for C supports arguments -Wno-missing-field-initializers: YES
wlroots| Compiler for C supports arguments -Wno-unused-parameter: YES
wlroots| Compiler for C supports arguments -fmacro-prefix-map=/prefix/to/hide=: YES
wlroots| Dependency wayland-server found: YES 1.20.0 (cached)
wlroots| Dependency libdrm found: YES 2.4.110 (cached)
wlroots| Run-time dependency gbm found: YES 22.0.1
wlroots| Dependency xkbcommon found: YES 1.4.0 (cached)
wlroots| Run-time dependency libudev found: YES 249
wlroots| Dependency pixman-1 found: YES 0.40.0 (cached)
wlroots| Library m found: YES
wlroots| Library rt found: YES
wlroots| Dependency wayland-protocols found: YES 1.25 (cached)
wlroots| Found pkg-config: /usr/bin/pkg-config (0.29.2)
wlroots| Build-time dependency wayland-scanner found: YES 1.20.0
wlroots| Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
wlroots| Dependency egl found: YES 1.5 (cached)
wlroots| Dependency glesv2 found: YES 3.2 (cached)
wlroots| Run-time dependency vulkan found: NO (tried pkgconfig and system)
wlroots| Message: Required for vulkan renderer support.
wlroots| Message: Required for vulkan renderer support.
wlroots| Dependency pixman-1 found: YES 0.40.0 (cached)
wlroots| Checking for function "gbm_bo_get_fd_for_plane" with dependency gbm: YES
wlroots| Dependency libinput found: YES 1.20.0 (cached)
wlroots| Run-time dependency xcb found: YES 1.14
wlroots| Found CMake: /usr/bin/cmake (3.22.1)
wlroots| WARNING: CMake Toolchain: Failed to determine CMake compilers state
wlroots| Run-time dependency xcb-dri3 found: NO (tried pkgconfig and cmake)
wlroots| Message: Required for X11 backend support.
wlroots| Message: Required for X11 backend support.
wlroots| Dependency wayland-client found: YES 1.20.0 (cached)
wlroots| Run-time dependency libseat found: NO (tried pkgconfig and cmake)
wlroots| Looking for a fallback subproject for the dependency libseat

subprojects/wlroots/backend/session/meson.build:1:0: ERROR: Neither a subproject directory nor a seatd.wrap file was found.

A full log can be found at /home/slider/Schreibtisch/wf-install/wayfire/build/meson-logs/meson-log.txt

---------------------------------------END OF--LOG------------------------------------
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]:
Called /usr/bin/pkg-config --libs xcb -> 0
-L/usr/lib/x86_64-linux-gnu -lxcb
env[PKG_CONFIG_PATH]:
Called /usr/bin/pkg-config --libs xcb -> 0
-lxcb
Run-time dependency xcb found: YES 1.14
Pkg-config binary for 1 is cached.
Determining dependency 'xcb-dri3' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]:
Called /usr/bin/pkg-config --modversion xcb-dri3 -> 1

CMake binary for 1 is not cached
CMake binary missing from cross or native file, or env var undefined.
Trying a default CMake fallback at cmake
Found CMake: /usr/bin/cmake (3.22.1)
Extracting basic cmake information
CMake Toolchain: Calling CMake once to generate the compiler state
Calling CMake (['/usr/bin/cmake']) in /home/slider/Schreibtisch/wf-install/wayfire/build/meson-private/CMake_compiler_info with:

  • "--trace-expand"
  • "--trace-format=json-v1"
  • "--no-warn-unused-cli"
  • "--trace-redirect=cmake_trace.txt"
  • "-G"
  • "Ninja"
  • "-DCMAKE_TOOLCHAIN_FILE=/home/slider/Schreibtisch/wf-install/wayfire/build/meson-private/CMake_compiler_info/CMakeMesonTempToolchainFile.cmake"
  • "."
    WARNING: CMake Toolchain: Failed to determine CMake compilers state
    Try CMake generator: auto
    Calling CMake (['/usr/bin/cmake']) in /home/slider/Schreibtisch/wf-install/wayfire/build/meson-private/cmake_xcb-dri3 with:
  • "--trace-expand"
  • "--trace-format=json-v1"
  • "--no-warn-unused-cli"
  • "--trace-redirect=cmake_trace.txt"
  • "-DCMAKE_TOOLCHAIN_FILE=/home/slider/Schreibtisch/wf-install/wayfire/build/meson-private/cmake_xcb-dri3/CMakeMesonToolchainFile.cmake"
  • "."
    -- Module search paths: ['/', '/opt', '/usr', '/usr/local']
    -- CMake root: /usr/share/cmake-3.22
    -- CMake architectures: ['x86_64-linux-gnu']
    -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share', 'lib/x86_64-linux-gnu']
    Preliminary CMake check failed. Aborting.
    Run-time dependency xcb-dri3 found: NO (tried pkgconfig and cmake)
    Message: Required for X11 backend support.
    Message: Required for X11 backend support.
    Dependency wayland-client found: YES 1.20.0 (cached)
    Pkg-config binary for 1 is cached.
    Determining dependency 'libseat' with pkg-config executable '/usr/bin/pkg-config'
    env[PKG_CONFIG_PATH]:
    Called /usr/bin/pkg-config --modversion libseat -> 1

CMake binary for 1 is cached.
Preliminary CMake check failed. Aborting.
Run-time dependency libseat found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency libseat

Problem with config files

Leaving my old .ini files results in wcm memory dump. If I choose to create new ones, I'm ending in up something like this:

Do you want to override the existing config file /home/piotr/.config/wayfire.ini [y/n]? y
Do you want to override the existing config file /home/piotr/.config/wf-shell.ini [y/n]? y
Do you want to install wayfire-plugins-extra? [y/n]? y
Cloning into 'wayfire-plugins-extra'...
remote: Enumerating objects: 44, done.
remote: Counting objects: 100% (44/44), done.
remote: Compressing objects: 100% (36/36), done.
remote: Total 411 (delta 21), reused 16 (delta 8), pack-reused 367
Receiving objects: 100% (411/411), 155.90 KiB | 862.00 KiB/s, done.
Resolving deltas: 100% (237/237), done.
error: pathspec 'origin/0.6.0' did not match any file(s) known to git

List of dependencies?

When following the install instructions, I get the error: ./install.sh: line 114: meson: command not found

I assume I have to apt install meson?

Would it be possible to get a list of dependencies added to the README? Or to have the script check before running?

Error with install.sh --stream 0.5.0

Command:

./install.sh --prefix /opt/wayfire --stream 0.5.0

Error:

meson.build:20:0: ERROR: Invalid version of dependency, need 'wf-config' ['>=0.5.0'] found '0.4.0'.

And I got this in logs

Submodule 'subprojects/wf-config' (https://github.com/ammen99/wf-config) registered for path 'wf-config'
Cloning into '/home/arcashka/repos/wf-install/wayfire/subprojects/wf-config'...
Submodule path 'wf-config': checked out 'e3b78da135e648b62fb6a5b9ad1d1e7df4d9f5b5'

On this commit https://github.com/WayfireWM/wf-config/blob/e3b78da135e648b62fb6a5b9ad1d1e7df4d9f5b5/meson.build version is set to '0.4.0'

MESON error on Pop!_OS!

|Executing subproject wlroots method meson
|

subprojects/wlroots/meson.build:1:0: ERROR: Meson version is 0.55.3 but project requires >=0.56.0

install.sh assumes .config to exist

Tested on minimal system.

~/.config does not exist.

Script crashes with:
cp: cannot create regular file '/home/rsq/.config/wayfire.ini': No such file or directory

Enhancement: disable hw cursors in startwayfire if running nouveau

Until such time as the hardware cursors work, disable them in startwayfire script.

This to avoid issues being opened for missing cursor.

To check for nouveau, test if /sys/module/nouveau exists. Do not lsmod | grep nouveau because some systems, like mine will have nouveau built-in to the kernel, not as a module.

Minimal install wayland/wayfire on alpine 3.16.2

Hello,
As I had a lot of trouble finding the resources for an installation under alpine, I share my installation procedure.
I await your comments.

Have a good day,

#Juste after setup-alpine & reboot
sed -i -e "s/#http.*/v3.16/community$/http://eu.edge.kernel.org/alpine/v3.16/community/g" /etc/apk/repositories
apk update
apk add git meson py3-pip wayland-dev autoconf libtool libffi-dev libxml2-dev gegl-dev libinput-dev libxkbcommon-dev pixman-dev xcb-proto cairo-dev glm-dev jpeg-dev gtkmm3-dev xwayland libdrm-dev pulseaudio-dev libpciaccess-dev g++ eudev-dev libseat-dev libevdev-dev gobject-introspection-dev alsa-utils alsa-utils-doc alsa-lib alsaconf alsa-ucm-conf alsa-lib-dev vim dust ttf-dejavu mingetty mesa-dri-gallium seatd eudev dbus dbus-openrc
rc-update add seatd
rc-update add dbus default
setup-devd udev

cd /opt/
git clone https://github.com/WayfireWM/wf-install
cd wf-install/
sed -i -e 's/--backup=t//g' install.sh
./install.sh --prefix /opt/wayfire --stream master
apk del gcc g++

adduser wayfire
adduser wayfire input
adduser wayfire video
adduser wayfire seat
adduser wayfire audio

sed -i -e 's/^tty1.$/tty1::respawn:/sbin/mingetty tty1 --autologin wayfire/g' /etc/inittab
sed -i -e 's/^ttyS0.
$/#ttyS0::respawn:/sbin/getty -L 0 ttyS0 vt100/g' /etc/inittab

cat >> /home/wayfire/.profile2 <<EOF
if test -z "${XDG_RUNTIME_DIR}"; then
export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir
if ! test -d "${XDG_RUNTIME_DIR}"; then
mkdir "${XDG_RUNTIME_DIR}"
chmod 0700 "${XDG_RUNTIME_DIR}"
fi
fi
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then
/opt/wayfire/bin/startwayfire
fi
EOF
chown wayfire:wayfire /home/wayfire/.profile

reboot

uninstall / cleanup script?

Putting everything in /opt is a great idea, but as per issue #6, it might be a good idea to add certain files / links to other areas of the system, not least in the places where DMs look for sessions - e.g. in /usr/share/wayland-sessions/

If that is implemented, then some kind of cleanup script is also warranted, to remove everything from a system automatically.

No session entry for SDDM.

Cloned repo, ran the script, manually installed gobject-introspection to meet the depenendencies (that might also need to be fixed somehow), restarted and... Nothing. No session option to use Wayfire.

This is for SDDM on Arch. The AUR package does generate the session entry properly, and works.

How to Install on Ubuntu Jammy?

I recenlty installed linux version:

Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy

After installing dependencies I get:

`wlroots| Dependency wayland-server found: NO found 1.20.0 but need: '>=1.22' (cached)

subprojects/wlroots/meson.build:105:0: ERROR: Dependency 'wayland-server' is required but not found.

A full log can be found at /home/arjuna/Applications/wf-install/wayfire/build/meson-logs/meson-log.txt
`

Which seems to be the latest version available:

arjuna@flubi:~/Applications/wf-install$ apt-cache policy libwayland-server0 libwayland-server0: Installed: 1.20.0-1ubuntu0.1 Candidate: 1.20.0-1ubuntu0.1 Version table: *** 1.20.0-1ubuntu0.1 500 500 http://de.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages 100 /var/lib/dpkg/status 1.20.0-1 500 500 http://de.archive.ubuntu.com/ubuntu jammy/main amd64 Packages

But maybe I am missing something trivial or there is an easy fix? Maybe an Ubuntu upgrade or getting the library elsewehre?

user .local install

Hello @ammen99, I'm so excited about this script, thanks!
I should like to install created bins in ~/.local/bin without the "sudo".
Is it something you would fancy please?

Install script doesn't work with 0.6.0

./install.sh --prefix /opt/wayfire --stream 0.6.0 ends up in:

Run-time dependency wf-config found: NO (tried cmake)
meson.build:20:0: ERROR: Invalid version of dependency, need 'wf-config' ['>=0.6.0'] found '0.5.0'.
A full log can be found at /home/piotr/Clones/wf-install/wf-shell/build/meson-logs/meson-log.txt

meson-log.txt

./install.sh --prefix /opt/wayfire --stream master behaves the same way.

Binaries not added to PATH.

The script pulls down and installs the various packages to /opt, but then these are not added to any PATH so as to be accessible to the shell.

This is on Arch Linux. When installed from the AUR, things work.

XDG_DATA_DIRS needs to contain `/usr/local/share` and `/usr/share` if it is empty in the beginning

I'm on Arch using the version that gets installed by ./install.sh from the wf-install repo. When I run wf-background in a terminal the screen flashes black and I get:


II 21-05-20 21:49:32.867 - [subprojects/wf-config/src/file.cpp:424] Reading
XML configuration options from directory /opt/wayfire/share/wayfire/metadata/wf-shell
II 21-05-20 21:49:32.867 - [subprojects/wf-config/src/file.cpp:436] Reading
XML configuration options from file /opt/wayfire/share/wayfire/metadata/wf-shell/dock.xml
II 21-05-20 21:49:32.867 - [subprojects/wf-config/src/file.cpp:436] Reading
XML configuration options from file /opt/wayfire/share/wayfire/metadata/wf-shell/background.xml
II 21-05-20 21:49:32.867 - [subprojects/wf-config/src/file.cpp:436] Reading
XML configuration options from file /opt/wayfire/share/wayfire/metadata/wf-shell/panel.xml
EE 21-05-20 21:49:32.868 - [subprojects/wf-config/src/file.cpp:282] Error in file /home/griffin/.config/wf-shell.ini:110, invalid option value!
EE 21-05-20 21:49:32.869 - [subprojects/wf-config/src/file.cpp:282] Error in file /home/griffin/.config/wf-shell.ini:110, invalid option value!
Failed to load background image(s) /home/griffin/images/backgrounds/guardian.jpg

I then tried using swaybg and oguri, which both worked fine under sway,
but now they both give

Could not open image '/home/griffin/images/backgrounds/guardian.jpg': Couldn’t recognize the image file format for file “/home/griffin/images/backgrounds/guardian.jpg”

I also found out that GTK apps don't start, for example pavucontrol:

(pavucontrol:75153): Gtk-WARNING **: 21:53:41.372: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.

(pavucontrol:75153): Gtk-WARNING **: 21:53:41.376: Could not find the icon 'window-minimize-symbolic-ltr'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
    http://icon-theme.freedesktop.org/releases
**
Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognised 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 /org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognised image file format (gdk-pixbuf-error-quark, 3)
zsh: abort (core dumped) pavucontrol

which I don't get with sway or xorg/i3. My mouse pointer is the correct icon, but I can't set its size with cursor_size in wayfire.ini.
I tried reinstalling update-mime-database and gdk-pixbuf2 as suggested by a google search, but neither solved my problem.

here is the image, if it makes a difference:
image

startwayfire should source .profile

WayfireWM/wayfire#1113 (comment)

startwayfire should source .profile. That is the correct way to set up a session environment. This'll pull in the distro's config, /etc/profile.d (if appropriate for your distro), and any environment variables the user wants to configure. User environment vars should go in ~/.profile.

Error on running install.sh

While running the install script in the wf-install folder, I get the error at line 70: function: not found. I am new to linux and I am not sure what I'm doing wrong.
Screenshot from 2020-04-05 04-01-26

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.