[Kde-kiosk] SLAC: locking down konsole

Brobeck, Kenneth brobeck at slac.stanford.edu
Wed Feb 20 22:01:15 CET 2008


 Great...thank you.

I bypassed the "konsole" and used 'xterm -e' to perform the ssh function.



-----Original Message-----
From: Robert Knight [mailto:robertknight at gmail.com] 
Sent: Wednesday, February 20, 2008 12:28 PM
To: Martijn Klingens
Cc: kde-kiosk at kde.org; Brobeck, Kenneth
Subject: Re: [Kde-kiosk] SLAC: locking down konsole

Hello,

In KDE 3, you can stop the right click menu from being opened by blocking the "action/konsole_rmb" action using the standard methods for restricting actions in KDE:

http://techbase.kde.org/index.php?title=KDE_System_Administration/Kiosk/Introduction#KDE_Action_Restrictions

In KDE 4, Konsole uses the standard KDE XML resource files for menus ( $KDEDIR/share/apps/konsole/konsoleui.rc , sessionui.rc , partui.rc (embedded terminals only) ).  Removing entries from there will remove the corresponding menu items.  Alternatively you can leave those files as is and use them instead to find out the names of actions which can be removed using the Kiosk tools mentioned earlier.  The only entries which I believe cannot be locked down at the ones on the context menu to Open/Copy links in the text.

Regards,
Robert.

On 20/02/2008, Martijn Klingens <klingens at kde.org> wrote:
> On Wednesday 20 February 2008 00:32, Brobeck, Kenneth wrote:
>  > I have some applications that we set up as an icon to launch.  The 
> problem  > is that it launches konsole and I haven't found a way to lock down konsole.
>  >  I can turn off the menubar, but a user can right-click and turn it 
> back on  > and/or open a terminal.  I don't want them to open a 
> terminal.  Does anyone  > know how to disable the menu completely - 
> and the right-click menu, so the  > user cannot get access?
>
>  I'm not sure if that can be locked down.
>
>  Perhaps the konsole maintainer (CC-ed) knows?
>
>  --
>
> Martijn
>


More information about the kde-kiosk mailing list