LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 09-27-2019, 11:56 AM   #1
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 222

Rep: Reputation: 227Reputation: 227Reputation: 227
Enlightenment 0.23.1 in BL5 testing repo


I have added e23 to the bodhi linux 5.x testing repo and this time I have tried to do it in a way that, I hope, allows it, to peacefully in a fashion coexist with moksha.

To install add our testing repo and

Code:
sudo apt update
sudo apt install e23
If you plan on using moksha as well as e23 then:

Code:
sudo apt install --no-install-recommends moksha bodhi-desktop
A few things to note:

First, if using moksha as well as e23, I recommend one uninstall pm-utils

Code:
sudo apt remove pm-utils
The reason for this is e23 uses acpid and there is a conflict with pm-utils and using suspend on lid close for laptops with both installed. The version of moksha in testing has been patched to use acpid also. Bodhi-desktop was modified to allow one to uninstall pm-utils without breaking Bodhi. If anyone knows a way to make pm-utils live happily with acpid let me know. I tried for a while but decided it was taking to much time. Seems it should be possible if they are both configured right. :unsure

Second, e23 is using efl 1.22.4 or greater. That package is also in our testing repo and should be installed when e23 is installed. If not be sure it is installed and let me know if it wasn't.

Third, since e23 and moksha both use the hidden ~/.e folder this presents a problem. Logging into e23 as the same user that also uses moksha will destroy your ~/.e folder.

One can deal with this by uninstalling or not using moksha But I primarily use moksha but want to be able to use both. So I deal with this in one of two ways:

First make a backup of your moksha ~/.e folder just in case.

Two, the simplest thing to do is make a separate user for e23. and always log in to e23 as that user and always log in to moksha as your normal user. This way e23 and moksha have separate home directories and hence different ~/.e folders.

If you don't wish separate users then keep backups of both the moksha and e23 versions of ~/.e and switch back and forth between them before you log in.

ProNote: you can switch to a tty while in lightdm and run the needed commands.

Another thing to note is that if you wish to use e23 and moksha using the idea of two users then you may wish to consider changing from lightdm to gdm3. Gdm3 will remember what xsession a user last used. This will avoid you accidentally signing into one as the wrong user.

EDIT: Seems I was hasty in concluding lightdm did not remember the last session of a user. I noticed this earlier today and with several log outs and log ins as different users Lightdm was remember each users last session.

If you install and use gdm3 I would recommend using --no-install-recommends otherwise the package tries to draw in seemingly most of gnome.

Help Wanted: Anyone up to the task of trying to bodhize gdm3? Or testing the behavior of other dms with respect to this functionality of remembering a users last used xsession?

My last note concerns wayland. E23 installs a session to started e23 using wayland. I have removed this following debians lead which also removes it. If you are an advanced user and wish to try wayland/e23, install what you need and add the correct session file for that. For the record I read while doing research that lightdm does not support wayland sessions. If that is true or still true one using wayland will naturally have to find a DM which does support wayland (Wild guess is gdm3 does) or boot into wayland/e23 in some other fashion.

Last edited by rbtylee; 09-28-2019 at 04:40 PM.
 
Old 09-28-2019, 07:07 AM   #2
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 222

Original Poster
Rep: Reputation: 227Reputation: 227Reputation: 227
I have also packaged and added the places module for e23 to the testing repo. I know perhaps in some ways it is a bit redundant with EFM (Enlightenment File Manager) providing some of the same functionality, but Bodhi users may miss it.

to install:

Code:
sudo apt update
sudo apt install e-module-places
A few more notes for users trying/using e23:

One, the enlightenment systray no longer supports xembed protocol and now only supports libindicator. This is actually one of the things Jeff never liked about it, but it is what it is. Some apps such as cherry tree allow one to change the systray protocol support in the apps settings. Some apps only support libindicator and some older apps only support the xembed protocol. Apps that only support the xembed protocol will not work with the e23 systray. And sadly many of those older apps may NEVER be undated to the newer libindicator protocol. If you use such older apps and must have systray support you must install and use another systray or of course patch the code. Nothing I can do about it and sorry I am not spending time trying to figure out how to patch an older apps code to support libindicator or patch e23 to support the older protocol. If this is a problem for you file an issue with the non supported app and hope for the best.

Two, E23 will add a few new menu items such as EFM or emixer. Note these menu items will fail to launch in moksha. They work only in e23. If this bothers you can edit the .desktop file to hide them.

Three, e23 does not use e themes anymore it uses elementary themes. But be aware while many Bodhi (moksha) themes install an elementary theme, these themes will not work in e23. The reason is that we have not been maintaining the elementary parts of our themes with e23 support in mind, only elementary and moksha support.

Help wanted: It would be absolutely great if someone capable would take on the task of fixing all out themes to support e23. But I am not asking Stefan to take such a big task load. He does a great job with keeping our themes functioning in moksha and supporting efl updates. And truthfully would lack the time for such a major endeavour as modifying all our themes to also support e23. Contact Stefan or me if you are able and willing to tackle such an endeavour.

Four, on an actual hardware install of e23 on a laptop when you log into e23 from lightdm and then log out it seems the backlight is turned off or really low. It seems this is deliberate on the part of the e-devs:

