Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[wayland] wayfire and other compositors
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
spica
Guru
Guru


Joined: 04 Jun 2021
Posts: 329

PostPosted: Tue Oct 05, 2021 5:19 am    Post subject: Reply with quote

spica wrote:
automatically remember keyboard layout per window

wayfire-kbdd-plugin
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3684
Location: Rasi, Finland

PostPosted: Wed Nov 17, 2021 8:57 am    Post subject: Xwayland Reply with quote

Hi.
Anyone here have a working Xwayland with wayfire? :D

I've been using wayfire on my latest laptop for months without Xwayland support without knowing it. Only now I encountered a bug/fluke when mosh'ing to a remote server. The remote server defaults to ISO charset, but I have changed config there.
The first thing I wanted to rule out is foot. So I tried to launch st. I couldn't open display. Then I installed Xwayland, restarted wayfire, but the problem still presists. I check ed my wayfire.ini and xwayland is enabled.
When running xrandr it gives the same error: "Can't open display".
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6145
Location: Dallas area

PostPosted: Wed Nov 17, 2021 11:51 am    Post subject: Reply with quote

runs fine for me. (I'm running the 9999 version though)

when you start wayfire are you redirecting the output ">" so that you can see what's going on.
It should say something about xwayland.

which version of wayfire, wlroots and xwayland are you using?

Edit to add:
Code:
II 17-11-21 05:51:41.133 - [backend/noop/backend.c:16] Starting noop backend
II 17-11-21 05:51:41.135 - [xwayland/server.c:92] Starting Xwayland on :0
II 17-11-21 05:51:41.135 - [xwayland/server.c:110] Using Xwayland binary '/home/don/bin/Xwayland.sh' due to WLR_XWAYLAND
II 17-11-21 05:51:41.147 - [wayfire-9999/src/main.cpp:336] Using socket name wayland-1

_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3684
Location: Rasi, Finland

PostPosted: Wed Nov 17, 2021 2:52 pm    Post subject: Reply with quote

Anon-E-moose wrote:
which version of wayfire, wlroots and xwayland are you using?
Too old maybe. I'll update and get back then.

EDIT:
Code:
$ qlist -Iv wlroots wayfire xwayland
gui-libs/wlroots-0.14.0-r2
gui-wm/wayfire-0.7.2
x11-base/xwayland-21.1.2-r2
... and still the same.
These came into debug log, but seem to reveal nothing:
Code:
DD 17-11-21 17:16:52.750 - [types/wlr_surface.c:742] New wlr_surface 0x55ce2df89ab0 (res 0x55ce2df99910)
DD 17-11-21 17:16:53.200 - [backend/libinput/events.c:309] Unknown libinput event 806
DD 17-11-21 17:16:53.238 - [backend/libinput/events.c:309] Unknown libinput event 807
DD 17-11-21 17:16:53.252 - [wayfire-0.7.2/src/core/seat/pointer.cpp:120] change cursor focus 0x55ce2deb87d8 -> 0x55ce2dee5850
DD 17-11-21 17:16:54.554 - [backend/libinput/events.c:309] Unknown libinput event 806
DD 17-11-21 17:16:54.620 - [backend/libinput/events.c:309] Unknown libinput event 807
DD 17-11-21 17:16:54.982 - [wayfire-0.7.2/src/core/seat/pointer.cpp:120] change cursor focus 0x55ce2dee5850 -> 0x55ce2df922c8
DD 17-11-21 17:16:54.982 - [wayfire-0.7.2/src/core/core.cpp:595] focusing layer 0
^C
New wlr_surface happens when I opened the menu.
Maybe I need to dig trough wayfire config again...
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6145
Location: Dallas area

PostPosted: Wed Nov 17, 2021 3:52 pm    Post subject: Reply with quote

# Disable Xwayland auto start
#xwayland = false


If you set xwayland to false in your wayfire.ini then it won't start. It does default to true.

You're versions aren't that old, I was mainly looking for version inconsistency among them.



grep -i xwayland <wayfire log>

doesn't give you anything?
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3684
Location: Rasi, Finland

PostPosted: Wed Nov 17, 2021 6:51 pm    Post subject: Reply with quote

I have xwayland = true under [core].
Also grepping wayfire -d created output log doesn't give any lines. :(

Since xwayland has splitted off from main X packages... Do I miss something? Should I specify which "X server" wayfire should run upon trying to run some X-only program?
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6145
Location: Dallas area

PostPosted: Wed Nov 17, 2021 7:04 pm    Post subject: Reply with quote

With that version of the ebuild you should have Xwayland in /usr/bin/ and a symlink to /usr/libexec/Xwayland.

It should find it.

I change where wlroots looks for xwayland in my shell script before I call wayfire
export WLR_XWAYLAND="/home/don/bin/Xwayland.sh"
but if this isn't set wlroots and wayfire should use /usr/bin/Xwayland.

Unless you didn't compile wlroots/wayfire without the X use flag.

what does emerge -pv wlroots wayfire show
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3684
Location: Rasi, Finland

PostPosted: Wed Nov 17, 2021 8:02 pm    Post subject: Reply with quote

It's the X USE-flags that's missing. D'Oh!

Recompiling...

EDIT
: I should maybe file a bug for wlroots and wayfire ebuilds, since there is already a xwayland USE-flag for running X programs under wayland. At least weston ebuild uses it.
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3684
Location: Rasi, Finland

PostPosted: Wed Nov 17, 2021 8:38 pm    Post subject: Reply with quote

Yup. It works now.
I was so sure it was something in my configs so that I didn't even considered USE-flags.

What do you have on your special script in place of xwayland? I assume it's a wraper which execs xwayland in the end. Right?
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6145
Location: Dallas area

PostPosted: Wed Nov 17, 2021 9:11 pm    Post subject: Reply with quote

Yes, it's a shell script, so that I can add a couple more options to xwayland

Code:
$ cat bin/Xwayland.sh
#!/bin/sh

authfile=$HOME/.Xauthority

exec /usr/bin/Xwayland -dpi 163 -auth $authfile "$@"

#exec /usr/bin/Xwayland -dpi 163 -auth $authfile -verbose 9 "$@" >>/tmp/logs/xerr 2>&1


and this is set before starting wayfire
export WLR_XWAYLAND="/home/onlyme/bin/Xwayland.sh"
so that wlroots calls the script.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3684
Location: Rasi, Finland

PostPosted: Thu Jan 26, 2023 8:23 pm    Post subject: Reply with quote

Anyone here tried hybridbar?
Looks promising... but
Quote:
and system tray(which currently does not seem to work under wayland, PRs welcome)
Oh poo!
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6145
Location: Dallas area

PostPosted: Thu Jan 26, 2023 8:51 pm    Post subject: Reply with quote

Haven't tried hybridbar, hadn't heard of it before.

I've walked away from wayfire (though it's still installed) and have been using labwc instead,
but I've been intending to look at hyprland, sway like with enhancements.

