pup-volume-monitor-0.1.15 and desktop-drive-icons-0.0.6

Core libraries and systems
Message
Author
akash_rawal
Posts: 229
Joined: Wed 25 Aug 2010, 15:38
Location: ISM Dhanbad, Jharkhand, India

#76 Post by akash_rawal »

I forgot :oops:

I've now updated link on third post.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#77 Post by mavrothal »

I finally got around to compile and install pup-volume-monitor-0.1.10 and desktop-drive-icons-0.0.1 in precise 5.4.1 after I installed your glib-2.32.3-patched-precise-i686.pet.
Compiled fine though desktop-drive-icons-0.0.1 still needs "LIBS=-lX11 GTK2_LIBS=$LIBS LDFLAGS=-L/usr/lib ./configure" to compile.

However, I have a problem thou I do not know which of the 3 (glib, volume-monitor, drive-icons) generates it.
When I unmount a removable drive (by clicking the icon), the window does not close but just empties (from the file/folder icons). On consecutive mounts of the drive, it mount OK but the window that opens in blank.

Removing the drive and inserting a different one that has the same dev name but different volume name behaves OK the first time it mounts. Then blank.
If you restart the X server is OK again the first time.

I suspect is the drive-icons app and its interaction with ROX, but I wouldn't know. If it is and you get around to look at it, you may also want provide the option *not* to move the position of the drives when one with a long (3-4 lines) name is inserted or just limit it to 2 lines (and truncate after 6-7 letters)
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

akash_rawal
Posts: 229
Joined: Wed 25 Aug 2010, 15:38
Location: ISM Dhanbad, Jharkhand, India

#78 Post by akash_rawal »

I have moved desktop-drive icons here and made requested changes.

desktop-drive-icons updated to 0.0.2
Changelog:
  • Added post unmount command. By default it closes the open rox-filer window. (thanks mavrothal)
  • It is now possible to set maximum length of a drive label displayed. (thanks mavrothal)

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Precise pet

#79 Post by mavrothal »

Akash,
Desktop-drive-icons-0.0.2 works fine in precise if the proper glib is install. :D
So I made a pet for pup-volume-monitor/desktop-drive-icons for Puppy Precise 5.4/5,4,1.
It requires either BK's z_glib_fix-2.32.3-orig-precise540-i686.pet or your glib-2.32.3-patched-precise-i686.pet to work properly.

Edit Version 0.1.10-1has different defaults and a better pinstall script
Version 0.1.10-2 corrects a typo in pinstall (thanks peebee)
Attachments
pup_volume_monitor_precise-0.1.10-2.pet
pup-volume-monitor/desktop-drive-icons combo for Puppy Precise 5.4/5.5
(161.65 KiB) Downloaded 942 times
Last edited by mavrothal on Mon 01 Apr 2013, 15:05, edited 1 time in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#80 Post by mavrothal »

Hi again,
I noticed that even when the max characters option is activated, unless you define enough only for one line (ie 6) the position of the drives still moves up and down when a device with more characters than the existing devices is inserted or removed.
I guess what it needs is to define the original position of the widget according to the max characters and then (with another option box) either expand the widget downwards or do not expand it at all.
To have a sensible initial position you may allow for 2 lines as a default and provide the full name upon hovering.

Tried to see into icon.c and icon-view.c (so I will not only ask :oops: ) but my C is less than rudimentary.
(BTW I find that developing in git/cvs is very educational for others since it allows them to see the logic and the code changes. Eventually this may pay off :wink: )


Latter (after some more use)
The option to hide specific volumes would be very handy. Your windows (or macintosh) volume for example or your backup drive.
So if you go for a v0.0.3 :wink: Though is probably better implemented in pup-volume-monitor so certain drive/volumes will not show in other desktop managers of save dialog windows.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
MinHundHettePerro
Posts: 852
Joined: Thu 05 Feb 2009, 22:22
Location: SE

#81 Post by MinHundHettePerro »

Hello :)!

