seen_xu | 8 Jul 01:28
Picon

how rox-filer compile and install on ubuntu


tried 0install way, but don't like how it works.
I'd prefer compile it right out of repository and with the old "make && make
install" routine to install an app. but I did't figure it out how to "make
install" the rox-filer on ubuntu. I had also tried symbolic link back to
compiled binary(with ./AppRun --compile to make the binary), but upon
opening ~/ directory, the ui is broken, and while choose Options from right
click, it reports that it can't find Options.xml file, and the option dialog
is complete empty only with the cancel/ok buttons. so how can I solve the
problem? and how can I build a deb package, so that I can share with others. 

sys spec:
xubuntu 8.06 amd64

thx
--

-- 
View this message in context: http://www.nabble.com/how-rox-filer-compile-and-install-on-ubuntu-tp18329010p18329010.html
Sent from the Rox - User mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
Tony Houghton | 8 Jul 14:32
Picon

Re: how rox-filer compile and install on ubuntu

On Mon, 7 Jul 2008 16:28:16 -0700 (PDT)
seen_xu <ye.xu.hdm <at> gmail.com> wrote:

> tried 0install way, but don't like how it works.
> I'd prefer compile it right out of repository and with the old "make
> && make install" routine to install an app. but I did't figure it out
> how to "make install" the rox-filer on ubuntu. I had also tried
> symbolic link back to compiled binary(with ./AppRun --compile to make
> the binary), but upon opening ~/ directory, the ui is broken, and
> while choose Options from right click, it reports that it can't find
> Options.xml file, and the option dialog is complete empty only with
> the cancel/ok buttons. so how can I solve the problem? and how can I
> build a deb package, so that I can share with others. 

I'm pretty sure Ubuntu has a rox-filer package but it might be a bit out
of date. If you compile, you got the first bit right, but instead of
linking to the binary make a shell script which execs AppRun. The binary
uses argv[0] to work out the AppDir.

--

-- 
TH * http://www.realh.co.uk

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
Ye Xu | 8 Jul 14:57
Picon

Re: how rox-filer compile and install on ubuntu


I'm pretty sure Ubuntu has a rox-filer package but it might be a bit out
of date.

the rox-filer package came with 8.06 is quite old, version 2.5, because I want to try the new 2.8, so that I have to compile on my own.
 
instead of linking to the binary make a shell script which execs AppRun.
The binary uses argv[0] to work out the AppDir.

I didn't quite understand your instruction. but
I had done made a symbolic link to AppRun:

sudo ln -s /home/seen/build/rox-filer/ROX-Filer/AppRun /usr/bin/rox

it works for now, what weird is, yesterday I tried the same thing it won't work.

thx & regards

Ye


On Tue, Jul 8, 2008 at 2:32 PM, Tony Houghton <h <at> realh.co.uk> wrote:
On Mon, 7 Jul 2008 16:28:16 -0700 (PDT)
seen_xu <ye.xu.hdm <at> gmail.com> wrote:

> tried 0install way, but don't like how it works.
> I'd prefer compile it right out of repository and with the old "make
> && make install" routine to install an app. but I did't figure it out
> how to "make install" the rox-filer on ubuntu. I had also tried
> symbolic link back to compiled binary(with ./AppRun --compile to make
> the binary), but upon opening ~/ directory, the ui is broken, and
> while choose Options from right click, it reports that it can't find
> Options.xml file, and the option dialog is complete empty only with
> the cancel/ok buttons. so how can I solve the problem? and how can I
> build a deb package, so that I can share with others.

I'm pretty sure Ubuntu has a rox-filer package but it might be a bit out
of date. If you compile, you got the first bit right, but instead of
linking to the binary make a shell script which execs AppRun. The binary
uses argv[0] to work out the AppDir.

--
TH * http://www.realh.co.uk

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
rox-users mailing list
rox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rox-users

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
rox-users mailing list
rox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rox-users
Tony Houghton | 8 Jul 15:27
Picon

Re: how rox-filer compile and install on ubuntu

