Mut2 GUI in the works (GTK+)

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#21 Post by ttuuxxx »

Hi jesse well it work for people with small screens? like a scrollbar? They guys really like your scrollbar :).
The way your describing it sounds great, but is it going to be a movie player also? Really that would be idea,lol and get rid of gxine. I guess it would have to do with the layout, like the last one with the scrollbars is better, the only thing is that the had drive name, gets text written over the top of it
http://www.murga-linux.com/puppy/viewto ... h&id=19519
also here's a image what I did to your mut before :) changed the icons and background and fonts + colors.
Maybe if we had a mockup or test model, that could help to vision it better :)

ttuuxxx
Attachments
mut.jpg
(46 KiB) Downloaded 823 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Jesse
Posts: 466
Joined: Sun 08 May 2005, 16:07
Location: Auckland, NZ

#22 Post by Jesse »

ttuuxxx wrote:Hi jesse well it work for people with small screens? like a scrollbar? They guys really like your scrollbar :).
...
Hi ttuuxx,
Attached is a screenshot of the IconView and menu I mentioned, there is a tab at the top for icon view, and list view. Yes I hope this gui will be usable on a screen of any size (320x200 and bigger).
There are a few quirks with clicking icons that I hope to sort out before posting another executable.
I love what you did with the color scheme to the 0.1.1 mut, that is very stylish.
LOL, yes I wish I were so talented that you could play the DVD movies in the Mut gui... theres still bugs to fix in that gxine for sure!
Jesse
Attachments
mut_gui_1.png
Icon View example with popup menu showing
(22.24 KiB) Downloaded 836 times

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#23 Post by ttuuxxx »

Thats cool , When ever its ready for testing the guys in the 2.14.1X thread like testing your work :)
Here's the mut that You liked the icons/theme, So far for the next 2.14.1X well be including the last one with the scrollbars :) that one is working the best for them.
ttuuxxx
Attachments
zTest-Mut.pet
(50.12 KiB) Downloaded 345 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#24 Post by mikeb »

Square with scroll bars..the way to go....don't want to have to use multiple monitors to display it :D

I selected/cleared the background of the mut icons and the give them a little drop shadow and saved as png....

mike

Jesse
Posts: 466
Joined: Sun 08 May 2005, 16:07
Location: Auckland, NZ

mut_gui update - test 2

#25 Post by Jesse »

Hello,

Time for an update!
I've got a few things up and working nicely. Personally I'd consider this version to be just a testing evaluation edition, but the interface should be quite useable.

The attached file contains the binary executable 'mut_gui', plus a directory containing the icons that get displayed.
The Icons can be changed to different file types, e.g. .ppm .png etc... as long as it is a filetype supported bt GTK, and that should be pretty much anything. Make sure that the file has the correct extension for its contents.

As before, just extract the archive to a temporary directory, and click on 'mut_gui' to run it.

When you run the gui, it will figure out where its icon directory is by searching through these paths in order. The last rule selects the current directory.
/usr/local/share/mut/icon/
/usr/share/mut/icon/
/usr/local/mut/icon/
/usr/mut/icon/
~/.usr/local/share/mut/icon/
~/.usr/share/mut/icon/
~/.usr/local/mut/icon/
~/.usr/mut/icon/
~/icon/
./icon/

Let me know what you think of this edition. Things to change/add/remove etc...

Hey mikeb,
Perhaps you'd like to test out those icons that you made?

Jesse
Attachments
mut_gui-test2.tar.gz
Mut Gui test #2, contains binary app, and some icons.
(50.63 KiB) Downloaded 390 times

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#26 Post by ttuuxxx »

Hi Jesse It didn't work for me, The error is below
I tried these directories
/usr/share/mut/icon/
/usr/local/mut/icon/
/usr/mut/icon/

Maybe you could package it already in a working directory like pets come in?
thanks for your continued efforts
ttuuxxx
Attachments
mut.jpg
(16.5 KiB) Downloaded 723 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Jesse
Posts: 466
Joined: Sun 08 May 2005, 16:07
Location: Auckland, NZ

