The action of modifying a program's behavior, generally by modifying a text file.

learn more… | top users | synonyms (1)

81
votes
4answers
84k views

What do the options `ServerAliveInterval` and `ClientAliveInterval` in sshd_config do, precisely?

I found this question, but I'm sorry I don't quite understand the settings on the two variables ServerAliveInterval and ClientAliveInterval mentioned in the accepted response. If my local server is ...
24
votes
2answers
3k views

Why do some applications use ~/.config/appname for their config data while others use ~/.appname?

I've noticed that some applications put their configuration files to ~/.config/appname while others use ~/.appname (the classic way, AFAIK) for this. What's the sense in this distinction and what ...
17
votes
4answers
36k views

Purpose and typical usage of /etc/rc.local

The header looks like this: #!/bin/sh -e # # rc.local - executed at the end of each multiuser runlevel # # Make sure that the script will "exit 0" on success or any other # value on error. What is ...
25
votes
15answers
3k views

What customizations have you done on your shell profile to increase productivity?

I know some people have some startup scripts and some people personalise the prompt. One developer uses short aliases for the long path he often visits and the frequent commands he runs. What are all ...
9
votes
2answers
339 views

best way to set up separate linux environment in ~

I do most of my work (involves a lot of C/Python) on a development server that is shared with several other people. As a result we all seem to do a bit of the system administration chores (there is ...
3
votes
1answer
932 views

What's the conf file reading between login and non-login shell?

I found that those are .bash_profile, .bashrc, .bash_login, .profile. What's the reading sequence between them?
3
votes
1answer
3k views

change colour depth

How do I change the colour depth? It says online to edit the xorg.conf file, but I don't have that. I am running Debian XFCE on a Powerbook G4
28
votes
4answers
17k views

How to properly and easy configure `xdg-open` without any enviroment?

I'm using OpenBox window manager without any desktop enviroment. xdg-open behaves strangely. It opens everything with firefox. $ xdg-settings --list Known properties: default-web-browser ...
14
votes
4answers
36k views

automount nfs: autofs timeout settings for unreliable servers - how to avoid hangup?

I'm running a small server for our flat share. It's mostly a file server with some additional services. The clients are Linux machines (mostly Ubuntu, but some others Distros too) and some Mac(-Book)s ...
8
votes
4answers
33k views

Pseudo-terminal will not be allocated because stdin is not a terminal

I'm trying to set up automatic SSH hopping through a server which doesn't have nc. This works from the command line: ssh -A gateway ssh steve@target (I have added my public key to the SSH agent). ...
12
votes
3answers
3k views

Yanking URLs in w3m

I have been using w3m for a couple of weeks and am convinced that it is my preferred text browser - with one exception. Is there any way to yank URLs to the clipboard without using the mouse? I have ...
4
votes
6answers
434 views

What I can I do to make the transition to some new computer hardware safe and smooth?

I normally use machine A, and I make backups of A onto a fileserver B. Sooner or later, I will lose machine A for one reason or another. Its hard drive wears out, or it gets hit by lightening, or some ...
7
votes
2answers
49k views

Setup static IP in redhat 6

I installed Redhat 6 x86_64. I am using the Network connection screen to set a static IP address like below (I want two PC's in my house to see each other: one Redhat PC and one Mac) 192.168.0.5 ...
4
votes
4answers
6k views

How to make an Ubuntu time zone change stick?

I'd like to reset the timezone through editing /etc/timezone. However, after I was done editing and saved the file, the system time did not change accordingly. On the other hand, when I take ...
1
vote
2answers
280 views

Where can I find the kernel configuration on each Linux distribution?

I'm pretty sure that all Red Hat and Debian based distributions follow the convention of shipping the kernel configuration in /boot/config-*, but what of other distributions? Or, if this convention ...
3
votes
2answers
9k views

Which version of NFS is my NFS server using?

I'm mounting a NFS filesystem on my machine. How do I figure out what version of the NFS protocol the server uses? I don't have access to the NFS server machine, but I do have root on my client ...
2
votes
2answers
8k views

not able to create xorg.conf file

I want to change my colour depth. I posted this, and got the following answer: Create an xorg.conf file by running Xorg -configure. Then edit the Depth entry in the Display subsection of the ...
1
vote
1answer
2k views

How do I configure UNIX socket in nginx/HHVM?

So far this is what I've done: $ less /etc/nginx/hhvm.conf location ~ \.(hh|php)$ { fastcgi_pass unix:/var/run/hhvm/sock; include fastcgi_params; } $ less /etc/hhvm/server.ini ; php ...
19
votes
1answer
2k views

gvim -p limit of opened tabs?

When I run : gvim -p *.xyz I find that not all files are opened in tabs. It feels, like a kind of tab limit? But ! When I try to open unopened with : :tabnew it is opened next to previous ...
12
votes
4answers
3k views

How can I bind multiple tmux commands to one keystroke?

Specifically I'm trying to give a notification after some command was completed. So, for example, if I reload my configuration file, I'd like to have some confirmation that it worked, which might be ...
6
votes
2answers
5k views

Change default applications used by gnome-open, exo-open, xdg-open, gvfs-open and kde-open

How to change the applications associated with certain file-types for gnome-open, exo-open, xdg-open, gvfs-open and kde-open? Is there a way by editing config files or by a command-line command? Is ...
5
votes
2answers
190 views

Degraded areas of some user interfaces, including pixellated or jagged fonts

For me the symptoms were first observed with PC-BSD 11.0-CURRENT. The first of my 2016 screenshots (below) is similar to the 2012 shot in Debian-related Fonts of some applications get confused so, ...
8
votes
2answers
4k views

escape characters in /etc/network/interfaces

I want to be sure that whatever string I pass into the line wpa-ssid "abc" in /etc/network/interfaces won't be used to break out of the configuration. All I can find in the manual is that \ can be ...
6
votes
3answers
220 views

Managing multiple configurations (/etc) - With a VCS?

I have a machine that needs to have two configurations that I need to maintain (the machine is occasionally moved between two environments and has different roles in each environment). Note: This is ...
6
votes
2answers
1k views

Static IP for 2 PCs on crossover cable in interfaces(5) file?

I've got 2 PCs connected on an Ethernet crossover cable. On PC1 I run: sudo ip addr add 192.168.2.1 peer 192.168.2.2 dev eth0 sudo ip link set dev eth0 up On PC2 I run: sudo ip addr add 192.168.2....
2
votes
3answers
2k views

How to install postfix for sending mails to admin only?

I have a VPS running Ubuntu 13.10 on Digital Ocean. I'd like to install postfix on the server, but I want it to be able to send e-mails only to my e-mail address whenever a system message wants to be ...
6
votes
7answers
4k views

How do I configure mutt to display the date header in my local time zone in the pager?

When I view a message in the pager mutt displays the time in the Date header in UTC rather than my local time zone. The index view displays the local time correctly. I found this old mailing list post ...
4
votes
1answer
259 views

Can one disable tap-to-click in X server configuration without “InputClass” sections?

I want to configure my system so that tap-to-click is disabled on the touchpad. (It's running a rather old version of ALTLinux distro with xorg-server-1.4.2-alt10.M41.1.) I'm interested in a solution ...
4
votes
1answer
304 views

Large zone file for bind9 : ad-blocking

I was successfully using a small (20,000 entries) zone file with bind9 server, but today my data provider sent an update which caused the zone file to become 300,000+ entries large (30Mb+). The ...
3
votes
0answers
272 views

Is there a more elegant way to unlink two tmux clients sharing a session from inside tmux?

This is almost a code-review question, but very *nixy and more about configuration than code. For years since I switched to tmux from screen I've had a couple of nagging issues that I could not make ...
2
votes
1answer
1k views

Can one disable tap-to-click in X server configuration, without synclient?

I want to configure my system so that tap-to-click is disabled on the touchpad. (It's running a rather old version of ALTLinux distro with xorg-server-1.4.2-alt10.M41.1.) The most popular advice I ...
1
vote
0answers
25 views

Restoring VG configuration from recovered drive

Had to reinstall CentOS on a server with three RAID 1 arrays. I installed the OS on sda (300g), and left sdb and sdc alone (they were not formatted or otherwise fiddled with). The OS is up but I'...
0
votes
1answer
2k views

Why my dconf-editor has fewer options in Elementary OS Luna than supposed to?

I am giving Elementary OS a try but trying to configure it a bit I see lesser options than supposed in dconf-editor. Following this source, they should look like this: Mine look like this: So, I ...
9
votes
6answers
24k views

Using OpenVPN with systemd

Ok, so I've been searching the web for solutions to this problem with no answers seeming to work for me. Hopefully someone can help me. I'm only trying to configure the OpenVPN Client. I'm running ...
5
votes
2answers
3k views

How can I save the Xterm configuration I set at runtime?

I configured my xterm using the CTRL-MiddleClick and CTRL-RightClick. Is there a way to export save these settings?
4
votes
3answers
17k views

vsftpd does not list content of a directory

I have set up a FTP server using vsftpd and enabled anonymous upload and download. The problem I have is that when I upload a directory it will be uploaded successfully (I can see it in server), but ...
2
votes
1answer
2k views

Help configuring DBUS to start JACK

I have the Jack Audio Connection Kit (JACK) installed, but cannot seem to get jack_control start to start the service. I'm using Slackware64-current, which recently updated its /etc/dbus-1/system....
1
vote
1answer
45 views

What directory does etckeeper store its permissions / metadata in?

In what directory does etckeeper store its metadata and permissions in? I want to know for purposes of testing the restoration of a configuration.
1
vote
0answers
26 views

Configuring a system to run PulseAudio automatically on top of JACK

This is essentially the same as the Ask Ubuntu question How to use JACK and Pulseaudio/ALSA at the same time on the same audio device?. However, the answers to that question are all incomplete in at ...
1
vote
0answers
48 views

syslog: process specific priority

I have two user processes A and B. Both use syslog using facility LOG_USER. I want to have different threshold levels for them: For A, only messages of priority ERR-and-above must be logged For B, ...
1
vote
1answer
279 views

nginx/HHVM 404, fixed replacing $document_root with absolute path, but redirect adds path to URL

I've had the same issue as described in this question, and the solution of replacing $document_root with it's absolute path worked until redirects added the absolute path to the URL, as in: EXPECTED ...
1
vote
1answer
49 views

“attempt to invoke directory '/srv/http' as script” error with “SetHandler application/x-httpd-php” enabled in apache config on archlinux

when I try to list directories through Options Indexes-option with SetHandler application/x-httpd-php enabled in my apache-config I get a attempt to invoke directory '/srv/http' as script error ...
0
votes
1answer
8k views

How to configure FOSS ATI drivers on Debian Wheezy and ATI RS880 [Radeon HD 4250]?

Installed a fresh Debian Wheezy to enjoy Gnome 3 but it starts in fallback mode. I suppose that's because the loaded drivers do not support 3D acceleration. Installed packages I know are relevant: ...
0
votes
1answer
634 views

Why is my (thunderbolt connected) monitor not detected in Fedora 23

I have a Dell XPS13 whose Philips UltraWide monitor connected is via a Thunderbolt 3/USB-C connection. As no monitor other than Apple monitors support this new fangled connection, I have an external ...
0
votes
0answers
721 views

Kali 1.3 - Installing Parallel Tools

I am running Kali 1.1 on Parallels 9 for Mac and am having some irritating issues. Firstly, the WiFi doesn't work (normal for use within a virtual machine, but also isn't working with my external ...