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

learn more… | top users | synonyms (1)

4
votes
2answers
373 views

Non-interactive configuration of linux kernel

Is there any method to configure linux kernel in such way (just an example): make config CONFIG_OPTION=y && make config CONFIG_OPTION1=no CONFIG_OPTION3=64 CONFIG_OPTION4=/path/ and all the ...
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 ...
3
votes
1answer
3k views

command line tool to set time zone

In Centos 5.x there is the text mode interface of system-config-date to set the time zone. Although that utility still exists in Centos 6 the text mode is gone. Is there anything similar in Centos 6?
3
votes
1answer
824 views

Change screen “hardstatus” color dynamically

I show the hard-disk free space in hardstatus screen. But also I want change the color of this value when it's less than a value to alert me. I have done a script that it checks this and it returns a ...
4
votes
2answers
4k views

Tell pkg-config to look *.pc files also in /usr/local/lib/pkgconfig, system-wide

Right now pkg-config looks only in /usr/lib/pkgconfig. I can adjust it for a user by exporting the PKG_CONFIG_PATH environment variable, but once again I forgot to do it for root and wasted time ...
8
votes
4answers
451 views

What are your best practices and future plans for deploying unixoid desktops?

I have been setting up Linux desktops for a non-profit radio observatory. For me, this was the first time I had to think about "deploying" several identical machines, centralizing login, home ...
4
votes
1answer
190 views

Rewrite a Vim function to a one-line map

This works: nmap <silent> <S-t> :call InventTab()<CR> function InventTab() set expandtab! if &expandtab retab echo 'spaces' else retab! ...
4
votes
2answers
527 views

How to configure CONFIG_DEFAULT_RELATIME to disable relatime

Since linux 2.6.30, filesystems are mounted with "relatime" by default. In this discussion, Ingo Molnar says he has added the CONFIG_DEFAULT_RELATIME kernel option, which: makes 'norelatime' the ...
3
votes
1answer
169 views

Emacs not showing filename

Where once was the filename of the file now there is a black stripe, preventing me to see what I'm editing. To clarify a bit, it's that black stripe between "F1" and "All", when I did the ...
5
votes
1answer
4k views

Changing Redhat Network Settings From DHCP to STATIC IP Via Configuration Files

In order to make the statically assigned IP work, I have already modified the file /etc/sysconfig/network-scripts/ifcfg-eth0 as follows: DEVICE=eth0 IPADDR=10.33.17.143 NETMASK=255.255.255.0 ...
4
votes
2answers
888 views

Language agnostic configuration file format

Many projects these days use more than one programming / scripting language, and in standard DRY tradition these should not have separate configuration files if they need the same information. After a ...
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 ...
-3
votes
1answer
162 views

Linux configuration settings

Where are the following configuration files located (e.g., Redhat)? network settings (static/DHCP/DNS) timezone proxy for network default language
3
votes
3answers
2k views

How to check if CONFIG_HIGH_RES_TIMERS enable?

I have to program a realtime application on Linux, but don't know whether the standard installation of Ubuntu has CONFIG_HIGH_RES_TIMERS enabled. How can I check this? I'm using Ubuntu 11.04 64bit.
0
votes
1answer
126 views

Config setting for Linux kernel compilation

I need a Linux kernel compiled with debug features for a kernel module development.What all debugging configuration options should I include for kernel compilation,So that I can avail to all available ...
2
votes
1answer
106 views

Configuring screen, window problems

I Have recently started configuring "screen", I have included my .screenrc below. I have a problem that if windows 0 & 1 (containing bash) are idle for about 10 mins they will close only leaving ...
7
votes
2answers
2k views

How to refresh all bash shells using a command/script?

Whenever I modify my .bashrc file, I have to go to each bash shell and source it again to effect the changes. Is there a better way to do this? Some command that run once will automatically do a ...
2
votes
1answer
872 views

How to config Vino to let vncviewer show the hostname of server instead of “LibVNCServer ”?

When vncviewer connected a vncserver which is on Windows, the title of vncviewer will be the hostname of windows server. But when vncviewer connected to vino vnc server on Linux, the title of ...
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 ...
8
votes
2answers
831 views

zsh tab completion on empty line

I'd like a tcsh'ism that I haven't been able to find: On a blank line with no content, I want to press the tab key and see the equivalent of an ls. That is to say I want $ <tab> to do ...
1
vote
1answer
3k views

Fedora 15 - Audio Configuration

I have a Macbook Pro 6,1 that I have dual booting OSX and now Fedora 15. I'm working on getting the audio working. In System Settings > Sound > Output there are two options for audio devices: High ...
1
vote
1answer
641 views

Searching for a sawfish config

On the Sawfish Wikia, there's a beautiful image: Does anyone know how to configure sawfish to look like this? I can't find any docs regarding this picture/desktop.
3
votes
1answer
297 views

Set up network to share a printer connected to one particular machine on the network

How do I set up my Ubuntu machine to allow other computers to print to it? The set up is: All computers are connected to the network 1 dual Ubuntu/Windows 7 netbook 1 multibooting ...
3
votes
4answers
5k views

tool or technique to get a diff of two different linux installations

Albert Einstein quote Insanity: doing the same thing over and over again and expecting different results Often-times, Linux drives me mad because I'm doing the same thing over and over again ...
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 ...
3
votes
2answers
7k views

ldap_bind: Invalid credentials (49)

I'm trying to set up an openLdap server and after following the instructions I'm stuck at the point where I can't add any data. The error I'm getting is ldap_bind: Invalid credentials (49) Please ...
2
votes
2answers
615 views

