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

learn more… | top users | synonyms (1)

2
votes
0answers
99 views

Can sources.list only be updated by hand?

I'm currently running Linux Mint. I remember that under Ubuntu, whenever a new release comes out, it prompts you with a choice of whether to upgrade or not. It seems like this is not happening in Mint,...
0
votes
3answers
912 views

wrapper command for sshd_config?

Is there a command to set settings in sshd_config, instead of manually editing the file? I would prefer it to do this way, because it's easier to automate. Otherwise I'd have to grep config with my ...
7
votes
2answers
14k views

Can I change the default mail recipient on cron jobs?

I believe that if there is any output from a cronjob it is mailed to the user who the job belongs to. I think you can also add something like MAILTO=vivek@nixcraft.in at the top of the cron file to ...
16
votes
1answer
13k views

How do I set a user's default .bashrc file?

On Ubuntu 10.4 I have edited the /etc/bash.bashrc file to set some variables like the command history size (HISTSIZE=5000), however if I create a new users Ubuntu by default gives them a .bashrc file ...
2
votes
1answer
600 views

How can I regenerate the default '/etc/' config files?

I've removed nagios3 with apt-get remove nagios3 and then removed the files in by using the command sudo rm -R /etc/nagios* Now when I run apt-get install nagios3 the config files (/etc/nagios3/*) ...
6
votes
3answers
1k views

Can you switch between windows within an application in Openbox?

Is it possible to set up a keybinding in Openbox for switching between open windows within an application? Just like you can in gnome 3 with alt + [key above Tab] .
1
vote
1answer
1k views

How to rewrite all subdomains except one

Right now my rewrite rule forwards all subdomains except chat.auricle.fm to the root: RewriteEngine on RewriteCond %{HTTP_HOST} ^.*\.auricle\.fm [NC] RewriteRule ^(.*)$ http://auricle.fm/$1 [L,R=301] ...
1
vote
2answers
404 views

screen : automatic creating or reattaching sessions in different configurations

What's clean way to achieve, following functionality: function screen_create_or_reuse(){ if [ running_screen_session "$1" ]; then reattach_screen_session screen_name_"$1" else ...
1
vote
1answer
584 views

Where can I find configuration file for uw-imapd on debian?

Where can I find configuration file for uw-imapd on debian? Is there even one?
10
votes
3answers
5k views

Make changes to /sys persistent between boots

I want to make "echo 1 > /sys/kernel/mm/ksm/run" persistent between boots. I know that I can edit /etc/sysctl.conf to make /proc filesystem changes persist, but this doesn't seem to work for /sys. ...
1
vote
2answers
598 views

I wiped my /etc/yum.repos.d

I think I seriously messed things up on my EC2 instance which I'm currently hacking on. I tried to install some rpmfusion repository from which to install FFMPEG, but it broke things and I wasn't able ...
6
votes
3answers
221 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 ...
5
votes
2answers
5k views

Why can't vim find syntax.vim on my fresh Ubuntu installation?

I'm trying to make some basic customizations to vim. All I want is some syntax highlighting, etc. Basically, not just plain text. My .vimrc file consists of 7 lines: backspace=2 syntax on filetype ...
3
votes
2answers
182 views

Looking for an efficient way to display PDFs

I've used several unix tools to display PDFs, like xpdf, evince, epdfview… What I'm looking for is not very complicated. I'd like to display a full page inside the application window with reduced ...
1
vote
0answers
70 views

why xfce4 always replace a new files in .config/xfce4/panel/?

I started inotify tools to see which files are changing during my work process. And i found that xfce4 always update their config files. Anyone know it do that ?
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 ...
4
votes
2answers
1k views

Meaning of different tokens in a font config string

I have seen lines like the one below, in a number of config files (xmobar has one of these and dmenu too has this) '-*-fixed-*-*-*-*-18-*-*-*-*-*-*-*' What is the meaning of each token which is ...
2
votes
1answer
145 views

Is it possible for grub2 to detect some specific CPU features and choose a proper kernel to boot?

I want to configure grub to check some CPU features on startup and choose a proper kernel to boot (e.g. multiple cores -> kernel with SMP support). Is it possible? If so, then how do I do it?
1
vote
4answers
6k views

Cannot connect to Samba shares after reinstall

I have a home file server on which I have recently reinstalled the OS. I replaced Ubuntu Server 10.04.2 32-bit with 10.04.3 64-bit due to hardware upgrades. I've copied my previous Samba configuration ...
3
votes
1answer
5k views

ubuntu like lightdm in arch linux

I have just installed archlinux on a virtual machine and I managed to install lightdm by following the instructions given in https://wiki.archlinux.org/index.php/LightDM https://wiki.archlinux.org/...
2
votes
2answers
3k views

How to proceed solving ppp connection problems?

I got an embedded system trying to create a ppp connection using a GSM modem. However the connection is never established and all I get is this error message in syslog: Oct 12 08:38:48 pppd[451]: ...
9
votes
3answers
2k views

How can I exclude files by default with rsync?

How can I exclude files by default with rsync? Here is how my normal rsync syntax starts out: rsync --exclude ".ht*" --exclude "error_log" --exclude ".DS*" --exclude "old" ... I've seen a lot of ...
4
votes
3answers
10k views

amixer - How to change recording channel?

So fat, I am setting up microphone settings : $ amixer set 'Rear Mic' 90% mute cap $ amixer set 'Rear Mic Boost' 80% But, after some sys. update, my default recoding chanell changed to 'Front Mic' :...
0
votes
1answer
694 views

setting Cygwin's $HOME to Windows profile directory

Are there any drawbacks to having Cygwin and Windows share the same $HOME directory, in this case the Windows profile directory?
3
votes
1answer
994 views

Scripting window behavior in KDE to depend on monitor being used

I plug my laptop into a number of different monitors, all of which have aspect ratios not supported by my laptop. I want the built-in and plug-in monitors to be at their maximum respective resolutions ...
7
votes
1answer
956 views

How to make Firefox open mailto: links with mutt in terminal

All I want to do is pass mailto: links to urxvt -e mutt -F ~/path/to/muttrc with the rest of the mailto: URL appended. I've tried every script I can find online that purports to do this, from simple: ...
1
vote
2answers
15k views

How to enable cups-lpd / port 515?

I have a print server using CUPS on a CentOS 5.3 box. On my PC, I set up a remote printer with the URI http://$PRINT_SERVER:631/printers/$PRINTER_NAME, and have successfully been able to print files ...
4
votes
2answers
386 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
833 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 ...
5
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
452 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
191 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
538 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
170 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
909 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
165 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
886 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
853 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
649 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
300 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 Debian/Ubuntu/...