Outils pour utilisateurs

Outils du site


issue225:bodhi

Ceci est une ancienne révision du document !


Want to personalize your Bodhi Linux experience? Dive into the world of themes! Bodhi offers a wide variety of themes to suit your style, from sleek minimalism to vibrant creations. While the wiki covers the basics of installing and using themes, let's explore some simple commands to get you started.

Listing Themes:

To see a list of available Bodhi themes in the repositories, use: apt search bodhi-theme

You can filter the results by adding keywords after the search term. For example, to find themes with “green” in the name, use: apt search bodhi-theme green

Theme Information:

To get detailed information about an installed theme, like its description and version, use: dpkg -s bodhi-theme-moksha-green

The output will display details about the theme package.

Installing Themes

To install a specific theme, use sudo apt install followed by the theme's package name (e.g., sudo apt install bodhi-theme-moksha-dimensions).

If you want to install the entire collection of Bodhi themes at once, use: sudo apt install bodhi-theme-pack

Viewing Installed Theme Files (Optional):

You can use dpkg -L to see the files a theme installs but this output might be more useful for advanced users.

Theme Anatomy: Unpacking What Bodhi Themes Install

Think a Bodhi theme is just about eye candy? Think again! While themes certainly transform the visual appearance of your desktop, they install several components that work together to create a cohesive experience. Here's a breakdown: • Moksha Theme: This is the core of the theme, defining the visual style of windows, panels, menus, and other Moksha elements. It controls things like colors, fonts, and window decorations. • The Elementary Theme: This theme is built around the Elementary Library (ELM), a core component of the Enlightenment Foundation Libraries (EFL). ELM is the toolkit used by applications like ePhoto and Terminology. The Elementary Theme reflects the default visual style of ELM apps and likely includes settings optimized for their appearance and functionality. • GTK Theme (Optional): Many Bodhi themes also include a matching GTK theme. This theme applies visual styles to standard GTK applications, ensuring a consistent look and feel across your entire desktop. • Icon Theme (Optional): Bodhi themes often come with a custom icon theme, replacing the default icons with a set that complements the overall aesthetic of the theme. This includes icons for applications, folders, and system elements but is optimized for older machines.

By installing these components together, Bodhi themes create a unified and visually appealing desktop environment. It's like getting a complete makeover in one click!

Beyond the Repos

Want to get even more granular with theme customization? The BodhiDev/Bodhi-themes GitHub repository offers a treasure trove of options. Here's how you can explore and potentially install individual theme components, rather than a whole theme package from the official repositories.

Each theme within the Bodhi-themes repo has its own dedicated folder. Within these theme folders, you'll find two key directories: DEBIAN and usr. The DEBIAN folder contains information used to package the theme for easy installation (not relevant to this method).

The real star of the show is the usr/share directory. This folder houses all the components that make up a Bodhi theme. Here's what you might find inside: • doc: This folder contains copyright and changelog files related to the theme. • elementary: This folder contains the Elementary theme, which could be a symbolic link to the Moksha theme. Not all themes utilize the Elementary theme. • enlightenment: This folder holds the core visual elements for the Moksha desktop environment, essentially the “Moksha theme” itself. • icons: This folder houses the custom icon set associated with the theme. • theme: This folder contains GTK themes that complement the Moksha theme and ensure a consistent look across applications.

Important Note: Not all themes might include every directory listed above. It depends on the specific theme's design and functionality.

Install Components Locally

While the Bodhi-themes repo offers individual theme components, installing them directly requires some technical knowledge and can be a bit tricky.

Target Locations: • Elementary Theme: ~/.elementary • Moksha Theme: ~/.e/e/themes/ • Icon Set: ~/.local/share/icons (Update the icon cache after installation using the gtk-update-icon-cache command) • GTK Theme: ~/.local/share/themes

Important Notes:

• Symlinks and Elementary Themes: Many themes listed as “Elementary” themes are actually symbolic links pointing to the Moksha theme. In these cases, you only need to copy the Moksha theme edj file. • Missing Components: Themes often work together as a set, with the Moksha theme relying on specific GTK themes, icon sets, or even the Elementary theme (if applicable). If you only install the Moksha theme and not the other components, your desktop might appear incomplete. You can adjust these settings in Moksha's Settings Panel. There, you can set the desired GTK theme and icon set. For the Elementary theme (if your theme uses it), you can use the elementary_config command. • Icon Cache Refresh: When installing a new icon theme, especially on older machines, you might experience a slight delay as Moksha rebuilds its icon cache. This one-time occurrence shouldn't impact performance after the initial refresh or if needed a reBoot.

While directly installing theme components from the GitHub repo requires some technical knowledge, it offers a unique way to personalize your Bodhi experience with specific elements from different themes.

Compiling Bodhi Themes Yourself

This section is for the truly adventurous themers! Compiling a Moksha theme from its source code offers ultimate control and customization, but it requires a strong technical background and familiarity with development tools.

Compilation Challenge:

To embark on this journey, you'll need to: • Clone the Theme Source: Use the git clone command to download the theme's source code from its Git repository (URLs are provided on the BodhiDev/Bodhi-themes repo). • Consult the Theme's Instructions: Each theme might have specific build instructions or dependencies. Carefully review any documentation or README files included in the source code to understand the compilation process and required tools. These details can vary significantly between themes.

A Word of Caution:

Compiling themes can be a complex process and might involve working with build systems, managing dependencies, and potentially encountering errors. A theme's GitHub page might reflect ongoing development, meaning the code might have bugs or require the latest version of Moksha for full functionality. This latest version of Moksha might not yet be available in the official Bodhi repositories.

issue225/bodhi.1769973453.txt.gz · Dernière modification : 2026/02/01 20:17 de d52fr