How to disable unsafe copy-paste warning while using Terminal in elementary OS

Terminal Unsafe Paste Warning in elementary OS
Terminal Unsafe Paste Warning in elementary OS

Elementary OS shows a warning message when you copy and paste the command lines from the internet browser to the Terminal, like you do it all the time when following our tutorials. Although the warning may be OK for beginners, it can become a frustrating experience and the additional click on ‘Paste Anyway’ may become a unwanted extra step. Thankfully, it is very easy to turn it off using the ‘dconf-tools’.

Terminal Unsafe Paste Warning in elementary OS
Terminal Unsafe Paste Warning in elementary OS

 

STEP 1: INSTALL DCONF EDITOR

Go to ‘Applications’, and launch the ‘Terminal’. Copy and paste the following command in the terminal to install ‘dconf-editor’.

sudo apt-get install dconf-tools

You will have to  type ‘Y’ to confirm installation.

STEP 2: CONFIGURE DCONF TO TURN OFF TERMINAL WARNING MESSAGE

Go to ‘Applications’ and type ‘dconf editor’ and launch it.

Navigate to the following path in the dconf editor dialog box: org > pantheon > terminal > settings > unsafe paste alert.

dconf editor - uncheck unsafe alert in terminal settings
dconf editor – uncheck unsafe alert in terminal settings

Uncheck the ‘unsafe-paste-alert’ option in the right pane. That’s it. You will no longer see that alert message in terminal. Anytime if you want it back, you can come to same option in dconf editor and check the box.

Hi there! I'm Kiran Kumar, founder of FOSSLinux.com. I'm an avid Linux lover, and enjoys hands-on with new promising distros. Currently, I'm using Linux Mint as a daily driver and run several other distros such as Fedora, Solus, Ubuntu, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread my love for Linux. If you find time, drop me an email or feedback from 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!

Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz