Re: [DNG] Hopman and inotify

2021-06-29 Thread Didier Kryn
Le 13/06/2021 à 23:29, Haines Brown a écrit :
> I tried hopman some years ago and loved it, But when installed on a 
> new machine failed copy the code. Would anyone indulge me by pointing 
> to a link to the current stete of the application?
>
    "Legacy" hopman is back on gitlab, at
https://git.devuan.org/kryn/hopman .
The executable is now named /usr/bin/hopman-GTK2, and a symbolic link to
it is created in the same directory with the name hopman.

    To build and install it, first retrieve it from
https://git.devuan.org/kryn/hopman  ;
    Make sure you have the GTK+-2 library installed, eg libgtk-2.0 and
libgtk-2.0-dev;
    then go to the subdirectory hopman-1.1;
    make && sudo make install && make cleanall

    Declare hopman as autostarted application of your desktop session.
Alternatively run it from the application menu (submenu: system).

    In the default configuration, hopman uses the following applications
to perform the requested actions: pmount, pumount, thunar,
xfce4-terminal. This is all customizable: read man hopmanrc.

    To uninstall, 'sudo make uninstall'

--     Didier


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Hopman and inotify

2021-06-15 Thread Didier Kryn
Le 13/06/2021 à 23:29, Haines Brown a écrit :
> I tried hopman some years ago and loved it, But when installed on a 
> new machine failed copy the code. Would anyone indulge me by pointing 
> to a link to the current stete of the application?
>
    I've not followed the change in git repository of Devuan. In the
mean time i tried to put into the same source tree all the files
necessary for internationalization and didn't find a satisfactory way to
do it.

    I have some work to do to clean up the tree from
internationalization files and correct a little bug. Then I should push
the tree to the new git repository. Then I will let you know. I have
been lazy during the two last years. Motivation is back but I'm
currently travelling.

--     Didier


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Hopman and inotify

2021-06-13 Thread aitor

Hi again,

On 14/6/21 1:52, aitor wrote:


Hi Haines,

On 13/6/21 23:29, Haines Brown wrote:

I tried hopman some years ago and loved it, But when installed on a
new machine failed copy the code. Would anyone indulge me by pointing
to a link to the current stete of the application?

One of the tasks pending to be done in the current state is to load
a config file. Didier did the job in the annex directory, but the new
interface only works with the following programs so far (until new 
commits):


- pmount

- spacefm (as file manager)

- eject

You can download the packages from gnuinos.org (*only* for beowulf):

http://packages.gnuinos.org/gnuinos/pool/main/h/ 



or, if you prefer so, build the sources from the git repository 
(mandatory in chimaera):


https://gitea.devuan.dev/aitor_czr/hopman 



If you are using another different file manager, you can replace the 
strings:


"spacefm --new-tab"

"spacefm --new-window"

in menu.cpp:

https://gitea.devuan.dev/aitor_czr/hopman/src/branch/master/hopman-1.0/gtkmm/menu.cpp 



according to your needs, before building the sources.

Don't forget to install the above runtime dependencies together with 
inotify. They aren't included in debian/control.


Aitor.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Hopman and inotify

2021-06-13 Thread aitor

Hi Haines,

On 13/6/21 23:29, Haines Brown wrote:

I tried hopman some years ago and loved it, But when installed on a
new machine failed copy the code. Would anyone indulge me by pointing
to a link to the current stete of the application?

One of the tasks pending to be done in the current state is to load
a config file. Didier did the job in the annex directory, but the new
interface only works with the following programs so far (until new 
commits):


- pmount

- spacefm (as file manager)

- eject

You can download the packages from gnuinos.org (*only* for beowulf):

http://packages.gnuinos.org/gnuinos/pool/main/h/ 



or, if you prefer so, build the sources from the git repository 
(mandatory in chimaera):


https://gitea.devuan.dev/aitor_czr/hopman 



If you are using another different file manager, you can replace the 
strings:


"spacefm --new-tab"

"spacefm --new-window"

in menu.cpp:

https://gitea.devuan.dev/aitor_czr/hopman/src/branch/master/hopman-1.0/gtkmm/menu.cpp 



according to your needs, before building the sources.

Cheers,

Aitor.



___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Hopman and inotify

2021-06-13 Thread Haines Brown
I tried hopman some years ago and loved it, But when installed on a 
new machine failed copy the code. Would anyone indulge me by pointing 
to a link to the current stete of the application?

-- 
Haines Brown  
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Hopman and inotify

2021-06-13 Thread aitor

Hi,

On 13/6/21 20:44, Steve Litt wrote:

My suggestion would be to handle those with a separate tool. Do one
thing and do it right.

+1
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Hopman and inotify

2021-06-13 Thread Antoine via Dng

On Sunday, 13 June at 12:26, Hendrik Boom wrote:

On Sun, Jun 13, 2021 at 09:16:46AM +0200, tito via Dng wrote:

