Project

dumon

0.0
No commit activity in last 3 years
No release in over 3 years
Dual monitor manager for Linux with GTK based user interface represented by system tray icon's context menu.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 2.2.0, ~> 2.2
 Project Readme
       ____
      |  _ \ _   _ _ __ ___   ___  _ __
      | | | | | | | '_ ` _ \ / _ \| '_ \
      | |_| | |_| | | | | | | (_) | | | |
      |____/ \__,_|_| |_| |_|\___/|_| |_|

Dual monitor manager for Linux with GTK based user interface represented by system tray icon's context menu.

Gem Version

SCREENSHOTS

FEATURES/PROBLEMS

  • only for Linux
  • dynamical detection of currently connected output devices
  • support for storing profiles
  • configurable shell command running after each switch of output
  • currently supports only two output devices
  • currently works only with 'xrandr' (command line interface to RandR extension)

USAGE

INSTALL

sudo gem install dumon

START

ruby -r dumon -e 'Dumon::App.instance.run'

  • or add GEM PATH (see 'gem environment') into your PATH and then

dumon

  • or as daemon process

ruby -r dumon -e 'Dumon::App.instance.run true'

dumon --daemon

  • start with given profile

ruby -r dumon -e 'Dumon::App.instance.run' -s 'profile:Profile name'

  • or

dumon 'profile:Profile name'

UPGRADE NOTICES

  • see lib/dumon/version.rb

CONFIGURATION

Logger

  • by default to 'STDOUT' on level 'INFO'

Dumon.logger = Logger.new('/tmp/log.txt')

Dumon.logger.level = Logger::DEBUG

Post Switch Command

  • you can define a shell command that will be executed after each switch of output
  • just insert post_switch key into $HOME/.config/dumon.conf like this
{
 "version": "0.2.8",
 "post_switch": "feh --bg-scale /usr/share/archlinux/wallpaper/archlinux-firestarter.jpg; killall conky; conky"
}

REQUIREMENTS

  • Ruby 1.8.7 +
  • ruby-gtk2 1.2.x +
  • xrandr 1.3.x +

AUTHOR

LICENSE