From 494adbe5cf3d64698e1120924d3208e1f70413fc Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 30 Jul 2014 18:05:03 +0900 Subject: [PATCH] Revert "add prefs for devmon, but not work!" This reverts commit 331e991f84df195c43eb9784a632f125bd714455. --- ansible/removable_media.yml | 5 ++++- xprograms | 4 ---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ansible/removable_media.yml b/ansible/removable_media.yml index 6ada84e..9763ff6 100644 --- a/ansible/removable_media.yml +++ b/ansible/removable_media.yml @@ -2,7 +2,7 @@ # do not forget to add lxpolkit to autostart! - hosts: all vars: - packages: [udevil] + packages: [gvfs, gvfs-afc, polkit, lxpolkit] sudo: yes tasks: - name: install packages @@ -11,3 +11,6 @@ when: ansible_os_family == "Archlinux" - name: add user yuk to storage group user: append=yes groups=storage name=yuk + - name: put polkit rule for mount by storage group + copy: src=enable-mount.rules.polkit + dest=/etc/polkit-1/rules.d/10-enable-mount.rules diff --git a/xprograms b/xprograms index a76a3c8..7a5c2d4 100755 --- a/xprograms +++ b/xprograms @@ -77,10 +77,6 @@ _lxpolkit(){ (sleep 1s && /usr/lib/lxpolkit/lxpolkit) & } -_devmon(){ - (sleep 1s && devmon) & -} - for p in $@ do _$p