How to disable unsafe copy-paste warning while using Terminal 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



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.


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.

Kiran Kumar
Hi there! I'm Kiran Kumar, founder of I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, 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 Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!


Please enter your comment!
Please enter your name here




How to create an Arch Linux Live USB drive on Ubuntu

create Arch Linux Live USB drive
This article provides a step-by-step guide on creating an Arch Linux USB installation media on Ubuntu PC. The Live USB media can be used to install Arch Linux.
best linux distros for laptops
Whether buying a Linux pre-installed laptop or selecting a Linux distro for your existing laptop, there are many things to consider. Let's take you through some of the best Linux distros that are optimized for Laptops in this 2019 edition of the article. Read on.
best linux distros programmers
Linux distros have long been a favorite among programmers since the rise in popularity of the OS in the nineties. Programmers are technical by nature, and Linux distros appeal to that technical nature. Let's discuss why Linux is a great desktop OS for programmers and developers, and find out best distros suitable for them.
screen capture apps linux
Do you want to make a video tutorial for YouTube or show-off your epic victory royale to your friends? Look no further — as we have compiled the 10 Best Screen Capturing Software for Linux. Whether you need to record your desktop screen or take a simple screenshot, FOSSLinux has got your back.