On Tue, 8 Jul 2008 14:57:35 +0200
"Ye Xu" <ye.xu.hdm <at> gmail.com> wrote:

> I didn't quite understand your instruction. but
> I had done made a symbolic link to AppRun:
> 
> sudo ln -s /home/seen/build/rox-filer/ROX-Filer/AppRun /usr/bin/rox
> 
> it works for now, what weird is, yesterday I tried the same thing it
> won't work.

OK, that should work because AppRun does this:

APP_DIR=`dirname "$0"`
APP_DIR=`cd "$APP_DIR";pwd`; export APP_DIR

The pwd makes it follow the symbolic link and find the real directory. I
think earlier versions didn't do that, so it would have thought APP_DIR
was /usr/bin. Instead /usr/bin/rox would have to be a separate script
containing this:

#!/bin/sh
exec /home/seen/build/rox-filer/ROX-Filer/AppRun "$@"

PS it's usual to use /usr/local/bin for scripts and programs you've
added yourself; keep /usr/bin for stuff installed by the package
manager.

--

-- 
TH * http://www.realh.co.uk

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
Ye Xu | 8 Jul 15:54
Picon

Re: how rox-filer compile and install on ubuntu

APP_DIR=`dirname "$0"`
APP_DIR=`cd "$APP_DIR";pwd`; export APP_DIR

The pwd makes it follow the symbolic link and find the real directory. I
think earlier versions didn't do that, so it would have thought APP_DIR
was /usr/bin. Instead /usr/bin/rox would have to be a separate script

thx for the help in such a great detail, right now I had understood.

#!/bin/sh
exec /home/seen/build/rox-filer/ROX-Filer/AppRun "$ <at> "
 
it's usual to use /usr/local/bin for scripts and programs you've
added yourself; keep /usr/bin for stuff installed by the package
manager.

great tips, I will clean out /usr/bin/rox and place the script in inside /usr/local/bin/


On Tue, Jul 8, 2008 at 3:27 PM, Tony Houghton <h <at> realh.co.uk> wrote:
On Tue, 8 Jul 2008 14:57:35 +0200
"Ye Xu" <ye.xu.hdm <at> gmail.com> wrote:

> I didn't quite understand your instruction. but
> I had done made a symbolic link to AppRun:
>
> sudo ln -s /home/seen/build/rox-filer/ROX-Filer/AppRun /usr/bin/rox
>
> it works for now, what weird is, yesterday I tried the same thing it
> won't work.

OK, that should work because AppRun does this:

APP_DIR=`dirname "$0"`
APP_DIR=`cd "$APP_DIR";pwd`; export APP_DIR

The pwd makes it follow the symbolic link and find the real directory. I
think earlier versions didn't do that, so it would have thought APP_DIR
was /usr/bin. Instead /usr/bin/rox would have to be a separate script
containing this:

#!/bin/sh
exec /home/seen/build/rox-filer/ROX-Filer/AppRun "$ <at> "

PS it's usual to use /usr/local/bin for scripts and programs you've
added yourself; keep /usr/bin for stuff installed by the package
manager.

--
TH * http://www.realh.co.uk

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
rox-users mailing list
rox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rox-users

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
rox-users mailing list
rox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rox-users
Mithat Konar | 9 Jul 10:46
Picon
Favicon

rox + pmount + ivman with CDROMs

I've got ROX-filer setup with icewm in a minimal Debian Etch system. I am trying to get automounting with
pmount and ivman going, and it almost works. I've got a couple lines in my icewm startup script that makes
sure that ivman is running as user. I have told ROX-filer to use pmount and pumount to mount and unmount
stuff. My USB drives work as expected. However, CDROM behavior isn't optimal.

When I stick a CD in the drive, the "mount-dot" on the 'cdrom0' icon in /media doesn't turn green (it remains
grey). If I try to browse the CD with the 'cdrom' symlink, I can. But the 'cdrom0' mount-dot remains grey. I
can eject the CD using the 'cdrom0' icon without problems.

