Questions related to configuration of Ubuntu software.

learn more… | top users | synonyms

56
votes
23answers
99k views

How to fix Duplicate sources.list entry?

I keep getting this warning whenever I try to run sudo apt-get update. W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages ...
51
votes
6answers
103k views

How do I reset GNOME to the defaults?

I was playing around with some settings, and now I need to reset GNOME to it's defaults - how do I do that?
40
votes
9answers
67k views

How do I enable auto-login in LightDM?

I want user foo to auto-login using LightDM (which has been used by Ubuntu since version 11.10). How would I do that?
40
votes
2answers
20k views

Whats the .local folder for in my Home Directory

What is the ~/.local folder good for and is it safe to remove the content within this folder?
38
votes
5answers
35k views

How do I configure Unity 2D?

There are several options to configure Unity 3D via "CompizConfig Settings Manager" respectively its "Ubuntu Unity Plugin". But how do I access Unity 2D's settings? If you are looking to ...
35
votes
3answers
22k views

How can I restore configuration files?

I would like to restore LightDM to its default state, because for some reason /etc/lightdm/unity-greeter.conf is now an empty file. Deleting /etc/lightdm/unity-greeter.conf and then running sudo ...
30
votes
2answers
25k views

How do I configure irssi?

I am using irssi client for IRC chat and I would like to know how to configure the ~/.irssi/config file so that I can put in my username and password (I have a registered Nick in the IRC). Also I'd ...
29
votes
6answers
165k views

Where is .bashrc?

I feel stupid asking, but I can't seem to find the answer to this anywhere. I'm trying to follow these instructions to edit my bash prompt, but there is no .bashrc in either my user directory ...
28
votes
7answers
1k views

What precautions should I take when exposing my desktop directly to the internet?

I've always used my Ubuntu desktop behind the security of a router with NAT, but there have been a few times when I've had to plug it directly into an active cable modem. In general, what precautions ...
27
votes
4answers
2k views

How do I configure Ubuntu for a public computer?

How would you set up Ubuntu on a computer that will be used as public computer in a library? I need the following features and user restrictions: On boot, a guest user should automatically be ...
26
votes
7answers
6k views

Some fast way to save and restore tabs of Terminal?

I have a Terminal window with a dozen named tabs open. I would like to save the current configuration and have it restored with names and directories. Is there a way to do this?
26
votes
8answers
2k views

How to keep “dot files” under version control?

Etckeeper is a great tool for keeping track of changes to your configuration files in /etc A few key things about it really stand out. It can be used with a wide variety of VCSs: git, mercurial, ...
23
votes
8answers
70k views

How do I get permissions to edit system configuration files?

I can't seem to edit and save config files in the root system (eg: /etc/dhcp/dhcpd.config); it just says "permission denied" or the save option is blocked in the text editor. I'm pretty sure I'm a ...
22
votes
4answers
18k views

How can I delay a specific program on startup?

