VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Pages: 1 ... 4 5 [6] 7

Author Topic: The VL-hot thread  (Read 57840 times)

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3277
Re: The VL-hot thread
« Reply #75 on: November 04, 2008, 05:56:05 am »

If you mean exec as in the gambas code, then not me... I use SHELL all the time.

Joe1962

  • Administrator
  • Vectorian
  • *****
  • Posts: 2499
    • Joe1962's Website
Re: The VL-hot thread
« Reply #76 on: November 04, 2008, 11:39:12 am »

No, I meant setting the exec mount option in vl-hot-config.

BTW, you should only use SHELL in Gambas when absolutely necessary, as it introduces an added overhead by loading a virtual shell.
« Last Edit: November 04, 2008, 11:44:51 am 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: 3277
Re: The VL-hot thread
« Reply #77 on: November 04, 2008, 11:55:53 am »

;)

Joe1962

  • Administrator
  • Vectorian
  • *****
  • Posts: 2499
    • Joe1962's Website
Re: The VL-hot thread
« Reply #78 on: November 04, 2008, 12:08:19 pm »

 :D
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: 3277
Re: The VL-hot thread
« Reply #79 on: November 04, 2008, 12:16:10 pm »

So there is a difference between using SHELL vs EXEC then....
I always thought it was the same thing

Joe1962

  • Administrator
  • Vectorian
  • *****
  • Posts: 2499
    • Joe1962's Website
Re: The VL-hot thread
« Reply #80 on: November 04, 2008, 12:29:10 pm »

http://www.gambasdoc.org/help/cat/process

Basically:
EXEC means: execute the following executable and pass it the following list of parameters...
SHELL means: run a virtual shell and pass it the following command line string...

HTH
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

wcs

  • Packager
  • Vectorian
  • ****
  • Posts: 1144
Re: The VL-hot thread
« Reply #81 on: November 13, 2008, 09:57:18 am »

I tried it now with a usb flash drive.
This is in /etc/mtab:
Code: [Select]
/dev/sdf1 /mnt/vl-hot/vl-hot vfat rw,nosuid,nodev,noatime,uid=0,gid=100,fmask=0111,dmask=0000,quiet,shortname=mixed,codepage=850,iocharset=iso8859-1 0 0
Should it say "exec" anywhere?
Without checking the option, it does say "noexec", but nothing is there with the "exec" option checked.
Logged

wcs

  • Packager
  • Vectorian
  • ****
  • Posts: 1144
Re: The VL-hot thread
« Reply #82 on: November 13, 2008, 10:09:12 am »

And one other thing:

I was trying unetbootin, to get a bootable Usb drive.
When mounted with vl-hot, unetbootin complains that the dive isn't mounted and there's no mount point (though it is).
No problems when using hal.

Not that there's anything wrong with vl-hot... it might just be a matter of getting the right options. Any ideas?
Thank you!
Logged

caitlyn

  • Packager
  • Vectorian
  • ****
  • Posts: 2879
    • The Linux Works
Re: The VL-hot thread
« Reply #83 on: November 14, 2008, 12:56:56 pm »

I tried installing the new vl-hot and vl-hot-config into VL 6.0 Light.  vl-hot-config wanted to install 50 "dependencies" from gsb.  The package seems to think it needs GNOME installed.
Logged
eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1

Joe1962

  • Administrator
  • Vectorian
  • *****
  • Posts: 2499
    • Joe1962's Website
Re: The VL-hot thread
« Reply #84 on: November 14, 2008, 04:56:00 pm »

Yes, there is a problem with the "gksu OR kdesu" dependency. As kdesu is not a package it will pull gksu anyway. I think it is gksu that wants gnome. I have fixed the vl-hot-config code  so if launched as a non-root user, it searches for kdesu and gksu (in that order), then runs another instance of itself with the first one found and exits. If none is found it will pop up an error message. This will allow me to drop that particular dependency altogether from the package. I will try to release ASAP.
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

wcs

  • Packager
  • Vectorian
  • ****
  • Posts: 1144
Re: The VL-hot thread
« Reply #85 on: November 29, 2008, 06:33:26 pm »

I also get this error when doing vlh-umount for a pendrive:
Code: [Select]
/etc/udev/vl-hot.conf: line 1: [General]: command not foundThen it takes quite a bit to unmount.
Logged

Joe1962

  • Administrator
  • Vectorian
  • *****
  • Posts: 2499
    • Joe1962's Website
Re: The VL-hot thread
« Reply #86 on: December 01, 2008, 08:10:01 am »

