Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 18 21:30

    ammen99 on master

    view: do not damage at all if t… (compare)

  • Sep 18 08:38
    ammen99 closed #210
  • Sep 18 08:38
    ammen99 commented #210
  • Sep 14 16:37
    ammen99 closed #188
  • Sep 14 16:37
    ammen99 commented #188
  • Sep 14 13:30
    AdrianVovk commented #188
  • Sep 14 12:38
    ammen99 commented #188
  • Sep 13 22:04
    ammen99 edited #291
  • Sep 13 21:50
    myfreeweb commented #291
  • Sep 13 20:27

    ammen99 on master

    Add workspace background color … (compare)

  • Sep 13 20:27
    ammen99 closed #287
  • Sep 13 20:27
    ammen99 commented #287
  • Sep 13 20:25
    ammen99 commented #291
  • Sep 13 18:26
    myfreeweb commented #291
  • Sep 13 18:11
    myfreeweb commented #291
  • Sep 13 18:08
    ammen99 commented #291
  • Sep 13 18:06
    myfreeweb opened #291
  • Sep 13 18:00
    myfreeweb commented #290
  • Sep 13 17:45
    soreau synchronize #287
  • Sep 13 17:45

    soreau on fix-wf-shell-26

    Disconnect background color upd… (compare)

manimax3
@manimax3
seems to stay running now ...
Ilia Bozhinov
@ammen99
Did you fix something or just magic?
manimax3
@manimax3
probably magic but Im suspecting an overheating problem because fan control
Ilia Bozhinov
@ammen99
Aham. Yeah, nouveau is infamous for reclocking
Avi Wadhwa
@aviwad_gitlab
@ammen99 any way to install wayfire in fedora without compiling?
I see you had a copr repo, but that has no builds
thanks for the great work!
Ilia Bozhinov
@ammen99
Yeah, sorry, I plan to finish the copr repo, but I am always postponing it
Maximilian Van Hout
@NerveCoordinator
Tried compiling both the Wayfire repo and the wf-shell, but after calling "wayfire" from a TTY it just gives me a white screen. Pressing the meta key does zoom out to show six desktops though, and there is a cursor.
Oh wait meta-d opens dmenu! Sweet.
Maximilian Van Hout
@NerveCoordinator
Poked around the source code a bit, figured out how to cause the invert plugin to make the screen red for fun. Curious though, when I tried copying and then editing the invert plugin's name to 'redshift' everywhere I saw it appear, I couldn't get it to respond to a different hotkey. Not sure what I'm doing wrong there. "libredshift.so" does appear in /usr/lib/wayfire/ at least.
Maximilian Van Hout
@NerveCoordinator

What I'm looking to figure out is how to overlay an application's window onto a desktop. Said application's output is partially transparent. That is to say, I want to make a heads up display.

If I understand the codebase's lingo correctly: I just need to figure out how
to stream a workspace to a texture, stream a view on top of it, and then render that to the screen.

I expect the cube example will reveal useful functions in this regard.

Ilia Bozhinov
@ammen99
@NerveCoordinator I don't think this is what you want. I guess that the HUD is rendered with some toolkit?
you should have a look at the layer-shell or the wayfire-shell protocols (the first one is portable across more compositors)
so you can have your HUD as a regular client, then use those protocols to make sure that it always stays on top of everything (like a lockscreen or a panel does)
the background being white is a strange problem, and I'd suspect that you have set a white/whatever color wallpaper. Make sure the path to the panel executable in ~/.config/wayfire.ini is correct
and to the background one as well
and then make sure that the correct image is specified in ~/.config/wf-shell.ini
Ilia Bozhinov
@ammen99
btw if you want redshift, there are already redshift ports to wayland which work with wayfire
Maximilian Van Hout
@NerveCoordinator

'redshift' was just a random label I used since I was making the screen redder as a basic test to see if I could actually make a plugin. Not important.

the HUD is just a GTK3 window run by a python script. Something like an 'always on top' would work as long as I can click through it, so I'll look into layer-shell

Ilia Bozhinov
@ammen99
@NerveCoordinator click through would be a problem
in that case you'd need a plugin but then you can't easily use gtk3 except with some offscreen window hacks
Maximilian Van Hout
@NerveCoordinator
I think I'm going to just try using Qt instead of mucking about with compositors. It seems to have most of what I want
Ilia Bozhinov
@ammen99
I doubt Qt can let you do that either
Maximilian Van Hout
@NerveCoordinator
Already gotten it 90% working
Ilia Bozhinov
@ammen99
hm I just realized that you can do click-through with layer-shell, because you can set no input region in which case it is click through
hm maybe I don't understand what you need then
how did you make it always on top with Qt?
Maximilian Van Hout
@NerveCoordinator
I'm using XMonad
Ilia Bozhinov
@ammen99
ah you're using X
your app won't work on wayland if that's something you care about
which is going to be the future of linux, at least in the longterm
Maximilian Van Hout
@NerveCoordinator
Well it'll only work wherever I get it working first, so it may as well be in X since I only went for Wayland to see if the compositor would be easy enough
and so I took a step back around just went looking for more GUI frameworks~
trying to avoid yak shaving and all that
Ilia Bozhinov
@ammen99
i guess if you're making this for yourself only or for a small target group then all will be OK either way
either way = wayland or X11
Maximilian Van Hout
@NerveCoordinator
Yeah this is just me prototyping
SarahGitContribs
@SarahGitContribs
Hello! I am transitioning from x11 to wayland, and wanted to try out Wayfire. I compiled it from source and then ran "wayfire" from TTY and all I got was a black screen without a cursor. So I ran my xorg / openbox session and ran it from terminal there and got an error about librotator being missing, so I ran rm -rf on /usr/share/wayfire, /usr/include/wayfire, and /bin/wayfire in order to recompile with the AUR version to see if that would fix the issue, and now am ending up with compiling errors. >_< I am having trouble figuring out what is wrong.
SarahGitContribs
@SarahGitContribs
Fixed it, realized that the issue with not having a cursor is a driver issue "glamor: No eglstream capable devices found" I assume it has to do with eglstream not working on AMD drivers as far as I know so I am going to need to switch to GBM
SarahGitContribs
@SarahGitContribs
Nevermind :D everything is working now
Ilia Bozhinov
@ammen99
@SarahGitContribs I'm a bit late, but I'm glad you figured it out :)
Blaze
@FlightBlaze
Hello guys! As i can see in /src/api/view.hpp, get_title() is just virtual function, which does nothing. Where is stored getting title from application (maybe with d-bus)?
Ilia Bozhinov
@ammen99
@FlightBlaze Sorry for the late response, I don't frequent gitter anymore
The current architecture of wayfire is so that view_interface_t is like an interface for views
it has some common functionality
but actual implementation (drawing, title, size, etc.) is managed by subclasses
for ex. all "real" applications are wlr_view_t, which means there is a wlr_xdg_shell/wlr_xwayland/etc structure beneath
anyway it shouldn't matter to you if you write a plugin
oh and btw, if you write something in IRC, you must leave your computer open, and the IRC client connected to the internet, otherwise you won't receive messages (IRC doesn't have a central history)