21

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


11

The file manager is pantheon-files, so simply running pantheon-files works. Because pantheon-files does not run in the background by default and generates plenty of terminal output: huey@galactica:~$ pantheon-files [_LOG_LEVEL_INFO 11:43:27.546677] Application.vala:155: Files version: 0.2.1 [_LOG_LEVEL_INFO 11:43:27.546761] Application.vala:157: Kernel ...


11

You can launch the shutdown menu with the following command dbus-send --session --print-reply --dest=com.canonical.Unity /org/gnome/SessionManager/EndSessionDialog org.gnome.SessionManager.EndSessionDialog.Open uint32:2 uint32:0 uint32:0 array:objpath:[]


11

What is sudo? sudo is running the following command with super user (root) privileges. That's basically the "administrator" you might know from other platforms. But why is this dangerous? Because with super user privileges, everything can be done on your system (as it has access to all files and your system's whole functionality). Remove every single ...


11

The latest version of Pantheon Files on freya allow you to drag and drop files by right-clicking on them. When you drop it a contextual menu appears letting you copy it, move it, or create a link. To manually create it with the terminal, just follow Huey's steps.


10

It can be done via gsettings. Find the key you need(play around with grep to find the exact key, its easy): # gsettings list-recursively | grep hotcorner org.pantheon.desktop.gala.behavior hotcorner-custom-command '' org.pantheon.desktop.gala.behavior hotcorner-bottomright 'none' org.pantheon.desktop.gala.behavior hotcorner-topright 'none' org.pantheon....


8

If you want to use the prefered file manager you can use xdg-open, to open for example the file manager in Projects/ you can use xdg-open Projects/ Source : xdg-open


8

You can use: nohup nohup scratch-text-editor /path/to/file & Then close terminal with Ctrl+D If you want direct in single command: Use exit at the end of the command. like, nohup scratch-text-editor /path/to/file & exit setsid setsid scratch-text-editor /path/to/file ; exit disown scratch-text-editor /path/to/file & disown ; exit All ...


7

Yes there is, it's called xdg-open and should be installed by default. You can read more about it in ArchWiki: xdg-open is a desktop-independent tool for configuring the default applications of a user. Many applications invoke the xdg-open command internally. Inside a desktop environments like GNOME, KDE, or Xfce), xdg-open simply passes the ...


7

To solve the problem "public key is not available: NO_PUBKEY A74F73EFFE70B91C", import the key: wget -q "http://packages.elementary.io/key.asc" -O- | sudo apt-key add -


6

Starting with Juno release, the commands have all changed. They're adopting RDNN. For files: io.elementary.files


6

For this session Simply run this command: alias key='your long command' Permanently Add the commands as described above into .bash_aliases. Open scratch with the Applications menu and edit the file .bash_aliases in your home directory. It's a hidden file, so press Ctrl+H to see it. Or you can type in the terminal: scratch-text-editor ~/.bash_aliases ...


6

@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.


6

I know this is an old thread, but the approved answer is now incorrect and this is still the top Google link for this question, so in new versions of Elementary OS, the terminal is called io.elementary.terminal


6

This has been answered in another question on another StackExchange site but this is basically what you need to do: While the user you need to modify is logged out and you're logged in as another sudoer user, do the following: sudo usermod -l newUsername oldUsername This changes your username but not your home folder. If you're okay with having a ...


5

The closest I have found is montage from image magik. It's not quite what you want, and you may have already seen it and decided it won't work. First, install imagemagik: sudo apt-get install imagemagick then we will use the montage command: montage *.jpg -tile 5x -geometry 200x+10+0 montage.jpg and it gives an output like this: Click for a bigger ...


5

I don't think there is an command for this, but you can edit a file. Create/edit the following file: ~/.config/gtk-3.0/settings.ini And change it to this: [Settings] gtk-application-prefer-dark-theme=1


5

To be able to use the F10 inside the terminal edit your settings.ini file at ~/.config/gtk-3.0/settings.ini and add the line: gtk-menu-bar-accel=""


5

Not quite what you wanted, but here was what I was able to find: Shutdown directly: dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.PowerOff" boolean:true Reboot directly: dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1....


5

The command to run is: pantheon-terminal


5

There's a great online tool called ExplainShell that will break down the command into its individual parts and explain what each part does. For example, see this page which explains the following command: sudo add-apt-repository --remove 'deb [arch=amd64] https://packages.elementary.io/appcenter xenial main'


4

To create a symbolic link from /home/huey/galactica to /usr/local/pegasus, meaning that the galactica directory in the home folder points to the pegasus folder: ln -s /home/huey/galactica /usr/local/pegasus


4

Creating an alias is quite simple, and it opens a whole realm of possibility for adding shortcuts to your terminal usage. In General: Open up ~/.bashrc in your favourite text editor, and add the following to the end: alias <string>='<full and long command>' For your specific example: Again, adding to the end of the .bashrc file: alias sfoh='...


4

Sudo is used to give a normal user the permissions as an administrateur. One of the bad things that might happen to you Using a command to remove the whole / folder, for example sudo rm -rf /usr Removing an important application/drivers that will make your desktop unusable, for example sudo apt-get remove wingpanel* slingshot* How to reduce the danger ...


4

It appears to be a bug primarily affecting server installs and other headless versions of Ubuntu. It can be fixed with sudo /etc/init.d/screen-cleanup start. According to the bug description: I believe this is because /etc/rcS.d/S70screen-cleanup is running via upstart much earlier than it expects to have run, and is failing to correctly clean up that ...


4

In the future use this command: scratch-text-editor /file/to/open.txt for this: scratch-text-editor /file/to/open.txt & Note the & on the end there. That will start it as a separate process. Now to close the terminal, simply hit Ctrl + D. If you forget to use & then you can detach it. First press Ctrl + Z to suspend the program. This can ...


4

All you need to do is restart LightDM as root, like so: sudo restart lightdm


4

Following what I've found about these topics, I think you either need to remove the conflicting package, or you need to overwrite it explicitly (I have no idea why its not an option that pops up while you are trying to install): sudo dpkg -i --force-overwrite /var/cache/apt/archives/appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1_all.deb (source)


Only top voted, non community-wiki answers of a minimum length are eligible