[FreeBSD] rc.conf, loader.conf vs static kernel linking

I'm curious: What, exactly are the benefits to statically linking modules into the kernel rather than loading through rc.conf, etc? For example: To add linux emulation, I could add ...
0
votes
1answer
950 views

Building monotools-server, gtk+, pango - bizarre path issues

I'm attempting to build the monotools-server app from source. After days of hunting down missing dependencies (and in one case (xsp) having to manually modify a generated Makefile to remove a ...
2
votes
1answer
3k views

zsh and xfce4-terminal

I've changed my login shell to zsh from bash on an installation of Debian Squeeze with XFCE. When I launch xfce4-terminal, zsh starts but does not load my configuration. I have searched high and ...
2
votes
1answer
1k views

How do I set GNOME 3 (fallback) icon theme to Tango?

I tried setting it using dconf-editor and failed.
2
votes
2answers
1k views

How do I configure my graphics drivers?

I'm running Linux Mint 9 gnome on a Toshiba Satellite A105-S4211 With this, inxi -G Graphics: Card Intel Mobile 945GM/GMS 943/940GML Express Integrated Graphics Controller X.Org 1.7.6 Res: ...
2
votes
1answer
858 views

How to configure DHCP so that boot is completed even without a DHCP server?

I have configured /etc/network/interface like this: auto lo eth0 iface lo inet loopback iface eth0 inet dhcp But when a lease cannot be obtained, the booting is not completed. Is it possible to ...
19
votes
1answer
17k views

Ignore whitespaces changes in all git commands

I've found tons of sites that explain how to have git warn you when you're changing line endings, or miscellaneous other techniques to prevent you from messing up an entire file. Assume it's too late ...
3
votes
4answers
286 views

Remove empty configuration section

Files like ~/.config/vlc/vlcrc are 99% junk if you want to version control only the configuration options. I've got a script to remove the comments, but there's a ton of empty configuration sections ...
6
votes
3answers
10k views

Configuring mouse for right+left button simulating middle click (for copy/paste)

I was using the mouse copy-paste extensively, until recently, when some OpenSuSe upgrade reconfigured this on all my machines. Now the scrollbuton is the one to paste (which I hate, since it's hard to ...
2
votes
1answer
1k views

Where is CONFIG_COMPAT_VDSO in make menuconfig?

I'm trying to compile a Linux Kernel to run light and paravirtualized on XenServer 5.6 fp1. I'm using the guide given here: ...
4
votes
2answers
393 views

Are certain parts of startup scripts necessary or just good practice?

I'm currently exploring creating a startup script in the form of a system process located in the /etc/init.d/ on my Fedora 14 Linux installation. It sounds like the following two lines are bare ...
1
vote
2answers
2k views

Autoconfig/Automake fails to generate AM_CFLAGS & AM_LDFLAGS for dependent D-BUS library. Why?

I want to build a program that use DBUS, using automake/autoconfig tools. But the make command always report an error "dbus/dbus-glib.h": No such file or directory. My OS is ubuntu 10.10. And I ...
2
votes
1answer
2k views

L2TP IPsec VPN client configuration

I have Linux (Fedora) box and I want to conject to VPN described as "L2TP IPsec VPN" one. I have got following credentials: user=xxxxxxxxx pass=xxxxxxxxx VPN server= XXX.XXX.XXX.XXX IPsec ...
1
vote
2answers
1k views

Is it possible to source again .bashrc and .zshrc AND remove functions once inside them without restarting?

I had a function inside .zshrc that I removed. Now, when I try to source it, it indeed sources it, but doesn't remove the function that once was inside .zshrc from memory. Is there a way to remove ...
4
votes
2answers
6k views

How to send mail?

I'm trying to send mail from shell(GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu)) using; mail foo@bar.com After I complete the command, the mail won't show up in the mailbox. What ...
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 ...
4
votes
1answer
5k views

How do I configure OpenCV and Cygwin to work together?

I'm trying to configure OpenCV-2.2.0-win32-vs2010 with Cygwin to work together. Any ideas on how I can do that?
4
votes
6answers
410 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 ...
18
votes
3answers
4k views

Is there a 'rc' configuration file for grep/egrep? (~/.egreprc?)

I usually do some grep when developing, and there are some extensions that I always don't want to look for (like *.pyc). Is it possible to create a ~/.egreprc or something like that, and put some ...
9
votes
2answers
338 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 ...
7
votes
3answers
7k views

Why put some config info in conf/httpd.conf and some in files in the conf.d folder?

The main apache config file is in /etc/httpd/conf/httpd.conf on my CentOS system an in there is a line: Include conf.d/*.conf Inside conf.d is mostly files that do something like this: LoadModule ...
10
votes
1answer
5k views

How to make startx use alternate xinitrc?

I don't have a desktop manager installed (and I don't want to). After logging in through the terminal I use startx to start the GUI. I have entries in ~/.xinitrc for my GUI sessions. Right now I have ...
3
votes
3answers
693 views

How to retrieve monitors configuration from the command line?

I am making a script that needs to access the computer's monitor(s) configuration. How can I do that? Is there a command or a file I could read where I can access this information? At the moment, I ...
3
votes
2answers
2k views

Does Solaris have an equivalent to /etc/ld.so.conf?

I compiled a package for Solaris 11 Express that has some library dependencies, which I also compiled from source and installed in the usual /usr/local. (And Solaris doesn't even have /usr/local ...