SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was thinking The dollar sign ($) at the start each of command refers to shell prompt. Ok I built it without problems - yet I must say I don't quite understand how actually config file looks like. So would you be so kind and share one? Also I noticed there ts rc.wmsvgen scrpit. Does wmsvgen is meant to run as service? Thanks.
/etc/wmsvmgen/wmsvmgen.conf which is meant to be used at system-level, and which is the default configuration file passed to wmsvmgen by /etc/rc.d/rc.wmsvmgen.
The only difference between these configurations is the directory where generated menu file(s) are placed :
in ~/.wmsvmgen in case of user-configuration
in /var/lib/wmsvmgen in case of system-configuration.
Both configurations generates menu to access removable storage volumes *only*. To change this, set the property only-removable to false (or off, 0, no). In this case, the generated menu file(s) will give access to all storage volumes.
You can exclude storage volume(s) through the property exclude-volumes. Each item in this list can be: a device name, a label, an uuid :
Code:
exclude-volumes=/dev/sda1,LABEL.PART,03CD-93D3
You can force storage volume(s) to be present (when connected) in the menu through the property force-volumes :
Code:
force-volumes=/dev/sda4,DATA.001,0440-321D
The commands to mount, umount, open in a file manager, open in a terminal emulator, and to get volume informations are respectively specified through the properties mount-command, unmount-command, open-command, open-terminal-command, and infos-command. The included configurations delegates these actions to the wrapper script wmsvm_util (installed in /usr/bin).
For more about wmsvmgen & wmsvm_util :
Code:
$ more /usr/doc/wmsvmgen-2019.0320/README
$ man wmsvmgen
$ man wmsvm_util
Quote:
Originally Posted by igadoter
Also I noticed there ts rc.wmsvgen scrpit. Does wmsvgen is meant to run as service?
wmsvmgen is meant to run in the background, at user or system level. This is required to track storage devices events (insert, remove, mount, unmount), but it uses only 250k of memory (wmudmount uses ~4500k) and cpu usage is unnoticeable.
if you have trouble to get wmsvmgen to run properly, let me know.
wmsvmgen is not designed to replace thunar nor any other file manager. It simply allows access to available storage volumes without to have to start a file manager. That's all. It can be compared to the kde device notifier :
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.