trying to use photo gadget on moksha desktop
bodhi 5.0.0 64bit
I am trying use the photo gadget to change wallpapers quickly and often. Tried to install several desktop slideshow utils, all to no avail. Photo gagdet seemed to be a solution, but I am not able to change background with it. Gives an error of "Photo needs e17setroot". It also list an e-utils package where this supposed utility can be found, but I cannot find that package, let alone install it. I realize that moksha actually creates another type of file to display as a wallpaper. I believe this e17setroot will create the .edj file so the image will then display as a background. Is it possible that e17setroot exists and I am just not able to find it? Any help will be greatly appreciated. |
e17setroot I bet is a program that comes with e17, like
Code:
/usr/bin/Esetroot /usr/bin/fbsetroot /usr/bin/xsetroot mh5000 is a stand lone, like xsetroot, and hsetroot, and has a multitude of options that go beyond all of the others others shown here(shameless plug), and they are for a window manager, not desktop environment. |
No, photo module is not for changing the wallpapers. It is a gadget for changing photos in the smaller rectangle on the screen. The module you are looking for is moksha-module-slideshow. Unfortunately I can not see it in our repository. Let me have some time to prepare deb file. Maybe Robert will make it sooner than me if read this post. I am gonna out with kids now...
Enjoy Stefan |
Quote:
|
Quote:
Regardless tho at some point in the history of e17 this worked. The program e17setroot is found in the legacy/subversion-history.git on the e-git website. Hid deep at OLD/e_utils/src/bin/e17setroot. The OLD part means it is probably broken and may not even compile much less work. I will check that out when I have some free time. But to the point regardless whether or not e17setroot works as expect and is safe to use on Moksha this module needs fixed to not use that. Moksha/e17 has its own code to set and unset backgrounds that the module should be using. One of us needs to fix this. Sounds like a good project for Štefan ;) |
Thanx for making deb Robert
I tried photo module under BL 3 and maybe BL 4 and it worked fine after some time of playing with setup. Need to look again under BL 5. You mentioned some errors. OK the challenge accepted :) Š |
Hmm, I realized I have never tried the photo module feature for setting a picture as a wallpaper. But yes, I can see "Photo needs e17setroot" popup as well. Beside this, I can see the photo gadget working flawlessly on my screen.
https://i.imgur.com/5KnUI7l.jpg EDIT: I can see also "exhibit" as default picture viewer. We should change it to ephoto or xdg-open. |
Quote:
Code:
#!/bin/bash EDIT: Forgot to mention probably imagemagick needs to be installed: Code:
sudo apt-get update |
Unbelievable scope of knowledge
|
I tried Ylee's hack successfully but maybe need to tell where to place the script
Type $PATH in your terminal emulator to see the right dirs I placed it to ~/.local/bin Stefan |
Quote:
Despite this hack working it is after all a hack and the module should work on its own without users applying some hack they found online. lol. This has lead to me taking a closer look at it. I fixed some minor issues I found and then spent way too long adding support for changing the background from an image without relying upon the above hack or any other exterior program. Along the way I had to learn alot of detail about how Moksha and enlightenment actually set and change the background. As usual for such projects this involved looking at alot of Moksha source code closely, adding debug statements to print the values of various variables in Moksha functions and whatnot. Meanwhile Štefan added a few minor improvements including a border around the image in the module gadget. While I hinted at above making implementing this background change Štefan's project, I released that would be rather difficult for him and take alot of time. And in the process I would end up having to answer quite a few questions from him. So may as well do it myself. And I confess it was a little harder than I expected and as usual took longer than I hoped. Regardless, I am uncertain whether to package this as it is now or to wait until we finish modernizing the module and fixing whatever issues I know about or find in the process. This round of changes was focused entirely on the background change functionality from image files displayed in the gadget. Focused entirely on one file in the modules source code.I really didn't look over any of the other files or functions. Any opinions on packaging now or waiting some undetermined amount of time? |
repo did work for me
Just to let you all know, I downloaded the Moksha-module-slideshow from the repo and used gdebi to install.
Had to load the module and THEN had to activate the gadget. Working fine with the default backgrounds folder where .edj files are stored - /home/bodhi/.e/e/backgrounds. HOORAY! My background is changing as I wish. Thanks to all who helped with this. Is the slideshow module a replacement for the photos gadget? Seems the case, but that is a guess. It seems from the discussion in this thread that I opened a can of worms that may cause some work. If this is any help, moksha-module-slideshow gives me what I was looking for - a wallpaper changer. I find myself wondering if photos gadget is now needed at all? Again, thanks to all Craig :) |
As you can see, Robert's work is awesome and instant. Sometimes I really wonder where this old man takes energy, time and knowledge for this project. Without him the Bodhi Linux would not be at the level it is now. I am so proud to be his student. My full respect...
If you share my respect, you may consider some donations for him https://www.paypal.me/rbtylee Stefan |
All times are GMT -5. The time now is 10:44 PM. |