Gadgets, Modules, and Shelves
Revision for “Gadgets, Modules, and Shelves” created on November 9, 2020 @ 11:43:07
Gadgets, Modules, and Shelves
<h3>Gadgets</h3> 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. <h4>Gadget Settings</h4> 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. <h3>Modules</h3> 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 to the <em>Main menu > Settings > Modules.</em> The Module Settings dialog box opens listing the available modules under various categories (Utilities, System, etc). <h3>Shelves</h3> 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="https://www.bodhilinux.com/w/virtual-desktops/" target="_blank" rel="noopener">virtual desktops</a>, each housing its own unique set of gadgets and application launchers. Also, a shelf can be located in the middle or in a corner of any screen edge. The shelf on the default Bodhi installation is located at the bottom center of the screen, but if you have a widescreen 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="https://www.bodhilinux.com/trial/wp-content/uploads/2020/11/ShelfSettings.png"><img class="aligncenter wp-image-3468" src="https://www.bodhilinux.com/trial/wp-content/uploads/2020/11/ShelfSettings.png" alt="Shelf Settings" width="350" height="359" /></a> <h4>Adding gadgets to a shelf</h4> 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 bottom of 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="https://www.bodhilinux.com/trial/wp-content/uploads/2020/11/shelfContents.png"><img class="aligncenter wp-image-3467" src="https://www.bodhilinux.com/trial/wp-content/uploads/2020/11/shelfContents.png" alt="Self Contents" width="350" height="461" /></a> <h4>Adding gadgets to the desktop</h4> 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 the <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 <em>right-click</em> 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). <h4>Adding more shelves</h4> 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="https://www.bodhilinux.com/trial/wp-content/uploads/2020/11/shelfSettings-620x302.png"><img class="size-medium wp-image-3466 aligncenter" src="https://www.bodhilinux.com/trial/wp-content/uploads/2020/11/shelfSettings-620x302.png" alt="Shelf Settings" width="620" height="302" /></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. <h3>The iBar gadget</h3> The purpose of the iBar gadget is to act as a dock for application launchers. You can specify which application launchers are housed in an iBar by right-clicking it (for example <em>right-click</em> on the PCManFMThe icon) and choosing <em>iBar > Contents</em> from the context menu iBar Applications dialog box opens, where you can add or remove applications and, at the Order tab, specify their position. <a href="https://www.bodhilinux.com/trial/wp-content/uploads/2020/11/iBarApplications.png"><img class="aligncenter wp-image-3465" src="https://www.bodhilinux.com/trial/wp-content/uploads/2020/11/iBarApplications.png" alt="iBar Applications" width="350" height="337" /></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 your new iBar then choose <em>iBar > Settings</em>. <a href="https://www.bodhilinux.com/trial/wp-content/uploads/2020/11/iBarSettings.png"><img class="aligncenter wp-image-3464" src="https://www.bodhilinux.com/trial/wp-content/uploads/2020/11/iBarSettings.png" alt="" width="280" height="664" /></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 Moksha desktop, the iBar acts not only as an application launcher but as a tracker too. It can also be configured to act just like 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. <h3>Gadgets available on the default Bodhi installation</h3> The following gadgets are available on a new Bodhi installation. You can add more from the Module Settings dialog box (go to the <em>Main menu > Settings > Modules</em>). <h4>Utilities</h4> <code>Clipboard</code><strong> - </strong>Clipboard manager. shows copy buffer history, select entry to make that entry the current entry in your copy buffer. <code>Clock</code> - 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 your clock time is not accurate, run <code><span class="pln">sudo dpkg</span><span class="pun">-</span></code><span class="pln"><code>reconfigure tzdata</code> from <a href="https://www.bodhilinux.com/w/wiki/terminology/"><em>Terminology</em></a>. You will need to enter your password and follow the prompts. </span> <code>iBar</code> - a dock for application launchers and, in the Moksha 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="https://www.bodhilinux.com/w/the-ibar-on-e19-tracking-applications/" target="_blank" rel="noopener">here</a>. <code>Pager</code> - accesses the <a title="Virtual Desktops" href="https://www.bodhilinux.com/w/virtual-desktops/" target="_blank" rel="noopener">virtual desktops</a> on your system, shown as tiny pictures. <code>Shot</code> - a simple screenshot + save/upload module <code>Start</code> - opens the Main menu. Alternatively, left-click on an empty spot on the desktop. <code>Systray</code> - 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. <code>Tasks</code> - shows small pictures of all open and minimized windows on your desktop; clicking one will bring it into focus. On the Moksha desktop, the iBar also performs this function (for application windows). <h4>System</h4> <code>Battery</code> - (laptops). Visualize your battery status. <code>Mixer</code> - (pulse mixer) Controls the volume and other aspects of the sound on your system. <h4>Launcher</h4> <code>Everything Starter</code> - 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. <h4>Core</h4> <code>Gadgets</code><strong> - </strong>Manage Gadgets on the desktop <code>Notifications</code><strong> - </strong>Pop up if an event occurs <code>Settings Panel</code> - gives instant access to the Settings Panel, which replaces the various Settings submenus with a graphical route to the multitude of Enlightenment dialog boxes. <code>System Controls</code> - opens the System menu, where you can power off your computer, put it to sleep, reboot, etc. <code>Window Switcher</code><strong> - </strong>Shows a list of client applications presently running. More gadgets can be loaded onto your system. Go to the Main menu > Settings > Modules for these.