#27 Post by Jesse »

ttuuxxx wrote:Hi Jesse It didn't work for me, The error is below
I tried these directories
/usr/share/mut/icon/
/usr/local/mut/icon/
/usr/mut/icon/

Maybe you could package it already in a working directory like pets come in?
thanks for your continued efforts
ttuuxxx
Hi ttuuxx,
The error message is saying that it can't find the mut service binary application, which is usually at /usr/sbin/mut. The mut_gui application uses the /bin/which command to locate mut. Perhaps if you are running as user other than root this could fail? Perhaps if mut is not already on your edition of puppy linux this could fail?
I don't think I changed how that worked since the first test executable.

If it was installed the mut_gui would probably go in a location like /usr/local/bin, and the icons in /usr/local/share/mut/icon.

Is there a definitive guide on how to make a .pet file?

Jesse

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#28 Post by Lobster »

Jesse wrote: Is there a definitive guide on how to make a .pet file?
Jesse
. . . may be other stuff . . .
http://www.puppylinux.com/development/createpet.htm
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#29 Post by ttuuxxx »

Hi Jesse the first one didn't work when I tried it before also
I'm using 2.14.1X that comes with mut 1.1 and that works fine, I did ldd to see if anything was missing and nothing was missing, I then followed your install location and tried it again and the same error message.

To make a pet file basically you make a folder say the folders name is mut and its located in root.
/root/mut/
so in the mut folder, make the needed folders like
/usr/local/bin
/usr/local/share/mut/icon
/usr/local/share/applications/ mut.desktop <-- place your .desktop file there

place your files to where they should be
then open a terminal and type
dir2pet /root/mut
and follow the instructions

If you would like to try 2.14.1Xv4 the one I've been working on for about 2 months now,lol the download link is at the top of this page
http://www.murga-linux.com/puppy/viewtopic.php?t=42553


I made the pet below for you to see the structure just rename it from .pet to .tar.gz and click on it to extract it, It will give you a few errors but that's normal in the extraction.
ttuuxxx
Attachments
mut-v2.pet
(51.25 KiB) Downloaded 349 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Jesse
Posts: 466
Joined: Sun 08 May 2005, 16:07
Location: Auckland, NZ

#30 Post by Jesse »

ttuuxxx wrote:Hi Jesse the first one didn't work when I tried it before also
I'm using 2.14.1X that comes with mut 1.1 and that works fine, I did ldd to see if anything was missing and nothing was missing
Oh right! You mean Puppy Linux 2.14... now I'm with you. And that explains why its not working. The mut_gui program I'm writing does not scan any hardware, it uses the mut v.2 tool to do that, displays the information, and allows the commands. The mut v.2 tool is part of Puppy Linux 4.x, but not part of Puppy Linux 2.x.

Just to be clear: mut_gui is a "front end", and mut is the "back end", mut_gui shows a X Windows interface and takes user input, mut is a service daemon that keeps track of hardware disk/drives/media, there is inter-process communication at work, so that every time that the front end asks the back end for hardware information, usually it just comes directly from memory and is a very fast operation, which prevents the gui from locking up on potentially time consuming hardware related operations.

The mut and mut_gui ought to be able to work on the earlier Puppy Linux versions 2.x and 3.x where the 2.6.x Linux Kernel is used, all the gtk+ is installed, and the sysfs filesystem is mounted on /sys. But I haven't tried this yet, and I haven't made a .pet for it either.

Jesse

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#31 Post by mikeb »

Ok tried in puppy 4.12..same problem of mut2 not found.
Puppy 4 has mut so I made a symlink called mut2..same error.
Running which finds mut and mut2 ok.
lost and dazed at this point

mike

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#32 Post by ttuuxxx »

