<div dir="ltr">Why go so far?<div><br></div><div>Is there a special reason for using KDE?</div><div><br></div><div>For instance: Ubuntu Netbook Release comes with a locked panel (GNOME) - you can't add to it or remove from it.</div>

<div><br></div><div><br>.:====================================================:.<br><br>Amichai Rotman<br><br>Registered Linux User#: 201192 [<a href="http://counter.li.org/">http://counter.li.org/</a>]<br>Registered Ubuntu User #12851 [<a href="http://ubuntucounter.geekosophical.net">http://ubuntucounter.geekosophical.net</a>]<br>

<br>------------------------------------------------------------------------------------------------------------<br>.:====================================================:.<br>
<br><br><div id="WISESTAMP_SIG_6453"></div><br><br><div class="gmail_quote">On Thu, Sep 30, 2010 at 08:32, Duncan <span dir="ltr"><<a href="mailto:1i5t5.duncan@cox.net">1i5t5.duncan@cox.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Dotan Cohen posted on Wed, 29 Sep 2010 21:14:31 +0200 as excerpted:<br>
<div class="im"><br>
> I have an elderly user who is constantly unlocking and destroying his<br>
> KDE 4 panels. I disabled the right-click on the desktop to prevent 90%<br>
> of the problem, but how can one disable right-click on the panel? Or at<br>
> least to remove the "Unlock Widgets" menu item from there?<br>
<br>
</div>These first two aren't thru kde4 itself, but here are a couple ideas:<br>
<br>
1) If he can't properly distinguish right- and left-click (or can, but<br>
simply doesn't have that level of motor control any more) either get him<br>
an "Apple-style" single-button mouse or consider configuring xorg/hal to<br>
treat the buttons the same -- as a left-click.<br>
<br>
2) Consider changing the permissions on the files in question to read-<br>
only.  Plasma will likely still let him alter the in memory running<br>
version, but restarting plasma will then return him to an as-new config.<br>
I'd start with $KDEHOME/share/config/plasma* and (recursively) with<br>
$KDEHOME/share/apps/plasma*.  Leaving them as his ownership is likely<br>
fine, just set them read-only.  Of course, you can change the ownership<br>
(on the containing dirs too) to root or something, if desired, and ensure<br>
he has only read perms, to really make them read-only, but that wouldn't<br>
appear to be necessary, as from what I gather he's not doing it<br>
deliberately.<br>
<br>
Also, as a helpful hint, from kde 4.5, the panel setup is now scripted,<br>
and you can create custom "default" panels if desired, so if he messes it<br>
up, at least it's easier to rebuild -- simply choose new panel, and choose<br>
the customized one instead of empty or the normal default.  It's also<br>
possible to clone activities, which sort of allows making a backup as<br>
well, tho that's a bit different.<br>
<br>
To directly answer your question, I don't see any way (which isn't the<br>
same as saying there's not one) to directly remove that action except by<br>
modifying source.  Of course, given that KDE is freedomware, that's always<br>
an option.<br>
<br>
Another (advanced level, and more something to do as a last resort with<br>
servantware you don't have the sources to) workaround that could work or<br>
help...  Set the panel to windows-can-cover, and create a transparent<br>
overlay app that absorbs input you don't want to pass on, while passing on<br>
input that you do, to the underlying panel.  Then use window controls to<br>
force it to position at the correct location, go borderless, maybe always-<br>
on-top, etc.<br>
<font color="#888888"><br>
--<br>
Duncan - List replies preferred.   No HTML msgs.<br>
"Every nonfree program has a lord, a master --<br>
and if you use the program, he is your master."  Richard Stallman<br>
</font><div><div></div><div class="h5"><br>
___________________________________________________<br>
This message is from the kde mailing list.<br>
Account management:  <a href="https://mail.kde.org/mailman/listinfo/kde" target="_blank">https://mail.kde.org/mailman/listinfo/kde</a>.<br>
Archives: <a href="http://lists.kde.org/" target="_blank">http://lists.kde.org/</a>.<br>
More info: <a href="http://www.kde.org/faq.html" target="_blank">http://www.kde.org/faq.html</a>.<br>
</div></div></blockquote></div><br></div></div>