Tiny Core Linux
dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => dCore x86 Imported Extensions => Topic started by: jls on February 22, 2016, 05:32:16 AM
-
Hi
because I think in path /usr/bin is after /usr/local/bin
-
The built-in editor starts OK on my dCore-jessie from menu or CLI.
-
jls - is this the Debian editor alternative? I get the /usr/local/bin/editor from prebuilt Xprogs. Of course, the /usr/local priority is a TC standard, but perhaps interferes with Debian's alternatives.
-
yes
-
Ok, so we have a conundrum, placing /usr/local ahead of /usr/bin. I will let folks give their opinion as to how we deal with this, Debian packages versus Tinycore ones in /usr/local. The Tinycore apps are available by the FLTK graphical utilities and those that use them most likely do it by the graphical apps rather than the command line.
-
As the prebuilt dCore section is very static but for kernel module updates, I think we are ok to place /usr/bin ahead of /usr/local. Any possible file collisions in the future, the burden will be on the prebuilt section not to collide. Any packages in Debian that need to be superceded by prebuilt, that can be done by blocking the Debian package and/or uploading a prebuilt one as prebuilt is found first by design ahead of any DEBINX, so the /usr/local path precedence is not needed. Apps like fltk editor can have a .desktop file to allow them to easily be launched by menu.
If this sounds agreeable, will apply on next RC.
-
Hi
I don't understand what's the needed change synce on my system debian editor already starts instead of the Xprogs one. maybe my .profile ( where I think the PATH variable is setted ) is different from the one in /etc/skel?
ps. I'm not on the pc right now
-
As nothing has changed, /usr/local/bin/editor should be launched with issuing "editor". But planning to change that if no objection to having /usr/bin ahead of /usr/local/bin in $PATH.
-
The FLTK editor app in Xprogs has been renamed to /usr/local/bin/fltk-editor.
-
Hi Jason W
Did you update the .desktop file too?
-
Oops, no, fixed it now and uploading. Thanks for pointing it out.