LoginSignup
1
1

More than 3 years have passed since last update.

LinuxのデスクトップにVMWareの共有フォルダのショートカットを作成する

Last updated at Posted at 2019-02-19

何をいまさら…という感じですが、備忘録のため記載。

VMWareにUbuntu18.04をインストールしていて、VMWareの共有フォルダを有効にし、windows上に共有フォルダを設定。

その後、下記コマンドでhgfsの配下をマウント。


sudo vmhgfs-fuse -o allow_other -o auto_unmount .host:/ /mnt/hgfs

毎回上記コマンドを打つのは邪魔くさいので、/etc/fstabに以下のコマンドを記述する。


.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other,auto_unmount,defaults 0 0

image.png

その後、いちいち


cd /mnt/hgfs/01_共通フォルダ

と入力してアクセスするのは非常に邪魔くさいので、デスクトップにショートカットを作成する。

下記コマンドにて、デスクトップにショートカットを作成できる。


ln -sf /mnt/hgfs/01_共通ファイル/ /home/XXXX/デスクトップ/

※ XXXXは、各自のPCのユーザ名か何か...。

20190219_ショートカットの作成方法.PNG

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1