Gadgets, Modules, and Shelves
Revision for “Gadgets, Modules, and Shelves” created on February 2, 2017 @ 14:55:12
Gadgets, Modules, and Shelves
<strong>Gadgets</strong> A <em>gadget</em> is a small application that will either: <ul> <li>Give information about some aspect of your system, as is the case with the CPU Frequency gadget, or</li> <li>Perform a specific action, such as launching applications in the case of the iBar gadget.</li> </ul> Although gadgets can be placed directly on the desktop, the most useful ones, such as the iBar, are best placed on a shelf, where they will not be overlapped by any windows (unless those windows are opened fullscreen). The gadgets available on the default Bodhi system are listed at the end of this article. <strong>Gadget Settings</strong> Most gadgets have Settings dialog boxes where you can configure various aspects of their appearance or operation. These dialog boxes can be reached by right-clicking the gadget and choosing the appropriate options from the context menu. For example, to change the Clock gadget from digital to analog at the Clock Settings dialog box, right-click on the Clock and choose <em>Clock > Settings</em> from the context menu, then make the appropriate choice at the Clock Settings dialog box. <strong>Modules</strong> A gadget is the visible instance of a <em>module</em>, and for a gadget to be available its module must first be loaded. To keep the default Bodhi system light, not all modules are loaded by default. To see what’s loaded, and if necessary to load more, go the <em>Main menu > Settings > Modules.</em> The Module Settings dialog box opens listing the available modules under various categories (Utilities, System, etc). <strong>Shelves</strong> The purpose of <em>shelves</em> is to house gadgets. The Enlightenment system offers you many possibilities: you can have more than one shelf on a desktop, and you can have different shelves on different <a title="Virtual Desktops" href="http://www.bodhilinux.com/w/virtual-desktops/" target="_blank">virtual desktops</a>, each housing its own unique set of gadgets and application launchers. Also, a shelf can be located at the middle or a corner of any screen edge. The shelf on the default Bodhi installation is located at the top center of the screen, but if you have a wide screen you may prefer it at the left edge, as this may make better use of your desktop real estate. To make this and other changes to the location and appearance of the shelf, right-click on it and choose <em>Shelf > Settings</em> from the context menu. The Shelf Settings dialog box opens, where you can set <em>Stacking</em> (normally leave this as ‘Below Windows’), <em>Position</em>, <em>Size</em>, etc. Note in particular the <em>Desktop</em> tab at this dialog box: here you can choose to locate your shelf on a specific virtual desktop rather than on all desktops. <a href="http://www.bodhilinux.com/trial/wp-content/uploads/2015/02/shelf1.jpg"><img class=" size-full wp-image-938 aligncenter" src="http://www.bodhilinux.com/trial/wp-content/uploads/2015/02/shelf1.jpg" alt="shelf1" width="506" height="339" /></a> <strong>Adding gadgets to a shelf</strong> To set which gadgets appear on a shelf, right-click on the shelf and, from the context menu, choose <em>Shelf > Contents</em>. The Shelf Contents dialog box opens, where you can add more gadgets to your shelf or remove gadgets from it. To rearrange the gadgets, right-click on the shelf and choose <em>Begin Moving Gadgets</em> from the context menu. You can now drag gadgets to new positions with the mouse. When you’ve finished, right-click again and choose <em>Stop Moving Gadgets</em>. <a href="http://www.bodhilinux.com/trial/wp-content/uploads/2015/02/Shelf-contents.jpg"><img class=" size-full wp-image-939 aligncenter" src="http://www.bodhilinux.com/trial/wp-content/uploads/2015/02/Shelf-contents.jpg" alt="Shelf contents" width="372" height="315" /></a> <strong>Adding gadgets to the desktop</strong> Whereas shelves (with their gadgets) can be placed on specific virtual desktops rather than all desktops, gadgets added to the desktop will appear on all. To add gadgets to the desktop, simply go to <em>Main menu > Desktop > Change Gadgets</em>. (Alternatively go to <em>Main menu > Settings > Gadgets</em>, select <em>Background</em> then click ‘Configure Layer’.) A dialog box like that shown above will appear where you can make your choice. Those that you add will appear on the desktop within a cross-hatched box, and you can move and resize this by dragging it with the mouse. When it is at the desired location and resized (drag on an edge of the box to do this), right-click on it to lock it. To make further adjustments, right-click again on the gadget and choose the appropriate option from the context menu. Note that if you wish to move a gadget from the shelf to the desktop, you can right-click the gadget and choose the appropriate option from the context menu. After placing it on the desktop you will have to remove it from the shelf (via the same context menu). <strong>Adding more shelves</strong> To add another shelf to your desktop, go to <em>Main menu > Settings > Shelves</em>. A dialog box opens where you can reconfigure existing shelves or add new ones. To add another shelf, click ‘Add’ at this dialog box. First you are invited to give the shelf an appropriate name, then the Shelf Contents dialog box opens, where you can add gadgets. One of the gadgets you will normally wish to add is the iBar (see the next section). <a href="http://www.bodhilinux.com/trial/wp-content/uploads/2015/02/Shelf-settings.jpg"><img class=" size-full wp-image-942 aligncenter" src="http://www.bodhilinux.com/trial/wp-content/uploads/2015/02/Shelf-settings.jpg" alt="Shelf settings" width="618" height="244" /></a> After adding gadgets you will return to the initial dialog box (shown above), where you should choose Settings to set the location and appearance of the shelf, and whether it is to appear on all desktops or a specific desktop. <strong>The iBar gadget</strong> The purpose of the iBar gadget is to act as a dock for application launchers. The iBar on the E19 desktop offers more options than its E17 predecessor, but I will ignore these here, instead homing in on the features common to both. (See <a title="The iBar on E19: Tracking Applications" href="http://www.bodhilinux.com/w/the-ibar-on-e19-tracking-applications/" target="_blank">the article on the E19 iBar</a> for more information.) You can specify which application launchers are housed in an iBar by right-clicking it and choosing <em>iBar > Contents</em> from the context menu. The iBar Applications dialog box opens, where you can add or remove applications and, at the Order tab, specify their position. <a href="http://www.bodhilinux.com/trial/wp-content/uploads/2015/02/iBar.jpg"><img class=" size-full wp-image-943 aligncenter" src="http://www.bodhilinux.com/trial/wp-content/uploads/2015/02/iBar.jpg" alt="iBar" width="310" height="244" /></a> When you add another shelf (see the section above), its iBar will contain the same application launchers as those contained in the iBar on your original shelf. You can change this at the iBar Settings dialog box, the top part of which is shown below. To get to this dialog box, right-click on on your new iBar then choose <em>iBar > Settings</em>. <a href="http://www.bodhilinux.com/trial/wp-content/uploads/2015/02/iBar-settings.jpg"><img class=" size-full wp-image-944 aligncenter" src="http://www.bodhilinux.com/trial/wp-content/uploads/2015/02/iBar-settings.jpg" alt="iBar settings" width="277" height="249" /></a> The reason why your new iBar contains the same launchers as the original is because it is pointing to the same source. You need to change this: <ol> <li>Click Add to add a new source, enter a name for it, then highlight it and click OK.</li> <li>Now right-click again on your new iBar, choose <em>iBar > Contents</em> from the context menu, and at the iBar Applications dialog box choose some application launchers.</li> </ol> By locating the shelf containing this iBar on another desktop, and by adding to it other gadgets as appropriate, you can dedicate different virtual desktops to different kinds of activity. Thus you might have one desktop for work, a second for leisure, a third dedicated to computer housekeeping, and so on. In the case of the E19 desktop, the iBar acts not only as an application launcher but as a tracker too. It can also be configured to act just as a launcher but not a tracker, or as a tracker but not a launcher. This gives you great flexibility, so that you could, for instance, have one shelf dedicated to launching applications and a second shelf to track them. See <a title="The iBar on E19: Tracking Applications" href="http://www.bodhilinux.com/w/the-ibar-on-e19-tracking-applications/" target="_blank">the article on the E19 iBar</a> for details. <strong>Gadgets available on the default Bodhi installation</strong> The following gadgets are available on a new Bodhi installation. You can add more from the Module Settings dialog box (go to <em>Main menu > Settings > Modules</em>). <strong>Clock</strong> - tells the time (obviously), and like all gadgets can be placed on the desktop instead of the shelf. Also like all gadgets, you can change its appearance/operation at its Settings dialog box, reached by a right click (see the start of this article). Note: if you clock time is not accurate, run <em><span class="pln">sudo dpkg</span><span class="pun">-</span></em><span class="pln"><em>reconfigure tzdata</em> from Terminology. You will need to enter your password and follow the prompts. </span> <strong>Settings</strong> - gives instant access to the Settings Panel, which replaces the various Settings submenus with a graphical route to the multitude of Enlightenment dialog boxes. <strong>Everything Starter</strong> - opens Run Everything, which provides really fast access to dialog boxes and applications, so bypassing all those submenus. Simply type the first few letters of the name of the box or application into Everything and hit Enter. <strong>iBar</strong> - a dock for application application launchers and, in the E19 desktop, a launch tracker as well. Its use is described earlier in this article and also <a title="The iBar on E19: Tracking Applications" href="http://www.bodhilinux.com/w/the-ibar-on-e19-tracking-applications/" target="_blank">here</a>. <strong>Mixer</strong> - controls the volume and other aspects on the sound on your system. Note that you should normally use the Pulse Mixer gadget for this. <strong>System Updates</strong> - shows the number of updates currently available for your system; clicking it launches eepDater, which will download and install the updates. <strong>Pager</strong> - accesses the <a title="Virtual Desktops" href="http://www.bodhilinux.com/w/virtual-desktops/" target="_blank">virtual desktops</a> on your system, shown as tiny pictures. <strong>Pulse Mixer</strong> - controls the volume and other aspects on the sound on your system. <strong>Start</strong> - opens the Main menu. Alternatively, left-click on an empty spot on the desktop. <strong>System</strong> - opens the System menu, where you can power off your computer, put it to sleep, reboot, etc. <strong>Systray</strong> - a special kind of dock used by some applications. It is used by the network manager, for example, which displays in it an icon showing the status of your network connection. <strong>Tasks</strong> - shows small pictures of all open and minimized windows on your desktop; clicking one will bring it into focus. On the E19 desktop the iBar also performs this function (for application windows). <strong>Keyboard</strong> - accesses the Keyboard Settings dialog box, allowing you to quickly switch from one keyboard to another. More gadgets can be loaded onto your system. Go to Main menu > Settings > Modules for these.