I alt-clicked on a window's title bar and removed the bar by clicking "No border" but now I have no accessible means to restore that window's title bar. Is there a way to open KWin for that specific window? What are my options for restoring the window's border? (Plasma 5, if it's version-specific.)
4 Answers
Check in Systemsettings > Application Style > Window Decorations
there should be an option to set borders.
or edit the following config file: ~/.config/kwinrc
look for the line: BorderlessMaximizedWindows=true
and either change it to false or comment it out.
- 
        Neither of these apply to me. I'm also on Plasma 5. There's no option to set borders, and the line in kwinrc already doesn't exist.chreekat– chreekat2018-06-29 13:47:28 +00:00Commented Jun 29, 2018 at 13:47
- 
        this setting is non-existent in Plasma 5Sajuuk– Sajuuk2021-08-13 13:05:27 +00:00Commented Aug 13, 2021 at 13:05
- 
        I can clearly hear the voice of a colleague now, he's always around when there's a problem with linux that requires this kind of solution, while in another OS you just press a button. Luckily I've solved with Janghou's answer...and his voice went away :-Dtrane77– trane772022-07-29 22:31:13 +00:00Commented Jul 29, 2022 at 22:31
press Alt+F3 on window with focus:
choose menu item(s): more actions > [deselect] 'no borders'
You should get a message dialog when you 'hide border' that reads something like ... blah, blah. use Alt+F3 to show menu allowing you to do the above with your mouse.
If you are Not getting the message do this (utf-8 editor!):
Edit file: ~/.kde4(.kde)/share/config/kwin_dialogsrc
Change or Add the Line(s):
[Notification Messages]
altf3warning=true
Save, Done. (no restart necessary)
- 
        1The first half of your answer duplicates Janghou’s answer.Scott - Слава Україні– Scott - Слава Україні2020-07-08 03:27:16 +00:00Commented Jul 8, 2020 at 3:27
- 
        so what. It's a complete answer.Landis Reed– Landis Reed2021-03-08 04:46:50 +00:00Commented Mar 8, 2021 at 4:46
I needed to do the same thing, but I didn't find anything relevant in ~/.config/kwinrc.
I found the application-specific settings in ~/.config/kwinrulesrc.  I removed them with Vim, and restarted kwin_x11, and restored the border on the program I had previously removed the border from.





