# E16 dark theme

**URL:** <https://forum.elivelinux.org/t/e16-dark-theme/1460>\
**Category:** Enlightenment\
**Created:** [September 15, 2019, 12:37am UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460 "2019-09-15T00:37:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [September 15, 2019, 12:37am UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/1 "2019-09-15T00:37:40Z")

</div>

This thread has been created inspired on the [E16 light theme](https://forum.elivelinux.org/t/e16-light-theme/1360) thread 🙂

Well all know the E16 dark theme, which is also very pleasant, complete, and beautiful...

But I simply wanted to open this thread to hear about **suggestions** and possible things to fix / improve

For example, maybe its only issue is that the fonts are pretty small? (this is in fact also a feature, more things can fit in the screen, and allows small screens to not have overlapped windows), but maybe to be a default setting they should be a bit bigger...

opinions? 🙂

---

<div class="post-metadata">

**Author:** ![Franc](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/franc/32/729_2.png) [@Franc](https://forum.elivelinux.org/u/Franc)\
**Post date:** [September 15, 2019, 8:06am UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/2 "2019-09-15T08:06:26Z")

</div>

Hello!

For me fonts got right (but I know I have quite good eyes)...  
I tends each time to lower the size of Cairo-Dock icons (around 26)...  
As already said in the alter-ego thread, for me, dark theme is not only an aesthetic point, but readability & energy saving ones...

Salutations!

---

<div class="post-metadata">

**Author:** ![maxinou](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/maxinou/32/496_2.png) [@maxinou](https://forum.elivelinux.org/u/maxinou)\
**Post date:** [September 15, 2019, 12:52pm UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/3 "2019-09-15T12:52:16Z")

</div>

> [@Thanatermesis](#):
>
> For example, maybe its only issue is that the fonts are pretty small? (this is in fact also a feature, more things can fit in the screen, and allows small screens to not have overlapped windows), but maybe to be a default setting they should be a bit bigger...

Well, in one way, I complains several releases ago of small fonts, but I had appreciated to see them back again in 3.7.9 even in my 10" screen, (in fact, I must go to doctor to review my eyes because I can't read those are close to me, but also in last trips in Belgium I discovered that numbers in red in my GPS when I pass speed limit are readable by day but not by night, so I really need to check my eyes more that ask you to change Elive's font size)

So I confirm you, in small screens, now with the smaller font that we had in first alphas looks is better than with the biggest ones so please, leave them as they are now in 3.7.9, is the ideal compromise I think

---

<div class="post-metadata">

**Author:** ![triantares](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/triantares/32/2550_2.png) [@triantares](https://forum.elivelinux.org/u/triantares)\
**Post date:** [September 15, 2019, 1:40pm UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/4 "2019-09-15T13:40:47Z")

</div>

Same gripe as in light theme: There are icons missing in the menu!

The fonts in the menu are set to "centered" (JUSTIFICATION 512 in "textclasses.cfg) which gets ,messy when the text line is long and looks jumbled.  
Also it should use the same font as the cairo-dock menu i.e (DejaVu)Sans

---

<div class="post-metadata">

**Author:** ![Rebel450](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/rebel450/32/2737_2.png) [@Rebel450](https://forum.elivelinux.org/u/Rebel450)\
**Post date:** [September 15, 2019, 1:53pm UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/5 "2019-09-15T13:53:08Z")

</div>

> [@Thanatermesis](#):
>
> issue is that the fonts are pretty small

Not only "pretty small" -  
in fact you should deliver a spy glass with it 😠

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [September 21, 2019, 10:09pm UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/6 "2019-09-21T22:09:23Z")

</div>

🤔:baffled:

well, as an end note, is not possible to satisfy everybody in e16 about font sizes (they are not dynamic, this is much better implemented in elive 3.0)

---

<div class="post-metadata">

**Author:** ![Franc](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/franc/32/729_2.png) [@Franc](https://forum.elivelinux.org/u/Franc)\
**Post date:** [September 22, 2019, 9:49am UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/7 "2019-09-22T09:49:32Z")

</div>

Hi!

So...lution is near E22! 😉 🙏

Or a E17 "kit" from 3.0, neamwhile???

Salutations!

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [September 29, 2019, 11:07am UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/8 "2019-09-29T11:07:44Z")

</div>

I don't know if is a good thing or a bad thing, but I increased the fonts of the menus one point (it looks pretty different! i should probably get used for a while... 🤔)

run "apug" and reload E16 to see them

---

<div class="post-metadata">

**Author:** ![triantares](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/triantares/32/2550_2.png) [@triantares](https://forum.elivelinux.org/u/triantares)\
**Post date:** [September 29, 2019, 1:09pm UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/9 "2019-09-29T13:09:26Z")

</div>

> [@Thanatermesis](#):
>
> it looks pretty different! i should probably get used for a while... 🤔)

BUGGER ! Now I'll have to realign the text "left" again. :shocked:

Doesn't make much difference on my box. I suspect that the fancy-menus) icons define the size of the text.  
OLD:

 ![](https://forum.elivelinux.org/uploads/default/original/2X/7/7c6db89b03d5a00a04d5c36c4eabb3ed16f88542.png)  
NEW After apug):  
 ![Elive_Screenshot_2019-09-29_15%3A02%3A35__364x530](https://forum.elivelinux.org/uploads/default/original/2X/8/87c13aeb0ced2bd601e6442d501cb297ebaf0942.jpeg)  
aligned left:  
 ![](https://forum.elivelinux.org/uploads/default/original/2X/c/c530abf43187cfdf046a12e181011d1b53cab8f0.png)

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [September 29, 2019, 5:45pm UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/10 "2019-09-29T17:45:13Z")

</div>

mmmh, your font's sizes in e16 darkone theme doesn't looks to be corrrect, they look small

are you sure you don't have a copy of the theme in ~/.e16/themes ?

also, you should always use the new generated menus from the perl tool (to follow the default settings)

left-align looks better, which one is the conf to set them this way? I will modify the darkone theme to follow this too

---

<div class="post-metadata">

**Author:** ![triantares](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/triantares/32/2550_2.png) [@triantares](https://forum.elivelinux.org/u/triantares)\
**Post date:** [September 29, 2019, 5:59pm UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/11 "2019-09-29T17:59:25Z")

</div>

> [@Thanatermesis](#):
>
> mmmh, your font's sizes in e16 darkone theme doesn't looks to be corrrect, they look small

~~They're the sans fonts introduced by "fancy-menus"~~  
They are the fonts set by the DarkOne theme.  
In the "enlightenment , settings" menu and "themes" tab I do have "use theme font configuration" set to `enabled`

 ![Elive_Screenshot_2019-09-29_21%3A50%3A48__383x438](https://forum.elivelinux.org/uploads/default/original/2X/6/61a57ced6ccb3bfbf4341d0885a7bcf3cc46b2dd.png)

If I uncheck that, then my light-theme fonts go very, very small but the DarkOne slightly larger than before. Not by much though, you can hardly see it.

> [@Thanatermesis](#):
>
> also, you should always use the new generated menus from the perl tool (to follow the default settings)

I do but I installed "fancy menus" as "persistent" so they overwrite the perl-tool menus on logging in or "restarting" e16. I'm quite happy with that.😉

> [@Thanatermesis](#):
>
> left-align looks better, which one is the conf to set them this way?

This was done in "/usr/share/e16/themes/DarkOne/textclasses.cfg" by setting \_JUSTIFICATION 0 ( **twice !** ) for MENU\_TEXT entry.

 ![Elive_Screenshot_2019-09-29_19%3A55%3A22__2048x1152](https://forum.elivelinux.org/uploads/default/original/2X/e/ef2f2985055b469b9a47f8e070b64172b02b8dd0.jpeg)

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [September 29, 2019, 11:57pm UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/12 "2019-09-29T23:57:56Z")

</div>

> [@triantares](#):
>
> If I uncheck that, then my light-theme fonts go very, very small but the DarkOne slightly larger than before. Not by much though, you can hardly see it.

yeah I was referring only to darkone fonts 🙂 they are updated to be a bit larger for menus

> [@triantares](#):
>
> I do but I installed "fancy menus" as "persistent" so they overwrite the perl-tool menus on logging in or "restarting" e16. I'm quite happy with that.😉

mmh, ok let me explain how your "own menus" should be made instead 🙂, make a look to:

> sudo scite /usr/share/e16/scripts/e\_gen\_menu

line 115 & 124, next to these ones you should add a line similar to the commented one in 129, this will add a submenu entry, then this submenu file will be a static menu that you made (or a bunch of submenus, etc etc), btw it should be a different name, user\_apps.menu is also regenerated but is a useless menu

then, to integrate it in elive what we need is an extra code in that perl script that:

- checks if this file exists and contains at least 1 line that is not a comment
- if so, adds that user static menu to the main menu, otherwise, ignores it

> [@triantares](#):
>
> This was done in "/usr/share/e16/themes/DarkOne/textclasses.cfg" by setting \_JUSTIFICATION 0 ( **twice !** ) for MENU\_TEXT entry.

ah nice!

I have also see that from imageclasses/menustyles.cfg you can change the padding of the elements (requires purge cache's + E reload), but between the text and the icon it doesn't seems to take effect 🤔

---

<div class="post-metadata">

**Author:** ![triantares](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/triantares/32/2550_2.png) [@triantares](https://forum.elivelinux.org/u/triantares)\
**Post date:** [September 30, 2019, 4:33am UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/13 "2019-09-30T04:33:53Z")

</div>

> [@Thanatermesis](#):
>
> ve also see that from imageclasses/menustyles.cfg you can change the padding of the elements (requires purge cache's + E reload), but between the text and the icon it doesn't seems to take effect 🤔

Yeah, tried that too. The only way I could find (and apparently also the way the previous Gem and Topaz did it) is to have those spaces in the text.  
It's not illogic as the menu expands to the size of the string. 🤔

> [@Thanatermesis](#):
>
> then, to integrate it in elive what we need is an extra code in that perl script that:

Like I stated elsewhere, I think it's better to do that in a separate script.  
Dynamic adding of whitespace is fairly easy with sed but finding the xpm icons (a fault in the e\_gen script) is another.  
E\_gen\_menu is an e16 script and can change with upgrades without being noticed by us. A separate script is safer IMO.

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [September 30, 2019, 6:49pm UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/14 "2019-09-30T18:49:02Z")

</div>

Ok, updates:

- spaces between icons and text fixed in the updated e16 package, the perl script adds the needed spaces 🙂 it looks way better now!
- darkone theme now align menus to the left

About XPM icons @triantares, we should forget this approach, xpm is bugged and it wont work on new enlightenment too, so its just better to add the needed icons for the missing apps instead 🤔

---

<div class="post-metadata">

**Author:** ![triantares](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/triantares/32/2550_2.png) [@triantares](https://forum.elivelinux.org/u/triantares)\
**Post date:** [September 30, 2019, 7:10pm UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/15 "2019-09-30T19:10:31Z")

</div>

> [@Thanatermesis](#):
>
> so its just better to add the needed icons for the missing apps instead

By icons I was primarily looking at icons for the categories in "file.menu" i.e the main menu.:nod:  
There aren't any there while the cairo-dock menu does use them.

I found most in "/usr/share/icons/gnome/48x48/categories/".

For the .xpm icons we'd have to find alternative .png icons and name them appropriately for the script to work. Some apps (especially in Games) are so old that they've only got .xpm ones. But then again there aren't that many.

If I do grep xpm in menus\_apps I get this:

"/usr/share/pixmaps/a7xpg.xpm"  
"/usr/share/games/desmume/glade/DeSmuME.xpm"  
"/usr/share/games/desmume/glade/DeSmuME.xpm"  
"/usr/share/pixmaps/parsec47.xpm"  
"/usr/share/pixmaps/scummvm.xpm"  
"/usr/share/pixmaps/torus-trooper.xpm"  
"/usr/share/pixmaps/urxvt\_48x48.xpm"  
"/usr/share/pixmaps/unison-gtk.xpm"  
"/usr/share/pixmaps/cin.xpm"

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [September 30, 2019, 11:49pm UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/16 "2019-09-30T23:49:22Z")

</div>

> [@triantares](#):
>
> By icons I was primarily looking at icons for the categories in "file.menu" i.e the main menu.:nod:

you mean the main apps menu? mmh, it should be not really possible to detect them, would be better to assign them statically 🤔

> [@triantares](#):
>
> If I do grep xpm in menus\_apps I get this:

yeah but it has multiple problems:

- doesn't follows simply "theme standards", generically speaking
- names can different (audacious.xpm VS audacious-32.xpm), making it harder to found
- its not compatible with newer versions of E, so is better to ignore xpm and stick to a more overall compatible way

---

<div class="post-metadata">

**Author:** ![triantares](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/triantares/32/2550_2.png) [@triantares](https://forum.elivelinux.org/u/triantares)\
**Post date:** [October 1, 2019, 7:28am UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/17 "2019-10-01T07:28:02Z")

</div>

> [@Thanatermesis](#):
>
> you mean the main apps menu? mmh, it should be not really possible to detect them, would be better to assign them statically 🤔

That would/could pose a problem if a new category is created by installing an app (like encryption) e\_gen\_menus would add the without an icon. 🤔

I'm not 100% in the clear why the script needs/creates ".e16/menus/menus\_apps/index.menu" for .e16/menus/file.menu" generation but maybe there's a possibility there.

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [October 1, 2019, 3:30pm UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/18 "2019-10-01T15:30:05Z")

</div>

Update:

@triantares I'm finishing to assign automatic icons to menu entries too in the generator:

- about the "new categories", they should be **not** created (instead, they should be put on the specific other default category), for that, you need to add the name of the newer category in the CatsRemove list and see if it is then moved to the correct one (then, tell me the name of the wrong one to add it to the generator script)
- I see your icons to look a bit bigger (and so better), where is the conf to change the icons size of the menus?

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [October 1, 2019, 5:38pm UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/19 "2019-10-01T17:38:20Z")

</div>

Update2:

- with "apug", all your menus will have icons now, and all the ones for the applications are fixed :w00t:

---

<div class="post-metadata">

**Author:** ![triantares](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/triantares/32/2550_2.png) [@triantares](https://forum.elivelinux.org/u/triantares)\
**Post date:** [October 1, 2019, 5:40pm UTC](https://forum.elivelinux.org/t/e16-dark-theme/1460/20 "2019-10-01T17:40:32Z")

</div>

> [@Thanatermesis](#):
>
> where is the conf to change the icons size of the menus?

I don't know. 🙀  
I suspect that icons are defined by the font size.

UPDATE. **It definitely is the font size.**  
After doing "apug" I created a new user and logged in there to see what menus does.  
Default theme DarkOne generates this menu:

 ![Elive_Screenshot_2019-10-01_19%3A58%3A04__216x356](https://forum.elivelinux.org/uploads/default/original/2X/8/83ca6237e8b48a2676d177d2ea15b80c68db0cc5.png)

And the Elive-GTK-light looks like this:

 ![Elive_Screenshot_2019-10-01_19%3A56%3A46__237x357](https://forum.elivelinux.org/uploads/default/original/2X/8/8140f01c054aedefe52f83e524eb81c8922232cd.png)

I do not think there's much difference in size there, except that light stuff on dark background always look smaller. 🤒  
Now with "use theme font" checked:

 ![Elive_Screenshot_2019-10-01_20%3A01%3A54__353x362](https://forum.elivelinux.org/uploads/default/original/2X/6/6e62669362dbf9d72c6d2ea71a7cf23a3f876fc9.png)

And the look goes to this:

 ![Elive_Screenshot_2019-10-01_20%3A03%3A09__280x343](https://forum.elivelinux.org/uploads/default/original/2X/d/dc8bd8a7a1e83b0e6c813c74ff36dcabc44966e7.png)

Which is a lot bigger. :applause:

Looks like @Rebel450 was right: Your fonts are too small !:rofl2:

[Next page](https://forum.elivelinux.org/t/e16-dark-theme/1460.md?page=2)
