End of Development Notice
x200-my will no longer receive any updates. Development has ceased. Please refer to my-x200 for Debian/Devuan instead.
x200-my is a simple openrc script primarily designed to make the distinctive whining noise of Thinkpads X200 disappear. But it can also be used on other laptops.
It is written to be used on Hyperbola GNU/Linux-libre but it should work on other Arch-based + openrc distributions.
It also provides a “Privacy settings” section: if
enable_privacy is set to
true, then the wired internet interface that may or may not be connected to the internet will have its MAC address spoofed at startup. (The wireless interfaces must also be spoofed, but this can be handled by wpa_supplicant: see below.) Additionally, x200-my will delete
/etc/dhcpcd.duid, which will make
dhcpcd generate a new DUID-LLT based file with an updated timestamp and the spoofed link-layer address of the network interface that is connected to the DHCP device at the time that the DUID is generated.
Finally x200-my has the ability to backup essential files or directories—for instance to a backup disk mounted inside the dock. Of course, the backup process is triggered on certain conditions only:
- The option must be enabled in the
- The disk must be mounted.
- An (empty)
dobackupfile must be present in the backup directory.
Then, once these conditions are met, the backup process is triggered whenever the service is stopped. It additionally generates a list of installed packages in case the disk should die and everything should be reinstalled.
License and Disclamer
x200-my - An openrc service dedicated to Thinkpads X200 Copyright (C) 2019 Robert Alessi email@example.com
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- Clone this repository locally.
- Install the generated x200-my package as root with
Use and recommended configuration
It is advisable to use x200-my in conjunction with
dhcpcd only. In addition,
dhcpcd-ui are also recommended.
For this to work properly, it is important to have these two lines in
And these settings in
hostname "localhost" hostname_short
More information in
x200-my initd file: https://git.robertalessi.net/x200-my/tree/x200-my.confd