[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Launcher to point to SMB mounted folder



Christopher K. Johnson wrote:

David Trask wrote:

k12osn redhat com writes:


nautilus smb://my-pdc/profiles/${USER}
should do the trick.


Nope....didn't seem to work...got a message saying it couldn't find it. If I type in my username in place of ${USER} it works.

anything else for me to try?


Well it definitely works from the command-line. I have tested the following method to work from a launcher. There may be a more elegant solution, but I'll have to do some digging. In any case this will work for now:

Create a file in /bin containing just the line

nautilus smb://my-pdc/profiles/${USER}

and make it world executable.
Create the launcher setting the Command field to just the name of the file you created.


This also works:
Create a launcher setting the Command field to:
bash -c "nautilus smb://freedom/shared/${USER}"

--
-----------------------------------------------------------
  "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
  Chris Johnson, RHCE #807000448202021





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]