9 votes

How can I start the default file manager from terminal?

Starting with Juno release, the commands have all changed. They're adopting RDNN. For files: io.elementary.files
Jay Aurabind's user avatar
8 votes
Accepted

How can I launch a command from terminal and then close the terminal?

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-...
Ravan's user avatar
  • 7,867
8 votes

Restart GUI without rebooting the system

This worked for me: sudo service lightdm restart
Matias Elorriaga's user avatar
7 votes
Accepted

Restart GUI without rebooting the system

All you need to do is restart LightDM as root, like so: sudo restart lightdm
Fred Rocha's user avatar
7 votes

Name of elementary OS terminal (to open new terminal window from within Terminal)

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....
Isaac Woods's user avatar
7 votes

Why is my Elementary OS Not Updating via terminal / Apps are not updating from App Center?

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 -
Carlos Vinícius Mori's user avatar
6 votes

Name of elementary OS terminal (to open new terminal window from within Terminal)

The command to run is: pantheon-terminal
wolf's user avatar
  • 4,314
6 votes
Accepted

What is the command for the shutdown dialogue in Loki?

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....
wolf's user avatar
  • 4,314
6 votes
Accepted

change username on elementary OS properly

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 ...
Axel Advento's user avatar
5 votes

Is there a tool/method to dynamically layout a grid of images for scrapbook cutouts?

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 ...
user3's user avatar
  • 1,059
5 votes
Accepted

Elementary Tweaks - How can I Toggle "Prefer Dark Theme" via Terminal?

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-...
Jeroen's user avatar
  • 1,038
5 votes
Accepted

How can I find out what a Terminal command will do before I run it?

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 ...
Daniel Foré's user avatar
  • 9,734
4 votes

How can I launch a command from terminal and then close the terminal?

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 ...
user3's user avatar
  • 1,059
4 votes

Name of elementary OS terminal (to open new terminal window from within Terminal)

For the new version elementary 5.1 Hera the correct command to launch a termianl is io.elementary.terminal -n
zguell's user avatar
  • 141
4 votes

Why is my Elementary OS Not Updating via terminal / Apps are not updating from App Center?

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 ...
Mike Rodov's user avatar
3 votes

Tap to click enabling with console Command

You can enable tap-to-click with follow command: gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true
png2378's user avatar
  • 4,575
3 votes

What's the hotkey to run a command?

Slingshot is also that: a dialog box to run a command. Press ALT + F2 , type the command and press ENTER Another shortcut is Super + Space
Suici Doga's user avatar
  • 2,763
3 votes
Accepted

How do I change the wallpaper through the command line?

Thanks to the Set Wallpaper Contract there already is a convenient way to set a new wallpaper: set-wallpaper Example: set-wallpaper ~/Downloads/coolpicture.png set-wallpaper some-name.png will set ...
Rafael's user avatar
  • 4,516
3 votes
Accepted

How to prevent updating of a specific package?

Using CLI: (Recommended, see pastebin and note) Keeping on hold: (suggest: use dpkg) Apt sudo apt-mark hold package-name Dpkg sudo -s echo package-name hold | dpkg --set-selections apt-get ...
Ravan's user avatar
  • 7,867
3 votes
Accepted

Is there a tool/method to dynamically layout a grid of images for scrapbook cutouts?

Thanks to @magicalex over on Ask Ubuntu, I have found something pretty close to what I was looking for. Sometimes it can crop the images slightly but you can click regenerate to try another ...
johnp's user avatar
  • 315
3 votes
Accepted

Open elementary apps from the command-line

Besides writing io.elementary.code or creating an alias there isn't any way to open a app from the command line.
Maccer's user avatar
  • 1,984
2 votes

How to prevent updating of a specific package?

Finally, a simple solution. Open terminal and run: sudo nano /etc/apt/preferences The above command open the file, if not there, it will create. Here you want to hold vlc (for example) to ...
Ravan's user avatar
  • 7,867
2 votes

Cannot use F10 in command-line applications in Pantheon Terminal

My settings.ini was empty so I actually had to add Settings section to ~/.config/gtk-3.0/settings.ini [Settings] gtk-menu-bar-accel=""
Jan Klepal's user avatar
2 votes

How to prevent updating of a specific package?

Use synaptic: Note: This method holds/locks packages when using software-updater but not with apt-get upgrade To install synaptic, open terminal and run: sudo apt-get install synaptic I will ...
Ravan's user avatar
  • 7,867
2 votes

I think I just broke elementary and have no idea what to do, can someone help?

Seems to me you can only do is to reinstall elementary OS. If there some files you want to backup, try it, but that's what I would do, reinstall system.
facyber's user avatar
  • 53
2 votes

What's the hotkey to run a command?

Like in elementary don't exists that option. so I create the file: ~/bin/run This is the script: #! /bin/bash ## Zenity command=`zenity --title "Run commands" --entry --text "Command"` ## Bash eval ...
koxmoz's user avatar
  • 111
2 votes
Accepted

Suspend from shortcut

The command working on freya is: dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.Suspend" boolean:true The pmi action suspend ...
Ravan's user avatar
  • 7,867
2 votes

Restart GUI without rebooting the system

The worst is that noone mentioned that you must use alt+ctrl+F1 to F6 to switch to terminal. Login there as standard user. Restart x with sudo command and then press alt+ctrl+F7 to go back to GUI.
Sysadmin's user avatar
  • 822
2 votes
Accepted

Get the current song information from volume control (command, etc)

The indicator is using the MPRIS dbus interface. So you could listen to dbus. For example something like this. dbus-monitor --session "path=/org/mpris/MediaPlayer2" --monitor | awk ' /string *"...
Djax's user avatar
  • 2,879
2 votes

Turn off display without screenlock

xset dpms force off Also disable "Lock after screen turns off" in System Settings > Security & Privacy > Locking.
cristian mos's user avatar

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