Hunting for a mount-gtk deb

Questions about applications and software
Forum rules
Before you post please read this

Hunting for a mount-gtk deb

Postby roger64 on Sat Aug 27, 2011 8:32 am

Hi

I am experimenting with light desktop environments like Openbox. One of their drawbacks is dealing with mounted volumes, mainly with USB.

My file manager is PCManFM which works well. I complemented it by installing halevt and pmount but still, the results are not enough. While using PartedMagic, I realized that mount-gtk, a front-end for pmount, is very handy. The sources are available here: http://mount-gtk.sourceforge.net/

However, I totally failed to compile it or more exactly to get all the needed dependencies. I found an Ubuntu deb (thru getdeb) but did not succeed too to get it.

So, my question now is : is there somewhere a true Debian mount-gtk 32 bits deb? Could a generous soul produce one?
roger64
Level 4
Level 4
 
Posts: 273
Joined: Wed Jun 01, 2011 5:48 am

Linux Mint is funded by ads and donations.
 

Re: Hunting for a mount-gtk deb

Postby Dyfi on Sat Aug 27, 2011 11:28 am

I am using "gigolo" with an Xfce desktop. It has a simple GUI which will connect USBs. It can be found with Synaptic in the repos. Hope this may help you.

Dyfi.
Dyfi
Level 3
Level 3
 
Posts: 190
Joined: Fri Nov 27, 2009 7:25 am

Re: Hunting for a mount-gtk deb

Postby roger64 on Sat Aug 27, 2011 2:27 pm

Dyfi wrote:I am using "gigolo" with an Xfce desktop. It has a simple GUI which will connect USBs. It can be found with Synaptic in the repos. Hope this may help you.

Dyfi.

@Dyfi

Thanks but gigolo looks very useful for network protocols but does not do what I need. I need a more basic tool. I found Palimpsest (gnome-disk-utility) which can mount and stop USB devices and mount other partitions. A little heavy (it's not its main use) but it does the job. I leave this thread open, who knows...
roger64
Level 4
Level 4
 
Posts: 273
Joined: Wed Jun 01, 2011 5:48 am

Re: Hunting for a mount-gtk deb

Postby viking777 on Sat Aug 27, 2011 2:29 pm

roger64 wrote:Hi

I am experimenting with light desktop environments like Openbox. One of their drawbacks is dealing with mounted volumes, mainly with USB.

My file manager is PCManFM which works well. I complemented it by installing halevt and pmount but still, the results are not enough. While using PartedMagic, I realized that mount-gtk, a front-end for pmount, is very handy. The sources are available here: http://mount-gtk.sourceforge.net/

However, I totally failed to compile it or more exactly to get all the needed dependencies. I found an Ubuntu deb (thru getdeb) but did not succeed too to get it.

So, my question now is : is there somewhere a true Debian mount-gtk 32 bits deb? Could a generous soul produce one?


Like yourself, I like mount-gtk and I have been working on a way of getting it going in LMDE (mine is 64 bit, but it doesn't matter). For your edification I reveal the secret here. It works, but you probably need to be certifiably insane to try and follow it :o .

1) Open Synaptic package manager and install the following packages: pmount, libglib2.0-dev, libgtk-3-dev. This will install a lot of other junk along with it but I don't know a way around this.

2)
Code: Select all
sudo chmod 4755 pmount


3)
Code: Select all
sudo chmod 4755 pumount


You don't have to carry out these two steps, but if you don't then mount-gtk will have to be run with sudo every time you launch it.

4) Visit http://mount-gtk.sourceforge.net

5) Download the latest version of mount-gtk.

6) Find the link to c++-gtk-utils and download this.

7) Go to your download folder and extract the c++-gtk-utils tarball.

8] Open a terminal cd to the folder you have extracted gtk-utils to and run
Code: Select all
./configure && make && sudo make install


9) Go to your Download folder and extract the downloaded mount-gtk tarball.

10) Open a terminal cd to the folder you have extracted mount-gtk to and run
Code: Select all
./configure && make && sudo make install


11) Alt/f2 to get a run dialog and type
Code: Select all
 mount-gtk
press enter and it should launch, then add the usb devices that you want it to be able to mount.

12) If after the install is complete you get an error about a missing file called libcxx-gtk-utils-1.3.so.2 (which I did) then it is not missing, it is just in the wrong place, so copy it from /usr/local/lib to /usr/lib.

The developers of this program should be ashamed of themselves that they have made this simple and useful program so difficult to install, it is like turning the clock back about 10 years when everything was like this - it has taken me hours of trial and error to work this out :cry:
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: Hunting for a mount-gtk deb

Postby roger64 on Sat Aug 27, 2011 4:26 pm

@viking777

Thanks very much for your explanations. I feel compelled to try. You'll find with me a good willing pupil with few gifts.. :D .

I tried to compile the first item. I can't fulfill the " Library requirements (gtk+-3.0 >= 2.90.0) not met;" and stopped right here. I could not install previously the libgtk-3-dev software because of some dependency hell (not yet in incoming...). Really seems like an overkill for me for such a tiny stuff.

