www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - unDE 0.2.0 - unusual command line and keybar

reply unDEFER <undefer gmail.com> writes:
unDE's not DE which in the future must be replacement for all 
programs in OS.
But today is very original file manager, image and text viewer 
and (what discovered with 0.2.0 version) command line and keybar.
More information: http://unde.sourceforge.net/en/ch25.html
Video with English subtitles: https://youtu.be/XY7Jegxq6vg
Jan 29
next sibling parent reply FreeSlave <freeslave93 gmail.com> writes:
On Sunday, 29 January 2017 at 19:00:30 UTC, unDEFER wrote:
 unDE's not DE which in the future must be replacement for all 
 programs in OS.
 But today is very original file manager, image and text viewer 
 and (what discovered with 0.2.0 version) command line and 
 keybar.
 More information: http://unde.sourceforge.net/en/ch25.html
 Video with English subtitles: https://youtu.be/XY7Jegxq6vg
Very interesting concept (Probably it's not new, but I never actually used file managers like this). It looks you put much love and effort in it. Damn, you even made packages for many different Linux distros! (I'm always lazy when things come to packaging, so I'm just amazed that you made so many). Why did you not give a link to github repo? I had to search it myself https://github.com/unDEFER/unde How can I build and run unde myself? I built it via dub build and installed ttf-ancient-fonts, but it still throws exception when I try to run ./unde: object.Exception source/unde/font.d(714): TTF_OpenFont: Couldn't open /usr/share/fonts/truetype/ancient-scripts/Symbola_hint.ttf
Jan 29
parent reply unDEFER <undefer gmail.com> writes:
On Sunday, 29 January 2017 at 23:57:30 UTC, FreeSlave wrote:
 On Sunday, 29 January 2017 at 19:00:30 UTC, unDEFER wrote:
 Very interesting concept (Probably it's not new, but I never 
 actually used file managers like this). It looks you put much 
 love and effort in it. Damn, you even made packages for many 
 different Linux distros! (I'm always lazy when things come to 
 packaging, so I'm just amazed that you made so many).
Thank you
 Why did you not give a link to github repo? I had to search it 
 myself https://github.com/unDEFER/unde
Because it is only mirror and I update it only on releases.
 How can I build and run unde myself? I built it via dub build 
 and installed ttf-ancient-fonts, but it still throws exception 
 when I try to run ./unde:
 object.Exception source/unde/font.d(714): TTF_OpenFont: 
 Couldn't open 
 /usr/share/fonts/truetype/ancient-scripts/Symbola_hint.ttf
Look source/unde/font.d, there is many "versions" where may be installed these fonts. If you find your paths you can use 'dub build -c "Version"'. Else you can add own or make symbolic links. Also you can say your distro and maybe the next time I will make package for you.
Jan 29
parent reply FreeSlave <freeslave93 gmail.com> writes:
On Monday, 30 January 2017 at 03:10:28 UTC, unDEFER wrote:
 On Sunday, 29 January 2017 at 23:57:30 UTC, FreeSlave wrote:
 On Sunday, 29 January 2017 at 19:00:30 UTC, unDEFER wrote:
 Very interesting concept (Probably it's not new, but I never 
 actually used file managers like this). It looks you put much 
 love and effort in it. Damn, you even made packages for many 
 different Linux distros! (I'm always lazy when things come to 
 packaging, so I'm just amazed that you made so many).
Thank you
 Why did you not give a link to github repo? I had to search it 
 myself https://github.com/unDEFER/unde
Because it is only mirror and I update it only on releases.
 How can I build and run unde myself? I built it via dub build 
 and installed ttf-ancient-fonts, but it still throws exception 
 when I try to run ./unde:
 object.Exception source/unde/font.d(714): TTF_OpenFont: 
 Couldn't open 
 /usr/share/fonts/truetype/ancient-scripts/Symbola_hint.ttf
Look source/unde/font.d, there is many "versions" where may be installed these fonts. If you find your paths you can use 'dub build -c "Version"'. Else you can add own or make symbolic links. Also you can say your distro and maybe the next time I will make package for you.
I'm on Debian 8. I rebuilt it with same options as provided deb-package and it works now. Though it shows many errors on launch: Can't load /home/freeslave/git_projects/unde/images/clear_errors.png: Invalid renderer Can't load /home/freeslave/git_projects/unde/images/exit.png: Invalid renderer Can't load /home/freeslave/git_projects/unde/images/remove.png: Invalid renderer Can't load /home/freeslave/git_projects/unde/images/rescan.png: Invalid renderer Can't load /home/freeslave/git_projects/unde/images/deselect.png: Invalid renderer Can't load /home/freeslave/git_projects/unde/images/gomark.png: Invalid renderer Can't load /home/freeslave/git_projects/unde/images/sort.png: Invalid renderer Can't load /home/freeslave/git_projects/unde/images/create_directory.png: Invalid renderer Can't load /home/freeslave/git_projects/unde/images/copy.png: Invalid renderer Can't load /home/freeslave/git_projects/unde/images/move.png: Invalid renderer Can't load /home/freeslave/git_projects/unde/images/mark.png: Invalid renderer Can't load /home/freeslave/git_projects/unde/images/terminal.png: Invalid renderer Same when installed from deb package, but different path (/usr/share/unde/images)
Jan 30
parent unDEFER <undefer gmail.com> writes:
On Monday, 30 January 2017 at 11:20:40 UTC, FreeSlave wrote:

 Can't load 
 /home/freeslave/git_projects/unde/images/clear_errors.png: 
 Invalid renderer
Yes, it is very strange message, I still didn't find how to clean it out...
Jan 30
prev sibling parent reply Basile B. <b2.temp gmx.com> writes:
On Sunday, 29 January 2017 at 19:00:30 UTC, unDEFER wrote:
 unDE's not DE which in the future must be replacement for all 
 programs in OS.
 But today is very original file manager, image and text viewer 
 and (what discovered with 0.2.0 version) command line and 
 keybar.
 More information: http://unde.sourceforge.net/en/ch25.html
 Video with English subtitles: https://youtu.be/XY7Jegxq6vg
What is the name of the static lib we have to install for for "DB" ? /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: ne peut trouver -ldb collect2: error: ld returned 1 exit status Error: linker exited with status 1
Feb 03
parent reply Basile B. <b2.temp gmx.com> writes:
On Friday, 3 February 2017 at 13:48:39 UTC, Basile B. wrote:
 On Sunday, 29 January 2017 at 19:00:30 UTC, unDEFER wrote:
 unDE's not DE which in the future must be replacement for all 
 programs in OS.
 But today is very original file manager, image and text viewer 
 and (what discovered with 0.2.0 version) command line and 
 keybar.
 More information: http://unde.sourceforge.net/en/ch25.html
 Video with English subtitles: https://youtu.be/XY7Jegxq6vg
What is the name of the static lib we have to install for for "DB" ? /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: ne peut trouver -ldb collect2: error: ld returned 1 exit status Error: linker exited with status 1
Isee it's BDB, never mind but now on OpenSuse I got a SEGFAULT during BDB init ~"#0 0x0000000000000000 in ?? ()\n" #0 0x0000000000000000 in ?? () ~"#1 0x000000000071ee68 in berkeleydb.dbenv.DbEnv.set_memory_max(uint, uint) (this=0x7ffff7ec5100, bytes=16777216, gbytes=0) at ../../../.dub/packages/bdb2d-5.3.28/bdb2d/source/berkeleydb/dbenv.d:757\n" ~"#2 0x000000000071ef20 in berkeleydb.dbenv.DbEnv.set_memory_max(ulong) (this=0x7ffff7ec5100, bytes=16777216) at ../../../.dub/packages/bdb2d-5.3.28/bdb2d/source/berkeleydb/dbenv.d:765\n" ~"#3 0x000000000065a636 in unde.global_state.GlobalState.__mixin109.initBDB(bool) (this=0x7ffff6571000, force_recover=false) at source/unde/global_state.d:117\n" ~"#4 0x000000000065baf8 in unde.global_state.GlobalState.this(bool) (this=0x7ffff6571000, force_recover=false) at source/unde/global_state.d:972\n" ~"#5 0x00000000006f16d6 in D main (args=...) at source/unde/main.d:25\n" auto ret = dbenv.set_memory_max(dbenv, gbytes, bytes);
Feb 03
next sibling parent reply Basile B. <b2.temp gmx.com> writes:
On Friday, 3 February 2017 at 14:05:58 UTC, Basile B. wrote:
 On Friday, 3 February 2017 at 13:48:39 UTC, Basile B. wrote:
 On Sunday, 29 January 2017 at 19:00:30 UTC, unDEFER wrote:
 unDE's not DE which in the future must be replacement for all 
 programs in OS.
 But today is very original file manager, image and text 
 viewer and (what discovered with 0.2.0 version) command line 
 and keybar.
 More information: http://unde.sourceforge.net/en/ch25.html
 Video with English subtitles: https://youtu.be/XY7Jegxq6vg
What is the name of the static lib we have to install for for "DB" ? /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: ne peut trouver -ldb collect2: error: ld returned 1 exit status Error: linker exited with status 1
Isee it's BDB, never mind but now on OpenSuse I got a SEGFAULT during BDB init ~"#0 0x0000000000000000 in ?? ()\n" #0 0x0000000000000000 in ?? () ~"#1 0x000000000071ee68 in berkeleydb.dbenv.DbEnv.set_memory_max(uint, uint) (this=0x7ffff7ec5100, bytes=16777216, gbytes=0) at ../../../.dub/packages/bdb2d-5.3.28/bdb2d/source/berkeleydb/dbenv.d:757\n" ~"#2 0x000000000071ef20 in berkeleydb.dbenv.DbEnv.set_memory_max(ulong) (this=0x7ffff7ec5100, bytes=16777216) at ../../../.dub/packages/bdb2d-5.3.28/bdb2d/source/berkeleydb/dbenv.d:765\n" ~"#3 0x000000000065a636 in unde.global_state.GlobalState.__mixin109.initBDB(bool) (this=0x7ffff6571000, force_recover=false) at source/unde/global_state.d:117\n" ~"#4 0x000000000065baf8 in unde.global_state.GlobalState.this(bool) (this=0x7ffff6571000, force_recover=false) at source/unde/global_state.d:972\n" ~"#5 0x00000000006f16d6 in D main (args=...) at source/unde/main.d:25\n"
Also before that there's two FileException thrown because you use mkdir() systematically with a silent try catch. You should rather test if the the directories exist (when you create ~/.unde/ and ~/.unde/bdb/, global_state.d) because it tends to be annoying when trying to get that stack trace for the real exception !
Feb 03
next sibling parent unDEFER <undefer gmail.com> writes:
On Friday, 3 February 2017 at 14:18:05 UTC, Basile B. wrote:

 Also before that there's two FileException thrown because you 
 use mkdir() systematically with a silent try catch. You should 
 rather test if the the directories exist (when you create 
 ~/.unde/  and ~/.unde/bdb/, global_state.d) because it tends to 
 be annoying when trying to get that stack trace for the real 
 exception !
OK, will be fixed.
Feb 03
prev sibling parent reply Chris Wright <dhasenan gmail.com> writes:
On Fri, 03 Feb 2017 14:18:05 +0000, Basile B. wrote:
 Also before that there's two FileException thrown because you use
 mkdir() systematically with a silent try catch. You should rather test
 if the the directories exist (when you create ~/.unde/  and
 ~/.unde/bdb/, global_state.d) because it tends to be annoying when
 trying to get that stack trace for the real exception !
I think `mkdirRecurse` doesn't complain about directories that already exist.
Feb 03
parent unDEFER <undefer gmail.com> writes:
On Friday, 3 February 2017 at 17:11:26 UTC, Chris Wright wrote:
 I think `mkdirRecurse` doesn't complain about directories that 
 already exist.
Thank you!
Feb 03
prev sibling parent unDEFER <undefer gmail.com> writes:
On Friday, 3 February 2017 at 14:05:58 UTC, Basile B. wrote:

 What is the name of the static lib we have to install for for 
 "DB" ?

 /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: ne
peut trouver -ldb
 collect2: error: ld returned 1 exit status
 Error: linker exited with status 1
You must usr libdb 5.3. Your seg.fault because you use version lesser.
Feb 03