[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: What is dbus command to toggle showdesktop?
From: vatbier <vatbier () yahoo ! com>
Date: 2008-10-26 16:11:22
Message-ID: 893394.4943.qm () web50312 ! mail ! re2 ! yahoo ! com
[Download RAW message or body]
KDE 4.1.2 here.
I want to have a ShowDesktop icon in the quicklauncher plasmoid that I have placed \
next to the icon of K menu. The ShowDesktop widget that now sits next to the \
quicklauncher takes too much place (I like small icons like those of quicklaunch in \
Windows XP and Vista). Dragging the ShowDesktop widget to the quicklauncher doesn't \
work as the quicklauncher widget can't work with "services", it expects a .desktop \
file with an exec command. In KDE 3.5.9 I could do this with a dcop command.
qdbusviewer shows that there are no dbus methods for toggling showdesktop.
I looked at the source code of plasma_applet_showdesktop.so:
NETRootInfo info(QX11Info::display(), 0);
...
info.setShowingDesktop(m_down); //m_down is a boolean
I fear I have to write my own C++ code to be able to toggle showdesktop with a click \
on an icon in quicklauncher but I don't know anything yet about the plasma source \
code. I've asked this question also in plasma KDE forum.
If there is no existing command I'll file a wish request at bugs.kde.org
vatbier
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic