Salix Openbox 14.1RC1

User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Salix Openbox 14.1RC1

Post by gapan »

ibka wrote:
gapan wrote: And is there really no trash option in spacefm?
There is, if you install the corbeille-spacefm plugin
Thanks. So, since it is actually installed, the question becomes: why doesn't it work?

Also, more problems: some directories in /etc/skel are mode 700. Why? Is there a reason why they shouldn't be 755? I could understand it if it was some privacy settings in there, but it's just panel configuarion stuff or similar.
Image
Image
User avatar
ibka
Posts: 158
Joined: 12. Sep 2010, 13:14
Location: Sweden
Contact:

Re: Salix Openbox 14.1RC1

Post by ibka »

gapan wrote:
ibka wrote:
gapan wrote: And is there really no trash option in spacefm?
There is, if you install the corbeille-spacefm plugin
Thanks. So, since it is actually installed, the question becomes: why doesn't it work?
The way to use the trash is the following:
Select file to move to trash
Go to Plugins
Click on Trash and select Move to Trash

What i did on one computer was to reassign the default "Delete" to Shift+Delete and then assigned "Delete" to "Move to Trash", so when i select file(s) i only pressed Delete then the file is trashed
Image
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Salix Openbox 14.1RC1

Post by gapan »

ibka wrote:The way to use the trash is the following:
Select file to move to trash
Go to Plugins
Click on Trash and select Move to Trash
Wow. That is totally unintuitive. Honestly, I fail to see what the appeal behind spacefm is.
ibka wrote:What i did on one computer was to reassign the default "Delete" to Shift+Delete and then assigned "Delete" to "Move to Trash", so when i select file(s) i only pressed Delete then the file is trashed
That is also how all file managers work and I had expected spacefm to do the same...
Image
Image
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Salix Openbox 14.1RC1

Post by djemos »

gapan wrote:
djemos wrote:- Removed the fbpanel battery applet
Yes, but we'll need to replace this with something. I have uploaded batti to the repo, which seems to do the job. We need to include this and start it from autostart.sh.
djemos wrote:- Add xdg-user-dir to autostart.sh ([ -x /usr/bin/xdg-user-dir ] && xdg-user-dir) &)
If you did it exactly as you write it here, then it's wrong. The last & should be outside the last parenthesis.

Also, in autostart.sh, dbus should be started before anything else, so it has to be moved to the top.

And is there really no trash option in spacefm?
This is the line in autostart which is fine.
([ -x /usr/bin/xdg-user-dir ] && xdg-user-dir) &
about dbus will be moved to the top.
there is a trash plugin in spacefm.

Spacefm works fine with samba shares in all cases.
Spacefm has been tested in slackel versions and it is working fine.

There is also pcmanfm.
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Salix Openbox 14.1RC1

Post by djemos »

gapan wrote:
Also, more problems: some directories in /etc/skel are mode 700. Why? Is there a reason why they shouldn't be 755? I could understand it if it was some privacy settings in there, but it's just panel configuarion stuff or similar.
Thanks. Fixed.
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Salix Openbox 14.1RC1

Post by djemos »

ibka wrote: The way to use the trash is the following:
Select file to move to trash
Go to Plugins
Click on Trash and select Move to Trash

What i did on one computer was to reassign the default "Delete" to Shift+Delete and then assigned "Delete" to "Move to Trash", so when i select file(s) i only pressed Delete then the file is trashed
Trash is working fine here. If i press delete on a selected file then a window appears asking for confirmation to move the file to trash can.
Going to trash on spacefm i can delete or restore the file.
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Salix Openbox 14.1RC1

Post by djemos »

gapan wrote: Yes, but we'll need to replace this with something. I have uploaded batti to the repo, which seems to do the job. We need to include this and start it from autostart.sh.
there is a upower-0.99.patch for batti. Look here and in the code of patch. It has to do with Suspend.
batti is running in autostart.sh with the line

Code: Select all

([ -x /usr/bin/batti ] && dbus-launch batti) &
an here it is the complete autostart.sh

Code: Select all

#!/bin/sh
#
# openbox startup-script:

# Applications you want to run with openbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#
# D-bus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
       eval `dbus-launch --sh-syntax --exit-with-session`
fi
([ -x /usr/bin/batti ] && dbus-launch batti) &
([ -x /usr/bin/xdg-user-dir ] && xdg-user-dir) &
(sleep 1 && [ -x /usr/bin/spacefm ] && spacefm --desktop) &
([ -x /usr/bin/volumeicon ] && volumeicon) &
(setxkbmap -query | grep "^layout:" | sed "s/^layout: *//" | grep -q "," && [ -x /usr/bin/fbxkb ] && fbxkb) &
(sleep 1 && [ -x /usr/bin/fbpanel ] && fbpanel) &

(sleep 1 && [ -x /usr/libexec/menu-cached ] && /usr/libexec/menu-cached) &
(sleep 1 && [ -x /usr/bin/parcellite ] && parcellite) &
(sleep 9 && [ -x /usr/bin/xscreensaver ] && xscreensaver -nosplash) &
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Salix Openbox 14.1RC1

Post by gapan »

djemos wrote:Trash is working fine here. If i press delete on a selected file then a window appears asking for confirmation to move the file to trash can.
Going to trash on spacefm i can delete or restore the file.
Maybe but that's not what someone expects from trash functionality in a file manager, I think. I was expecting a trash can on the desktop, one where you could drag files into, then click on it to open. The way it works in spacefm is unusual to say the least...
djemos wrote:there is a upower-0.99.patch for batti. Look here and in the code of patch. It has to do with Suspend.
Yes, but we do not have upower-0.99 in salix 14.1, we have upower-0.9.17. Is the patch still needed?
djemos wrote:an here it is the complete autostart.sh
That looks OK I think.
Image
Image
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Salix Openbox 14.1RC1

Post by djemos »

gapan wrote: Maybe but that's not what someone expects from trash functionality in a file manager, I think. I was expecting a trash can on the desktop, one where you could drag files into, then click on it to open. The way it works in spacefm is unusual to say the least...
spacefm do not have a trash desktop icon. This is the way it works.
gapan wrote: Yes, but we do not have upower-0.99 in salix 14.1, we have upower-0.9.17. Is the patch still needed?
I don't know. I took the patch from arch distro.
I installed your package without the patch and i don't see any difference. So it is OK.
User avatar
mt12345
Posts: 9
Joined: 9. Jul 2014, 22:08

Re: Salix Openbox 14.1RC1

Post by mt12345 »

I thought spacefm is abandoned.
Locked