Latest PVM & DDI for slacko, in slacko 5.3 (RC2, 5.2.97 actually, though it shouldn't matter).

I have 19 internal partitions, which means that - on my 1280x1024 screen - quite a few of them are way out to the right of the wieving area.

Adding another partition, say sr0, gives a "Floating point exception" in DDI, which crashes.

Recompiling DDI so as to stay within my horizontal screen estate (shrinking icon-size, inter-icon padding etc.) makes DDI work - until the horizontal right is passed; resulting in a "Floating point exception".

Strangely, in vertical view, although a lot of the icons are well below the lower screen limit - there are no crashes of DDI.


In both horizontal and vertical view, DDI can be started with "too many partitions", while removing one, USB or sr0, results in the same DDI crash of "Floating point exception" in horizontal view only.


A bit more serious, though, is that when plugging in a USB-stick, say sdd, partitions are shown (sdd1, sdd2 etc), as well as, the MBR-block sdd.

PVM actually offers to mount (and save to, at least in FF) the MBR-block of USB flash-devices (not for USB HDDs, though).


Perhaps a multi-row table for drive icons :wink: :).

I would like to also see my FDD in PVM/DDI :wink:.


Craps, a lot of critisism :shock: - but, I wouldn't have bothered if I didn't have high hopes for PVM/DDI :).


Cheers :)/ MHHP
Attachments
Internal_HDDs_with_2_USBs_plugged_in.jpg
(70.25 KiB) Downloaded 1874 times
[color=green]Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285[/color]
Slackos & 214X, ... and Q6xx
[color=darkred]Nämen, vaf....[/color] [color=green]ln -s /dev/null MHHP[/color]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#82 Post by 01micko »

Hello akash_rawal

I have built a compiz sfs for the new slacko (when released) and it will be based around lxpanel and pcmanfm. I installed your slacko-1.10 pet on the first page and it seems to run well.

Image

Thanks for a great job!
Puppy Linux Blog - contact me for access

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#83 Post by technosaurus »

mavrothal wrote:Tried to see into icon.c and icon-view.c (so I will not only ask :oops: ) but my C is less than rudimentary.
(BTW I find that developing in git/cvs is very educational for others since it allows them to see the logic and the code changes. Eventually this may pay off :wink: )
its much nicer than gtk's builtin iconview, the made it nearly impossible to set the gtk version's background image let alone transparency - kudos
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

okokoook
Posts: 23
Joined: Thu 08 Dec 2011, 18:33

#84 Post by okokoook »

i just have little concern about the pup-volume-monitor. as instructed, i created those two scripts and left them in their corresponding directories respectively. but when i reboot, i got "not syncing, attempting to kill init" message. could anyone give me a hint on this? thank you

regards

michael

User avatar
gmahuaer
Posts: 2
Joined: Fri 30 Nov 2012, 10:45

#85 Post by gmahuaer »

okokoook wrote:i just have little concern about the pup-volume-monitor. as instructed, i created those two scripts and left them in their corresponding directories respectively. but when i reboot, i got "not syncing, attempting to kill init" message. could anyone give me a hint on this? thank you

regards

michael
Hi, michael,
Your sysytem might get other troubles. My test is ok (v789), but Chinese characters in file-name are garbled when I inserted a USB disk with vfat FileSystem.

simargl

#86 Post by simargl »

removed
Last edited by simargl on Tue 22 Jan 2013, 07:51, edited 1 time in total.

tenochslb

#87 Post by tenochslb »

Is it just me or the source tar contains nothing to extracr?

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#88 Post by Geoffrey »

tenochslb wrote:Is it just me or the source tar contains nothing to extracr?
It appears fine to me, I assume you are referring to pup-volume-monitor-0.1.10.tar.gz

it contains

Code: Select all

aclocal.m4    config.h.in   daemon      ltmain.sh    missing
admin         config.sub    depcomp     m4           module
compile       configure     install-sh  Makefile.am  plugins
config.guess  configure.ac  libpupvm    Makefile.in  tester
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#89 Post by sc0ttman »

I tried to compile , and I get this:

Code: Select all

  CCLD   pup-volume-monitor
