edistar_ | hi.. I have some share folders I need to have the users mount everytime they log on.. how can I achieve that? | 14:46 |
---|---|---|
stgraber | you can have a look at pam_mount or if you don't need them to be mounted but just present in gtk's file chooser dialog you can add them to .gtk-bookmarks | 14:49 |
edistar_ | ah, thanks | 14:50 |
edistar_ | just present, they are on the same machine | 14:50 |
stgraber | so just google those two, there ought to be tons of examples as it's something extremely common as soon as you are setting up a Linux network :) | 14:51 |
edistar_ | stgraber: the .gtk-bookmarks are in their home folder? | 14:51 |
edistar_ | ok, thanks | 14:51 |
stgraber | yes | 14:51 |
edistar_ | there isn't a global .gtk-bookmarks? | 14:52 |
stgraber | .gtk-bookmarks is basically what then appears in the Places menu, in the left side of nautilus and in the file chooser dialog | 14:52 |
stgraber | I don't know of a global gtk-bookmarks but that'd be handy for sure :) | 14:52 |
edistar_ | stgraber: so I have to update every .gtk-bookmarks by hand? | 14:55 |
stgraber | you can put a script in /etc/xdg/autostart/ generating it | 14:56 |
stgraber | everything in that directory gets execute everytime a user opens a gnome (or kde) session, so you can place a script in it to generate ~/.gtk-bookmarks | 14:57 |
=== bddebian2 is now known as bddebian | ||
edistar_ | stgraber: cool, thanks | 14:59 |
edistar_ | stgraber: the scripts don't get run as the user, do they? | 15:48 |
stgraber | edistar_: they do | 15:48 |
edistar_ | stgraber: doesn't work here | 15:48 |
edistar_ | stgraber: I wrote a python script that works perfectly if run manually | 15:49 |
edistar_ | but not automatically | 15:49 |
stgraber | hmm, look at the other files, they have to be .desktop files IIRC | 15:50 |
edistar_ | but .desktop files can't do any python magic, can they? | 15:51 |
edistar_ | what are .desktop files anyway? | 15:52 |
stgraber | .desktop define a title, description and the path to an executable | 15:57 |
=== edistar_ is now known as edistar |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!