Jump to content
Sign in to follow this  
Jeff

Elementary File Manager - Jesus

Recommended Posts

Yeah, there are short fixes which dont take that much time :)

 

I think its better to add feature requests in a ticket, the chance that I will forget them is not that high then. I am still waiting for some things to happen, but after that it should be possible to mod jesus with lua as much as you like. But this depends on upstream works on elua, where I have to wait to get it out of beta.

I'll do that ! Thanks!

Share this post


Link to post
Share on other sites

Hi bu5hm4n, I want to thank you for your impressive work. It is very interesting and I've followed it from far away looking sometimes your public screenshot on enlightenment/ss site ;) .

 

I've used my spare time developing E themes in the last years and at the moment I try to keep them alive, adding elementary support to it.

Can I ask you a couple of question about your file manager? I suppose it could be useful to making look good on my themes.

First two that I have on mind.

  • What's the name of the ELM widget that you are using as separator under the pathbar? It looks dark gray/black in a dark theme like the default one, but is pretty ugly in a lighter theme, so if it has a name (something like /elm/widget/separator?) I suppose I can include it on my themes :D .
  • The sidebar with all the bookmarks: all the themes I've tryed has the same look: white blod whit black outline and blue glow for selected item. I have to change it for all the theme and it is not a problem. It's again something like a new elm widget? It's something nested in Jesus code so I can't change it? Do you thing you can bind to something themeable?

 

Thank you for your help and keep going on this wonderful work! :D

  • Like 1

Share this post


Link to post
Share on other sites

I have changed the theme now to use the elm seperator, is was a basic gray rectangle before.

In general jesus is build up out of serperated libs, and the resulting app. The application jesus uses elementary widgets and elm_ext widgets which is a tiny library which gets shiped with jesus. There is a elementary widget called elm.file.bookmarks this is the widgets which displays the bookmarks. Those "extra" widgets have a theme, its located in ./data/theme/elm_ext/ (I dont know the exact file, I dont have my laptop arround me right now) there is the font declared.

I wanted to make theming as easy as possible, so I added it with including of the elementary default font files etc. if you still have the font.edc file you should be able to just rebuild the elm_ext theme, and you will have your own font definition in there. (As long as you keep the standard naming)

Share this post


Link to post
Share on other sites

Thanx, sudo ldconfig helped :)

 

Could I post another issue on this forum?

In a grid view when I use down arrow, I expect another items (another "page") will shown when I exceed the last row. Actual behavior is that cursor appears on the top. Simply, I can choose items only from those I can see...

 

Thanx

 

BTW: Segmentation fault again. Unfortunately only this result I can see in terminal. No more in order to help you reveal the bug...

Share this post


Link to post
Share on other sites

Could we agree that we post bugs on github and questions here. The reason is that I am afrait of forgetting that here was a bugreport, bug are talking more time than questions.

The Bug with the grid view is known. I am working on it and there is a ticket about it :)https://phab.enlightenment.org/T2884

For segfaults: I dont know your distribution, butthere should be some kind of daemon which saves the processimage for the case of a segfault. In arch its coredumpd, with this image you can get a backtrace. This backtrace can tell me what went wrong, and why it crashed. Without that information a segfault just tells something like "The program did something which was not ok - decided by your os". This could have multiple reasons, for example NULL access there can be corrupted memory etc. etc.. If there is no such daemon in your distribution you should run jesus with gdb. gdb monitors for signals sent by the os (also SIGTRAP etc.), it also presents a utility which is usefull if you want to debug your programm. With bt you can create a backtrace, which could help me :). Debug symbols should not be a problem since I have enabled debug build.

  • Like 2

Share this post


Link to post
Share on other sites

I just wanted to wait for more major commits but I can do it this evening if you want.

Would be nice so we can test the improvements so far.

 

TIA

 

Enjoy,

Charles.

Share this post


Link to post
Share on other sites

In general jesus is build up out of serperated libs, and the resulting app. The application jesus uses elementary widgets and elm_ext widgets which is a tiny library which gets shiped with jesus. There is a elementary widget called elm.file.bookmarks this is the widgets which displays the bookmarks. Those "extra" widgets have a theme, its located in ./data/theme/elm_ext/ (I dont know the exact file, I dont have my laptop arround me right now) there is the font declared.

 

I wanted to make theming as easy as possible, so I added it with including of the elementary default font files etc. if you still have the font.edc file you should be able to just rebuild the elm_ext theme, and you will have your own font definition in there. (As long as you keep the standard naming)

 

So like terminology a themer has to create a separate Jesus theme with elm_extension. Even though ELM has tons of widget, is it necessary create others? :)

Share this post


Link to post
Share on other sites

Elm has a bunch of widgets, I could have used them to just have a simple fm. Thats true.

The intend was to create a set of widgets which can replace the fileselector used by elm. All the new widgets are basically assembled of the given elm widgets. The bookmarks are for example a simple elm_genlist, also the views. The only reason why I need custom .edj files is that I have to define a layout. For example for displaying Fileicon / Filename. I tryed to just use them for doing layouting, and not giving images etc. so a different theme should not destroy the look.

After a quick look I found 3 parts which are a bit theme depending.

  • Selection rect - There is nothing existing which does look like this in existing elm, so I needed to insert here a image
  • Drag item - If you drag something above a directory, the same selection than above is displayed... Fixable
  • Mountindicator - To indicate if a device is mounted or not, I added a small led to the lower right of the given icon. I was not able to find a fdo icon which could have been used to indicate something like this.
     

If there are others, tell me :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×