pup_volume_monitor-drive-probes.o: In function `pup_volume_assert':
/root/Downloads/pup-volume-monitor-0.1.10/daemon/drive-probes.c:172: undefined reference to `blkid_new_probe_from_filename'
collect2: ld returned 1 exit status
make[2]: *** [pup-volume-monitor] Error 1
make[2]: Leaving directory `/root/Downloads/pup-volume-monitor-0.1.10/daemon'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Downloads/pup-volume-monitor-0.1.10'
make: *** [all] Error 2
I'm using glib-2.30 if that makes a difference, not patched... Is that my problem? Will it be a problem if I get past this one above?

I'm using blkid 1.0.0 (12-Feb-2003)... I assume it's too old, or needs re-compilng etc... If so... Where are the sources? Do I need specially patched puppy sources for blkid? Is ther ea pet for blkid or do I need to update the whole e2fsprogs pkg (if that is where blkid comes from)..?

If the problem is not with blkid, why can't I compile this?

Or maybe there is a pet for wary 51x somewhere? That should work for me... I already tried the latest version from the Carolina repo, but I did not get any drives listed in thunar, I only got these errors(?) in the terminal:

Code: Select all

# pup-volume-monitor-starter
/usr/bin/pup-volume-monitor-starter: line 7: 26836 Trace/breakpoint trap   pup-volume-monitor-admin --list-all &>/dev/null
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Re: Precise pet

#90 Post by peebee »

mavrothal wrote:Edit Version 0.1.10-1has different defaults and a better pinstall script
Hi Mav

Was looking inside the Precise pet......

Is there a typo at line 14 in pinstall.sh ? - fasle - should be false ??

Also the puninstall.sh looks for file /etc/.eventmanager_ORIG but this file is not created by the pinstall.sh - should it be??

Cheers
peebee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#91 Post by mavrothal »

peebee wrote:Is there a typo at line 14 in pinstall.sh ? - fasle - should be false ??
Corrected in version 0.1.10-2. Thanks
peebee wrote:Also the puninstall.sh looks for file /etc/.eventmanager_ORIG but this file is not created by the pinstall.sh - should it be??
but it does. Line 3 has

Code: Select all

cp /etc/eventmanager /etc/.eventmanager_ORIG
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

akash_rawal
Posts: 229
Joined: Wed 25 Aug 2010, 15:38
Location: ISM Dhanbad, Jharkhand, India

#92 Post by akash_rawal »

Very sorry for replying late. I had been preparing for my board exams, performance in which can form (or deform) my future.

I still have engineering entrances left, but since I have already went through syllabus I decide to resume the development.

I may not be quick to respond now, as I have to study as well.

akash_rawal
Posts: 229
Joined: Wed 25 Aug 2010, 15:38
Location: ISM Dhanbad, Jharkhand, India

#93 Post by akash_rawal »

pup-volume-monitor updated to version 0.1.11

Changes:
  • Mounting and unmounting made more flexible using scripts at /usr/libexec/pup-volume-monitor/
  • Several multithreading bugs fixed
  • Some more GIO functions implemented
desktop-drive-icons updated to version 0.0.3

Changes:
  • New container written from scratch permitting icon arrangement in multiple rows
  • More advanced positioning options
  • New label widget written from scratch that allows controlling no. of lines to be displayed.
  • Performance improvements at several places
  • Extra workarounds added for openbox window manager

akash_rawal
Posts: 229
Joined: Wed 25 Aug 2010, 15:38
Location: ISM Dhanbad, Jharkhand, India

#94 Post by akash_rawal »

sc0ttman wrote:I tried to compile , and I get this:

Code: Select all

  CCLD   pup-volume-monitor
pup_volume_monitor-drive-probes.o: In function `pup_volume_assert':
/root/Downloads/pup-volume-monitor-0.1.10/daemon/drive-probes.c:172: undefined reference to `blkid_new_probe_from_filename'
collect2: ld returned 1 exit status
make[2]: *** [pup-volume-monitor] Error 1
make[2]: Leaving directory `/root/Downloads/pup-volume-monitor-0.1.10/daemon'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Downloads/pup-volume-monitor-0.1.10'
make: *** [all] Error 2
I'm using glib-2.30 if that makes a difference, not patched... Is that my problem? Will it be a problem if I get past this one above?

I'm using blkid 1.0.0 (12-Feb-2003)... I assume it's too old, or needs re-compilng etc... If so... Where are the sources? Do I need specially patched puppy sources for blkid? Is ther ea pet for blkid or do I need to update the whole e2fsprogs pkg (if that is where blkid comes from)..?
blkid is too old. That must be the problem.

The lowest puppy version I tested, lucid puppy 511, has blkid 2.17.0.

blkid is in util-linux package, https://www.kernel.org/pub/linux/utils/util-linux/

akash_rawal
Posts: 229
Joined: Wed 25 Aug 2010, 15:38
Location: ISM Dhanbad, Jharkhand, India

#95 Post by akash_rawal »

okokoook wrote:i just have little concern about the pup-volume-monitor. as instructed, i created those two scripts and left them in their corresponding directories respectively. but when i reboot, i got "not syncing, attempting to kill init" message. could anyone give me a hint on this? thank you

regards

michael
At which state does it happen exactly? And which puppy?

Post Reply