wayfire not running automatically?

I always build Ports SU:ed to ROOT so I avoid the permission issues.

su -
( root password )

cd /usr/ports/x11/sddm
rm -r work; make reinstall
Note that rm -r work wouldn't work as intended on flavorized ports.

For example, on x11/nvidia-driver, work-xorg is created for default flavor (xorg), while work-xlibre would be created instead for xlibre flavor.

This behavior is defined in Mk/bsd.port.mk.

And I believe make clean instead of rm -r work would work.

Another note would be that if there are any files having schg flag set (as far as I know, happened on ports-mgmt/sccache-overlay before, now already fixed), you'll need to chflags -R noschg for ${WRKDIR}.
 
I believe there was not work or work-flavour


Code:
sddm►su                                                                                                                                                                                                                                                                                                                                                                          18:55
Password:
# make clean
===>  Cleaning for ninja-1.13.2,4
===>  Cleaning for pkgconf-3.0.5,1
===>  Cleaning for muon-0.6.0
===>  Cleaning for samurai-1.3
===>  Cleaning for sddm-0.21.0.36_6
# make deinstall
===>  Deinstalling for sddm
===>   sddm not installed, skipping
# make reinstall
===>  Deinstalling for sddm
===>   sddm not installed, skipping
===>  License GPLv2+ CC-BY-3.0 CC-BY-4.0 APACHE20 accepted by the user
===>   sddm-0.21.0.36_6 depends on file: /usr/local/sbin/pkg - found
.........
/libQt6Network.so.6.11.2  /usr/local/lib/qt6/libQt6Test.so.6.11.2  /usr/local/lib/qt6/libQt6Core.so.6.11.2  -pthread  -Wl,-rpath-link,/usr/local/lib/qt6 && :
===>  Staging for sddm-0.21.0.36_6
===>   sddm-0.21.0.36_6 depends on package: consolekit2>1.2.5 - found
===>   sddm-0.21.0.36_6 depends on executable: dbus-launch - found
===>   sddm-0.21.0.36_6 depends on executable: xauth - found
===>   sddm-0.21.0.36_6 depends on executable: xmessage - found
===>   sddm-0.21.0.36_6 depends on executable: xrdb - found
===>   sddm-0.21.0.36_6 depends on executable: xsetroot - found
===>   sddm-0.21.0.36_6 depends on executable: setxkbmap - found
===>   sddm-0.21.0.36_6 depends on file: /usr/local/libdata/pkgconfig/xau.pc - found
===>   sddm-0.21.0.36_6 depends on file: /usr/local/libdata/pkgconfig/xcb.pc - found
===>   Generating temporary packing list
===> Creating groups
===> Creating users
[  0% 1/1] cd /usr/ports/x11/sddm/work/.build && /usr/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
-- Install configuration: "Release"
-- Installing: /usr/ports/x11/sddm/work/stage/usr/local/share/sddm/themes/maya/images/ic_arrow_drop_down_white_24px.svg
......
-- Installing: /usr/ports/x11/sddm/work/stage/usr/local/bin/sddm
-- Set non-toolchain portion of runtime path of "/usr/ports/x11/sddm/work/stage/usr/local/bin/sddm" to "/usr/local/lib/qt6:/usr/local/lib"
-- Installing: /usr/ports/x11/sddm/work/stage/usr/local/bin/sddm-greeter-qt6
-- Set non-toolchain portion of runtime path of "/usr/ports/x11/sddm/work/stage/usr/local/bin/sddm-greeter-qt6" to "/usr/local/lib/qt6:/usr/local/lib"
-- Installing: /usr/ports/x11/sddm/work/stage/usr/local/libexec/sddm-helper
-- Set non-toolchain portion of runtime path of "/usr/ports/x11/sddm/work/stage/usr/local/libexec/sddm-helper" to "/usr/local/lib/qt6:/usr/local/lib"
-- Installing: /usr/ports/x11/sddm/work/stage/usr/local/libexec/sddm-helper-start-wayland
-- Set non-toolchain portion of runtime path of "/usr/ports/x11/sddm/work/stage/usr/local/libexec/sddm-helper-start-wayland" to "/usr/local/lib/qt6"
-- Installing: /usr/ports/x11/sddm/work/stage/usr/local/libexec/sddm-helper-start-x11user
-- Set non-toolchain portion of runtime path of "/usr/ports/x11/sddm/work/stage/usr/local/libexec/sddm-helper-start-x11user" to "/usr/local/lib/qt6:/usr/local/lib"
/bin/mkdir -p /usr/ports/x11/sddm/work/stage/usr/local/share/xsessions
install  -m 0644 /usr/ports/x11/sddm/files/sddm.conf.default /usr/ports/x11/sddm/work/stage/usr/local/etc
install  -m 0644 /usr/ports/x11/sddm/work/xinitrc.desktop /usr/ports/x11/sddm/work/stage/usr/local/share/xsessions
install  -m 555 /usr/ports/x11/sddm/work/xinit-session /usr/ports/x11/sddm/work/stage/usr/local/share/sddm/scripts
cp -f /usr/ports/x11/sddm/files/sddm.default /usr/ports/x11/sddm/work/stage/usr/local/etc/pam.d
cp -f /usr/ports/x11/sddm/files/sddm-autologin.default /usr/ports/x11/sddm/work/stage/usr/local/etc/pam.d
cp -f /usr/ports/x11/sddm/files/sddm-greeter.default /usr/ports/x11/sddm/work/stage/usr/local/etc/pam.d
====> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
===>  Installing for sddm-0.21.0.36_6
===>  Checking if sddm is already installed
===>   Registering installation for sddm-0.21.0.36_6
Installing sddm-0.21.0.36_6...
===> Creating groups
Creating group 'sddm' with gid '219'
Using existing group 'video'
===> Creating users
Creating user 'sddm' with uid '219'
===> Creating homedir(s)
Adding user 'sddm' to group 'video'
SDDM lists a "user session" which needs either an .xinitrc in the user's
home directory, or as a fallback, xterm. In order to use the "user session"
feature, a ~/.xinitrc is recommended.

Isnt xinitrc only for X11, on wayfire/wayland what should be used?
 
I believe there was not work or work-flavour
It's just to make 100% sure there are no remnant of previous builds.

Isnt xinitrc only for X11, on wayfire/wayland what should be used?
Yes, ~/.xinitrc is for X11.

Wayland has fatal design flaw that doesn't have way for compositor-agnostic configurations. So any low-level configs like selecting primary GPUs, screen resolutions and so on are mandated to be configured per-compositor. (wlroots is a toolkit to implement compositor, so there can be some wlroots-specific configs that take effect for all wlroot-based compositors, but NOT ALL COMPOSITORS ARE WLROOTS BASED.)
This is quite annoying when looking for "which compositor fits my needs?" and try one by one. Need to study "always from scratch". Fatal.

So you may need to set configurations in ~/.config/wayfire.ini or ~/.config/wayfire/wayfire.ini and/or wlroots-specific environment variables for Wayfire.

You can copy /usr/local/share/examples/wayfire/wayfire.ini into your ~/.config/wayfire.ini or ~/.config/wayfire/wayfire.ini and customize it as you need.
 
Back
Top