/** * vBulletin 3.8.8 Beta 1 CSS * Style: 'LQ Style - child of default'; Style ID: 7 */ @import url("http://www.linuxquestions.org/questions/clientscript/vbulletin_css/style-9f6b6f19-00007.css"); How can I have KDE-SU interface for my script?
LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 09-02-2013, 11:59 PM   #1
Cougar!
LQ Newbie
 
Registered: Apr 2013
Distribution: OpenSuSE
Posts: 9

Rep: Reputation: Disabled
How can I have KDE-SU interface for my script?


Hi, everyone!

I've written a simple script to mount and un-mount ISO image.
Code:
#!/bin/bash
if /bin/mount|grep $1; then
/usr/bin/sudo /bin/umount $1
else
/usr/bin/sudo /bin/mount $1 /media/ISO_MountPoint/
fi
Then I associated it with *.ISO files, so that I can mount/un-mount an ISO image by simply double clicking it, instead of typing command.

It works but there's a little unsatisfactory thing: The interface that let me input root password is Konsole. How can I change the interface to KDE-SU as shown in the picture?

Any suggestions are appreciated!
Attached Images
File Type: jpg Snapshot9.jpg (35.2 KB, 2 views)
 
Old 09-03-2013, 01:49 AM   #2
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
kde,,, use dolphin


or substitute

kdesudo for sudo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting an Interface UP via a script GGlinux Linux - Newbie 3 03-03-2009 08:49 AM
KDE GUI Interface redsky Debian 2 05-26-2004 06:17 PM
KDE or any GUI interface not being seen SASrebel Linux - Newbie 1 03-20-2004 10:30 AM
KDE Interface Question defubar Linux - General 2 02-04-2004 12:52 AM
kde interface is incomplete? abd_bela Debian 0 09-25-2003 07:46 AM


All times are GMT -5. The time now is 11:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration