Joined: Oct. 2003
||Posted: Jan. 07 2007,15:10
The xv comes from a default of emelfm.
Here is the situation:
ok as user dsl
ok when right click and run emelfm as superuser
But, if you shell out and become user root, then you have root's home dir and root's own bashrc profile etc. Now DSL as a liveCD or frugal is not multiuser, ie, /etc/skel is not setup for user root. Therefore when running in this mode, you start with a completely empty home for user root, i.e., /root
Now if you run emelfm you will get the default .emelfm and its associative filetypes, which equate jpg with xv
I suppose I could setup the /etc/skel into /root directory, but DSL's target is very small machines and all those files and inodes could be a quite a impact for say the 32MB users, when in fact, it is never recommended to run your system as root.
If one insists on this, then an easy approach would be to copy /etc/skel into /root which could be done in /opt/bootlocal.sh
If the demand from the community is there, I will presetup this. It is just that I am very sensitive when it comes to using ramdisk, and inodes, and a strong aversion from running everyhting as user root.