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

Core libraries and systems
Message
Author
User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Re: Difference 0.1.11 versus 0.1.12

#106 Post by peebee »

akash_rawal wrote:Looks like I didn't know GLib's default mount monitor that pup-volume-monitor-0.1.12 overrides, shows samba shares also.

Just for confirmation, does the problem disappear when you start pcmanfm with environment variable PUP_VOLUME_MONITOR_NO_NATIVE=1, like:

Code: Select all

killall pcmanfm
export PUP_VOLUME_MONITOR_NO_NATIVE=1
pcmanfm -p LXDE --desktop &
disown
If it does I'll invert environment variable control in next version.

I had done that because I noticed that with Jemimah's patch mounted drives are shown twice in file manager.
Hi

I wondered if that might be the cause....I'd rather have 2 removable drives showing than no Samba share...

I'll try your "experiment" when I can - might be a couple of days....

Thanks for your help and for all your work on p-v-m

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

#107 Post by mavrothal »

akash_rawal wrote: desktop-drive-icons updated to version 0.1.5
I do not know about version 0.1.5, but version 0.0.5 works fine :)
== [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

#108 Post by akash_rawal »

mavrothal wrote:
akash_rawal wrote: desktop-drive-icons updated to version 0.1.5
I do not know about version 0.1.5, but version 0.0.5 works fine :)
Looks as if its my mind that needs debugging. Haven't I made too many mistakes by now? :oops: :)

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

Re: Difference 0.1.11 versus 0.1.12

#109 Post by peebee »

peebee wrote:

Code: Select all

killall pcmanfm
export PUP_VOLUME_MONITOR_NO_NATIVE=1
pcmanfm -p LXDE --desktop &
disown
I'll try your "experiment" when I can - might be a couple of days....

Thanks for your help and for all your work on p-v-m

Cheers
peebee
Hi

Retried p-v-m 0.1.12 but with startlxde patched to add

Code: Select all

export PUP_VOLUME_MONITOR_NO_NATIVE=1 
just before lxsession start.

Previous behaviour is re-established - all devices mounted at startup have just 1 bookmark, Samba share through Yassm also has a single bookmark and can be dismounted from within pcmanfm, any other devices mounted have 2 bookmarks with slightly different icons....

see 0.1.12 with patch screenie attached

Cheers
peebee
Attachments
capture28839.png
(48.03 KiB) Downloaded 1468 times
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

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

#110 Post by akash_rawal »

pup-volume-monitor updated to version 0.1.13
Changes:
  • Inverted environment variable control over overriding native volume monitor. Now export PUP_VOLUME_MONITOR_BE_NATIVE=1 to override native volume monitor.
I wish there was some way of customizing the behavior of Glib's built-in mount monitor so that it wouldn't show only mounted volumes. But this doesn't seem to be possible without modifying GLib.

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

p-v-m in lxpup-by-sfs

#111 Post by peebee »

Just to report the interesting (I think) finding that it is possible to use the "Slacko" version of p-v-m from post #1 in both:

Precise Puppy 5.5 and

Upup Raring 3.8.4

by replacing just the /usr/lib/libgio-2.0.so.0 and libgio-2.0.so.0.3nnn.n files with those from Slacko 5.5

i.e. the glib patches only affect libgio-2.so and the patch can be applied by replacing just those files, not all of glib.

For a practical demonstration see: LxPup by SFS 5.5

For Upup Raring 3.8.4 which contains glib-2.36 then a patched version of libgio-2.0.so.0.3600.n really needs to be created but this is beyond my limited capabilities - in the meantime downgrading just the libgio part of glib-2.36 to the patched 2.32 version seems to work.

[edit] for Upup Raring 3.8.7 "pup-volume-monitor and suitable libgio are included" see http://www.murga-linux.com/puppy/viewto ... 603#700603 - practical demo: LxPup by SFS[/edit]

Cheers
peebee
Last edited by peebee on Fri 07 Jun 2013, 19:19, edited 4 times in total.
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#112 Post by mistfire »

This is a great concept. I wonder if you make the layout dialog more KDE or more Windows like, also add a tab which is the counterpart of MY COMPUTER on windows with some volume management options, and add ftp or light samba management. if its roll into one file manager or integrate those in PCmanFM/SpaceFM/Thunar. File Management in Puppy Linux is really much easier and great for those windows refugees.

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

#113 Post by akash_rawal »

mistfire wrote:This is a great concept. I wonder if you make the layout dialog more KDE or more Windows like, also add a tab which is the counterpart of MY COMPUTER on windows with some volume management options, and add ftp or light samba management. if its roll into one file manager or integrate those in PCmanFM/SpaceFM/Thunar. File Management in Puppy Linux is really much easier and great for those windows refugees.
This means implementing a VFS (virtual filesystem) which then means tremendous amount of code.

You can always install gvfs to provide that familiar 'My computer', ftp, and a working trash can. pup-volume-monitor and gvfs can coexist together, provided gvfs was compiled without hal/gdu volume monitor.

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

