Most Popular
1500 questions
125
votes
11 answers
How to remove/install a package that is not fully installed?
I went to install bsnes the other day and, for whatever reason, the installation failed. Now, I cannot update, install new packages, or do basically any apt-get commands as they all try to process this broken package and fail. Attempting to install…
Bijak
- 1,679
125
votes
2 answers
What do I select for "GRUB install devices" after an update?
After running Update Manager, a debconf window (titled "Configuring grub-pc"), popped up, requiring me to select the appropriate GRUB install devices for my system. I've made no changes to grub or the filesystem recently, and I don't remember what…
belacqua
- 23,570
125
votes
6 answers
How to compile a .java file on Ubuntu?
How can I compile a .java file? What programs will I need? If I need the Java JDK I will also need help installing that. I'm very new to Ubuntu, so any program that I need to install I will need a tutorial on how to install them.
user65407
- 1,385
125
votes
4 answers
Logging out other users from the command line
Sometimes when there are too many users logged in it can cause my computer to become very slow and laggy due to low amount of available RAM. I would like to be able to quickly log out the other users from the command line instead of manually…
Isaiah
- 60,830
125
votes
4 answers
How to separate opened windows in alt+tab switcher in Ubuntu 18.04?
When I have multiple windows of an application opened e.g. Chrome main window and Incognito window, and I press Alt + Tab to switch between them, I see only one Chrome icon. I have to then press down key and then right (or left) to switch to the…
Mazhar
- 1,353
125
votes
17 answers
Screen remains blank after wake up from suspend
So, when I suspend my laptop, then wake it up later, my laptop does turn on, I'm able to, for example, turn up and down the volume with audio confirmation using the kepboard, but my screen remains black and doesn't show anything until after I…
deathpigeon
- 1,251
124
votes
10 answers
Strange artifacts along window borders after waking computer from sleep mode
NB: Nvidia has released an official fix; please see ByteCommander's answer , my own answer and/or Kaz Wolfe's answer . Upon waking up Ubuntu 16.04 from Suspend, the following graphical glitches appear around all windows, context menus, and similar:…
You'reAGitForNotUsingGit
- 14,969
124
votes
7 answers
Prevent gedit from creating files with the '~' (tilde) suffix
I have observed that in gedit if I edit a file, another file is created in the same directory (the one with the same filename and a tilde '~' suffix). The extra file remains even if I close gedit. I understand the need for a temp file (eg. in case…
George Kastrinis
- 1,395
124
votes
6 answers
How do I turn off Caps Lock (the lock, not the key) by command line?
For some reason my laptop is stuck in Caps Lock. I have the Caps Lock key mapped by xmodmap to hyper_l , so I don't have a caps_lock key to turn it off. Is there a way I can turn it off by command line? It would be nice if I could reset the lock…
Echogene
- 2,345
124
votes
9 answers
16.04 LTS wifi connection issues with Realtek RTL8723BE adapter
I discovered several issues with wifi connection after installing 16.04 LTS. First, wifi doesn't reconnect normally after sleep or hibernation. Sometimes the network icon turns into a "up and down arrows"(I don't know what it is for) after waking up…
aaa
- 2,624
124
votes
9 answers
How to install PHP 7?
PHP 7 came out yesterday and I would like to give it a try. PHP 7.0.0 comes with a new version of the Zend Engine, numerous improvements and new features such as Improved performance: PHP 7 is up to twice as fast as PHP 5.6 Significantly reduced…
hg8
- 13,580
124
votes
8 answers
fatal error: sys/cdefs.h: No such file or directory|
It has been weeks that I am trying to use Code::Blocks IDE on Ubuntu 14.04 LTS to program Atmega16, however I am hindered by the following error while compiling/building the program in C::B /usr/include/features.h|374|fatal error: sys/cdefs.h: No…
Mandar
- 1,361
124
votes
8 answers
How to add a GPG key to the apt sources keyring?
Ubuntu Doc page says this: It is advisable that you add the Opera GPG key. wget -qO - http://deb.opera.com/archive.key | sudo apt-key add - Where do I add that? I want to take the advice but I don't know what part of software center to add gpg keys…
bruce
- 2,987
124
votes
12 answers
How to search for all the files starting with the name "ABC" in a directory?
I need to search for files starting with some particular name. There can be multiple files starting with a particular pattern and I want to list all such files present in the directory.
R11G
- 1,573
124
votes
2 answers
What does `nomodeset` do
Since installing Ubuntu 12.10 I have been playing around trying to get my Radeon HD 5450 gpu to work with the proprietary driver, as from the start installing the driver meant losing unity. I won't list the steps I took as it is not a requirement to…
Chris Carter
- 3,057