xfce is/has been working on porting much of their stuff to wayland.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3684
Location: Rasi, Finland

PostPosted: Thu Jan 26, 2023 9:17 pm    Post subject: Reply with quote

Anon-E-moose wrote:
but I've been intending to look at hyprland, sway like with enhancements.
Be sure to check out newm too. ;)
Demo videos.
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3839

PostPosted: Fri Jan 27, 2023 11:29 am    Post subject: Reply with quote

Anon-E-moose wrote:
I've been intending to look at hyprland
I gave it a shot a little while ago,
Seems promising features wise...
Seemed to be installing its own wlroots :o.
Hopefully things MIGHT change.

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3839

PostPosted: Fri Jan 27, 2023 2:34 pm    Post subject: Reply with quote

Anon-E-moose wrote:
and have been using labwc instead,
Although installed here 6 months ago, I'm only taking opportunity now to launch it.
131 Mb RAM footprint on bare config] for live ebuild[-X] :D
~ -45% what I get on LXDE
~ -20% what I get on bare Openbox
All three launched from command line.
This is promising enough to operate within for the next few days.

Wayfire removed, because stable fallbacks stable wlroots-0.16.1 to 0.15.1. I may be missing something there...

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6145
Location: Dallas area

PostPosted: Fri Jan 27, 2023 5:51 pm    Post subject: Reply with quote