#114 Post by akash_rawal »

pup-volume-monitor upgraded to version 0.1.14
Changes:
  • Added a g_poll() call on udev monitor's file descriptor, may fix excess CPU usage problem of pup-volume-monitor if it exists.
    (This is associated with udev_monitor_receive_device() not blocking. This was reported by Iguleder here, but I can't reproduce it.)

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

Impact of Raring Puppy "5.7alpha1"

#115 Post by peebee »

Barry's new Raring Puppy "5.7alpha1"
http://bkhome.org/blog2/?viewDetailed=00294

has major changes to device infrastructure/support:
5. Linux kernel 3.9.5, Configured with devtmpfs,
6. Also under-the-hood, udev replaced by eudev.
7. Kmod replaced module-init-tools
Do these changes mean that p-v-m will have to change to be consistent or would a recompile under Raring Puppy "5.7alpha1" be sufficient?

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

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

#116 Post by peebee »

Tried to compile pup-volume-monitor-0.1.14 on Raring Puppy and got the following error report even though Raring Puppy does contain libudev:

Code: Select all

checking for UDEV... no
configure: error: Package requirements (libudev) were not met:

No package 'libudev' found


# cd /lib
# ls -l libudev*
-rw-r--r-- 1 root root 449348 Jun 13 07:54 libudev.a
-rwxr-xr-x 1 root root    933 Jun 13 07:54 libudev.la
lrwxrwxrwx 1 root root     16 Jun 13 08:00 libudev.so -> libudev.so.1.3.0
lrwxrwxrwx 1 root root     16 Jun 13 08:00 libudev.so.1 -> libudev.so.1.3.0
-rwxr-xr-x 1 root root 138873 Jun 13 07:54 libudev.so.1.3.0
Cheers
peebee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#117 Post by BarryK »

peebee,
eudev has the "next generation" libudev, version 1.x, whereas udev as used in Puppy has 0.x -- latter has libudev.so.0*

Note, this change happened when udev merged into systemd.
[url]https://bkhome.org/news/[/url]

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

#118 Post by akash_rawal »

peebee wrote:Tried to compile pup-volume-monitor-0.1.14 on Raring Puppy and got the following error report even though Raring Puppy does contain libudev:

Code: Select all

checking for UDEV... no
configure: error: Package requirements (libudev) were not met:

No package 'libudev' found


# cd /lib
# ls -l libudev*
-rw-r--r-- 1 root root 449348 Jun 13 07:54 libudev.a
-rwxr-xr-x 1 root root    933 Jun 13 07:54 libudev.la
lrwxrwxrwx 1 root root     16 Jun 13 08:00 libudev.so -> libudev.so.1.3.0
lrwxrwxrwx 1 root root     16 Jun 13 08:00 libudev.so.1 -> libudev.so.1.3.0
-rwxr-xr-x 1 root root 138873 Jun 13 07:54 libudev.so.1.3.0
Cheers
peebee
This is related to libudev.pc file.

To test this myself I installed eudev from git repository

I used command ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var for eudev.

Had to do very little to get pup-volume-monitor compile.
  • Move libudev.pc from /lib/pkgconfig to /usr/lib/pkgconfig
  • Replace the custom socket with udev netlink socket (This breaks pup-volume-monitor in lucid puppy 511)
Slacko 5.5 works nearly fine with eudev and pup-volume-monitor. Only my usb modem stopped working..

Overall I'm glad that gentoo developers made very few incompatible changes. So far only lucid puppy is affected with the porting but I think that can be fixed too.

pup-volume-monitor upgraded to 0.1.15
Changes:
  • Replaced custom socket with udev netlink socket

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#119 Post by vicmz »

Compiled pup-volume-monitor-0.1.15 on Precise Puppy 5.7.1, after following all the steps I tried running Geany, when I clicked the 'Save as...' menu Geany crashed and exited (same for other programs). Running PCManFM from terminal:

Code: Select all

sh-4.1# pcmanfm

(pcmanfm:16734): GLib-GObject-WARNING **: Two different plugins tried to register 'PupClientMonitor'.

(pcmanfm:16734): GLib-GObject-WARNING **: Two different plugins tried to register 'PupClientDevice'.

(pcmanfm:16734): GLib-GObject-WARNING **: Two different plugins tried to register 'PupVolumeMonitor'.

(pcmanfm:16734): GLib-GIO-WARNING **: Tried to register an extension of the type (null) to extension point gio-volume-monitor. Expected type is GVolumeMonitor.

(pcmanfm:16734): GLib-GObject-WARNING **: Two different plugins tried to register 'PupClientVolume'.

(pcmanfm:16734): GLib-GObject-CRITICAL **: g_type_add_interface_dynamic: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(pcmanfm:16734): GLib-GObject-WARNING **: Two different plugins tried to register 'PupMount'.

(pcmanfm:16734): GLib-GObject-CRITICAL **: g_type_add_interface_dynamic: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(pcmanfm:16734): GLib-GObject-WARNING **: Two different plugins tried to register 'PupClientDrive'.

(pcmanfm:16734): GLib-GObject-CRITICAL **: g_type_add_interface_dynamic: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(pcmanfm:16734): GLib-GObject-WARNING **: Two different plugins tried to register 'GFamFileMonitor'.

(pcmanfm:16734): GLib-GIO-WARNING **: Tried to register an extension of the type (null) to extension point gio-local-file-monitor. Expected type is GLocalFileMonitor.

(pcmanfm:16734): GLib-GObject-WARNING **: Two different plugins tried to register 'GFamDirectoryMonitor'.

(pcmanfm:16734): GLib-GIO-WARNING **: Tried to register an extension of the type (null) to extension point gio-local-directory-monitor. Expected type is GLocalDirectoryMonitor.

(pcmanfm:16734): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(pcmanfm:16734): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(pcmanfm:16734): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(pcmanfm:16734): GLib-GObject-WARNING **: Two different plugins tried to register 'GProxyDrive'.

(pcmanfm:16734): GLib-GObject-CRITICAL **: g_type_add_interface_dynamic: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(pcmanfm:16734): GLib-GObject-WARNING **: Two different plugins tried to register 'GProxyMount'.

(pcmanfm:16734): GLib-GObject-CRITICAL **: g_type_add_interface_dynamic: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(pcmanfm:16734): GLib-GObject-WARNING **: Two different plugins tried to register 'GProxyShadowMount'.

(pcmanfm:16734): GLib-GObject-CRITICAL **: g_type_add_interface_dynamic: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(pcmanfm:16734): GLib-GObject-WARNING **: Two different plugins tried to register 'GProxyVolume'.

(pcmanfm:16734): GLib-GObject-CRITICAL **: g_type_add_interface_dynamic: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(pcmanfm:16734): GLib-GObject-WARNING **: Two different plugins tried to register 'GProxyVolumeMonitor'.

(pcmanfm:16734): GLib-GObject-WARNING **: Two different plugins tried to register 'GProxyVolumeMonitorGPhoto2'.

(pcmanfm:16734): GLib-GIO-WARNING **: Tried to register an extension of the type (null) to extension point gio-volume-monitor. Expected type is GVolumeMonitor.

(pcmanfm:16734): GLib-GObject-WARNING **: Two different plugins tried to register 'GProxyVolumeMonitorUDisks2'.

(pcmanfm:16734): GLib-GIO-WARNING **: Tried to register an extension of the type (null) to extension point gio-native-volume-monitor. Expected type is GNativeVolumeMonitor.

(pcmanfm:16734): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed

(pcmanfm:16734): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(pcmanfm:16734): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
Segmentation fault
sh-4.1# 
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#120 Post by pemasu »


User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#121 Post by vicmz »

pemasu wrote:vicmz. Dejavu. Start from page 5.

http://www.murga-linux.com/puppy/viewto ... 137#663137
Thanks!
I didn't need to compile the source myself, the glib patch made the latest version work for me on Precise 5.7.1 although it was compiled for Slacko.
Attachments
Screenshot_2013-10-05_16_04_41.png
(41.49 KiB) Downloaded 1296 times
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

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

d-d-i for openbox

#122 Post by peebee »

Here is a modded version of desktop-drive-icons-0.0.5 for use when openbox is the window manager

It hides the d-d-i application from the tray

The change is in an added pinstall.sh

The requirement for the change and the solution was identified by SFR.

It has been tested on LxPup13.10 which uses openbox - and p-v-m.

Cheers
peebee
Attachments
desktop_drive_icons-0.0.5-openbox.pet
(21.87 KiB) Downloaded 714 times
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

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

#123 Post by akash_rawal »

pup-volume-monitor has been added to a subversion repository.

http://pup-volume-monitor.googlecode.com/svn/trunk

Use svn checkout http://pup-volume-monitor.googlecode.com/svn/trunk/ pup-volume-monitor to checkout.

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

#124 Post by peebee »

akash_rawal wrote:Use svn checkout http://pup-volume-monitor.googlecode.com/svn/trunk/ pup-volume-monitor to checkout.
Hi akash

Is it easy to install svn on puppy? Is there a pet?

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

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

#125 Post by 01micko »

peebee,

SVN is on the devx

:)

@akash_rawal, I have a problem generating configure

Code: Select all

# autoconf
configure.ac:8: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:11: error: possibly undefined macro: AM_MAINTAINER_MODE
configure.ac:28: error: possibly undefined macro: AM_CONDITIONAL
# ./configure --prefix=/usr --libdir=/usr/lib64 --sysconfidir=/etc
configure: error: unrecognized option: `--sysconfidir=/etc'
Try `./configure --help' for more information
# ./configure --prefix=/usr --libdir=/usr/lib64                   
./configure: line 2097: syntax error near unexpected token `-Wall'
./configure: line 2097: `AM_INIT_AUTOMAKE(-Wall -Werror foreign silent-rules)'
Puppy Linux Blog - contact me for access

Post Reply