On Sat, 12 Jun 2021 15:35:56 -0400
Steve Litt  wrote:

> Hi all,
>
> I think inotify is the best foundation for a usb plugin/plugout
> detector. I used it in my early 2015 proof of concept proving that
> Poettering's socket activation was overkill and could be accomplished
> much less intrusively with inotify.
>
> As far as I know, Hopman's only usage is to mount thumb drives and USB
> connected SATA drives.

Hi,
don't forget smartphones there are billions far more than thumb drives
and  USB SATA drives.


Android devices mount maturally as MTP (music transfer protocol) devices.
But it may be more useful to access them with adb (android debug something).
Has anyone invented an android-debug user file system yet for examining
an android file system from outside?

-- hendrik

There's android-file-transfer. It can be a little awkward, but it works well 
enough for me. YMMV, of course.


- Antoine



Ciao,
Tito


--
Any technology, no matter how primitive,
is magic to those who don't understand it.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Hopman and inotify

2021-06-13 Thread Steve Litt
Didier Kryn said on Sun, 13 Jun 2021 18:27:25 +0200


>    Yep, hopman's gui provides buttons to mount/umount/open everything
>which can be handled through the disk paradigm. But what to do with
>things which cannot? What are the tools (helpers in hopman's parlance)
>to handle those?

My suggestion would be to handle those with a separate tool. Do one
thing and do it right.

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Hopman and inotify

2021-06-13 Thread Didier Kryn
Le 13/06/2021 à 09:16, tito via Dng a écrit :
> On Sat, 12 Jun 2021 15:35:56 -0400
> Steve Litt  wrote:
>
>> Hi all,
>>
>> I think inotify is the best foundation for a usb plugin/plugout
>> detector. I used it in my early 2015 proof of concept proving that
>> Poettering's socket activation was overkill and could be accomplished
>> much less intrusively with inotify.
>>
>> As far as I know, Hopman's only usage is to mount thumb drives and USB
>> connected SATA drives. 
> Hi,
> don't forget smartphones there are billions far more than thumb drives
> and  USB SATA drives.

    Yep, hopman's gui provides buttons to mount/umount/open everything
which can be handled through the disk paradigm. But what to do with
things which cannot? What are the tools (helpers in hopman's parlance)
to handle those?

--     Didier


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Hopman and inotify

2021-06-13 Thread Hendrik Boom
On Sun, Jun 13, 2021 at 09:16:46AM +0200, tito via Dng wrote:
> On Sat, 12 Jun 2021 15:35:56 -0400
> Steve Litt  wrote:
> 
> > Hi all,
> > 
> > I think inotify is the best foundation for a usb plugin/plugout
> > detector. I used it in my early 2015 proof of concept proving that
> > Poettering's socket activation was overkill and could be accomplished
> > much less intrusively with inotify.
> > 
> > As far as I know, Hopman's only usage is to mount thumb drives and USB
> > connected SATA drives. 
> 
> Hi,
> don't forget smartphones there are billions far more than thumb drives
> and  USB SATA drives.

Android devices mount maturally as MTP (music transfer protocol) devices.
But it may be more useful to access them with adb (android debug something).
Has anyone invented an android-debug user file system yet for examining 
an android file system from outside?

-- hendrik

> 
> Ciao,
> Tito
> 
> > If that's the case, filtering the inotify event
> > stream should be fairly straightforward. Once detection is
> > accomplished, functions, callbacks or objects can be used to
> > accomplish the proper action.
> > 
> > SteveT
> > 
> > Steve Litt 
> > Spring 2021 featured book: Troubleshooting Techniques of the
> > Successful Technologist http://www.troubleshooters.com/techniques
> > ___
> > Dng mailing list
> > Dng@lists.dyne.org
> > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> 
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Hopman and inotify

2021-06-13 Thread aitor

Hi Tito,

On 13/6/21 9:16, tito via Dng wrote:

don't forget smartphones there are billions far more than thumb drives
and  USB SATA drives.


We'll take it on board :)

Aitor.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Hopman and inotify

2021-06-13 Thread tito via Dng
On Sat, 12 Jun 2021 15:35:56 -0400
Steve Litt  wrote:

> Hi all,
> 
> I think inotify is the best foundation for a usb plugin/plugout
> detector. I used it in my early 2015 proof of concept proving that
> Poettering's socket activation was overkill and could be accomplished
> much less intrusively with inotify.
> 
> As far as I know, Hopman's only usage is to mount thumb drives and USB
> connected SATA drives. 

Hi,
don't forget smartphones there are billions far more than thumb drives
and  USB SATA drives.

Ciao,
Tito

> If that's the case, filtering the inotify event
> stream should be fairly straightforward. Once detection is
> accomplished, functions, callbacks or objects can be used to
> accomplish the proper action.
> 
> SteveT
> 
> Steve Litt 
> Spring 2021 featured book: Troubleshooting Techniques of the
> Successful Technologist http://www.troubleshooters.com/techniques
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng