Index of /public/downloads/linuxconfig/Debian7-wheezy

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[TXT]README.html2017-01-25 07:10 41K 
[DIR]etc/2017-01-25 07:10 -  
[DIR]usr/2017-01-25 07:10 -  

Debian 7 Wheezy configuration examples

1. Hardware independent Debian 7 configuration

1.3. Trim SSD disk batched_discard

1.4. Remove old kernels

1.5. Window manager i3

See documentation in i3 extensions (pdf).

1.6. Midnight Commander mc

Table 1. Additional Midnight Commander functions:

F2 T

Move one selected ítem into the recycle bin.

F2 Shift+T

Move all selected item into the recycle bin.

F2 L

Create shortest relative symbolic link from one selected item into the other pane.

F2 Shift+L

Create shortest relative symbolic links from all selected items into the other pane.

1.8. Set $PATH for interactive, non-interactive and login-shells

The best place to set $PATH is /etc/environment. In this example I added /opt/wine/bin at the beginning.


It is sourced by the PAM service and forwarded then to all shells. Unfortunately /etc/profile overrides the $PATH later for login shells so we have to source it again.

source /etc/environment
export PATH

This solution was tested with bash and dash interactive, non-interactive and login-shells.

2. Hardware specific Debian 7 configuration

2.1. Acer E3-111

2.2. Levono T420s

2.2.1. Temperature monitoring and fan control

The hwmon thermal device path number changed randomly after boot between hwmon1 and hwmon2:




I discovered a race condition when the coretemp kernel modules is loaded. Installing coretemp after thinkpad_acpi fixed the problem:

Excerpt from my /etc/modprobe.d/thinkpad_acpi.conf
install coretemp /sbin/modprobe -q --ignore-install thinkpad_acpi; /sbin/modprobe -q --ignore-install coretemp; /bin/true;

Now hwmon is a persistent path: