• Stars
    star
    646
  • Rank 69,672 (Top 2 %)
  • Language
    Shell
  • Created about 14 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Auto-detect the connect display hardware and load the appropiate X11 setup using xrandr or disper
Tool: "autorandr"

Automatically select a display configuration based on connected devices

Stefan Tomanek <[email protected]>

How to use:

Save your current display configuration and setup with:
 $ autorandr --save mobile

Connect an additional display, configure your setup and save it:
 $ autorandr --save docked

Now autorandr can detect which hardware setup is active:
 $ autorandr
   mobile
   docked (detected)

To automatically reload your setup, just append --change to the command line

To manually load a profile, you can use the --load <profile> option.

autorandr tries to avoid reloading an identical configuration. To force the
(re)configuration, apply --force.

To prevent a profile from being loaded, place a script call "block" in its
directory. The script is evaluated before the screen setup is inspected, and
in case of it returning a value of 0 the profile is skipped. This can be used
to query the status of a docking station you are about to leave.

If no suitable profile can be identified, the current configuration is kept.
To change this behaviour and switch to a fallback configuration, specify
--default <profile>

Another script called "postswitch "can be placed in the directory
~/.autorandr as well as in all profile directories: The scripts are executed
after a mode switch has taken place and can notify window managers or other
applications about it.


While the script uses xrandr by default, calling it by the name "autodisper"
or "auto-disper" forces it to use the "disper" utility, which is useful for
controlling nvidia chipsets. The formats for fingerprinting the current setup
and saving/loading the current configuration are adjusted accordingly.

More Repositories

1

triggerhappy

A lightweight hotkey daemon
C
268
star
2

coreutils

Enhancements to the GNU coreutils (especiall head)
223
star
3

etckeeper

Python
69
star
4

android_packages_apps_ADWLauncher

ADW Launcher
Java
34
star
5

tartarus

the tartarus backup system
Shell
34
star
6

android_vendor_cyanogen

CyanogenMod Android vendor tree
Shell
25
star
7

tiny-gps

read NMEA data from serial GPS receiver (and sonar and optical sensor) and offer it as I2C slave using ATTiny
C
22
star
8

funkenschlag

alternative controller and firmware for a cheap rc
C
21
star
9

hetzner-robot-perl

Perl module and command line tool for control over the Hetzner robot
Perl
18
star
10

auto-disper

This project has been merged into autorandr and is only available to keep links working. Please check autorandr.
15
star
11

dsniff

Fork of famous packet sniffer suite
C
13
star
12

ifupdown-scripts

several useful ifupdown-scripts for the Debian GNU/Linux distribution
PHP
12
star
13

mallory-in-the-middle

SSH mitm tool
Python
9
star
14

forensic1394

Clone of the forensic1394 library from https://freddie.witherden.org/tools/libforensic1394/
C
8
star
15

multiwii-firmware-original

A clone of the firmware portion of the multiwii SVN repository with my own changes
Arduino
7
star
16

hetzner-rdns

update reverse DNS settings for systems hosted at Hetzner; a successor (hetzner-robot-perl) is in preparation to utilise the webservice interface
Perl
7
star
17

hostap

C
6
star
18

arp-scan

Fork of http://www.nta-monitor.com/tools/arp-scan/
Shell
6
star
19

blighthouse

send bogus wifi beacons with custom text
C
6
star
20

gc2latex

create pretty Gnucash invoices with LaTeX and Perl
Perl
5
star
21

irssi-scripts

various irssi scripts I created
Perl
4
star
22

dhcp-handtuch

DHCP MITM tool
Perl
4
star
23

ipv6pref

Advice programs to use the public or temporary IPv6 address of your system
C
4
star
24

ChordDroid

A simple chord shape lookup application for android phones and stringed instruments
Java
4
star
25

multiwii-conf

configuration GUI for multiwii firmware
Java
4
star
26

avrdude

Clone of the avrdude subversion repository
C
4
star
27

tetherball

Lightweight tethering script to share an internet connection with other WLAN devices
Shell
4
star
28

wget

Patches to the popular download tool
C
4
star
29

arduino-make

Makefile for use with Arduino projects
3
star
30

magmakeys

a system wide hotkey daemon
Perl
3
star
31

gitosis

Fork of git://eagain.net/gitosis.git
Python
2
star
32

openwrt_tools

tools and scripts for managing OpenWrt device
2
star
33

antipeek

Protect yourself from accidently entered password
Shell
2
star
34

ussd-cli

command line tool to send USSD messages via UMTS USB sticks
Perl
2
star
35

nixie-usb

Connect and control "ye olde nixie tubes" to and with your USB port
C
2
star
36

financial-perl

extract account information from banking or credit card sites
Perl
2
star
37

tiny-fade

A simple RGB LED fader for ATTiny13
C
2
star
38

android_tools

various scripts and tools for use on an android system
2
star
39

MensafuchsMobil

J2ME application for the Mensafuchs.de website
Java
2
star
40

adjective

adjective is a small web proxy written in perl that rejects ads based on adblock rulefiles
Perl
2
star
41

hdclock

transform an old hard drive into a pov clock
C
1
star
42

tiny-pong

A tiny pong game for ATTiny2313 and a 7x5 LED matrix
C
1
star
43

LUFA

git-svn Clone of the LUFA project
C
1
star
44

gnupg

C
1
star
45

arduino-64

A 64 bit gaming platform for Arduino and a 8x8 LED matrix
C++
1
star
46

sonderbar

Read barcode data from scanners acting as linux input devices
C
1
star
47

i2cam

Timer based trigger for a digital camera configurable via IĀ²C
C
1
star
48

Status-Quo-Ante

restore your network after misconfiguration
Shell
1
star
49

datensprung

transmit arbitrary binary data from remote control to your RC quadcopter
C
1
star
50

DotdeeFS

Combine configuration snippets into a single file
Perl
1
star
51

calfilter

public ical filtering service
Perl
1
star
52

tiny-pov

Bicycle POV-System with ATTiny2313
C
1
star
53

chunker

read chunks of a specific size from a pipe
C
1
star
54

fetap611-tiny

Combine a FeTAp611 with a cell phone and an ATTiny2313
C
1
star
55

iptables

Various changes to the iptables distribution
C
1
star
56

nixie-clock

A simple nixie clock using an PCF8583 RTC and an ATTiny2313
C
1
star
57

xrandr

Patches to the xrandr tool
C
1
star
58

arduino-life

Conway's game of life for the arduino microcontroller and a 5x7 LED matrix
Java
1
star
59

https-everywhere

Fork of git://git.torproject.org/https-everywhere.git
JavaScript
1
star
60

opacity

retrieve the data of your borrowed books from the public library in Duisburg, Germany
Perl
1
star
61

tar

Modifications to GNU tar
C
1
star
62

tiny-morse

Blink a morse code sequence from EEPROM
C
1
star
63

iproute2

C
1
star
64

PhysicalPixel

Illuminate an RGB LED connected to an Teensy module in the same color dominating the area around the mouse cursor
C
1
star
65

DisGUIse

C# classes encapsulating AT command communication with SE phones
C#
1
star
66

CardDAP

A small LDAP-Server offering contact data and using VCard files as backend
Perl
1
star
67

Mensafuchs-ffext

Firefox extension for the Mensafuchs.de website
JavaScript
1
star
68

pollycracker

Perl
1
star
69

nerd-maverick

LED ammo counter for the popular Nerf Maverick foam dart gun
C
1
star
70

tiny-life

An implementation of Conway's "Game of Life" for ATTiny2313 and an 5x7 LED matrix
C
1
star