Quote:
Sep 20 07:21:03 <ylee> any ideas on the backlight issue and lightdm above?
Sep 20 07:26:13 <raster> oh as for backlight
Sep 20 07:26:13 <raster> yeah
Sep 20 07:26:23 <raster> e will fade out to 0 on logout/exit/shutdown
Sep 20 07:26:40 <raster> the assumption is that whatever comes after e will do whatever it needs to do the backlight then
Sep 20 07:26:47 <raster> this is done to avoid flickering messes
Sep 20 07:27:10 <raster> like fade otu then suddenly jump back to full brightness
Sep 20 07:27:11 <raster> THEN exit
Sep 20 07:27:24 <raster> then start something else that changes backlight again
Now this backlight issue bugs me. I am old and admittedly can't see the best so I don't want my backlight lowered to dim as **** in lightdm. So I address this issue on my own machine by adding a display setup script to lightdm and set the backlight there. For advanced users only:

To do this I added a script, bl.sh , to /etc/lightdm. I made the script executable and it contents are:

Code:
#!/bin/bash
echo 5273 > /sys/class/backlight/intel_backlight/brightness
And then I added a configuration file,50-display-setup-script.conf, to /etc/lightdm/lightdm.conf.d:

Code:
[Seat:*]
display-setup-script=/etc/lightdm/bl.sh
VERY IMPORTANT NOTE: the path /sys/class/backlight/intel_backlight/brightness is hardware dependant. If you use this trick you need to figure out the correct path here for your particular machine. Also the value 5273 is hardware dependant. This is max brightness for my machine, your value may be different.

There are other ways of changing brightness and if anyone can up with a hardware independent way of doing this let me know.

Users of gdm3 will also note this dim backlight issue in gdm. I did not try to fix the issue in gdm. In all likelihood gdm also supports adding scripts to startup. I haven't looked into it myself and prob won't unless I am bored one day If any one does this for gdm let us know here and what you did. Thanks.

A few other maybe obvious notes: if you wish policykit support ya can follow my advice here just do it in e23. If you use wifi you need a network manager added to startup.

There may be a few more things I should note here. If you think of any add them.

Also note I do not plan on supporting e23 issues on this forum. Sorry my time is limited. Bodhi is moksha based. You can ask such questions and maybe someone will answer but do not expect me to answer. I may or may not. Certainly not gonna answer trivial questions. E23 has been added to our testing repo for advanced and or curious users only. Official support for enlightenment is provided in IRC or on the e mailing list.

It is worth noting that naturally a donation may convince me to focus on your issue. But I truthfully expect few people to use e23 and the ones that do should be able to deal with their own issues. Hopefully.

Thanks

Last edited by rbtylee; 09-28-2019 at 07:19 AM.
 
1 members found this post helpful.
Old 09-28-2019, 07:40 AM   #3
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 559

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
Well done Robert. I will check E23.1 as soon as possible to see what is new. What a pity of that systray issue. As you claims there are such tools to manage xembed protocol. I used one in E19 time. Not ideal but working. Stalonetray I think was its name.
Let's hope some users will be interested in testing or even in developing. Unfortunately we need some help. Distro is almost one man show (ylee) with some limited help by me. I do my best but I have family duties and spending dev time over night and then go to the work starts annoying me...

PS: not sure if some users had noticed our places module has a great feature to warn them if partition capacity is over. This is a prevention of odd Moksha behaviour when lack of free space.

https://i.imgur.com/TgkHRp8.jpg

Stefan

Last edited by the_waiter; 09-28-2019 at 07:41 AM.
 
Old 10-08-2019, 12:30 PM   #4
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 222

Original Poster
Rep: Reputation: 227Reputation: 227Reputation: 227
I have added five enlightenment/efl themes to the testing repo for use with e23:
  • enlightenment-theme-arc
  • enlightenment-theme-blingbling
  • enlightenment-theme-eflemettary
  • enlightenment-theme-flat

Note: the arc theme installed an arc-dark and an arc light theme. The arc themes as well as the blingbling theme are more or less continuations on the themes of the same names for e17 or moksha. Also note all themes may be and probably are incomplete in some way and as all but rasters flat theme have had no development in a few years or more they may be slightly broken in one way or another using efl 1.22.x. You can report problems here if you note them but also be aware The bodhi team does not maintain them, so we may or may not fix them. I briefly tested them all in e23 and saw no show breaking issues. But don't take that to imply there are none.

You can install these themes individually or you can install them all at once by installing the enlightenment-theme-pack.

It should also be noted that while these themes are intended for usage with e23 they are in reality elementary themes and can be used in moksha as such. This can be set with the elementary_config command.

If you know of any nice more or less fully functional enlightenment themes we should consider packaging let me know.

Enjoy
 
  


Reply

Tags
enlightenment


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Trying to split a large SVN repo into one git repo. Ian John Locke II Linux - Software 1 01-30-2012 08:19 AM
Best way to automate copying of Git repo to subversion repo? jceipek Linux - Server 0 03-15-2011 02:42 AM
how to use syanptic in fc 5 and how to add repo and which repo to be added.. vikas04522 Fedora 1 08-26-2006 12:41 PM
how to use syanptic in fc 5 and how to add repo in it and which repo is to be added.. vikas04522 Linux - Software 1 08-26-2006 12:29 PM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 11:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration