Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [command-line]

refers to the command line interface (CLI) and commands executed through the CLI

0
votes
4answers
229 views

Open elementary apps from the command-line

How can I open elementary apps from the command-line? Particularly Code and Files. I already found /usr/bin/io.elementary.files and /usr/bin/io.elementary.code, build they are not really convenient. ...
0
votes
1answer
102 views

How to minimize from active corners

I want to minimize a window through the active corners I only see that it can be done by means of a customized command, does anyone know what it would be? I would appreciate your help.
0
votes
1answer
43 views

Elementary OS 0.3.2 Freya 64-bit Ubuntu 14.04 downloading VLC

I've been trying to download the latest version of VLC which is 3.something (my elementary has vlc 2.1.6 rincewind). If I go to the Videolan download page or if I use Software Center they both revert ...
1
vote
1answer
178 views

Open pantheon terminal with starting command

How can I open pantheon-terminal with starting command to be executed? For example something like pantheon-terminal --start-with echo "Hello World!" should open new terminal window and execute the ...
1
vote
0answers
22 views

Emacs Nox End of File

Just installed Loki, coming from Ubuntu Gnome. Installed emacs-nox: sudo apt install emacs-nox As expected emacs opens my editor, but when I edit a file I often immediatley enter meta-shift-? (meta-...
1
vote
1answer
54 views

Noise playback control from terminal

I would like to start/stop music from a bash script. Already tried looking in noise --help, but that lists none.
0
votes
1answer
30 views

How to read commands from a text file [closed]

I would like to write some commands into one file and then I want the command line to read the file and do all commands inside the file. Step by step. For example: C:\Users> project1.exe < ...
2
votes
1answer
645 views

change username on elementary OS properly

How to change username on elementary OS — e.g. linux@eos to dago@eos properly?
1
vote
3answers
1k views

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

I am not able to update apps or the OS. While upgrading from the terminal, I am getting this error message: Do you want to continue? [Y/n] y (Reading database ... 271161 files and directories ...
5
votes
1answer
91 views

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

If I run into a Terminal command here in StackExchange or elsewhere on the Internet, how can I easily understand what this command will do so that I can make sure it's safe before I run it?
1
vote
2answers
682 views

Turn off display without screenlock

Is there a terminal command? For istance, when i type: sleep 1 && xset dpms force off It turns off the display but enables automatically the screenlock (that instead I'd like to keep just ...
0
votes
2answers
90 views

Startup command won't execute

I need to run the command at startup to calibrate my screen using Xcaliber xcaliber --bR=256 --bG=256 --bB=212 --gR=1.04 --gG=0.9600000000000001 --gB=1.01 So I tried to set it as a custom startup ...
0
votes
2answers
237 views

How to set startup commands for application´s in launcher shortcut?

How can i set startup commands for application´s in launcher shortcut? Example: I want to start my Browser with this command: opera --disable-reading-from-canvas --disable-webrtc-encryption or ...
0
votes
2answers
212 views

I need to run exec bash to accsess Jekyll or Ruby for example

I installed chruby, ruby-install from this tutorial and changed .bashrc acording to it. I can use Jekyll to build websites now, but only after I run exec $SHELL. Otherwise bash tells me the command ...
1
vote
2answers
71 views

Commands to start sub-Settings?

I rarely use most of the Settings, but those that I use more often (Shortcuts, Startup applications, Printers) I want them accessed really fast. For example I would like to be able to open with only ...
0
votes
1answer
93 views

Open url from terminal in chrome

When I click on the link just echoed, it is opened in firefox. Earlier such links from terminal were opened in chrome. But then I made firefox as my default browser. Then on wards these links are ...
3
votes
1answer
147 views

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

I was wondering if there's a way to get the current song in Elementary OS from the volume menu item. So, is there a command I can use to get it, or detect when the song changes? I'm essentially ...
1
vote
2answers
654 views

Tap to click enabling with console Command

What is a command for enabling tap-to-click through console please? My trackpad's left/right buttons don't work on my laptop and I currently don't have a mouse at home I could use so I need it to be ...
1
vote
1answer
402 views

Command to show Plank dock

I want to keep the dock hidden and to show it with a short-key associated to a command. Is there a such command to show the Plank dock? When shown I would prefer to have it under rather than above ...
4
votes
2answers
4k views

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

Looking for the command to open a new terminal instance and suggestions I've found to use terminal or gnome-terminal are incorrect
3
votes
2answers
7k views

Restart GUI without rebooting the system

How can I restart my GUI (X window server) from command line without rebooting the system? Which process(es) do I need to kill and do they automatically restart?
1
vote
1answer
1k views

What is the command for the shutdown dialogue in Loki?

I asked the same question for Freya but in Loki the situation is different, none of the two dialogues can be triggered with those commands. gnome-session-quit --power-off used to trigger this ...
0
votes
2answers
135 views

Computer desktop is gone?

After fresh install I updated my elementary os. It said that I have to reboot. I didn't. I installed my amd drivers and then I rebooted. I rebooted it myself I didn't clicked reboot.The e symbol ...
0
votes
1answer
82 views

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

I've made two stupid mistakes today: I mistakenly uninstalled a lot of programs through the terminal & I tried receiving help on the ubuntu stack exchange instead of here (which I didn't know ...
4
votes
3answers
1k views

What's the hotkey to run a command?

In some distros there is a hotkey that opens a dialog box to run a terminal command. Does this exist in elementary OS, and if so what's the hotkey? If not, how can I add a custom hotkey?
2
votes
1answer
869 views

How do I change the wallpaper through the command line?

Is there any DConf/Gsettings etc. interface for changing the wallpaper through the command line?
-1
votes
1answer
90 views

Why isn't `bash -c` working in this desktop/launcher?

I have a .desktop file to start Youtube-Viewer which is an application that runs in terminal. The command to use is something like youtube-viewer --video-player=mplayer. It works when I fire that in ...
1
vote
1answer
334 views

Syntax error after running every command in tmux

I am getting the same error after executing every command in tmux and after running it, and this is annoying: -bash: PROMPT_COMMAND: line 0: syntax error near unexpected token `;;' -bash: ...
3
votes
2answers
374 views

Suspend from shortcut

I've tried to add a shorcut with the command: dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend in Freya with no result. When ...
7
votes
4answers
6k views

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

I ran scratch-text-editor in terminal, but now I want to close the terminal without closing scratch. Is this possible, if so; how?
6
votes
1answer
659 views

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

I just installed the elementary-tweaks package on Freya, and was wondering if there was a way to control the Prefer Dark Theme option programmatically with a script, or directly via the terminal. I am ...
6
votes
2answers
85 views

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

I'm looking for a tool that will layout images into grids dynamically without altering their proportions. The purpose would be to make cutting image printouts much faster for scrapbooking. I know a ...
1
vote
1answer
167 views

Super/Windows+L, what command does it use?

I am unable to discover what command is been output on the use of Super+L key combination. gnome-screensaver-command -l is not it, dm-tool -lock also not. Does anybody know what it is?
4
votes
3answers
516 views

How to prevent updating of a specific package?

I would like to update just the base of elementary system and not the all installed apps. I can run sudo apt-get install package-name to upgrade the package if it is already installed. Whereas I can ...
4
votes
1answer
663 views

How do you open files from the command line without knowing the specific program name for the file?

I've had success opening files from the command line if I know the program used to view the file. If I need to open a .pdf I can call evince filename. What do you do if you don't know which program ...
5
votes
2answers
2k views

Installing NVidia Drivers - Blank Screen

I'm going through the steps to install my GTX 970 Driver onto my Elementary OS system but when I run the following command, I get a blank screen... sudo sudo service lightdm stop I believe I am ...
4
votes
2answers
1k views

Cannot use F10 in command-line applications in Pantheon Terminal

As title says - when launching "mc" in Pantheon Terminal the F10 key (used to signal "quit" for mc) is not received. The Gnome Terminal has the option to disable the "menu shortcut key F10". Is ...
2
votes
1answer
984 views

“unable to execute /bin/chmod: Argument list too long” when I'm trying to use chmod command

This is how it happened: julian@JulianNB:~$ sudo chmod 644 ~/音樂/* [sudo] password for julian: julian@JulianNB:~$ sudo chmod 755 ~/音樂/*/ julian@JulianNB:~$ sudo chmod 644 ~/音樂/*/* sudo: unable to ...
6
votes
1answer
1k views

How can I configure Hot Corners from Terminal?

For example, how can I set show applications menu to the top-left corner?
8
votes
2answers
4k views

Why is running commands with sudo dangerous?

I know that sudo can do some bad things - there are warnings everywhere: But I'm interested as to what is likely to happen when using sudo - why is it so dangerous, and what can I do to reduce that ...
7
votes
4answers
14k views

How can I start the default file manager from terminal?

I have X11 Forwarding on, and want to use a graphical interface to manage files. How can I start the default file manager over ssh?
14
votes
1answer
727 views

What is the command behind the default shutdown menu in Freya?

I can access two different shutdown menus. One is the default one : The other is the one triggered by the command gnome-session-quit --power-off : When looking for a command that I could use with a ...
6
votes
3answers
974 views

Remove or ignore duplicate entries in terminal history

Is it possible to ignore or remove duplicate entries from the terminal history? Right now, when I click the up-arrow to go through my previous commands, there are lots of duplicates, or when I use ...
1
vote
1answer
481 views

Permissions denied for screen

screen is a Linux tool for managing multiple shell windows. Upon running it in a headless version of Elementary I received the following error: (watson)huey@terminus:~$ screen Cannot make directory '...
8
votes
2answers
1k views

How can I create a symbolic link?

Symbolic links are useful for storing things in a separate place from where they appear to be. In computing, a symbolic link is a type of file that contains a reference to another file or directory....
13
votes
2answers
2k views

How do I disable the sudo paste warning?

How can I disable this popup? I can't find any settings.
8
votes
2answers
1k views

How can I set up an alias for a command?

I want to set up a shorter name as an alias of this command: sudo -i pantheon-files $(pwd) For example I want to type sfoh (for sudo file open here) and it should run this command. How do I do this?...
13
votes
3answers
23k views

How can I install VBox Guest Additions? [duplicate]

I have inserted the CD and navigated to it in the terminal. But when I run ./autorun.sh it doesn't give any useful output, and it doesn't appear to have installed.