Page 1 of 1

[HowTo] VM in FullScreen mode stick in the visible workspace in GNOME3

Posted: 25. Nov 2019, 14:56
by CW4vFH
Hi,

I'm running the GNOME 3.34 desktop.

There is any way to let the VirtualBox in full screen mode stay in the visible workspace?

Re: VM in FullScreen mode stick in the visible workspace in GNOME3

Posted: 25. Nov 2019, 15:01
by scottgus1
Not sure what you mean. Full-screen should be take up the full screen. Please explain what you mean by a "visible workspace".

Re: VM in FullScreen mode stick in the visible workspace in GNOME3

Posted: 25. Nov 2019, 20:53
by socratis
CW4vFH wrote:I'm running the GNOME 3.34 desktop.
No, you're running a Linux distro (which one?) that uses GNOME as its desktop...

Please be precise in your reports if you want help. We can't possibly know what your problem is, *you* are sitting in front of the computer. The rest of us are relying on your accurate description to understand what's going on. So, if you're not accurate, we can't know what's going on.

Re: VM in FullScreen mode stick in the visible workspace in GNOME3

Posted: 27. Nov 2019, 18:13
by CW4vFH
Very sorry for the vague description.

I'm using Fedora 31 with Gnome 3.34.

If you're using or you has a Linux desktop with Gnome, just open an application, then click right button of the mouse on the panel of the application, a menu contains 'Always on Visible Workspace' should be appeared, if not please try other applications.

I mean when the guest stay in a full-screen or seamless mode, then how can I keep the gust stay on visible?

Now the fact is when the guest stay in a full-screen (or seamless, not try it) mode, if I switch to one of other workspaces, the guest OS just disappeared. If I want to see what's happening in the gust OS, I must switch to it.

Re: VM in FullScreen mode stick in the visible workspace in GNOME3

Posted: 28. Nov 2019, 01:02
by scottgus1
According to https://help.gnome.org/users/gnome-help ... es.html.en, 'workspaces' are apparently like multiple monitors, but you could see only one at a time. A window marked ''Always on visible workspace would apparently always show on whatever 'workspace' is showing.

The defining point would probably be the need for a window. Full-screen doesn't have a window, so no 'Always on visible workspace'. A maximized guest window might follow the 'Always on Visible Workspace'.

Re: VM in FullScreen mode stick in the visible workspace in GNOME3

Posted: 28. Nov 2019, 05:00
by CW4vFH
Ok, get it.

I'll post this question to a Gnome forum too and dig how to resolve this issue.

Re: VM in FullScreen mode stick in the visible workspace in GNOME3

Posted: 2. Dec 2019, 08:11
by CW4vFH
Hi,

Here is my solution:
1. install devilspie2
2. create a file ended with '.lua' in ~/.config/devilspie2, and add the below lines:

Code: Select all

if string.find(get_window_name(), "VirtualBox") then
        pin_window()
end
See also:
https://askubuntu.com/questions/4240/ho ... workspaces
http://www.nongnu.org/devilspie2/

Re: [HowTo] VM in FullScreen mode stick in the visible workspace in GNOME3

Posted: 2. Dec 2019, 08:28
by socratis
Even though it's not really a VirtualBox issue, thank you 'CW4vFH' the solution, hope someone finds it useful in the future. Marking as [HowTo].



PS. I had to change slightly the title of the thread from:
  • "How to let the VirtualBox in full screen mode stay in the visible workspace in GNOME 3"
to
  • "VM in FullScreen mode stick in the visible workspace in GNOME3"
just so I can fit the "[HowTo]" in there... ;)

PPS. Just to add another point, on OSX if you take a VM FullScreen, it gets its own workspace, there's no way to have it always visible. You could though maximize the VM window and make it sticky...