fuhsjr00 / bug.n

Tiling Window Manager for Windows
GNU General Public License v3.0
3.35k stars 212 forks source link

Virtualbox -- Has anyone been able to control VB with bug.n? #161

Open jwmurray opened 6 years ago

jwmurray commented 6 years ago

When I start virtualbox and the subsequent VMs under VB, bug.n does not control them. has anyone else gotten this to work?

Thank you!

john

joten commented 6 years ago

Incidentally, I do use VirtualBox, too, and saw, that it is written with Qt5, which is not covered by rule no. 4. Config_rule=Qt5QWindowIcon;.*;;1;0;0;0;0;0; solved the problem for me, but you may want different rules for the pop-up windows (starting and exiting a vm), which otherwise will also be tiled.

jwmurray commented 6 years ago

Thank you. I will try that on Monday!

On Sat, Feb 24, 2018 at 11:56 AM, joten notifications@github.com wrote:

Incidentally, I do use VirtualBox, too, and saw, that it is written with Qt5, which is not covered by rule no. 4. Config_rule=Qt5QWindowIcon;.*; ;1;0;0;0;0;0; solved the problem for me, but you may want different rules for the pop-up windows (starting and exiting a vm), which otherwise will also be tiled.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fuhsjr00/bug.n/issues/161#issuecomment-368250871, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOzzdjCLG_0-6JvyDAFHJFLdcPXQyl2ks5tYFtOgaJpZM4SPa_j .

--

John W. Murray John@gardenway.org Michael@HepworthMurray.com 801-628-0543

lluke777 commented 6 years ago

It solves issue with qt applications, but there are some windows from Control Panel like Mouse, Color Management and Advanced System Settings/System Propeties that are out of control. What to do with that? There is also old WinAmp application that is out of control.

jwmurray commented 6 years ago

This worked for me. Thank you!

Occasionally, I have an application that used to be under the control of the system, and then it is not for a while, even after restarting bug.n.

Does bug.n keep a settings history that needs to be cleared out?

john

On Sat, Feb 24, 2018 at 12:18 PM, John Murray john@gardenway.org wrote:

Thank you. I will try that on Monday!

On Sat, Feb 24, 2018 at 11:56 AM, joten notifications@github.com wrote:

Incidentally, I do use VirtualBox, too, and saw, that it is written with Qt5, which is not covered by rule no. 4. Config_rule=Qt5QWindowIcon;.*; ;1;0;0;0;0;0; solved the problem for me, but you may want different rules for the pop-up windows (starting and exiting a vm), which otherwise will also be tiled.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fuhsjr00/bug.n/issues/161#issuecomment-368250871, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOzzdjCLG_0-6JvyDAFHJFLdcPXQyl2ks5tYFtOgaJpZM4SPa_j .

--

John W. Murray John@gardenway.org Michael@HepworthMurray.com 801-628-0543 <(801)%20628-0543>

--

John W. Murray John@gardenway.org Michael@HepworthMurray.com 801-628-0543

joten commented 6 years ago

@lluke777: Do you mean the Windows 10 Settings App with class = ApplicationFrameWindow and process = ApplicationFrameHost.exe? You will need to add a corresponding rule, since those windows are not managed by bug.n by default. Config_rule=ApplicationFrameWindow;.*;;0;;;;;1; would go to far.

@jwmurray: Yes, by default bug.n keeps track of open windows (by window id) and restores the corresponding settings. You may use the following configuration variable to reset or keep those settings when restarting bug.n: Config_autoSaveSession=ask.

lluke777 commented 6 years ago

There is opposit problem with Total Commander application. While copying small pop up windows appear and rearange positions of windows. How to prevent this happen?

joten commented 6 years ago

Try WinI to get the window information and copy the rule to your Config.ini with ;0;0;0;1;1;1; as the last part of the rule, just like the one for pop-up windows (Config_rule_#3=.*;.*;Window_isPopup;0;0;0;1;1;1;) and have a look at doc/Configuring_rules for more information on rules.

shaunsmiley-rms commented 6 years ago

I can confirm that adding Config_rule=Qt5QWindowIcon;.*;;1;0;0;0;0;0; to config.ini solves the problem for me too.

lluke777 commented 6 years ago

I have added new rule for Windows Magnifier (usingWIN + '+') Config_rule=#19 := "MagUICl-ass;Magnifier;;1;1;2;0;0;0;" and increased counter Config_ruleCount := 19 unfortunatelly all new applications that are opened in bug.n are not tiling.

What I am doing wrong?

joten commented 6 years ago

Are all new applications still not tiled by bug.n without the addition of Config_rule=#19 := "MagUICl-ass;Magnifier;;1;1;2;0;0;0;" and Config_ruleCount := 19?

Please try to add the rule via the Config.ini file, not setting Config_ruleCount, but adding the following line:

Config_rule=MagUICl-ass;Magnifier;;1;1;2;0;0;0;

(Is there really a hyphen in the class name? Do you want to appear those windows on monitor 1, view 2? Sorry, I am currently not running Windows and cannot test it myself.)