Ver a proveniência

add prefs for devmon, but not work!

pull/1/head
10sr há 10 anos
ascendente
cometimento
331e991f84
2 ficheiros alterados com 5 adições e 4 eliminações
  1. +1
    -4
      ansible/removable_media.yml
  2. +4
    -0
      xprograms

+ 1
- 4
ansible/removable_media.yml Ver ficheiro

@@ -2,7 +2,7 @@
# do not forget to add lxpolkit to autostart!
- hosts: all
vars:
packages: [gvfs, gvfs-afc, polkit, lxpolkit]
packages: [udevil]
sudo: yes
tasks:
- name: install packages
@@ -11,6 +11,3 @@
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

+ 4
- 0
xprograms Ver ficheiro

@@ -77,6 +77,10 @@ _lxpolkit(){
(sleep 1s && /usr/lib/lxpolkit/lxpolkit) &
}

_devmon(){
(sleep 1s && devmon) &
}

for p in $@
do
_$p


Carregando…
Cancelar
Guardar