How to delay a program such as cairo-dock (No openGL) or firefox Sometimes it crashes when started with other startup apps. I want it to start 10 seconds late so it will not crash. Thank you, (I'm ...
22
votes
3answers
156k views

How to setup static IP in Ubuntu Server 12.04?

sudo apt-get update sudo apt-get upgrade ifconfig sudo nano /etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.1.150 netmask 255.255.255.0 network 192.168.2.0 broadcast ...
21
votes
3answers
63k views

Switching window manager/desktop environments?

In general what is the approach to switch the desktop environment or window manager on Ubuntu? The main difference between stock Ubuntu, Kubuntu and Lubuntu is supposedly the use of Unity vs. KDE vs. ...
21
votes
2answers
63k views

Configure screensaver in Ubuntu

How do I configure the screensaver in Ubuntu? I can see that gnome-screensaver is running.
21
votes
2answers
5k views

Is there any GUI tool for Upstart

Is there currently any GUI based application to show currently running services, with buttons to start and stop services? It doesn't necessarily need to be able to set boot up behaviour.
21
votes
0answers
1k views

How can I most easily migrate all my apps and settings from one Ubuntu install to another? [duplicate]

Possible Duplicate: How to migrate user settings and data to new machine? I'll be setting up 10.04 on three computers and don't want to go through and manually download and configure all ...
18
votes
2answers
4k views

How can I see what happens during the boot process?

On my machine booting takes more than a minute which is annoying when I see that Windows 7 boots in 20 seconds. Here is what I get when the machine is booting. How can I see what happens when ...
17
votes
0answers
1k views

Safe way to rename my computer/hostname? [duplicate]

Possible Duplicate: How do I change the computer name? I'd like to rename my computer. What's the recommended way to do this? Is there anything likely to break after I rename it?
16
votes
5answers
9k views

How to speed up SSH login?

From outside of my house, whenever I login to my Ubuntu server using SSH, it takes about 6 seconds for me to get the prompt for password, however when I login to my web hosting server it takes about 1 ...
16
votes
1answer
28k views

Where is syslog.conf?

I tried to move my stuff from CentOS to Ubuntu. Here is a problem I met: I would like find the corresponding CentOS /etc/syslog.conf file in Ubuntu? Basically, the file is used to control where those ...
15
votes
6answers
3k views

How can I disable Ctrl+Q for all applications (system wide)?

A lot of applications like Firefox, Chrome etc, get closed when I accidentally press Ctrl+Q instead of Ctrl+W because of the proximity of the Q and W keys on the keyboard. Is there a way this shortcut ...
15
votes
2answers
24k views

How can I allow SSH password authentication from only certain IP addresses?

I'd like to allow SSH password authentication from only a certain subnet. I see the option to disallow it globally in /etc/ssh/sshd_config: # Change to no to disable tunnelled clear text passwords ...
15
votes
4answers
3k views

Fixed columns' width in Nautilus

In Ubuntu 11.10 the nautilus version has a new feature, as you can see: it adapts the column's width to the content of the column itself (at least for the Name column). This behavior is not always ...
14
votes
2answers
30k views

How to set all locale settings in Ubuntu

A remote installed application has some encoding problems and on my local machine it is running fine. What is the best way to "copy" my locales to the remote machine? The locales on my personal ...
13
votes
4answers
3k views

Why limit the number of open files and Running processes in Linux?

I do not have much knowledge about operating system internal workings, so why do we have limits for maximum number of open files and running processes in Linux? I would appreciate it if anyone could ...
12
votes
5answers
2k views

Is it safe to delete every hidden folder in the home directory?

My $HOME (otherwise known as '~') directory has lots of hidden configuration folders. Is it safe to delete all of them? To be specific Will the OS break if I do so? Will my ...
12
votes
2answers
4k views

What is kernel configuration?

Running PowerTOP on an Ubuntu 10.10 system, one of the suggestions are Enable the CONFIG_PM_ADVANCED_DEBUG kernel configuration option. This option will allow PowerTOP to collect runtime ...
12
votes
3answers
4k views

How do I enable Alt + middle mouse button window resizing in Xubuntu?

As of the 11.10 release I've switched from vanilla Ubuntu to Xubuntu for a plethora of reasons. Thus far I'm loving XFCE and have nearly everything configured the way I like it. The one thing that's ...
11
votes
4answers
27k views

How to switch the editor in mc (midnight commander) from nano to mcedit?

Using ubuntu 10.10 the editor in mc (midnight commander) is nano. How can i switch to the internal mc editor (mcedit)?
11
votes
3answers
18k views

Do files at /etc/apt/sources.list.d need to have an extension '.list'?

In /etc/apt/sources.list.d I have several files for custom repositories. All the names of those files end with .list. Is it obligatory that files in that folder should end with that extension? If ...
11
votes
4answers
3k views

How to set the Default Browser from the Command Line?

Tried to set the default browser using the GUI tools but this didn't work overall. Is there a way to configure the system wide default browser from command line?
11
votes
2answers
4k views

How to delete all the settings for Deja Dup

When I upgraded to 11.04 Deja Dup started behaving strangely, it would begin a new full backup everytime the computer was started because it was looking for a drive and folder which I had removed some ...
11
votes
3answers
9k views

What's the recommended way to configure a Synaptics touchpad device?

I want to increase the scroll area by moving the so-called RightEdge a bit towards the middle. Right now I'm doing this via a one-liner that's called at session start (added via ...
11
votes
2answers
1k views

What does rc, in bashrc, nanorc stand for?

Is there any long-form, if at all? Or is it just a tradition from the 80's?
11
votes
3answers
2k views

Can I make PDF the default for 'print to file'

I am using 10.04 and I use the 'Print to File' feature a lot but it's annoying to have to change the output option to to PDF each time. Is there a way to make it the default?
11
votes
2answers
7k views

Autoconnecting Bluetooth Devices

Is there a way to set the Bluetooth in Ubuntu to autoconnect to devices it is paired to when it is turned on. Furthermore, is there a way to automatically change the sound output to a Bluetooth ...
10
votes
2answers
20k views

Is this a correct way to enable htaccess in Apache 2.4.7 on Ubuntu 12.04

In almost every solution of "How to activate htaccess", they say that the /etc/apache2/sites-available/default file needs to be edited. But there isn't such file in Apache 2.4.7 I read somewhere ...
10
votes
2answers
5k views

How to use https with apt-get?

Does apt-get use https or any kind of encryption? Is there a way to configure it to use it?
10
votes
1answer
15k views

Cannot find curl-config in Ubuntu 13.04

I am installing package RCurl in R and getting an error checking for curl-config... no Cannot find curl-config ERROR: configuration failed for package ‘RCurl’ I have tried to install libcurl ...
10
votes
5answers
2k views

How can I revert a config file back to the originally installed version after I have edited it?

I want to revert a file in /etc/ back to its originally-installed form. I have edited the file since it was installed. How can I revert this config file? Apt is smart enough not to overwrite edited ...
10
votes
3answers
10k views

Re-mapping keyboard keys

I am using a keyboard with the "fn" key. This is on a laptop. So my FN + Up/down/left/right keys are mapped to brightness/volume. I would much rather them be mounted to page up/down, home/end. And ...
10
votes
1answer
473 views

Different wallpapers on multiple monitors

I have a laptop and a monitor. Most of the time my laptop is connected to the monitor over HDMI. I use Ubuntu Gnome 14.04 and here is what I want: When no monitor is connected I want a simple ...
9
votes
2answers
14k views

Could not apply the stored configuration for the monitor

I'm using Nvidia 7300 gt and monitor-Acer V173w, on 64 bit Ubuntu 10.04. Compiz and Emerald went well, but at the time of entry into the GUI, I always receive the message : "Could not apply the stored ...
9
votes
2answers
12k views

Reset gnome font configuration?

How do I reset the font settings - actual font and size - to their default? (I changed some values in System->Preferences->Appearance->Fonts) This is particularly important with the new Ubuntu font ...
9
votes
3answers
3k views

How to associate file extension (not file type) for a particular application?

I use taskcoach to create a list of my tasks. The data I entered was saved, say, in tasks.tsk on my Desktop. Internally, this is an XML file of specific structure. Now whenever I open it, it opens ...
9
votes
3answers
13k views

Clone internal HDD to new SSD

I recently installed an SSD into my machine. The machine itself is a Lenovo thinkpad W520, and it previously had an internal HDD. I moved the internal HDD into an expansion bay (replacing the CD-ROM), ...
9
votes
3answers
2k views

Is there a tool for validating /etc/network/interfaces files?

I always like to test new config files before deploying them--with tools like apachectl configtest and named-checkconf. It's rare that mistakes crop up, but catching them before deployment ...