O
Overlayed11mo ago
Skelm

Ubuntu Unity with Compiz Fusion / CompizConfig Settings Manager - (always) Above ie ontop other apps

Hi, I have been testing Overlayed, very impressed. However I cannot make the app stay on top of any game, be that using Steam with GE-Proton compatibility tool, or through Lutris ie Battle.net, Epic, EA, Rockstar, using CompizConfig Settings Manager and setting Overlayed to Above and having ie Steam set to Bellow, and any game as well to Bellow, I can only get the game to be Above when clicked on and Overlayed goes to Bellow, is there a way to force Overlayed to always display over all apps on Linux in general? If not could this possibly be added in the settings so that Overlayed is forced to be on top, as even with Clickthrough on Overlayed still goes to Bellow as you have to be in focus to be able to control the game.
68 Replies
Hacksore
Hacksore11mo ago
are you using borderless windowed mode for the games? related GitHub issue https://github.com/Hacksore/overlayed/issues/33
GitHub
[Feature Request] Full screen applications support on Linux · Issue...
Hey there! First I want to thank you for making this project, it's a great tool and works really well! I want to ask you if there is any way of making it over a full screen application, like a ...
Skelm
SkelmOP11mo ago
Hi, thanks for the reply. I tried boarderless windowed mode but the result was the same. I'll have a read up on this issue on GitHub. After reading that, I'm not using Wayland and will only use Wayland later on as the last moment as it's not ready at all to be fair and it's causing a lot of issues still
Hacksore
Hacksore11mo ago
yeah linux is hard to support haha what would prolly make sense is if you can check if tauri has a tracking issue for this if not we'd need to make a reproduction repo so they can look into it
Skelm
SkelmOP11mo ago
Interesting. I hope this is solvable. I've just been reading that Pennywise is cross platform and on Linux you can use it to load a web page into and have it as a floating window, and also media. I'm gna check this out next and see what I can do with that, as if that works then they're onto something.
Skelm
SkelmOP11mo ago
I have been testing this Discord overlay which is Linux only, I was trying to use it before but wouldn't work however seems it's working now as expected, with every APP and every game, even with games in full screen. So maybe a hint here as how to solve it for Overlayed for your team. https://github.com/trigg/Discover
GitHub
GitHub - trigg/Discover: Yet another discord overlay for linux
Yet another discord overlay for linux. Contribute to trigg/Discover development by creating an account on GitHub.
Skelm
SkelmOP11mo ago
For me I had to use the Flatpak commands to get the configuration window to work: ie flatpak run io.github.trigg.discover_overlay --configure Similarly any other commands like quit etc etc: flatpak kill io.github.trigg.discover_overlay I hope all this helps.
Hacksore
Hacksore11mo ago
Gtk.Window.set_keep_above
Reference for Gtk.Window.set_keep_above
GitHub
Discover/discover_overlay/overlay.py at 6ea2b7df4690826eaa9bafb1b55...
Yet another discord overlay for linux. Contribute to trigg/Discover development by creating an account on GitHub.
Hacksore
Hacksore11mo ago
@unless uses Ubuntu but not sure if he’s tried fullscreen This is still likely and issue with tauri/tao
welp
welp10mo ago
No I haven't tried fullscreen
Skelm
SkelmOP10mo ago
I've got that one running on full screen games and windowed boarderless. And over any APP. With a cubed viewport setup it is on every active viewport desktop when you rotate as well. With Overlayed it doesn't matter if it's full screen or boarderless windowed it goes behind the game. Same with any apps even just windowed.
Hacksore
Hacksore10mo ago
I’d suggest you give me the following and I’ll crate a demo app and if it’s bugged we can raise tauri issue - Linux distribution version - Window manager version - Desktop environment version
Skelm
SkelmOP10mo ago
Distribution Ubuntu: 22.04 LTS Desktop Environment Version: Unity 7 Window Management: not sure
Hacksore
Hacksore10mo ago
created this demo, @Skelm do you know how to run this? https://github.com/Hacksore/always-ontop-linux
GitHub
GitHub - Hacksore/always-ontop-linux
Contribute to Hacksore/always-ontop-linux development by creating an account on GitHub.
Hacksore
Hacksore10mo ago
if you can take a video of the bug and ill use that in the tauri report
welp
welp10mo ago
I can't reproduce on ubuntu https://i.imgur.com/4nfkXkz.png 5.15.0-91-generic #101~20.04.1-Ubuntu
Imgur
welp
welp10mo ago
using gnome btw
Skelm
SkelmOP10mo ago
I will try it on Unity and see if it does the same. Did you try to use Steam and a game? As soon as I usually try to use click through it go behind the app or game.
welp
welp10mo ago
i clicked around and it stayed on top so it should behave like that that big picture should behave like a game does
Skelm
SkelmOP10mo ago
OK. I'm using Unity desktop which is an official Ubuntu flavour as listed on their website.
welp
welp10mo ago
Can you give me the output of this command: printf 'Desktop: %s\nSession: %s\n' "$XDG_CURRENT_DESKTOP" "$GDMSESSION"
Skelm
SkelmOP10mo ago
I'll do that. It's 02.41am in the UK though and I just woke up in middle of the night haha so I'll do that tomorrow and test the demo. 👍🏼 Did that one for you: printf 'Desktop: %s\nSession: %s\n' "$XDG_CURRENT_DESKTOP" "$GDMSESSION" Desktop: Unity:Unity7:ubuntu Session: unity
welp
welp10mo ago
Yeah perhaps you would want to try gnome out and see if there are any problems with that
Skelm
SkelmOP10mo ago
Hey. OK downloaded this, not sure how to run it, tried a few things? I take it you run from terminal? Or right click on a certain file and allow to run as a program? 🤔 I will try on Gnome but I would rather use Unity as Gnome never works with Compiz and I have always used Compiz as a compositor especially with cubed desktop it's just better. 1. Tested on Ubuntu with Gnome desktop: a) Using X11 as a desktop session: Runs fine as expect and with Steam, tested with a game 'Overwatch 2' b) Using Wayland as a desktop session: Runs with Discord, doesn't work staying on top goes behind, tried to open .deb version and Flatpak version of Steam and crashes on open which is why I was saying I refuse to use Wayland yet as it's still way too experimental. 2. Obviously doesn't work with Unity 7 with X11 but the other one DIscover Overly does. I think you were saying it's because it's built using GTK3?
Hacksore
Hacksore10mo ago
Running requires rust and pnpm being installed Will need you to attempt to run the demo app and take a video of the issue then we can raise and issue upstream (in tauri) to see if they can fix/help
Skelm
SkelmOP10mo ago
There's no rust or pnpm package in the Ubuntu repos, how do I do that through terminal?
Skelm
SkelmOP10mo ago
Thanks for that. I've been reading into this and it seems Rust is in the Ubuntu repos as rustc, there's a really easy way to install it https://phoenixnap.com/kb/install-rust-ubuntu
Knowledge Base by phoenixNAP
How to Install Rust on Ubuntu {apt and rustup}
Rust is a general-purpose language known for its speed and seamless integration. Read this guide to learn how to install Rust on Ubuntu.
Skelm
SkelmOP10mo ago
Vsys How-to
How to install PNPM on Ubuntu 22.04 ★ VSYS Tutorials
In this article, we will guide you through the process of installing PNPM on Ubuntu 22.04 using the command line. We will also provide explanations for each step along the way ★ VSYS Tutorials
Hacksore
Hacksore10mo ago
🫶
Skelm
SkelmOP10mo ago
I have a quick update, to make pnpm work correctly you need to do this on Ubuntu 22.04 for install nodejs specific version of v16.14: sudo npm cache clean -f sudo npm install -g n sudo n 16.14 Now I have everthing installed I can go forwards and run the demo app. @Hacksore I am still unclear on what file to run to make the demo app run as there is no instructions?
Hacksore
Hacksore10mo ago
GitHub
always-ontop-linux/README.md at master · Hacksore/always-ontop-linux
Contribute to Hacksore/always-ontop-linux development by creating an account on GitHub.
Skelm
SkelmOP10mo ago
@Hacksore This is what I get: tauri "dev" Error failed to get cargo metadata: No such file or directory (os error 2)  ELIFECYCLE  Command failed with exit code 1.
Hacksore
Hacksore10mo ago
I don’t know what you are running and where but you gotta clone and move into the repo directory
Skelm
SkelmOP10mo ago
Yes that is what I did, I followed the README.dm instructions, ran those 2 commands from within the repo directory. pnpm tauri dev Returns: tauri "dev" Error failed to get cargo metadata: No such file or directory (os error 2)  ELIFECYCLE  Command failed with exit code 1.
Hacksore
Hacksore10mo ago
Hmmm what rustc —version as well as pnpm version
Skelm
SkelmOP10mo ago
rustc --version rustc 1.70.0 pnpm --version 8.15.0
Hacksore
Hacksore10mo ago
Hmmm never see the error looks like maybe you might need to install system deps? https://tauri.app/v1/guides/getting-started/prerequisites/
Skelm
SkelmOP10mo ago
OK cool thanks, I will read up on the prerequisites and dependencies for Tuari and get back to you later on. Hope I can help to be honest as your overlay is the best I have ever seen, would be a pleasure to be able to help. Installed the depdencies for Tauri, still won't run.
Hacksore
Hacksore10mo ago
this issue says you prolly don't have rust :KEKW: https://github.com/tauri-apps/tauri/issues/5223
GitHub
[bug] failed to get project out directory: failed to get cargo meta...
Describe the bug Tauri project created with package manager: yarn and UI template: react-ts I already installed all the requirements. This is what I see in my terminal when I try to run the command...
Hacksore
Hacksore10mo ago
i'd never trust a system package manager for tools like rust
Skelm
SkelmOP10mo ago
What lol that's really weird 🤔 @Hacksore I fixed the issue with Rust, ran the demo APP, opened Steam in big picture full screen, tried it out, same results, so took a screen capture vid for you of it.
Skelm
SkelmOP10mo ago
Skelm
SkelmOP10mo ago
It's not having Cargo installed which is the problem, you need that to make Rust work apparently as a dependency. But it was very unclear when I started learning what it was, does and how to use it.
Hacksore
Hacksore10mo ago
Ty will raise an issue I tauri and link it here
Skelm
SkelmOP10mo ago
OK cool. Glad to be of help
Hacksore
Hacksore10mo ago
in the repo can you do pnpm tauri info and add it to this thread if you have github otherwise share it here: https://github.com/tauri-apps/tauri/issues/8700
GitHub
[bug] alwaysOnTop issue with linux and fullscreen apps · Issue #8...
Describe the bug A user reported that Overlayed would not stay on top of borderless windowed/fullscreen apps Reproduction checkout git clone https://github.com/Hacksore/always-ontop-linux.git pnpm ...
Skelm
SkelmOP10mo ago
Will do, I'll post that later when I've done that. 👍🏼
Skelm
SkelmOP10mo ago
@Hacksore I thought I would post it here first and ask if there is a problem with a dependency missing as I see something shown that is not installed: ✘] Environment - OS: Ubuntu 22.04 X64 ✔ webkit2gtk-4.0: 2.42.4 ✘ rsvg2: not installed - Note - Says not installed Visit https://tauri.app/v1/guides/getting-started/prerequisites to learn more about tauri prerequisites ✔ rustc: 1.75.0 (82e1608df 2023-12-21) ✔ cargo: 1.75.0 (1d8b05cdd 2023-11-20) ✔ rustup: 1.26.0 (5af9b9484 2023-04-05) ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default) - node: 16.14.2 - pnpm: 8.15.0 - npm: 8.5.0 [-] Packages - tauri [RUST]: 1.5.4 - tauri-build [RUST]: 1.5.1 - wry [RUST]: 0.24.7 - tao [RUST]: 0.16.7 - @tauri-apps/api [NPM]: 1.5.3 - @tauri-apps/cli [NPM]: 1.5.9 [-] App - build-type: bundle - CSP: unset - distDir: ../dist - devPath: http://localhost:1420/ - framework: React - bundler: Vite
Skelm
SkelmOP10mo ago
@Hacksore Just wondering if this ' ✘ rsvg2: not installed' not being installed would cause this issue before posting it on Github?
Hacksore
Hacksore10mo ago
Likely unrelated I updated GitHub issue
Skelm
SkelmOP10mo ago
OK cool, if there's anything else I can help with as the issue is sorted let me know. I can also test any beta versions.
Hacksore
Hacksore10mo ago
My thoughts are they are gong to say unity is not supported 🤣
Skelm
SkelmOP10mo ago
Oh gawd. It's an official Ubuntu flavour as stated on their website lol 🤣
Hacksore
Hacksore10mo ago
:KEKW: :KEKW:
Skelm
SkelmOP10mo ago
I've been using Linux 17 years and Gnome is awful, never works with Compiz Fusion. Flatpak APPS are the way forwards, they can even run on Windows 11 with a bit of tweaking. So in future that would be the best way to run any APP's imo.
Hacksore
Hacksore10mo ago
one of the tauri contributors said they can't repro @Skelm if you can add anything helpful here https://github.com/tauri-apps/tauri/issues/8700
GitHub
[bug] alwaysOnTop issue with linux and fullscreen apps · Issue #8...
Describe the bug A user reported that Overlayed would not stay on top of borderless windowed/fullscreen apps. Reproduction checkout git clone https://github.com/Hacksore/always-ontop-linux.git pnpm...
Skelm
SkelmOP10mo ago
OK will do I'll add my Conpiz Fusion set-up @Hacksore what is it that they are requesting to add info of? 🤔
Hacksore
Hacksore10mo ago
i guess this idk i don't use linux https://github.com/smxi/inxi
GitHub
GitHub - smxi/inxi: inxi is a full featured CLI system information ...
inxi is a full featured CLI system information tool. It is available in most Linux distribution repositories, and does its best to support the BSDs. - GitHub - smxi/inxi: inxi is a full featured C...
Skelm
SkelmOP10mo ago
Also they've tested it with Arch when obviously it's stated Ubuntu Unity which is an odd thing to have tested it with Alright cool I'll get on that
Hacksore
Hacksore10mo ago
Seems like it could be a unity issue I saw they have a discord https://discord.gg/pwhfZsDK Mayhaps you can ask in there
Skelm
SkelmOP10mo ago
I still need to install that tool and pull the info for you I'll get back to you on that
Hacksore
Hacksore10mo ago
To rule out tauri could you try using Firefox Picture in Picture and see if it stays out top? Should be able to load a YouTube video and see if stays ontop
Skelm
SkelmOP10mo ago
Yes I'll try that. OK so I had another look, and when I run Overlayed, obviously on my system it goes to the background, if I alt+tab into the app it's supposed to be over ie a terminal, and then onto Overlayed that works OK, but if I tab into Desktop, then overlayed disapears completely, have to quit and restart Overlayed to make it work properly. As per them saying it probably happens with other none Tauri apps on Unity it doesn't, and 'Discover Overlayed' works fine and that is a Flatpak APP, and all other apps are fine, so it must be another problem, I would think Tauri since Flatpak and Snap apps are fine, and QT apps. Also the dev should test on Ubuntu Unity and maybe they will figure out the problem, and not Arch, which is not the Desktop in quesetion, which is a little bit of an odd thing to have done, defeats the object. Just a question, why not create a Flatpak APP of Overlayed and get it listed on Flathub instead? You will get way more users on Linux that way as it's universal across all Linux desktops and distributions.
Hacksore
Hacksore10mo ago
I don't think flatpak changes anything as it's the same app just diff package format/distribution method. Yeah i have no idea, does firefox pip work as well?
Skelm
SkelmOP10mo ago
Firefox PiP didn't work with a Snap or Flatpak APP, but 'Discover Overlay' does, and I am completely baffled as why that would as a Flatpak APP and why Firefox PiP wouldn't other than reading someone else said the same thing with Firefox and there's a Gnome plugin for it that will even allow it to work with Wayland, and Overlayed doesn't work with Wayland even on Gnome. 🤔 IF we can get to the bottom of this I am sure this would help so many devs out across the board. I have posted in the Unity Discord as well after your post, stating all this as well.
Hacksore
Hacksore10mo ago
yeah i tagged some peeps there they have to give us the facts
Skelm
SkelmOP10mo ago
Lets see what they come up with, as seems I've read Firefox PiP does this as well, and someone created the Gnome plugin for it, so if so, then that code could be ported into Unity, and that could possibly solve the problem, especially if Unity switches over to Wayland soon, that would solve massive issues anyway. But it could show up anything else in other devs apps, as Discover Overly works fine as should as a Flatpak, so they must have done something right.
Want results from more Discord servers?
Add your server