script to start dolphin in guest mode

Non release banter
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 5117
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

script to start dolphin in guest mode

Post#1 by francois » 29 Mar 2014, 21:01

I am trying to figure a script to start dolphin-root-mode in guest mode. The following instructions in cli mode does the job:

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# export $(dbus-launch)
root@porteus:/home/guest# dolphin
How would you write that script? It has to ask for the root password. :twisted:
Voltaire: Le mieux est l'ennemi du bien.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5652
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: script to start dolphin in guest mode

Post#2 by brokenman » 29 Mar 2014, 21:47

Code: Select all

export $(dbus-launch)
kdesu dolphin
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 5117
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: script to start dolphin in guest mode

Post#3 by francois » 30 Mar 2014, 13:01

Hum! That simple. :oops:
Thanks.

And as I get very huge windows. How do I fix their size to smaller values?
Voltaire: Le mieux est l'ennemi du bien.

Post Reply