Shared publicly  - 
 
Thanks to Ricardo Vieira and Žiga Patačko Koderman, we have a nice start to our terminal app, based on the backend to Konsole, KDE's terminal. I've also added a warning when you paste sudo commands to try to prevent users from copying-and-pasting random commands from the internet. Credits to +Daniel Foré and elementary OS for the idea.
165
7
Michael Zimmermann's profile photoDaniel Lyons's profile photoMichael Spencer's profile photoGeovanni Pacheco's profile photo
23 comments
 
This beats out half of the terminals out there already.
 
Amazing. Only add a checkbox to 'dont ask me anymore' plz
 
Is there an option to disable this? 
Papyros
+
3
6
7
6
 
+Geovanni Pacheco There's a setting in the config file, but no UI setting. My reasoning is that if you don't know how to edit a config file, you don't know how to safely use sudo.
 
+Papyros i didn't even realize that. wow that was a smart move.
 
Will it ship with Fish by default? 
Papyros
+
5
6
5
 
+Aditya Saky Yes, we will ship Fish and powerline as the default shell, as it's the most modern shell and status line I know of.
 
I've read that Fish isn't POSIX compliant. Won't that mess up any system scripts that depend on that syntax? Or is there some kind of compatibility setting, plugin or w/e that I'm not aware of?
 
+Papyros​ I think that too, but material design means be simple. If you can only click, why edit a config file that is more difficult. 99% of the users gonna disable this, so a checkbox is more user-friendly.
 
They want to disable it but shouldn't be able to. I'm with +Papyros​ here. If they don't know how to use sudo, they shouldn't know how to change the config. Heck, if they don't know sudo, they won't be using Terminal all that much and they won't see this so often. 
Papyros
+
3
4
3
 
+Blaž Mežnaršič The trick is to keep your actual login shell in /etc/passwd as bash, but have your terminal emulator (in this case, the Papyros terminal app) run a custom command (Fish) instead of your default login shell.
 
Will it send notification when command completes?
I was wondering is it possible to include a help option that analizes the command and tries to explain it or directly shows man entry? I haven't thought that through and I'm not sure how usable it will be
 
+Nikolay Stoynov​ Might be better to look at package appstream descriptions/metadata and display that. Some things don't bundle manual pages..
 
+Papyros I just tried fish+powerline for the first time. Thx for this suggestion! Is it just a fluke that this thing perfectly fits material design(even the colors lol)?
 
+Geovanni Pacheco On what do you base that claim? I've been using elementary OS and Pantheon Terminal a lot for the past few years and it never really bothered me that it asked me to confirm a sudo-paste every once in a while. I've the feeling that most people who know how to properly use sudo actually don't copy paste commands, but rather type them out anyway.
 
You know what, this is like Chrome OS right ? 
 
+Amadeus Stadler I'm using pantheon elementary too and that is something that was really annoying. Only after 2 months using that a get a time to find how to disable it. I think every config need be visible for any user, can be in the config of terminal menu. 
 
+Geovanni Pacheco +Papyros what about a operatingsystem-global developer mode like in Android?

U press the version number X times and suddenly u get advanced option in all papyros applications including Terminal where u'll be able to disable the sudo security feature then.
 
looks great! set the option in the settings icon :)
 
+Michael Zimmermann I just implemented an OS-global developer mode in the Settings app, triggered by tapping 7 times on the Papyros logo. The only setting in there is to disable the sudo warning in Terminal, but I imagine we'll add other settings in there as the OS progresses.
Add a comment...