VectorLinux
April 23, 2014, 04:46:14 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: 1 2 3 [4] 5 6 7
  Print  
Author Topic: The VL-hot thread  (Read 50998 times)
rbistolfi
Packager
Vectorian
****
Posts: 2265


« Reply #45 on: May 29, 2008, 04:48:52 pm »

I get this while running vlh-umount:

Code:
rbistolfi@vector [ ~/iso ] %vlh-umount
/lib/udev/vl-hot_umount: line 49: [: missing `]'
rmdir: script: No such file or directory

It mounted my pendrive and sd cards successfully so far Smiley
Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« Reply #46 on: June 02, 2008, 12:01:35 pm »

I can't see anything in line 49 of vl-hot_umount that could cause that. How accurate is the linenumber reported by bash, I wonder? Have you changed the default mountbase by any chance?
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
rbistolfi
Packager
Vectorian
****
Posts: 2265


« Reply #47 on: June 02, 2008, 01:03:34 pm »

I can't see anything in line 49 of vl-hot_umount that could cause that. How accurate is the linenumber reported by bash, I wonder? Have you changed the default mountbase by any chance?

Yeah, I did take a look at the moment and the line numbering didn't make sense to me also. IIRC there is a well formed "if" there. The settings are all defaults. I will look deeper when I get home, I wonder if there is a tool to execute the script line by line Smiley
Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« Reply #48 on: June 03, 2008, 05:28:14 am »

As stated before, I did give vlh-umount a quick test with 1 pendrive and it worked, but it hasn't been updated yet WRT the new functionality and I somewhat expected breakage.
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
rbistolfi
Packager
Vectorian
****
Posts: 2265


« Reply #49 on: June 03, 2008, 06:09:04 am »

No problem Joe I am glad to test it. Line 49 is about feedback and probably a minor problem but not causing umount to fail. I will keep sniffing. rmdir is taking the "script" value as a dir to remove (rmdir: script: No such file or directory), instead as $SOURCE from /usr/bin/vlh-umount. Looks like there is a problem where the device name is stated.
Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
M0E-lnx
Administrator
Vectorian
*****
Posts: 3134



« Reply #50 on: June 03, 2008, 06:58:58 am »

@ Joe1962

Have you switched to gambas2 or still developing it under G1?
Logged

Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« Reply #51 on: June 03, 2008, 07:10:51 am »

I am just "bashing" away for the moment, working on the "back-end" so to speak. Work on vl-hot-config comes next and I do intend to port it to 2.x, but maybe not till after all the new functions are implemented and a release made.
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
caitlyn
Packager
Vectorian
****
Posts: 2839



WWW
« Reply #52 on: June 12, 2008, 01:58:39 pm »

Fair warning for Joe1962:

As you know "green computing" is a hot topic now and VL-Hot, as a replacement for HAL, definitely fits in as it doesn't constantly poll and therefore uses less energy and improves performance on low end systems.  I'm planning on doing an article on VL-Hot for O'Reilly News and I will be suggesting that other distros consider incorporating it.

You've been warned...  Smiley
Logged

eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
VLocity Linux 7.0-rc1

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video
VL 7.0 Light
Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« Reply #53 on: June 12, 2008, 02:32:50 pm »

You've been warned...  Smiley


Wow!!!    Shocked Grin Shocked
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
M0E-lnx
Administrator
Vectorian
*****
Posts: 3134



« Reply #54 on: June 12, 2008, 06:56:09 pm »

@ Joe1962

As a suggestion, could you add a feature in the config to allow for user-defined / prefered filemanager ?
I like pcmanfm, but vl-hot insists in PathFinder here for some reason...

Just a thought... it'd be kool
Logged

Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« Reply #55 on: June 14, 2008, 09:35:05 am »

Actually, the vl-hot desktop icon does not define a filemanager at all. It defines a URL like this:

Code:
URL=file://$MOUNTPOINT

So, theoretically, all you need to do is change the default handler for such a URL type on your system.
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
M0E-lnx
Administrator
Vectorian
*****
Posts: 3134



« Reply #56 on: June 14, 2008, 11:42:38 am »

huh!... I wonder how one goes about doing that
Logged

Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« Reply #57 on: June 14, 2008, 11:53:37 am »

Well, I'm not exactly sure right now, which is probably why I didn't say how... Grin
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« Reply #58 on: August 14, 2008, 09:56:21 pm »

huh!... I wonder how one goes about doing that
A little help here please... anybody? I just don't have the time to investigate this further. Does this have anything to do with mimetypes?

On to another subject, those on the vectorlinux-devel list have been getting updates on the latest vl-hot and vl-hot-config code, it's time to paste some of that here too (it's a bit long-winded, sorry about that)... Smiley

Quote
A while back, I lost my working copy of vl-hot 1.0.4 and the backups
were corrupted. No problem I thought, I'll checkout from the svn. But
I have not been able to access googlecode for quite some time now, so
I sshed into uel s box and tried from there. Well, it turns out that
the googlecode svn of vl-hot has somehow been reset to a blank repo,
grrr....

I had already recovered the bash part of vl-hot from the distro, of
course, and this was the base for developing the new 2.0 version. I
was less fortunate with vl-hot-config, which is compiled gambas code,
I only have a much older version available, but there were a lot of
changes towards 1.0.4.

So: does anybody have the source code for vl-hot-config 1.0.4? If so,
please send it to me, as vl-hot 2.0 is pretty much done and ready for
testing, but it needs a matching vl-hot-config, of course.

Quote
I set up a new project on Berlios a couple of months ago, when I
started having trouble accesing googlecode, but I haven't uploaded any
code yet, while trying to fing the vl-hot-config source. Berlios works
pretty fast for me here and I believe they have a long and stable
history hosting open source projects. I didn't try SourceForge as it
is way to slow from here.

Quote
Ok, here is a package of vl-hot-1.9.9 (2.0 beta). I've done a lot of
testing with 2 pendrives, but this is still a beta until others can
test it too. I will do some more testing with an external HDD with
multiple partitions tonight.

http://hyperupload.com/download/022fd59c43/vl-hot-1.9.9-noarch-1vl59.tlz.html

Mount point naming has 3 levels of priority:
1- from /etc/udev/vl-hot_names.conf, if the serial matches a definition
2- from the partition label, if any
3- if none of the above, the default name is "vl-hot" (this might change)

If a second drive/partition has the same name, vl-hot_mount adds
consecutive numbers to the mount point.

NOTE: due to what I explained before, there is no vl-hot-config in
this package, you need to edit /etc/udev/vl-hot.conf manually.

Quote
Notice that to get the nice vl-hot_umount notification popup on XFCE,
you need to install libnotify, notification-daemon-xfce and libsexy.
Still need to work on the KDE notifications, as they use a different
engine.

Quote
Ok, I've mostly managed to update vl-hot-config from an old version.
It even has a (still somewhat crude) custom mountpoints editor, so you
can define a permanent custom fixed mountpoint for a particular
pendrive, etc.

Only one thing to do yet before a beta: In vl-hot-config 1.0.4, I
hardwired the charsets and codepages dropdown lists, because they
became built-in to the kernel, whereas previously, they would be read
from the modules at runtime. However, I would like to find a nice
proper way to get the available charsets and codepages at runtime,
before I go and hardcode them again (I've lost the friggin' lists too,
along with the 1.0.4 source code, lol). So... any ideas?

Quote
I just imported the first code to the Berlios vl-hot project, at
version 1.9.9, which is more or less 2.0 Beta. As stated before,
vl-hot-config desn't do the codepages and charsets yet, hope to get to
that by Monday at latest.

Link to the project page: http://developer.berlios.de/projects/vl-hot/
anonymous svn: svn checkout http://svn.berlios.de/vl-hot/trunk

If anybody wants to be added to the project as developer, just let me know.
(Note: You need to register a user on Berlios first, and let me know
the user name once you get the confirmation.)

Quote
You can download vl-hot-1.9.9 and vl-hot-config-1.9.9 packages for VL
5.9 from the BerliOS project now. As you can see, I decided to
separate them in 2 packages. Let me know your opinions on this, for or
against.


BTW, M0E-lnx: I was switching vl-hot-config to G2, but then I came up agaist a little problem. The settings files management has changed between G1 and G2, and now it seems to have a fixed path (read-only), so until I cook up my own code for it, it stays in G1, which allows settings files to be in a path you define (in this case, /etc/udev/vl-hot.conf). I may post about this on the Gambas list to see what can be done about it, as well.


EDIT: BTW, vlh-umount should work nicely now.
« Last Edit: August 14, 2008, 09:59:51 pm by Joe1962 » Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
M0E-lnx
Administrator
Vectorian
*****
Posts: 3134



« Reply #59 on: August 15, 2008, 04:43:25 am »


BTW, M0E-lnx: I was switching vl-hot-config to G2, but then I came up agaist a little problem. The settings files management has changed between G1 and G2, and now it seems to have a fixed path (read-only), so until I cook up my own code for it, it stays in G1, which allows settings files to be in a path you define (in this case, /etc/udev/vl-hot.conf). I may post about this on the Gambas list to see what can be done about it, as well.


I have not see this to tell you the truth... I thought you could put your settings wherever you want... I have /etc/vpackager.conf now, which has been there since the G1 era. I've made changes to it, but never seen anything like a fixed path
Logged

Pages: 1 2 3 [4] 5 6 7
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!