Most Popular
1500 questions
125
votes
8 answers
Where is the X.org config file? How do I configure X there?
As Ubuntu 10.10 seems to neither detect my graphics card (Intel 82852/855GM) automatically nor use the corresponding Intel driver even after manually installing it, I am looking into manually configuring X (shouldn't I?). Where can I find the…
Ivan
- 57,065
125
votes
10 answers
How do I take a screenshot?
I'm not really sure since I'm still new to Linux distros in general
gr33kbo1
- 1,369
- 2
- 10
- 6
125
votes
13 answers
How to disable microphone from auto adjusting its input volume
I want to disable the way the microphone lowers itself depending on the input. Here is an image:
The microphone started at 100% and slowly started to drop to where the image is showing. This is because of either a background noise or the user…
Luis Alvarado
- 211,503
125
votes
6 answers
How do I sudo a command in a script without being asked for a password?
I want to turn my system on automatically every day. So I use the below code in my Python script, but sudo asks me for a password every time:
os.system('sudo sh -c "echo date \'+%s\' -d \'+ \
24 hours\' > /sys/class/rtc/rtc0/wakealarm"')
How…
Viswa
- 1,669
125
votes
3 answers
What does "Package has no installation candidate" mean?
What does the above Error mean? What is an installation candidate?
I was trying to do
sudo apt-get install munin-memcached
and I get this message:
Reading package lists... Done
Building dependency tree
Reading state information...…
theTuxRacer
- 16,185
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
124
votes
2 answers
Exclude packages from `apt-get upgrade`
Possible Duplicate:
How to prevent updating of a specific package?
Keep the Ubuntu package version I'm using now
Is it possible to upgrade all packages except a given package? Is there something like apt-get upgrade --exclude package_to_exclude?
Olivier Lalonde
- 58,691
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…
You'reAGitForNotUsingGit
- 14,809
124
votes
4 answers
What's the risk of upgrading over SSH?
When I run
sudo do-release-upgrade
over ssh, I get the following message.
This session appears to be running under ssh. It is not recommended
to perform a upgrade over ssh currently because in case of failure it
is harder to recover.
If you…
C. Ross
- 2,957
124
votes
7 answers
how do you copy a directory and its contents to a new location under a new directory name?
I'm new to the Linux command line and am trying to get to grips with the copy command at the moment.
Can anyone please tell me if it's possible to copy a directory with its subdirectories and associated files to a new directory with a new name, e.g.…
Edmuntu
- 1,253
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
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…
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,462
124
votes
5 answers
How to exclude certain files in `ls`?
I would like to run ls and exclude certain files in the output.
When I run the following command, I get all files, each on a separate line:
$ ls -1
file1
file2
file3
temp
I would like to run this command in a way so that it shows:
$ ls -1
Alice Ryhl
- 1,517
- 3
- 11
- 12
124
votes
2 answers
After doing a sudo apt-get install , where does the application get stored to?
After installing apps via apt-get install -app name-. Where does the files get copied to? Are the copied to just one location or multiple locations? And if so how do I find this out?
Here's an example:
Patoshi パトシ
- 2,993
- 15
- 32
- 44