Questions tagged [command-line]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
97 views

Set custom shortcut command not working as expected

I want to set a shortcut to open vscode in the current directory, I have tried code $(pwd) and alias s1="code $pwd" | s1 It is working in the terminal but not as a shortcut command, is there is a ...
1
vote
1answer
41 views

My temporary failure in name resolution error returned even after manually configuring /etc/resolv.conf

I have been using Elementary OS Odin for about a week. Several days ago I couldn't connect to the internet and pinging a domain name yielded the "Temporary failure in name resolution" error. ...
0
votes
2answers
158 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 OS has vlc 2.1.6 rincewind). If I go to the Videolan download page or if I use Software Center they both ...
0
votes
2answers
316 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 ...
6
votes
4answers
18k 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?
0
votes
1answer
46 views

Anaconda Navigator installed successfully but not opening in Elementary OS Hera. How can we resolve this?

I installed anaconda navigator and it installed successfully too. But when I write anaconda-navigator in terminal and press enter, the following screen comes but the anaconda-navigator does not start: ...
0
votes
1answer
164 views

How do I install flatpak apps systemwide via command-line?

I know that --user is enabled by default in Hera 5.1.7. But is it possible at all to install flatpaks system-wide for all users by command-line? I have tried $ sudo flatpak install --system com.github....
0
votes
0answers
21 views

Shows that I have connections to internet using both wired and wireless, but unable to use internet or update via command line

I was using my laptop which has had ElementaryOS (bionic Inrelease) for a while and now I cannot get anything that requires internet connectivity to work, I am also struggling to find proper commands ...
1
vote
0answers
45 views

what command does elementary os use to maximize windows in hot corners?

What is the terminal command elementary os uses to maximize minimized windows? I know the parameters are to only maximize the active window if it is minimized and if it is maximized minimize it. so ...
1
vote
2answers
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 ...
6
votes
3answers
8k 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
0
votes
0answers
228 views

eOS 5.1 shutdown/suspend not working

I've stumbled upon a problem where selecting shutdown or suspend from the power menu (little power icon in the top right corner) doesn't do the desired action. Shutdown, and Restart, simply does ...
0
votes
2answers
298 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
245 views

How do I create a toggle custom command shortcut to "show desktop" and "hide desktop"? Combine two shortcuts that view / hide desktop into one

Notice this guys reply here: https://elementaryos.stackexchange.com/a/401 - how do I compress / combine into a single shortcut? By using the wmctrl app, we can show / hide desktop in Elementary OS. ...
0
votes
0answers
170 views

Odd characters added to redirect command

When I run a simple bash statement I get extra characters in the redirect of that statement. Example, if I run for i in 12345 abcd 7890; do echo $i ; done > test.txt and then do a cat -A test.txt ...
2
votes
1answer
2k views

change username on elementary OS properly

How to change username on elementary OS — e.g. linux@eos to dago@eos properly?
2
votes
1answer
917 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 '...
1
vote
1answer
940 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 ...
0
votes
4answers
2k 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. ...
6
votes
2answers
115 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 ...
10
votes
4answers
22k 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?
1
vote
1answer
73 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.
7
votes
3answers
2k 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 ...
2
votes
3answers
2k 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 ...
1
vote
0answers
44 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
605 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 ...
0
votes
2answers
227 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
1answer
33 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 < ...
4
votes
2answers
2k 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 ...
4
votes
1answer
99 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
2k 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 ...
1
vote
2answers
402 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 ...
1
vote
1answer
579 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: ...
2
votes
1answer
1k 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?
4
votes
3answers
770 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 ...
5
votes
2answers
3k 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 ...
1
vote
2answers
147 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 ...
14
votes
3answers
27k 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.
3
votes
2answers
595 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 ...
4
votes
3answers
2k 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?
0
votes
1answer
133 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 ...
2
votes
1answer
181 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
759 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 ...
15
votes
1answer
794 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 ...
0
votes
1answer
101 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 ...
0
votes
2answers
251 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 ...
1
vote
1answer
174 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?
9
votes
2answers
6k 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 ...
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?
6
votes
1answer
1k 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 ...