I also get this error when doing vlh-umount for a pendrive:
Code: [Select]
/etc/udev/vl-hot.conf: line 1: [General]: command not found
This is merely an aesthetic "bug" due to the use switch to Gambas2 for vl-hot-config and the use of bash scripting for the rest of vl-hot. The Gambas2 config file handling functions define a 2-level nested structure like the Windows ini files. [General] is merely a subsection heading that bash does not understand as a command when merging vl-hot.conf into the scripts. This did not happen with Gambas1 config files.

Though it is not really a functionality problem, I have identified 2 ways to fix this: use lower-level Gambas file access functions in vl-hot-config (writing a custom config file handler), or re-writing the rest of vl-hot in Gambas. The latter option is something I have been thinking of for some time now. It all depends on the limited available programming time for this.


Then it takes quite a bit to unmount.
This can happen if buffered writes are used (the default) and there is a lot to write out to the drive when flushing the cache before unmounting. If the drive has a LED, you would see it flashing during this time. Linux seems to be rather lazy when it comes to writing out the cache to a drive even when left alone for quite a while.
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

wcs

  • Packager
  • Vectorian
  • ****
  • Posts: 1144
Re: The VL-hot thread
« Reply #87 on: December 03, 2008, 07:35:19 am »

Quote
Linux seems to be rather lazy when it comes to writing out the cache to a drive even when left alone for quite a while.

Thanks for the answers!
Yea, tried it with hal, and after copying big files it takes a bit to unmount as well...
Logged

Joe1962

  • Administrator
  • Vectorian
  • *****
  • Posts: 2499
    • Joe1962's Website
Re: The VL-hot thread
« Reply #88 on: December 10, 2008, 10:51:00 am »

Sorry about the delay, but I finally managed to wrap up the changes for 1.9.22 and released it. You can find the corresponding vl-hot and vl-hot-config packages for VL 5.9 (AFAIK, they should also work for VL6) at the BerliOS project page: http://developer.berlios.de/projects/vl-hot/

Notes:
- remember vl-hot-config is now a Gambas2 project.
- source code is on the svn repo at BerliOS, still haven't gotten around to making tarballs.

Changelog:
Code: [Select]
2008-12-10    <joe1962@users.sourceforge.net>

* Removed vlhc-launcher.
* Restored user check and *su call to vl-hot-config.
* Repackaged 1.9.22.

2008-12-10    <joe1962@users.sourceforge.net>

* Released 1.9.22.

2008-11-10    <joe1962>

* Changed check for System.User.Name = "root" to System.User.Id = 0.
* if System.User.Id <> 0, looks for kdesu or gksu.
* If found, executes another instance as root and exits.
* Separated user check and *su call to vlhc-launcher gambas2 cli app.

2008-11-08    <joe1962@users.sourceforge.net>

* Updated TODO.




EDIT:

Forgot to add that this release eliminates the gksu/kdesu dependency issue. Also, I missed removing the vsuper call from some of the .desktop files, but this does not cause problems (at least on VL). Still, I'll fix this and repackage later on.
« Last Edit: December 11, 2008, 10:30:02 am 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

Joe1962

  • Administrator
  • Vectorian
  • *****
  • Posts: 2499
    • Joe1962's Website
Re: The VL-hot thread
« Reply #89 on: December 18, 2008, 01:00:43 am »

Stable release 2.0.0 packages of vl-hot and vl-hot-config (for VL59 and VL60) are now up on the BerliOS project page:
http://developer.berlios.de/project/showfiles.php?group_id=9736

Changelog:
Code: [Select]
2008-12-13    <joe1962@users.sourceforge.net>

* Released 2.0.0.

2008-12-13    <joe1962@users.sourceforge.net>

* Fixed application path when calling with kdesu/gksu.
* Removed remaining vsuper from .desktop files.
* Added new unmount icon by nightflier.
* Fixed vl-hot-config dialog filters for selecting icon and sound files.


I have decided to go back to the traditional even numbered stable/uneven numbered unstable versioning, and so development release 2.1.0 of vl-hot-config is also up on the site. Willing testers please use this with vl-hot 2.0.0, as the "back end" has not changed yet. Screenshots of the heavily redesigned vl-hot-config are here:
http://developer.berlios.de/screenshots/?group_id=9736

I have yet to write a changelog for 2.1.0... ;D


EDIT: oops, forgot to mention that the "File manager" action setting needs back-end changes that are yet to come... ;)
« Last Edit: December 18, 2008, 01:07:15 am 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
Pages: 1 ... 4 5 [6] 7