LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [BlackBox] Menu shortcut to device? (https://www.linuxquestions.org/questions/linux-software-2/%5Bblackbox%5D-menu-shortcut-to-device-317747/)

henrikanttonen 04-27-2005 12:11 PM

[BlackBox] Menu shortcut to device?
 
Can I create a menu shortcut for devices? And if, then how.

Thank you,
henrik

acid_kewpie 04-28-2005 08:06 AM

a device? what use is a link to /dev/hdb? you would need to be a little more involved than that really... any mountpoint or suchlike would presumably need to be passed as a parameter to which "explorer" clone etc...

henrikanttonen 04-28-2005 01:53 PM

Should've been more specific than that, sorry.

What I meant was, can I make a shortcut to the menu that opens a device for me in a file manager, in this case konqueror. Device like cdrom.

bulliver 04-28-2005 02:15 PM

Not sure if blackbox menu is the same format as fluxbox, but if so edit your menu file and add something like:
Code:

[exec] (cdrom drive) {konqueror /mnt/cdrom}
This will open konqueror displaying '/mnt/cdrom'. This is only going to work if your cdrom drive is mounted already though...
If you set konq to open /dev/cdrom you will only get an error.


All times are GMT -5. The time now is 12:15 PM.