File Manager SU mode using expect
One thing I always liked in KDE was the Filemanager SU Mode. I wrote this simple script using expect to take it's place when using any window manager.
#!/usr/bin/expect
spawn "su"
expect -re "Password:"
send "zxcvbn\r"
expect -re "#"
send "nohup fr\r"
expect -re "#"
fr=FileManager
zxcvbn=su password
|