On the other hand, if after sticking a CD in the drive I try to browse it directly with the 'cdrom0' icon, I get a
message telling me that "/dev/hdb is already mounted on /media/cdrom0. Mount failed. (Seems to be
mounted now anyway)" And then the "mount-dot" turns green.

Help?

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
Mithat Konar | 14 Jul 19:11
Picon
Favicon

eject and unmount

I am using ROX-Filer with IceWm on Debian Etch.

Could someone please clarify the relationship between ROX-Filer's "Eject" command and its "Unmount"
command? I have written a custom unmount script that executes as expected when I select "Unmount", but it
doesn't execute when I select "Eject".

What exactly does "Eject" do? Does it unmount before ejecting? If so, how?

-M

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
Thomas Leonard | 14 Jul 19:28
Picon
Gravatar

Re: eject and unmount

2008/7/14 Mithat Konar <mithat_konar <at> yahoo.com>:
> I am using ROX-Filer with IceWm on Debian Etch.
>
> Could someone please clarify the relationship between ROX-Filer's "Eject" command and its "Unmount"
command? I have written a custom unmount script that executes as expected when I select "Unmount", but it
doesn't execute when I select "Eject".
>
> What exactly does "Eject" do? Does it unmount before ejecting? If so, how?

Eject runs whatever command you've configured it to run. By default,
it runs "eject $mount_point".

--

-- 
Dr Thomas Leonard	ROX desktop / Zero Install
GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
Mithat Konar | 14 Jul 20:19
Picon
Favicon

Re: eject and unmount

Thanks for the reply.

I cannot figure how the 'eject' command is configured. Configuring the "unmount" command is easy and works
for me just fine. Where/how do I configure 'eject'?

I'm using ROX-Filer 1.2.28-4 if that matters.

--- On Mon, 7/14/08, Thomas Leonard <talex5 <at> gmail.com> wrote:

> From: Thomas Leonard <talex5 <at> gmail.com>
> Subject: Re: [rox-users] eject and unmount
> To: mithat_konar <at> yahoo.com, "Installation and use of the ROX Desktop" <rox-users <at> lists.sourceforge.net>
> Date: Monday, July 14, 2008, 8:28 PM
> 2008/7/14 Mithat Konar <mithat_konar <at> yahoo.com>:
> > I am using ROX-Filer with IceWm on Debian Etch.
> >
> > Could someone please clarify the relationship between
> ROX-Filer's "Eject" command and its
> "Unmount" command? I have written a custom
> unmount script that executes as expected when I select
> "Unmount", but it doesn't execute when I
> select "Eject".
> >
> > What exactly does "Eject" do? Does it
> unmount before ejecting? If so, how?
> 
> Eject runs whatever command you've configured it to
> run. By default,
> it runs "eject $mount_point".
> 
> 
> -- 
> Dr Thomas Leonard	ROX desktop / Zero Install
> GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
Mithat Konar | 14 Jul 20:21
Picon
Favicon

Re: eject and unmount

Oops... make that ROX-filer 2.5.1. 

--- On Mon, 7/14/08, Thomas Leonard <talex5 <at> gmail.com> wrote:

> From: Thomas Leonard <talex5 <at> gmail.com>
> Subject: Re: [rox-users] eject and unmount
> To: mithat_konar <at> yahoo.com, "Installation and use of the ROX Desktop" <rox-users <at> lists.sourceforge.net>
> Date: Monday, July 14, 2008, 8:28 PM
> 2008/7/14 Mithat Konar <mithat_konar <at> yahoo.com>:
> > I am using ROX-Filer with IceWm on Debian Etch.
> >
> > Could someone please clarify the relationship between
> ROX-Filer's "Eject" command and its
> "Unmount" command? I have written a custom
> unmount script that executes as expected when I select
> "Unmount", but it doesn't execute when I
> select "Eject".
> >
> > What exactly does "Eject" do? Does it
> unmount before ejecting? If so, how?
> 
> Eject runs whatever command you've configured it to
> run. By default,
> it runs "eject $mount_point".
> 
> 
> -- 
> Dr Thomas Leonard	ROX desktop / Zero Install
> GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08

Gmane