Code: Select all
roger@roger-laptop ~ $ cd /home/roger/Bureau/c++-gtk-utils-2.0.0-rc5/
roger@roger-laptop ~/Bureau/c++-gtk-utils-2.0.0-rc5 $ ./configure && make && sudo make install
checking for a BSD-compatible install... /usr/bin/install -c
.../...
checking GLIB_LIBS... -lglib-2.0 
checking for gtk+-3.0 >= 2.90.0... no
configure: error: Library requirements (gtk+-3.0 >= 2.90.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

roger64
Level 4
Level 4
 
Posts: 273
Joined: Wed Jun 01, 2011 5:48 am

Re: Hunting for a mount-gtk deb

Postby sumski on Sun Aug 28, 2011 2:02 am

@roger64

http://mount-gtk.sourceforge.net/ChangeLog

you can pass
-with-gtk-version=gtk2 or -with-gtk-version=gtk3 argument in ./configure - you don't need to use gtk3

EDIT:
apologies - i didn't see you where trying to compile gtk-utils :oops: - but:
NOTE: In c++-gtk-utils-1.2.14 and c++-gtk-utils-2.0.0-rc5, './configure' will now prepare the library for compilation against GTK+3. To compile the library against GTK+2, use './configure-gtk2'.
Acer Extensa 5630G - Core2Duo T5800 2GHz , 4 GB ram, Ati Mobility 3650.
OpenSUSE 12.1 KDE 4.7.3
Debian Sid KDE 4.7.1/2
User avatar
sumski
Level 3
Level 3
 
Posts: 109
Joined: Fri Nov 26, 2010 6:36 am
Location: Zagreb, Croatia

Re: Hunting for a mount-gtk deb

Postby roger64 on Sun Aug 28, 2011 3:03 am

@sumski

I tried this. Meeting stubborn resistance. :D
Code: Select all
roger@roger-laptop ~ $ cd /home/roger/Bureau/c++-gtk-utils-2.0.0-rc5/
roger@roger-laptop ~/Bureau/c++-gtk-utils-2.0.0-rc5 $ ./configure-gtk2
checking for a BSD-compatible install... /usr/bin/install -c
.../...
checking for glib-2.0 >= 2.10.0... yes
checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
checking GLIB_LIBS... -lglib-2.0 
checking for gtk+-2.0 >= 2.10.0... no
configure-gtk2: error: Library requirements (gtk+-2.0 >= 2.10.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
roger@roger-laptop ~/Bureau/c++-gtk-utils-2.0.0-rc5 $
roger64
Level 4
Level 4
 
Posts: 273
Joined: Wed Jun 01, 2011 5:48 am

Re: Hunting for a mount-gtk deb

Postby viking777 on Sun Aug 28, 2011 5:50 am

roger64 wrote:@viking777

Thanks very much for your explanations. I feel compelled to try. You'll find with me a good willing pupil with few gifts.. :D .

I tried to compile the first item. I can't fulfill the " Library requirements (gtk+-3.0 >= 2.90.0) not met;" and stopped right here. I could not install previously the libgtk-3-dev software because of some dependency hell (not yet in incoming...). Really seems like an overkill for me for such a tiny stuff.



Sure enough, if you can't complete step 1 then you are not going to get much further with the rest of it :lol:

Don't know why you can't complete step 1 though. I am using 'incoming' as well and libgtk-3-dev came straight out of the synaptic package manager (along with a lot of other cruft grant you) but it installed with no assistance from me so I don't know why it wont for you.

You are right though, it is a very complicated routine for such a small program and btw I should tell you right now that Patrick Verner is CONSIDERABLY brighter than I am, and the way he implements mount-gtk in Pmagic is unique to that distro, it is not how it works when installed anywhere else. (I refer to the continual updating of plugged/removed devices) so you would probably be disappointed with how it works even if you did get it installed. You have to tell it the device address (dev/sdd1 for example) of any device before it will mount it for you, it is by no means an automatic process as in PMagic. The trouble with this is that you don't always know that information without looking for it and it doesn't always remain the same. I did once find a post where Mr. Verner explained how he made his mount-gtk 'magic' happen. I can't find it now, but it is out there somewhere. Suffice to say I couldn't even understand his explanation let alone implement it :( .

I did this install for myself because I hate to be beaten by a machine (though I frequently am) but in reality I don't use the program that much, I just replace the fairly useless Nautilus with Dolphin and that manages usb mount/unmount perfectly. I see you are using PCManFm, I don't know how well that does the job as I haven't used it in a while. Incidentally, you don't have to use KDE to run Dolphin btw it works anywhere, although naturally it needs a few KDE libs to work but it is the best file manager around at the moment imho.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: Hunting for a mount-gtk deb

Postby roger64 on Sun Aug 28, 2011 11:02 am

@viking777

Yes the use of mount-gtk in PartedMagic is quite fine. I looked for some explanations and found this. However he says the way he uses it is convenient for a live CD but it probably would not be so for, say, Debian because it checks mkfstab every 10 seconds.

Dolphin is too greedy as far as dependencies are concerned (for a light desktop environment user).
Code: Select all
Il est nécessaire de prendre 87,3 Mo dans les archives.
Après cette opération, 224 Mo d'espace disque supplémentaires seront utilisés.


about libgtk-3-dev failure to install

Code: Select all
roger@roger-laptop ~ $ sudo apt-get install libgtk-3-dev
[sudo] password for roger:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :

Les paquets suivants contiennent des dépendances non satisfaites :
 libgtk-3-dev : Dépend: libpango1.0-dev (>= 1.24) mais ne sera pas installé
                Dépend: libcairo2-dev (>= 1.9.10) mais ne sera pas installé
E: Paquets défectueux
roger64
Level 4
Level 4
 
Posts: 273
Joined: Wed Jun 01, 2011 5:48 am

Re: Hunting for a mount-gtk deb

Postby viking777 on Sun Aug 28, 2011 11:51 am

I looked for some explanations and found this


That was the post I read yes, I knew there was a reason I didn't pursue it further.

As to
vous avez demandé l'impossible
Your package manager is lying to you, I have both of those packages installed from a standard set of sources. Still given what Patrick Verner said, it probably isn't worth going to the trouble of finding out why it works for me but not you.

Edit. Although I am on a 64bit system and you are not so maybe that is the difference who knows?
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 3 guests