Actually I looked also and couldn't find mut2 in puppy 4, hey jesse if you you make a new mut up could you call it mut3, lol the way I have 2.14X setup it uses mut bin from series 4 and mut2 is the actual mut-gui launcher for 1.1, I'm now using Pmount from series 4, and mut from series 2 rethemed etc. What happened I guess is that Barry dropped mut tcl in series and used the mut bin for pmount, and that bin should of been renamed mut2 or something else, but since the mut tcl and all tcl scripts were dropped it never got rename and hence, we get all this mut mess, lol
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#33 Post by mikeb »

we get all this mut mess
life's a pooch.....

Jesse
Posts: 466
Joined: Sun 08 May 2005, 16:07
Location: Auckland, NZ

#34 Post by Jesse »

Ok... Heres a .pet file that should have a much better chance of running.

Its got the latest builds of mut, mut_gui. Installs an icon in the filesystem menu - "MUT Media Utility Tool v2".
The install and uninstall (via package manager) seems to be working on my Puppy Linux 4.11, so I think I've got it all correctly built.

Let me know if its working for you, and if it works on 2.14... too.

Jesse

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#35 Post by ttuuxxx »

Sorry Jesse its looking for mut2 which in 2.14 thats the gui for mut1.1

this is the error

MUT2 Uh-Oh Problem
Action: "find mut2 binary file"
Error: "execve() failed on '/bin/which' error: 2:No such file or directory"
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Jesse
Posts: 466
Joined: Sun 08 May 2005, 16:07
Location: Auckland, NZ

#36 Post by Jesse »

ttuuxxx wrote:Sorry Jesse its looking for mut2 which in 2.14 thats the gui for mut1.1

this is the error

MUT2 Uh-Oh Problem
Action: "find mut2 binary file"
Error: "execve() failed on '/bin/which' error: 2:No such file or directory"
ttuuxxx
Hi ttuuxx,
I'm not sure why I didn't notice it before, the error message is actually saying that /bin/which is a non-existent filename.
Actually in this latest .pet file, the mut binary application is now named mutdaemon, so its not going to conflict with previous mut editions.
Possibly some file has not been updated when you installed the latest .pet file, or there is no /bin/which, or possibly there is some other weird thing going on with paths, mount points, environment settings or locations of executables... I'll see if I've got a 2.x series Puppy around here to try it with.
Jesse

Jesse
Posts: 466
Joined: Sun 08 May 2005, 16:07
Location: Auckland, NZ

#37 Post by Jesse »

ttuuxxx wrote:Sorry Jesse its looking for mut2 which in 2.14 thats the gui for mut1.1

this is the error

MUT2 Uh-Oh Problem
Action: "find mut2 binary file"
Error: "execve() failed on '/bin/which' error: 2:No such file or directory"
ttuuxxx
Yup! for some reason which isn't in /bin. heres a quick cheat to get it working:

Code: Select all

cd /bin
ln -s `which which` which
I did this and then it worked on Puppy 2.13 for me...
Attachments
mut-test-3.png
(28.46 KiB) Downloaded 784 times

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#38 Post by ttuuxxx »

Finally that which which which thing worked :)
It open and displayed like your image, mut kept searching the hard drive and when I clicked on the icons nothing happened, no folders, mount unmount etc, just the images, the second tab showed some nice detail on my partitions but didn't open anything when clicked.
well great its a start :)
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Jesse
Posts: 466
Joined: Sun 08 May 2005, 16:07
Location: Auckland, NZ

#39 Post by Jesse »

ttuuxxx wrote:Finally that which which which thing worked :)
It open and displayed like your image, mut kept searching the hard drive and when I clicked on the icons nothing happened ...
Hi, the menu with the options is on the right click for the selected icon.
Jesse

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#40 Post by ttuuxxx »

oh ok, lol
now I can view the folders :)
the only thing is that while its running I can hear that its scanning my hard drive or could be floppy, non-stop, It I leave it open for 10 mins, it scans for 10 mins, like its stuck in a scan loop.
other than that it looks like it works.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Post Reply