I mostly run 9999 versions of the different compositors and since I do that I've gotten to where I modify the ebuild
and usually create a patch where wlroots is pulled as a subproject. I set it to be a static build with nothing from the subproject being installed.

It's a shame but with the state of wayland/wlroots/compositors in flux, the only other alternative is to emerge just one compositor at a time,
otherwise it's a nightmare when one want 15.1, another 16.0, another 17.0-dev.

I have 3 compositors emerged and not wlroots at all.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3684
Location: Rasi, Finland

PostPosted: Fri Jan 27, 2023 8:45 pm    Post subject: Reply with quote

I've witnessed the same. It seems that wlroots isn't much backwards compatible?
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3839

PostPosted: Fri Jan 27, 2023 9:20 pm    Post subject: Reply with quote

Zucca wrote:
I've witnessed the same. It seems that wlroots isn't much backwards compatible?

Likely, Anon-E-moose might know better...

Wlroot has ~ 154 contributors listed, a task force hard to catch up with in the long run.

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
spica
Guru
Guru


Joined: 04 Jun 2021
Posts: 329

PostPosted: Sat Jan 28, 2023 1:17 am    Post subject: Reply with quote

Anon-E-moose wrote:
I've walked away from wayfire
Wayfire 0.8 API is turbulent for a long time. I got tired fixing plugins.
What made you step out of Wayfire?
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6145
Location: Dallas area

PostPosted: Sat Jan 28, 2023 4:42 pm    Post subject: Reply with quote

Nothing wrong with wayfire, per se.
I hardly used any of the plugins, so that's not really a selling point, for me.
They were lagging on keeping up with wlroots, and labwc was getting to be very stable, so I swapped.

Now labwc is my daily driver, with wayfire kept installed, in case I need it.

edit to add: I mentioned hyprland earlier, this is some of the bullet points for it
Code:
Config reloaded instantly upon saving
Custom bezier curve based animations
Dual Kawase blur
Drop shadows
Rounded corners
Gradient borders
Fully dynamic workspaces
Closely follows wlroots-git
Global keybinds passed to your apps of choice
Window/layer fade in/out
Tiling/pseudotiling/floating/fullscreen windows
Switching workspaces between window modes on the fly
Special workspaces (scratchpads)
Window/monitor rules
Socket-based IPC
wlr_ext workspaces protocol support
Event system for bash scripts
Docks support
Drawing tablet support
Native IME + Input panels support

_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3684
Location: Rasi, Finland

PostPosted: Fri Feb 03, 2023 5:03 pm    Post subject: Reply with quote

I'm a bit annoyed that wf-panel can't have a tray.
Now I'm using waybar at the bottom to display all the status stuff and tray. Then at the top (hidden) is wf-panel with launchers and menu.
It works, but if a window is maximized (or at the very top) I can't close it using pointer as wf-panel appears over it.
Oh well... alt+F4 works.

I may try to write an ebuild for hybridbar to see if it provides the functionality of wf-panel+waybar.
*deep sigh*
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6145
Location: Dallas area

PostPosted: Fri Feb 03, 2023 5:11 pm    Post subject: Reply with quote

Waybar should do everything that wf-panel does. I haven't had wf-panel installed since ... forever *laugh*
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3684
Location: Rasi, Finland

PostPosted: Fri Feb 03, 2023 5:42 pm    Post subject: Reply with quote

Anon-E-moose wrote:
Waybar should do everything that wf-panel does.
I guess I need to RTFM once again then. :D
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6145
Location: Dallas area

PostPosted: Fri Feb 03, 2023 6:35 pm    Post subject: Reply with quote

On second thought, I don't know if waybar does the menu yet, but it should do everything else, and they constantly add new things.

I know I've created modules for displaying system level stuff (temps, fan speed, load avg, etc) not hard to write them.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3684
Location: Rasi, Finland

PostPosted: Sun Feb 05, 2023 1:57 pm    Post subject: Reply with quote

I ended up with sfwbar.
The configuration is rather complex (but so is waybars), but it supports menus, tray and icons.
It ships with few sane defaults, one resembling win10 bar and another visually the same as default waybar.

On another note I'd consider using yambar on low end systems or if I seek something minimal.
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 5 of 7

 
Jump to:  
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