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
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-...
8
votes
7
votes
Accepted
Restart GUI without rebooting the system
All you need to do is restart LightDM as root, like so:
sudo restart lightdm
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....
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 -
6
votes
Name of elementary OS terminal (to open new terminal window from within Terminal)
The command to run is:
pantheon-terminal
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....
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 ...
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 ...
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-...
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 ...
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 ...
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
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 ...
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
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
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 ...
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 ...
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 ...
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.
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 ...
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=""
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 ...
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.
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 ...
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 ...
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.
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 *"...
2
votes
Turn off display without screenlock
xset dpms force off
Also disable "Lock after screen turns off" in System Settings > Security & Privacy > Locking.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
command-line × 57pantheon-terminal × 10
keyboard-shortcuts × 7
bash × 5
release-loki × 3
settings × 3
desktop × 3
shutdown × 3
release-freya × 2
updates × 2
display × 2
suspend × 2
files × 2
slingshot × 2
code × 2
startup × 2
hot-corners × 2
launcher × 2
release-hera × 1
applications × 1
graphic-drivers × 1
plank × 1
touchpad × 1
pantheon × 1
apt × 1