SliTaz SliTaz Forum

You are not logged in.

#1 2014-04-16 13:03:07

Ady
Member
Registered: 2012-10-12
Posts: 13

spacefm new root window failure

Slitaz cooking from 2014APR16; boot into core live; open SpaceFM.

In the “File” menu, I select to open a “New Root Window”. When requested, I enter the root password, but then nothing happens, i.e. no new window is opened, no error message either.

I see a similar behavior when selecting to open a “Root Terminal” from the same “File” menu in SpaceFM.

Am I missing some setting that is required so these tasks could be executed from SpaceFM? What am I doing wrong?

TIA,

Ady.

Offline

#2 2014-04-16 13:17:26

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: spacefm new root window failure

Open SpaceFM.

Go to /lib/firmware or otherwhere where there are files you can edit as root (scripts, config files...)

Then New Root Window should work.

If it doesn't then open a New Window and from it open New Root Window.

I never been able to open a terminal, as root or not, from SpaceFM.

SpaceFM is a really light file manager...

Offline

#3 2014-04-16 14:42:45

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: spacefm new root window failure

spacefm is history

http://hg.slitaz.org/flavors/rev/0a6262c1180d

Offline

#4 2014-04-16 15:01:01

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: spacefm new root window failure

"spacefm is history"

JappaDappaDuuu

(Fred Flintstone)..:-)

Offline

#5 2014-04-16 15:18:53

Ady
Member
Registered: 2012-10-12
Posts: 13

Re: spacefm new root window failure

I don't get it. I downloaded Slitaz-cooking.iso just yesterday.

Whichever the GUI (Space or PCman)FM, the 2 “root” options I mentioned are not working.

Since I have not changed any setting, my guess is that the default setting(s) in

"view->preferences->advanced"

for the terminal(s) is/are inadequate.

Could someone please tell me which should be the valid settings?

Is this only happening to me? Can someone please try to replicate it?

TIA,

Ady.

Offline

#6 2014-04-16 15:22:53

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: spacefm new root window failure

you are right - in the rolling from yesterday there was still spacefm - the rolling from today - cooked 2 hours ago must be with pcmanfm

Offline

#7 2014-04-16 15:27:48

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: spacefm new root window failure

here is the cook log

http://cook.slitaz.org/cookiso.cgi?distro=rolling-core-4in1

Offline

#8 2014-04-16 15:48:00

Ady
Member
Registered: 2012-10-12
Posts: 13

Re: spacefm new root window failure

OK, so tomorrow I should be able to download the new ISO image with PCmanFM.

The question would then be, would I be able to start a root (terminal and/or window) from PCmanFM? I know I can open a terminal from the main menu, 'su' and then run the FM from there, but this is not my question.

Additionally, if tomorrow I boot the new cooking release and I add SpaceFM again from repo, would I be able to start a root (terminal and/or window) from it?

It seems to me that the problem resides in some default preference (conf) that would need some correction (preferably to be corrected in the default conf in the package in the repo, instead of making each user find out what's wrong).

Am I understanding this correctly?

TIA,

Ady.

Offline

#9 2014-04-16 16:36:19

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: spacefm new root window failure

SpaceFm has troubles with .sh - if you install bash, I think you should be able to open the rootwindow also now in spacefm (did not try it)

Offline

#10 2014-04-16 19:05:32

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: spacefm new root window failure

@Ady

Slitaz has no testing of cooking packages which build the rolling iso.

You have to expect bugs,programs that don't start or work correctly,non-booting iso.

Slitaz runs on busybox which has ash shell.

There is code in spacefm that works on bash but not busybox ash. The errors are from ash being unable to execute the non compliant code which generates the random.number-tmp.sh script in /tmp/spacefm-tux-random.number.tmp folder which opens a dialog,terminal,etc.

If you install bash shell and link /bin/sh to /bin/bash it works.

But it breaks a multitude of functions in slitaz which is written for ash.

Offline

#11 2014-04-16 19:07:29

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: spacefm new root window failure

I've just done a fresh install of the rolling ISO of the day (16/04/2014).

When opening a session: [c]SpaceFM requires genuine /bin/bash (v4+) to be installed. Other shells are NOT equivalent. [OK][/c]

Is it normal that SpaceFM's still in the ISO?

if you install bash, I think you should be able to open the rootwindow also now in spacefm

I had bash installed with the previous Rolling but had the same troubles when I wanted to open a root window.

I tried to become a fan as you kultex but didn't succeed. Yet some features are really interesting. By the way, can you tell me how to view hidden files in SpaceFM, I never found.

Offline

#12 2014-04-16 19:19:39

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: spacefm new root window failure

By the way, can you tell me how to view hidden files in SpaceFM, I never found.

Ctrl+H

or

Right Click Windowpane/Menu/View/Hidden Files

Offline

#13 2014-04-16 19:50:03

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: spacefm new root window failure

I see. Why make things simple when you can make them complicated ;-)

Thanks mojo. I had only searched in the menu bar so it seemed obvious to me to find it there...

Offline

#14 2014-04-16 21:31:26

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: spacefm new root window failure

@ceel - its not normal, that spacefm is still on the iso - pankso forgot to remove it from the gtk-only flavor

rolling is rolling.....

Offline

#15 2014-04-17 02:45:05

Ady
Member
Registered: 2012-10-12
Posts: 13

Re: spacefm new root window failure

@mojo,

I understand that bugs could be present. I am not complaining. I just wanted to know whether I was doing something wrong, or whether this was some kind of bug, or some kind of lack of feature in the FM. In other words, I wanted to find a solution (or report a potential bug).

Previously I had downloaded "slitaz-cooking.iso", from 2014APR16. After I got some comments here in this topic, I found a "slitaz-rolling.iso" with the same date (but later time). Generally speaking, I don't know the difference between the "cooking" and the "rolling" ISO images. Are there any?

The second ISO ("rolling") indeed has PCmanFM back, but it also has SpaceFM and its "search for files" feature (which is a separated icon in the menu). Additionally, as already reported by Ceel, there is a message about SpaceFM and bash. It somehow lightly implies that installing bash is suggested (if the user wants to use SpaceFM). But if installing bash might break other things...

I guess that the SpaceFM package and related icons, messages, features... are yet to be deleted from or replaced in the ISO images in the next few days?

TIA,

Ady.

Offline

#16 2014-05-02 00:11:14

slo.sleuth
Member
Registered: 2013-12-31
Posts: 20

Re: spacefm new root window failure

I think the reason SpaceFM remains broken (user commands/scripts do not execute) is that the spacefm package receipt alters the source code to use /bin/sh instead of /bin/bash as is required for full SpaceFM functionality.  For example, this line:

[c]# We dont want bash hardcoded
    sed -i s'|/bin/bash|/bin/sh|'g src/*.c src/*.h src/*/*.c src/*/*.h[/c]
But I note that bash has become a dependency of SpaceFM and that bash can be installed so as to not replace busybox sh.  Maybe the package can be rebuilt with out the removal of bash and restore functionality to SpaceFM?

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.57 MiB (Peak: 1.77 MiB) ]