The Haiku/BeOS Tip Server
Tips and tricks for Haiku/BeOS users

Add scripts to the Be menu

Contributed by: Joseph Beckenbach
This tip is valid for: Both BeOS and Haiku

You already know that you can create any structure of files and folders you want under the Be menu (see Customize the Be menu). An easy way to add a little functionality to your system is to create little scripts that do housekeeping chores to the Be menu.

You might want to start by creating a new submenu for your scripts under/boot/home/config/be/. Then you can place text files here that function as scripts. Just be sure the first line is

#!/bin/sh

and that you chmod it executable by typing chmod 755 filename.

I’ve created /boot/home/config/be/__/ (that’s two underscores) to contain the items I use most often, such as NetPositive and BeIDE. Here are two scripts which I use quite often.

#!/bin/sh

NetPositive file:///boot/home/bookmarks.html

#!/bin/sh

rm -rf /boot/home/config/settings/NetPositive/NetCache/

Posted in Tracker & Deskbar


(comments are closed).