Most Popular

1500 questions
247
votes
3 answers

How to open file with default application from command line?

In Nautilus, when you double click a file, it will open it with the default application associated with the file's extension. For instance, .html files will open in a web browser and .pdf will be opened with Document Viewer. Is there a way to…
247
votes
7 answers

Why ~/.bash_profile is not getting sourced when opening a terminal?

Problem I have an Ubuntu 11.04 Virtual Machine and I wanted to set up my Java development environment. I did as follows sudo apt-get install openjdk-6-jdk Added the following entries to ~/.bash_profile export…
Viriato
  • 2,581
  • 3
  • 14
  • 6
246
votes
12 answers

How do I add locale to ubuntu server?

I currently have those locales: locale -a C en_AG en_AG.utf8 en_AU.utf8 en_BW.utf8 en_CA.utf8 en_DK.utf8 en_GB.utf8 en_HK.utf8 en_IE.utf8 en_IN en_IN.utf8 en_NG en_NG.utf8 en_NZ.utf8 en_PH.utf8 en_SG.utf8 en_US.utf8 en_ZA.utf8 en_ZW.utf8 POSIX How…
Silver Light
  • 2,557
246
votes
18 answers

How do I free up disk space?

My Ubuntu cloud server has left only 900MB of disk space. I'll just empty the directory /tmp and wondering if there is any other location to clean up.
user3215
  • 5,383
246
votes
7 answers

Force alt + tab to switch only on current workspace in GNOME shell

I am looking for a clean and fast method to force GNOME in Ubuntu 14.04 to switch between active apps only on the current workspace when pressing the shortcut alt + tab.
daniel451
  • 7,403
  • 8
  • 23
  • 25
246
votes
19 answers

Flash video appears blue

The Problem After updating to Ubuntu 12.04 from Ubuntu 11.10, all video is still blue, whether playing in a browser or a player. Same problem occurs in 11.10 as well. I have tried to uninstall all Flash and re-installed but it makes no…
pst007x
  • 8,052
245
votes
15 answers

How do I enable syntax highlighting in nano?

Can nano do syntax highlighting like gedit and vim? How can I enable it? I need at least bash and python syntax highlights.
Oxwivi
  • 17,849
245
votes
1 answer

What are the Meta, Super, and Hyper keys?

In System → Preferences → Keyboard → Layout → Options → Alt/Win key behavior in older Ubuntu versions or in GNOME Tweaks → Keyboard & Mouse → Additional Layout Options → Alt and Win behavior for Ubuntu 17.10 and later, there is a menu similar to the…
Jorge Castro
  • 71,754
245
votes
16 answers

How can I find the version of Ubuntu that is installed?

I installed some version of Ubuntu on my VMware, but I don't know what version exactly it is. How can I find it out?
Am1rr3zA
  • 3,582
244
votes
12 answers

How to revert to GNOME Classic Desktop?

I'm used to GNOME Classic and personally don't want to change to anything else, but it seems there is no more GNOME Classic in the Oneiric release. After apt-get installed gnome-session and all, though there comes back the GNOME Classic option in…
Lenik
  • 10,398
244
votes
25 answers

How to show only hidden files in Terminal?

I have a directory that contains thousands of files, some of which are hidden. The command ls -a lists all files, including hidden ones, but I need to just list hidden files. What command should I use?
nux
  • 38,017
  • 35
  • 118
  • 131
243
votes
16 answers

What's the difference between Google Chrome and/or Chromium? What are the advantages/disadvantages to each?

I used Google Chrome in Windows, and am now using Chromium in Ubuntu. Is there any difference to the two programs? What are the advantages and disadvantages to each program? Which one seems better?
RunningUtes
  • 3,932
243
votes
14 answers

How do you run Ubuntu Server with a GUI?

Trying to run a Ubuntu server for the first time... But everything is in a terminal. Is there a way to switch to a GUI?
243
votes
12 answers

How to uninstall LibreOffice?

Which package should I remove to completely remove libreoffice? I have no need for office tools. That's the one gripe I have with package managers like apt, there's no simple way to perform the essential task of removing unwanted software :S
lapin
  • 2,695
242
votes
4 answers

Can I make Tab auto-completion case-insensitive in Bash?

Ubuntu's Terminal uses case-sensitive auto-completion, as would be expected for Linux. But I think sometimes it would be more convenient to use a case-insensitive one instead, to save you having to be accurate while starting a name, and would…
mwfearnley
  • 3,317
  • 2
  • 22
  • 28