Most Popular

1500 questions
138
votes
9 answers

PKG_CONFIG_PATH environment variable

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. What does this mean ?
MKJ
  • 1,569
138
votes
8 answers

How to change the default font size of XTerm?

XTerm font is very small. How can I set it larger?
Sudo
  • 1,383
138
votes
4 answers

How do I add an additional hard drive?

I am going to put an additional (non-USB) hard drive in my system. I already have Ubuntu on my other hard drive so I do not want to install Ubuntu on the additional drive but only use it for storage. How do I add the additional hard drive to my…
N.N.
  • 18,219
138
votes
11 answers

How to change screenshot application to Flameshot on Ubuntu 18.04?

I needed to highlight some text in my screenshots and I did not know how to do it with the default screenshot app. Flameshot is a solution. I installed it. How can I replace the PrtScr shortcut-key so that it launches Flameshot?
137
votes
9 answers

How do I check if Ubuntu is using my NVIDIA graphics card?

The reason I'm asking is that none of the games I've installed through software center that require 3D accelartion like TORCS for instance will run. When I try to run then, nothing happens. I have a Dell Inspiron N5110 with a nVidia GeForce GT…
Nic
  • 1,371
137
votes
8 answers

How to install cmake 3.2 on Ubuntu

Default cmake version of 14.04 is 2.8. How can I install cmake 3.2 and replace the default one? Or how can I upgrade 2.8 to 3.2?
ycshao
  • 1,501
137
votes
3 answers

How can I check the SMART status of a SSD or HDD on current versions of Ubuntu 14.04 through 20.04?

How can I check the SMART status of a drive under 14.04 and beyond? I've seen Checking HD SMART status on a fresh install but it doesn't seem to apply under 14.04 and later.
Elder Geek
  • 36,023
  • 25
  • 98
  • 183
137
votes
7 answers

What's the easiest way to unrar a file?

I just realized I can't unrar .rar files on my Ubuntu machine! What's the easiest way to accomplish this fundamental task? If possible I'd love something like 7Zip that I can just right Click, and extract and have the program worry about how to do…
137
votes
46 answers

What Custom Launchers and Unity Quicklists are available?

Please note that right now, most of the information contained below is outdated and cannot be updated. Be careful, most of this won't work on Ubuntu 12.04 and newer. Creating a custom launcher for Unity is simple. Quicklists provide an easy and…
nik90
  • 12,609
137
votes
5 answers

How can I send a custom desktop notification?

I have a custom script and I want to send a desktop notification (the one that appears in the top right corner of the screen) with a custom message. How do I do that?
January
  • 35,952
137
votes
10 answers

How to create a local APT repository?

I would like to build my own local repository on my LAN, so that machines on the LAN can update and upgrade from it. I want to download the packages and store them on my local server so that I can update, upgrade, install, etc, from it without using…
user61928
137
votes
4 answers

How to repair a corrupted FAT32 file system

I'm using the FAT32 file system for my pen drive. It frequently has file/data corruptions. In Windows, I used the scan disk utility to fix the FAT32/NTFS file systems. How can I do this in Ubuntu?
Chalitha
  • 1,373
137
votes
8 answers

What to do when Ctrl-C won't kill running job?

Sometimes, processes ignore the SIGINT signal sent by Ctrl-C in Bash. For instance, man and vi. Assuming you don't want to google or read the manual on how to exit the running process, is there any key sequence that will always work (without leaving…
136
votes
6 answers

Setting PATH variable in /etc/environment vs .profile

Where is the preferred place to set the PATH envvar? ~/.profile or /etc/environment? What is the case when PATH is set in both places? Is the end result a concatenation of both values set in those two places?
pkaramol
  • 2,121
  • 6
  • 23
  • 29
136
votes
13 answers

Generate white noise to calm a baby

I have a three week old baby. Occasionally she refuses to sleep. Some people tell me this is the way life is, some people tell me I need to buy things to fix it. This is becoming an alarmingly common pattern in this parenting game. Anyway one of…
Oli
  • 293,335