View Full Version : Launch borderless windows
amivaleo
June 23rd, 2017, 11:15 AM
Hi,
How can I launch a borderless window in Gnome? I mean only specific unmaximized programs that do not use gtkheaderbars.
Is there a way to do that? Like adding some command in the program launcher?
I use ubuntu-gnome 16.04, gnome version is 3.20.4.
Thank you! :)
CatKiller
June 26th, 2017, 02:45 AM
I'm on my phone, so I can't check whether this will work for you, but it might point you in the right direction.
https://bbs.archlinux.org/viewtopic.php?id=192422
yetimon_64
June 28th, 2017, 11:51 PM
Hi,
How can I launch a borderless window in Gnome? I mean only specific unmaximized programs that do not use gtkheaderbars.
Is there a way to do that? Like adding some command in the program launcher?
I use ubuntu-gnome 16.04, gnome version is 3.20.4.
Thank you! :)
You may want to check out the "gdevilspie" package for that. You can create rules for specific windows and remove window decorations, set geometry etc for such a window with it. The package uses the "devilspie" daemon to monitor for usage of such windows.
On 14.04 with either unity or xfce I use it to create gnome terminal windows without any window decorations. You should be able to do so with a specific window in gnome using it. On 16.04 the gdevilspie package still works here but due to changes in the gnome-terminal package, related to terminal profile naming, I can't do the same "trick" here; though other applications should still be controllable with it.
Good luck, yeti.
again?
July 1st, 2017, 04:48 AM
The devilspie2 method suggested by yetimon should work.
(Tested in Ubuntu-Gnome 17.04)
sudo apt install devilspie2
Create a lua rule file.
gedit ~/.config/devilspie2/undecorate.lua
Copy and paste the following into undecorate.lua, replacing ApplicationName with your application.
if (get_application_name()=="ApplicationName") then
undecorate_window();
end
Save and close.
Logout.
yetimon_64
July 1st, 2017, 10:47 PM
The devilspie2 method suggested by yetimon should work...
Does that newer devilspie package (devilspie2) also work with the gdevilspie GUI interface ? I am actually still using the older devilspie package with the GUI interface. May have to try and update a bit here if it does.
Cheers, yeti.
again?
July 2nd, 2017, 03:33 AM
Does that newer devilspie package (devilspie2) also work with the gdevilspie GUI interface ? I am actually still using the older devilspie package with the GUI interface. May have to try and update a bit here if it does.
Cheers, yeti.
No, unfortunately. The config files are written in lua and don't work with gdevilspie/devilspie.
You can find examples in /usr/share/doc/devilspie2/README.gz or https://github.com/gusnan/devilspie2
Search online: eg https://softsolder.com/2013/09/12/devilspie2-lua-scripts/
Lua gives more config options but for what the OP wants gdevilspie/devilspie may be easier.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.