SLUG Mailing List Archives
Re: [SLUG] custom buttons in KDE
- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] custom buttons in KDE
- From: scott@xxxxxxxxxxxxxxx
- Date: Tue, 17 Aug 2004 16:19:19 +1000
slug-bounces@xxxxxxxxxxx wrote on 17/08/2004 03:59:22 PM:
> A while ago I tried to create some custom buttons in the Panel.
> I wanted to be able to use these to run some 'mount' scripts for
> USBFLASH, USBHDD etc.
> I had no problem extending the the menus in the menu editor, that was
> easy, but....
> To create buttons on the panel that are able to run as 'root' so you can
> click and thus mount say the USBFLASH drive,
A couple of options.
Firstly, you could add the usbflash drive to the fstab, and allow users to
mount/unmount. man fstab(5) and mount(8)
If thats not an option, you could use sudo. man sudoers(5) and sudo(8).