6

I am running Linux Mint 18.3 with Gnome 3.18 as my desktop. I have been building a loading screen for an application I have installed (Mycroft AI). I have the animation, I have it pop up on loading, i have it closing as soon as it finishes loading.

What I DO NOT have is a loading screen with no title bar (what I have is in the screen shot below).

mycroft loading screen

As you can see, i still have the title bar. How do I remove it? The fewer apps I have to install to get this to work, the better.

Thanks in advance!

  • Title bars/ window decorations are usually specific to the WM/program in use. GNOME doesn't support a built-in method to launch a window/program without decorations. Perhaps try using gtk_window_set_decorated(), with more information here. – aliceinpalth Jan 30 '18 at 2:01
  • Awesome! I formatted an answer so that the question can be closed, and anyone else seeking information will find an easily readable solution. – aliceinpalth Feb 7 '18 at 16:48
  • This question is about Linux Mint but I dare to link a similar question from askubuntu which has a wonderful one-liner solution: askubuntu.com/questions/906424/… [not sure if this is applicable for other distros though] – nuala Apr 23 '19 at 22:33
7

Title bars / window decorations are usually specific to the window manager in use. GNOME doesn't support a built-in method to launch a window/program without decorations, unlike window managers such as Openbox.

A solution that works within GTK across any window manager is to use GTK's gtk_window_set_decorated(), with more information here.

| improve this answer | |
1

Here's a non-programmatic solution that's at the X11 level, and needs only the x11-utils package, that's part of almost all distributions :

xprop -name 'Your window name' -format _MOTIF_WM_HINTS 32i -set _MOTIF_WM_HINTS 2

If you omit the -name option, you will have to click the window whose title bar you want removed. You can also specify the window ID instead, with the -id option.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.