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

learn more… | top users | synonyms (1)

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
589 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
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 ...
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
144 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
676 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?
2
votes
1answer
983 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
945 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
382 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
828 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
535 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
901 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
163 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
879 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
845 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
645 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/...
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
8k 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
617 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 linux_enable="...
0
votes
1answer
961 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 low,...
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: 1280x800@...
2
votes
1answer
863 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 ...