Mut2 GUI in the works (GTK+)
Mut2 GUI in the works (GTK+)
Hello,
I've got some time up my sleeves at the moment, and I thought I'd have a go at building a GTK+ GUI for mut2.
Here is a twigs and sticks in a box version, it doesn't do very much at the moment.
I'm posting this here for some feedback, as I'm not sure what the finished application should look like.
If you're curious to take it for a spin, download and extract the archive and run (click on) the extracted application file named "mut_gui". You will need to be running a 4.x version of puppy, one that has mut as an option in PMount, as mut2 itself is not included in this download.
Once you've tried it out, just delete it, nothing to install/uninstall.
Jesse
I've got some time up my sleeves at the moment, and I thought I'd have a go at building a GTK+ GUI for mut2.
Here is a twigs and sticks in a box version, it doesn't do very much at the moment.
I'm posting this here for some feedback, as I'm not sure what the finished application should look like.
If you're curious to take it for a spin, download and extract the archive and run (click on) the extracted application file named "mut_gui". You will need to be running a 4.x version of puppy, one that has mut as an option in PMount, as mut2 itself is not included in this download.
Once you've tried it out, just delete it, nothing to install/uninstall.
Jesse
- Attachments
-
- mut_gui-test001.tar.gz
- contains mut2 gui binary application 'mut_gui'
- (49.3 KiB) Downloaded 518 times
boxpup 4.13 (xfce)
From my Athlon 2+ Ghz (monster) PC:
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Looking nice, could it be possible to have the amount of free space, and maybe use mount, unmount icons and maybe the rox icon like pmount does?, just an idea, I always like graphics better than words and since we already have lots of icons in puppy, just would be nice to dress it up a bit.
Mut has always been old reliable, if pmount fails, mut usually always takes care of it Great program:) probably in the top 5 of best puppy applications.
ttuuxxx
Mut has always been old reliable, if pmount fails, mut usually always takes care of it Great program:) probably in the top 5 of best puppy applications.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
I got big butts and I cannot lie........choose yer backend..
ps..those desktop icons don't like my vfat hda1 but pmount does
mike
ps..those desktop icons don't like my vfat hda1 but pmount does
mike
- Attachments
-
- pmount.png
- (39.38 KiB) Downloaded 1103 times
Hi Puppians,
Thanks for the feedback, I've been trying to get my head around some of the things that is going on with the GTK+ library, it seems that there is a buggy component in the GTK+ library, the GtkIconView in conjunction with a GtkTreeStore, which would have made it very easy for me to make it look like what mikeb has suggested.
It seems that adding in graphics shouldn't be too hard.
I must admit that the GTK+ library has some quite confusing aspects, it doesn't quite come across as "easy to use", except for a few of the more trivial things, I'm wondering if there is something out there that is more aligned with "easy to use"?
Jesse
Thanks for the feedback, I've been trying to get my head around some of the things that is going on with the GTK+ library, it seems that there is a buggy component in the GTK+ library, the GtkIconView in conjunction with a GtkTreeStore, which would have made it very easy for me to make it look like what mikeb has suggested.
It seems that adding in graphics shouldn't be too hard.
I must admit that the GTK+ library has some quite confusing aspects, it doesn't quite come across as "easy to use", except for a few of the more trivial things, I'm wondering if there is something out there that is more aligned with "easy to use"?
Jesse
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Well was programming languages go, the next big thing is Vala and genie, Barry, Mu, are right into it now, Here's a few links
http://www.murga-linux.com/puppy/viewtopic.php?t=39560
http://www.puppylinux.com/blog/?viewDetailed=00595
http://www.puppylinux.com/blog/?viewDetailed=00810 <--- example of a basic text editor.
ttuuxxx
http://www.murga-linux.com/puppy/viewtopic.php?t=39560
http://www.puppylinux.com/blog/?viewDetailed=00595
http://www.puppylinux.com/blog/?viewDetailed=00810 <--- example of a basic text editor.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Well that was made with gtkdialog...a bit quirky but only 3k as most of the work is done in the backends and mut is a particularily good one...fast too. I tried gtk-server for a while but has it's own oddities but is more like working with the oroginal gtk2 calls. The need to redraw is a drawback using these methods though the refresh was doen to about half a second.
Also missing out the redundant mount button for dev_save but leaving a rox button seemed a worthwhile simplification. The above was meant to be family friendly.
Tk/tcl...always seemed like chinese to me ...just slight modifications brought me out in a rash.
Another thought was to have an autorefreshing pmount (or whatever) instead of the desktop icons....one application does all idea...only redrawing when something changed....or something in the taskbar?
mike
Also missing out the redundant mount button for dev_save but leaving a rox button seemed a worthwhile simplification. The above was meant to be family friendly.
Tk/tcl...always seemed like chinese to me ...just slight modifications brought me out in a rash.
sounds promising..something fresh.Vala and genie
Another thought was to have an autorefreshing pmount (or whatever) instead of the desktop icons....one application does all idea...only redrawing when something changed....or something in the taskbar?
mike
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Hey mike care to share your creation ? Maybe tar.gz it up and let me have a play with it? looks good.mikeb wrote:Well that was made with gtkdialog...a bit quirky but only 3k as most of the work is done in the backends and mut is a particularily good one...fast too. I tried gtk-server for a while but has it's own oddities but is more like working with the oroginal gtk2 calls. The need to redraw is a drawback using these methods though the refresh was doen to about half a second.
Also missing out the redundant mount button for dev_save but leaving a rox button seemed a worthwhile simplification. The above was meant to be family friendly.
Tk/tcl...always seemed like chinese to me ...just slight modifications brought me out in a rash.sounds promising..something fresh.Vala and genie
Another thought was to have an autorefreshing pmount (or whatever) instead of the desktop icons....one application does all idea...only redrawing when something changed....or something in the taskbar?
mike
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Re: Mut2 GUI in the works (GTK+)
Hi JesseJesse wrote:Hello,
I've got some time up my sleeves at the moment, and I thought I'd have a go at building a GTK+ GUI for mut2.
Jesse
I've been updating 2.14.1R and it uses MUT, the forum members have a couple of small issues with it, and I was wondering if maybe you could look at the issues?
Quote"6. MUT still returns a messy screen if you have volume labels. As shown in previous messages of mine.
7. MUT still doesn't show any partitions over hda9 (as previously reported) "
Here a picture of his "messy screen" his names of his partitions get written over by volume size, and like he said, he doesn't see 2 other partitions
Thanks for your time
ttuuxxx
- Attachments
-
- messy_mut.jpg
- (31.45 KiB) Downloaded 1001 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
ok think this was it..on simplepup so cannot verify but was made for 2.12
mike
mike
- Attachments
-
- mut.tcl.gz
- (11.42 KiB) Downloaded 445 times
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Thanks mike I'll give it to the forum member with the issues, probably should of given you the newer themed version that we are using in 2.14.1X lol it took hours to theme, change all the fonts and spaces etc.mikeb wrote:ok think this was it..on simplepup so cannot verify but was made for 2.12
mike
oh well
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Re: Mut2 GUI in the works (GTK+)
Hi Ttuuxx,ttuuxxx wrote:Hi Jesse
I've been updating 2.14.1R and it uses MUT, the forum members have a couple of small issues with it, and I was wondering if maybe you could look at the issues?
Quote"6. MUT still returns a messy screen if you have volume labels. As shown in previous messages of mine.
7. MUT still doesn't show any partitions over hda9 (as previously reported) "
Here a picture of his "messy screen" his names of his partitions get written over by volume size, and like he said, he doesn't see 2 other partitions
Thanks for your time
ttuuxxx
Have you tried this version of mut? It has a vertical scroll bar and possibly other fixes/updates in it too.
http://www.murga-linux.com/puppy/viewto ... 892#183158
Jesse
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Re: Mut2 GUI in the works (GTK+)
Hi I did the fix posted on that thread and packaged it up for the boys with the large partition numbers to try.Jesse wrote:Hi Ttuuxx,ttuuxxx wrote:Hi Jesse
I've been updating 2.14.1R and it uses MUT, the forum members have a couple of small issues with it, and I was wondering if maybe you could look at the issues?
Quote"6. MUT still returns a messy screen if you have volume labels. As shown in previous messages of mine.
7. MUT still doesn't show any partitions over hda9 (as previously reported) "
Here a picture of his "messy screen" his names of his partitions get written over by volume size, and like he said, he doesn't see 2 other partitions
Thanks for your time
ttuuxxx
Have you tried this version of mut? It has a vertical scroll bar and possibly other fixes/updates in it too.
http://www.murga-linux.com/puppy/viewto ... 892#183158
Jesse
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Yay! I've been able to get past some tricky aspects of the GTK+, the biggest issue I had was with having used some code from a tutorial example that didn't actually work. Well to be fair it all seemed very reasonable but didn't work as expected. Anyway I now seem to have popup menus working and hopefully I'm not leaking handles or memory. So I'll probably be able to make a gui version soon that works nicely (mount, unmount, etc...) and has a nice icon view too.
So I am now wondering about the visual content of icons to be used. This is possibly my trickiest problem to date
If I have an icon display where a physical drive has an icon of that drive (sda), what should the icon picture be for a partition on that same drive (sda1)?
The reason for the distinction between drive and partition is that mut can go in the direction of issuing commands to the drive, i.e. enter power saving sleep mode, eject the media, tray close, multimedia cd drive commands play/next/pause/stop.
Jesse
So I am now wondering about the visual content of icons to be used. This is possibly my trickiest problem to date
If I have an icon display where a physical drive has an icon of that drive (sda), what should the icon picture be for a partition on that same drive (sda1)?
The reason for the distinction between drive and partition is that mut can go in the direction of issuing commands to the drive, i.e. enter power saving sleep mode, eject the media, tray close, multimedia cd drive commands play/next/pause/stop.
Jesse