On Sun, 03 May 2009, Leandro Chescotta wrote:
> yes, i dont know how to mount as user instead of root with skvm too, i
> think a sudo umount /dev/sdX[n] with be ok, but i really like the
> devices to be mounted as my user
I only use one dvd drive and use one usb at a time. I use pmount but I
think that you still have to add yourself to a particular group before
you can use pmount.
extract of my config.h
static const char *mountcdrom[] = { "pmount", "/dev/cdrom", NULL };
static const char *umountcdrom[] = { "pumount", "/dev/cdrom", NULL };
static const char *mountusb[] = { "pmount", "/dev/sda1", NULL };
static const char *umountusb[] = { "pumount", "/dev/sda1", NULL };
.....
static Key keys[] = {
......
{ MODKEY, XK_F1, spawn, {.v = mountcdrom } },
{ MODKEY|ShiftMask, XK_F1, spawn, {.v = umountcdrom } },
{ MODKEY, XK_F2, spawn, {.v = mountusb } },
{ MODKEY|ShiftMask, XK_F2, spawn, {.v = umountusb } },
Mount points will be created and removed automatically under /media
of my debian.
-- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 唐詩191 杜甫 詠懷古跡五首之二 搖落深知宋玉悲 風流儒雅亦吾師 悵望千秋一灑淚 蕭條異代不同時 江山故宅空文藻 雲雨荒臺豈夢思 最是楚宮俱泯滅 舟人指點到今疑Received on Mon May 04 2009 - 00:33:11 UTC
This archive was generated by hypermail 2.2.0 : Mon May 04 2009 - 00:36:04 UTC