Run this command in terminal to disable:
gsettings set org.pantheon.terminal.settings unsafe-paste-alert false
and then this to re-enable it:
gsettings set org.pantheon.terminal.settings unsafe-paste-alert true
@crow is totally right, another way of doing the same thing is using the dconf-editor
sudo apt-get install dconf-tools
then open it from Slingshot > Dconf Editor
Go to path, org > pantheon > terminal > settings > unsafe paste alert
Uncheck the unsafe-paste-alert.
Enter the following command in Terminal io.elementary.files-pkexec
In the old Files window, press ctrl+L to get your current path
In your new Files window, press ctrl+L, paste in the path you just copied, and press enter.
The default behavior of Ubuntu based distributions is to lock the root account to encourage the safer behavior of using sudo on individual commands that need escalated priveleges. That way you're not running as root all the time and it's a little safer.
There are a number of guides on the internet on how to install a LAMP stack on Ubuntu based distributions ...
sudo is a command-line tool, you need to use gksudo instead in this case as this will pop up a dialogue asking for the password.
However, this is probably not what you really want to do as it means the entire IDE is running as root which would be a security issue. What you should do is figure out what needs privileges and add your user to the correct group ...
it gave me a > rather than the usual me@me~$
You have included the single quote. You get > for every ENTER until you enter other single quote.
Press Ctrl + D to see actual error message. (Simply you can terminate with Ctrl + C)
what does this mean?
Off-topic in this site. But let me tell you in single line. It allows scripting in multiple lines in ...
According to pkexec man:
The environment that PROGRAM will run it, will be set to a minimal
known and safe environment in order to avoid injecting code through
LD_LIBRARY_PATH or similar mechanisms. In addition the PKEXEC_UID
environment variable is set to the user id of the process invoking
pkexec. As a result, pkexec will not allow you to run ...
I managed to solve this by opening dconf editor as root (gksu dconf-editor) and then navigating to org/pantheon/scratch/settings and setting "focused-document-view1" and "opened-files-view1" to default.
I didn't realize there could be different settings for user and root.
I think you need to change the following value in your *.desktop file in the following:
You can add icon to the Application Menu, which is in left side of the top panel, manual or with the help of some program.
With program "AppEditor"
with this program you can easily edit *.desktop files.
For DOWNLOAD click here
We need to ...
When you click to format it to ext2 also check the box: "format this partition" if not already and in the drop-down box below select the option which just says / (you should see something like /,/home,/root,/boot etc)
Elementary OS is based on Ubuntu, Ubuntu creates the root user without a password. This is a security measure as Linux does not allow anyone to log into a user account that doesn't have a password. So by default no one can log in as root. Users can run commands as root by using the sudo command, and can change to the root user using sudo su - . There is no ...
According the Ubuntu documentation, you can reset your root password following these steps:
Boot your system and hold shift key pressed until you can see the GRUB screen.
Use your arrow keys to go to an option marked as "elementary OS, linux... Recovery mode". Hit enter.
You must see a new screen with some options. Select the option marked as "root". ...
I suspect one of the following:
logind is not correctly assigning your session a logind session
you are not in the adm group
polkit is broken for some other reason
You can make sure that the second case is not causing an issue by adding your user to the adm group: sudo adduser @USERNAME@ adm (replace @USERNAME@ with your username).