[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kwin] [Bug 167852] Panels on shared screen edges not included in strut area
From:       didi156 via KDE Bugzilla <bugzilla_noreply () kde ! org>
Date:       2016-03-01 16:46:23
Message-ID: bug-167852-17878-QxFXYTK0SY () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=167852

didi156 <didi156@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |didi156@gmail.com

--- Comment #66 from didi156 <didi156@gmail.com> ---
Thanks for the workaround hint with tint.
In order to spare others some time, here's a more detailed instruction:

apt-get install tint2
(for Debian based systems)

A minimal config for a transparent panel:
panel_monitor = 2
panel_position = center left vertical
panel_size = 100% 65
panel_layer = bottom

This can easily be adapted. E.g. this config places the panel on the left side
of the second screen, 65 pixels wide. That's where I have the KDE panel which
shouldn't cover maximized windows.

I saved this config to .tint2rc. Running tint2 now adds the defined panel to
the screen. If a maximized window is open, it will immediately resize. Other
then that, the panel is invisible.

Since I often change physical workplace, having the secondary display sometimes
at the left, sometimes at the right side, I don't always want this fix. Thus I
wrote a small script which lets me toggle the panel with a single command:
#!/bin/bash

# if already running, kill it
if kill `pidof tint2`; then
        echo "tint2 killed"
else
        # else start it
        (tint2 -c ~/.tint2rc > /dev/null &) &
        echo "tint2 started"
fi

This is saved to ~/bin/fixdualhead and made executable.
Now I just need to press ALT+F2 and type fixdualhead -> Enter to add or remove
the panel.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic