PDA

View Full Version : GRUB appearance improvement?



Pages : [1] 2

MG&TL
July 22nd, 2011, 06:11 PM
Recently, at my school, I used an Apple Mac that had been dual-booted with Windows so it could use the standard school network and applications/limitations. Anyway, I noticed that the mac version of grub looked considerably better than the current 'purple text' version we have with ubuntu.

As the main message of ubuntu is 'user-friendly', perhaps we could put some thought into redesigning the graphical aspect of GRUB, particularly as most Windows transitionees, myself included, have dual-booted at some point. The grub screen can be intimidating, and looks especially bad on boot.

I am happy to donate photographs and/or artwork to help, if this is possible?

fjgaude
July 22nd, 2011, 06:56 PM
Good thought... likely this will come about in fullness of time. Right now the guys are hard at it getting 11.10 up fully.

Backgrounds are usually never an issue, photos galore!

MG&TL
July 22nd, 2011, 07:55 PM
Yes, of course...is 11.10 likely to be a 'significant' release (by this I mean like 11.04 had Unity, and 12.04 will be a LTS) , or are they just ironing out the bugs in Unity?

Is there somewhere I can get the source code for GRUB (if there is any?), that way I can experiment and see what happens.

Good luck with 11.10 guys!

MG&TL
July 22nd, 2011, 08:03 PM
Or there again, just downloaded the source and read the license, and apparently distributing unedited copies is allowed, but not editing it in any way. Bang goes the theory. :D

PhantmKllr
July 22nd, 2011, 09:33 PM
Yes, of course...is 11.10 likely to be a 'significant' release (by this I mean like 11.04 had Unity, and 12.04 will be a LTS) , or are they just ironing out the bugs in Unity?

Is there somewhere I can get the source code for GRUB (if there is any?), that way I can experiment and see what happens.

Good luck with 11.10 guys!
11.10 is a somewhat "significant" release, considering the switch from the GNOME 2 (GTK 2) stack to the GNOME 3 (GTK 3) stack, but I don't think that work is being done to improve GRUB's apperaance.

Perhaps you should voice your idea at the Ubuntu Brainstorm.

http://brainstorm.ubuntu.com

godhika
July 22nd, 2011, 09:35 PM
Yes, of course...is 11.10 likely to be a 'significant' release (by this I mean like 11.04 had Unity, and 12.04 will be a LTS) , or are they just ironing out the bugs in Unity?


Well 11.10 sees the change to Gnome3 and also Gtk3 which means big changes behind the scene

hugmenot
July 22nd, 2011, 09:46 PM
Or there again, just downloaded the source and read the license, and apparently distributing unedited copies is allowed, but not editing it in any way. Bang goes the theory. :D

Read again. It’s not so simple. There might be simple explanations of the GPL on the web selsewhere too.

fjgaude
July 22nd, 2011, 09:51 PM
Or there again, just downloaded the source and read the license, and apparently distributing unedited copies is allowed, but not editing it in any way. Bang goes the theory. :D

It's open source as far as I know. Here's their homepage:

http://www.gnu.org/software/grub/

MG&TL
July 22nd, 2011, 10:05 PM
Oops, I was reading the licence for the licensing document...:oops:

It is indeed open-source. I shall get to work understanding how it works...please tell me it's written in C++...please...[-o<

edujose
July 22nd, 2011, 10:39 PM
Could it be possible that your school uses BURG instead of GRUB?

BURG is derived from GRUB 2 and allows for fancier backgrounds, icons instead of text and other graphical goodness.

I haven't used it myself, but saw other people installing and customizing it for dual boot between windows and ubuntu.

You can see some some BURG screenshots in its site (http://code.google.com/p/burg/wiki/Screenshots).

cariboo
July 22nd, 2011, 10:50 PM
Burg isn't being maintained any more, so that may not be a good choice,

MG&TL
July 22nd, 2011, 10:59 PM
Nope, not burg, I think it's definitely the Mac OSX one. It looks like this:

EDIT: Okay, copying and pasting images don't work. I'll reupload normally.



Or similiar. I think it looked a little better than this at school.

MG&TL
July 22nd, 2011, 11:02 PM
Nope, I'lll have to upload.http://www.google.com/imgres?imgurl=http://www.hal-pc.org/journal/2006/06_may/trumors_image010.jpg&imgrefurl=http://forum.voodooprojects.org/index.php%3Ftopic%3D1771.0&usg=__s2Q4dZ-JOPsxUiV8ByL_56Ldtvs=&h=275&w=400&sz=11&hl=en&start=0&zoom=1&tbnid=ThKhzawCZlckiM:&tbnh=164&tbnw=209&ei=948pTuyYKIrOswa2mtGADA&prev=/search%3Fq%3Dmac%2Bbootloader%26um%3D1%26hl%3Den%2 6client%3Dubuntu%26sa%3DN%26channel%3Dfs%26gl%3Duk %26biw%3D1303%26bih%3D649%26tbm%3Disch&um=1&itbs=1&iact=rc&dur=316&page=1&ndsp=16&ved=1t:429,r:2,s:0&tx=107&ty=88

Try 'insert image' this time...I know you can upload things from your computer via the attachments, but I want to see what else works.

MG&TL
July 22nd, 2011, 11:04 PM
Last try...I'm uploading the idea to brainstorm as we speak.

MG&TL
July 22nd, 2011, 11:06 PM
http://brainstorm.ubuntu.com/idea/28306/ Thanks for pointing me to Brainstorm! :)

edujose
July 22nd, 2011, 11:13 PM
Hmm, didn't know BURG is unmaintained. Sorry for the suggestion.

Also found that another reason not to use BURG is that it seems to conflict with Plymouth.

So better stay with GRUB 2, though no icons and fancy graphics for us :-)

MG&TL
July 22nd, 2011, 11:24 PM
Although something like BURG would be a great alternative, Ubuntu seems to be interwoven with GRUB, so a new bootloader would require a serious rethink of the whole OS. I thought we could perhaps modify the bootloader slightly so that it's graphical. I don't know precisely how much work that it would entail-for me, give me six months and access to the web and I could probably do it, for a GRUB expert/author, a day or two at most.

MG&TL
July 22nd, 2011, 11:36 PM
Hypothetically, should I modify something in grub and wish to test it without installing it on my machine, how would I go about doing this?

seeker5528
July 23rd, 2011, 12:49 AM
Last try...I'm uploading the idea to brainstorm as we speak.

http://ubuntuforums.org/attachment.php?attachmentid=198101&stc=1&thumb=1&d=1311372257

Looks like the normal OS X bootloader to me, and I can't find any indication that OS X uses grub. :confused::confused:

Later, Seeker

MG&TL
July 23rd, 2011, 12:53 AM
I was using it as an example that we could do better, as our current one, compared to all our compiz-fusion finery, is alittle lacking.

cecilpierce
July 23rd, 2011, 12:54 AM
Hypothetically, should I modify something in grub and wish to test it without installing it on my machine, how would I go about doing this?

I use BURG and I put it on a flash drive just in case something goes wrong with the 2 HD's here, someone started theming GRUB awhile back but it never really worked to good, its still around some where.>

http://www.google.com/search?q=grub+themes&hl=en&biw=1280&bih=933&prmd=ivnsfd&tbm=isch&tbo=u&source=univ&sa=X&ei=kAwqTuRxjYK2B43NhdgC&sqi=2&ved=0CDEQsAQ

Good luck, hope to see some thing new with GRUB

seeker5528
July 23rd, 2011, 01:24 AM
I was using it as an example that we could do better, as our current one, compared to all our compiz-fusion finery, is alittle lacking.

I thought something like that might be the case, but was unsure since you referred to it as grub.

Hack on. ;)

Later, Seeker

MG&TL
July 23rd, 2011, 01:26 AM
You'll be lucky cecil! :) Ok, will look into usb drives to see whether I can do that, as I don't really want to muck up system.

Do I have any (preferably experienced) helpers on my quest? :P

cecilpierce
July 23rd, 2011, 01:46 AM
I wish I had the experience I would have done it long ago :lolflag:
All I know is trial and error editing, mostly errors, but its fun and You learn from mistakes.
I was always interested in programing but never had the time, now I am retarded, I mean retired and to old to start stuff that I cant remember or even sometimes cant read all my notes !!!
Theres some real good people on the IRC channel #grub if you want to get on there and ask, they have been a lot of help to me.
Well I hope you can get it going, let me know,
Cecil

MG&TL
July 23rd, 2011, 11:34 AM
Ok... setting up a dual-boot ubuntu on Vbox. Will set grub up there.

Hack on! :lolflag:

gooeykablooey
July 23rd, 2011, 12:42 PM
Check out GRUB themes. I was looking into this a while ago, and there are some pretty cool things you can do. I don't think you need to do any modifications of the GRUB source, you just need to play around with the grub.conf file or something like that. I had a Wiki stored in my bookmarks, but the link no longer works, though a quick search on google should get you started.

buzzmandt
July 23rd, 2011, 02:07 PM
this looks really good, a little dated now but still looks good:
http://ubuntuforums.org/showthread.php?t=1195275

i changed my background in grub2 with this
http://ubuntuguide.net/an-easy-way-to-addchange-grub2-background-image-in-ubuntu-11-04

larn
July 23rd, 2011, 04:01 PM
I'm using the plain Grub in Puppy Linux (think variation of Ubuntu), Grub2 might be more user friendly. There is not a lot of options in basic Grub but you can install a minimum color splash image and change text in Grub. It works if you can get the file size below 350 kb or so. Grub installs a menu.1st file in folders /boot/grub/ and changing code is like html web page code from a text editor is all I'm using in Puppy, backup safeguard is to make a back up copy of file, and, boot off CD if need to access and make changes to the file. I used Gimp to adapt an image to 640x480 size and 14 colors, save as background image and zip the file, am novice too but learned by searching with questions, lot of fun in that.

larn
July 23rd, 2011, 04:07 PM
After studying how to work with Grub menu.1st, I have found that the text and border gets in the way of the image. I think I have found a solution in this blog to add a line for hidden menu, got this idea which I haven't tried yet. That border looks the size of when it asked in the install of Grub, what size resolution do you want (in effect) and I chose the default of 640x480, thinking that border crossing over the fullsize image is size 640x480. Would try bigger resolution next time. Here is link to hide text, middle of page somewhere:

http://ubuntuforums.org/showthread.php?t=757623&highlight=grub+text

drs305
July 23rd, 2011, 04:13 PM
Adding a Grub background is very easy in Grub 1.99 (Natty). You can just drop an approriate image in the /boot/grub folder and run "sudo update-grub". For the details, here is a thread:
http://ubuntuforums.org/showthread.php?t=1739412

If you want complete theming (buttons, images, etc), here is a really compreshensive guide:
http://www.4shared.com/file/lFCl6wxL/grub_guidetar.html

MG&TL
July 23rd, 2011, 09:40 PM
Thanks for all the help guys...if it's this easy then why haven't canonical adopted it? It's not like an image and a GUI is going to take up that much more space, and they must have taken up a huge amount more disk space when they got Unity as well as GNOME.

And here's me about to try and reprogram the thing entirely, and will undoubtedly fail...;)

Never mind, will follow the links and see how much more space the updated grub takes up. I shall see if I can follow the default Ubuntu theme and background.

If I get it working, I shall post screenshots.

Thanks once again people. :)

MG&TL
July 23rd, 2011, 11:27 PM
Have downloaded the tarball from drs's second link...:D great reading, thanks drs, and the other people that have given me links.

It feels good to be making/programming something that is actually useful. The closest I've ever come to useful was a brute force prime-generator that worked, and then, myteriously, didn't.

Thanks for all the help, people and I will keep you posted.

My brain's fried from the guide though, so I shall call it a night.

drs305
July 24th, 2011, 03:19 PM
My brain's fried from the guide though, so I shall call it a night.

I don't think I've still made it through the entire guide...

Let us know how it works.

;-)

MG&TL
July 24th, 2011, 03:53 PM
It's going good so far, just got to the 'basic' theme, shall get all the ubuntu fonts and graphics-y things so that it matches, should anyone want to have an ubuntu grub. I shall have to see how to distribute it...nah, you won't want my rubbishy one.

cecilpierce
July 24th, 2011, 04:02 PM
It's going good so far, just got to the 'basic' theme, shall get all the ubuntu fonts and graphics-y things so that it matches, should anyone want to have an ubuntu grub. I shall have to see how to distribute it...nah, you won't want my rubbishy one.

I'll take it, anything is better then plain ole grub blah :P

Thats why I use outdated burg loader, easy to fiddle with :D

Good luck,
Cec

MG&TL
July 24th, 2011, 04:15 PM
Thanks Cecil-this is great! My software fiddles are appreciated. Maybe I should get into fiddling rather than programming...:)

Yep, Ubuntu forums allow me to upload tarballs, so I shall do that once I'm done. I expect this to be about Wednesday. :)

MG&TL
July 24th, 2011, 07:09 PM
DRS- I run update-grub (as root, don't worry about that):

-without a space in between "GRUB_THEME=" and the path to the theme text file, it finds the theme, and then displays a black version of the normal theme on GRUB on reboot.

-with a space, it says that I do not have permission to the text file. Any ideas? I'm sure I'll crack it eventually, but if you have any tips, it would help. Thanks!

drs305
July 24th, 2011, 07:16 PM
-without a space in between "GRUB_THEME=" and the path to the theme text file, it finds the theme, and then displays a black version of the normal theme on GRUB on reboot.

-with a space, it says that I do not have permission to the text file. Any ideas? I'm sure I'll crack it eventually, but if you have any tips, it would help. Thanks!

There shouldn't be a space, and you should probably put the entire entry after the = in quotes. If you attach what you are using I might be able to see what's happening. Note: I haven't played with themes - just backgrounds and font colors so my 'expertise' in this area is only that I know how the devs have written other Grub 2 sections.

You could try the theme in pieces - such as first trying your background image separately to make sure it works correctly (without including it in a theme).

MG&TL
July 24th, 2011, 07:21 PM
Done the background image. Here's the attachments. Thanks DRS. Theme.txt is attached, grub wouldn't attach for some reason, so here it is:


# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_THEME=/boot/grub/themes/ubuntu/theme.txt
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
#GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=30
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""


# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

drs305
July 24th, 2011, 07:59 PM
After spending a few minutes reviewing things I can tell troubleshooting this will take more time than I have to spend on it at the moment.

A couple of things I would investigate:

1. Is the theme reference incorporated into the grub.cfg file (is your theme.txt) referenced therein? I checked to ensure the "GRUB_THEME" entry is an acceptable entry in /etc/default/grub (it is) but when I just add that to /etc/default/grub it is not automatically incorporated into grub.cfg.

I saw in the attachments to the Grub theming manual that he includes a 08_ script which may add some things missing in the default 05_debian_theme script.

2. I noticed you have a "+ boot_menu" line in your theme.txt
It looks like an unusual entry to me to have it start with the + symbol. But I'm not speaking from any depth of knowledge here. ;-)

MG&TL
July 24th, 2011, 08:03 PM
I wasn't asking you to do it for me! :P

Yep, I'll have a look at that, and the script, too. And I forgot to take the line-numbering out of his source code...:oops:

drs305
July 24th, 2011, 08:13 PM
I wasn't asking you to do it for me! :P

I know.

I just like trying to solve Grub 2 puzzles, as I'm always learning from the questions asked about G2. Fortunately now, as opposed to when G2 first came out, I can usually tell if a question is within my capability of researching/solving or not. It sometimes takes me a few minutes to come to this conclusion, but there was a time I'd spend an hour or more before realizing I had no clue and wasn't likely to get one ... :-)

MG&TL
July 24th, 2011, 08:26 PM
I know the feeling...:D Sorting out my mum's (crashing badly) laptop at the moment, catch up with things in a while.

MG&TL
July 24th, 2011, 09:17 PM
Thanks, DSR. Tried from the bottom up approach and it's working, although because I've only got a title at present, I just have to wait for the timeout. Great stuff.

The rest is just creative, now. :D

MG&TL
July 24th, 2011, 09:32 PM
Version 0 out now! (now includes Ubuntu default background, and...wait for it... Ubuntu default title!)

Screenshots will arrive as soon as I work out how to put this in Virtualbox. :)

MG&TL
July 24th, 2011, 11:38 PM
Progress is swift, and I think I will call it a night. However, I have got an improved background (comped in GIMP), and menu entries.

towheedm
July 25th, 2011, 01:06 AM
The provided 08_gfxmenu_theme script file is only required for GRUB2 versions prior to 1.98+20100804. Please keep in mind that ANY errors whatsoever in your theme.txt file WILL cause the theme not to display. Instead GRUB falls back to plain text mode.

I get it that you're testing this on a MAC. I did not have access to a MAC to test. I would appreciate if you PM me with any problems you may encounter using it with the MAC. I will probably wait for a possible 2.0 release before releasing another edition as most of time is now spent in learning to build the kernel.

Looking at your theme.txt, the color values should not be enclosed in parenthesis ie:"255.255.255" and not "(255,255,255)".

Thanks
Towheed Mohammed

cecilpierce
July 25th, 2011, 01:16 AM
Since your trying grub I thought I would look at it again to see what gives,
so I put 'GRUB_THEME=/boot/grub/themes/ubuntu2/theme.txt' in /etc/default/grub, then did update and installed grub on my second drive (sdb).
Reboot gave me nice background but the menu list was in the upper left hand corner, bummer :(
Well getting late for you I guess, I will look at it some more tomorrow maybe have better luck :P

towheedm
July 25th, 2011, 01:43 AM
That's because your screen resolution does not correspond to the resolution that the theme was designed for. Try different resolutions to see the effect of this. If you have downloaded my grub guide, see the section on making your theme resolution independent on Pg 29.

cecilpierce
July 25th, 2011, 02:08 AM
That's because your screen resolution does not correspond to the resolution that the theme was designed for. Try different resolutions to see the effect of this. If you have downloaded my grub guide, see the section on making your theme resolution independent on Pg 29.


Thanks Towheed, I will try that later, I've been on this thing all day and getting sleepy,
Cecil

Paddy Landau
July 25th, 2011, 07:57 AM
http://brainstorm.ubuntu.com/idea/28306/ Thanks for pointing me to Brainstorm! :)
This idea was already in Brainstorm (24 May):
http://brainstorm.ubuntu.com/idea/27987/
Go there and add your votes.

MG&TL
July 25th, 2011, 08:11 AM
Three things:

1) I'm NOT on a Mac, that's just where I got the idea from.

2) @Paddy, Sorry, I know that now, but I did look in the duplicates list it gave me when I was posting, and it wasn't in there.

3) Have fixed the bug with the resolutions now, following the guide, so it should now work on any resolution (within reason) It also has a new background, with an Ubuntu plymouth logo comped in.

Text is now centred. After this, I shall move on to icons and other such delicacies. Theme.txt is attached. :D Feel free to try, although I don't guarantee it will work, therefore I recommend Virtualbox or similiar. :)

MG&TL
July 25th, 2011, 08:15 AM
And while I remember, here's the Desktop image. Put it in the same folder as theme.txt.

You'll have to create the fonts yourself, as Ubuntu forums doesn't support fonts.

Starks
July 25th, 2011, 10:03 AM
11.10 is a somewhat "significant" release, considering the switch from the GNOME 2 (GTK 2) stack to the GNOME 3 (GTK 3) stack, but I don't think that work is being done to improve GRUB's apperaance.

Perhaps you should voice your idea at the Ubuntu Brainstorm.

http://brainstorm.ubuntu.com

Developers don't care about Brainstorm.

If you don't file or add to a bug on launchpad against grub, your concerns or desires don't exist.

Paddy Landau
July 25th, 2011, 12:05 PM
Developers don't care about Brainstorm.
What is it there for, then? Have I been wasting my time on there? I know it's moderated well, so someone is looking at it. I had hoped that it was someone with the authority to do something.

MG&TL
July 25th, 2011, 01:59 PM
I thought it was just something where people voice their thoughts myself...like the community cafe here. Anyway, shall continue to work on GRUB, and shall work on having an install script, and .deb package so that it is distributable, if only for Cecil. :D

cariboo
July 25th, 2011, 03:57 PM
There is a member of the Community relations team that looks at Brainstorm, just before UDS, they create a digest of the ideas, and submit it to the developers. Whether they get acted on, I'm not sure.

dino99
July 25th, 2011, 04:48 PM
There is a member of the Community relations team that looks at Brainstorm, just before UDS, they create a digest of the ideas, and submit it to the developers. Whether they get acted on, I'm not sure.

yes thats it, some ideas picked for UDS.
so reporting bugs is the way to get things done quicker if devs dont declare them as "low" or as "wish", meaning "if we have time and dont know what to do, maybe we glance at it, but not sure"

Paddy Landau
July 25th, 2011, 05:57 PM
Anyway, shall continue to work on GRUB...
Are you working on Grub or Grub2? If your changes are good enough, I guess that you could submit it to Canonical for official inclusion; but I'm guessing that the company would require Grub2.

Starks
July 25th, 2011, 06:25 PM
What is it there for, then? Have I been wasting my time on there? I know it's moderated well, so someone is looking at it. I had hoped that it was someone with the authority to do something.

No. It's just a useless feel-good tool with zero commitment or accountability.

It's like the Simple English version of Wikipedia.

MG&TL
July 25th, 2011, 08:55 PM
It's in GRUB2. Wow, I didn't know that Canonical takes all comers, I assumed you had to be signed on as a developer. My laptop has crashed at the moment, so when I've sorted that out, work will continue.

cecilpierce
July 25th, 2011, 09:45 PM
I thought it was just something where people voice their thoughts myself...like the community cafe here. Anyway, shall continue to work on GRUB, and shall work on having an install script, and .deb package so that it is distributable, if only for Cecil. :D

WOW ! thats great but then I wont have nuttin to fiddle with :(

MG&TL
July 25th, 2011, 10:24 PM
Or there again not...you could always fiddle after you've installed it. Just change a few lines here or there. Or just not bother, I have a feeling this will get postponed, as my laptop is running off cd at the moment, and I'm busy from wedensday onwards :(

Maybe in a couple of weeks...:(

cecilpierce
July 25th, 2011, 10:43 PM
Oh no !

What are you using over there, a Commodore 64 ?
I have old clunkers here and a lot of spare parts but no lap tops, there too hard to work on and expensive :P

Well, good luck with that gizzmo, (maybe a hammer will fix it!)

Later, Cecil

MG&TL
July 26th, 2011, 09:41 AM
I didn't choose a laptop; you can get easier, more compatible spec with a desktop. Might be back on the grub thing, I have a windows recovery disk now. It's a sony VAIO, and I accidentally deleted one of the grub partitions. :(

spare parts a-plenty here too...none of them compatible with laptops...sigh.:)

meborc
July 26th, 2011, 11:25 AM
I didn't choose a laptop; you can get easier, more compatible spec with a desktop. Might be back on the grub thing, I have a windows recovery disk now. It's a sony VAIO, and I accidentally deleted one of the grub partitions. :(

spare parts a-plenty here too...none of them compatible with laptops...sigh.:)

Hope you have luck in restoring your grub. Check Ubuntu wiki for instructions

MG&TL
July 26th, 2011, 12:38 PM
Started a thread for them. :D

cecilpierce
July 26th, 2011, 12:56 PM
@MG&TL

Maybe ya need a good boot loader ! hehehe :P

http://www.addictivetips.com/ubuntu-linux-tips/manage-plymouth-burg-grub-with-super-boot-manager/

MG&TL
July 26th, 2011, 01:06 PM
Maybe I do....bwahahaha...8-[

cecilpierce
July 26th, 2011, 01:27 PM
Maybe I do....bwahahaha...8-[

I'm still waiting to "fiddle" with this all new and improved grub gadget :P

What are you gona call it, grubby ???
:P :P :P

MG&TL
July 26th, 2011, 01:31 PM
If you take it from drs's post, you can get instructions.

cecilpierce
July 26th, 2011, 08:01 PM
If you take it from drs's post, you can get instructions.

Having any luck with your flap-top ?

MG&TL
July 26th, 2011, 09:12 PM
Yup, cecil, flap-top has stopped flapping now, but only because I used a windows recovery cd. :(

Ubuntu is still dead. <sniff, sniff>

I shall make windows the whole partition, and use vbox to develop my GRUB spinoff/whatever you call an edited grub.cfg file. Project should be back online by tomorrow, and hopefully complete in six weeks or so, or possibly six days, you can never tell how much trouble something is going to cause you.

Thanks for all the concern and morale-boosting cecil, and drs for the link :D

Apologies for delay. ;)

MG&TL
July 27th, 2011, 11:57 AM
Laptop stopped flapping now, so am Installing Vbox as of now. Just thought I'd keep you posted. This a record thread for me in terms of views. :D

Paddy Landau
July 27th, 2011, 12:36 PM
This a record thread for me in terms of views. :D
Even though a good-looking Grub is a "nice-to-have" rather than a productivity booster, the fact that it provides a first impression of Linux for most people (usually Windows users) makes it important.

Are you installing the latest version of Virtual Box (version 4.1.0)?

MG&TL
July 27th, 2011, 12:46 PM
I'm literally just installing it from the site, so it probably will be the latest stable release. Let you know how I get on.

I very much agree about grub, that was the reason I volunteered.

cecilpierce
July 27th, 2011, 02:02 PM
Laptop stopped flapping now, so am Installing Vbox as of now. Just thought I'd keep you posted. This a record thread for me in terms of views. :D

Good afternoon (morning here) MG&TL, dont know which one is you,ha
glad you have your puter working again.

I guess this thread is popular because a lot of people would like to see something that just works :P

I had one of three O.O. installs crash yesterday and cant get it right, I think its the nVidia crap, its always giving people problems.

Well carry on, just thought I'd say HI!

Good luck.
:KS

MG&TL
July 28th, 2011, 06:46 PM
Update: GRUBby has got to the point he was before laptop crashed. Screenshot attached. Criticism please! :)

I will continue to develop, but obviously I need to know how people would like to see it go; some things are possible and some are not; but I will do my best! <what am I letting myself in for?> :confused:

cecilpierce
July 28th, 2011, 07:03 PM
Update: GRUBby has got to the point he was before laptop crashed. Screenshot attached. Criticism please! :)

I will continue to develop, but obviously I need to know how people would like to see it go; some things are possible and some are not; but I will do my best! <what am I letting myself in for?> :confused:

ALOT of time !!! but you got it going, nice background but im half blind and cant see the text to good.

Can you make it look something close to this:

MG&TL
July 28th, 2011, 07:28 PM
Sure can. I am gratified to see my thread in the background of that image ;)

Sorry, it won't go any bigger unless I install it for real; and i won't be able to take screenshot then. You could try blowing it up; press the control and '+' button on your machine. In fact, actually, there's a magnifier in orca, isn't there?

In fact, the tutorial I'm following gives a result very close to that; I'm just trying to deliver an Ubuntu theme so that the devs take note. :D

Right, back to work then!

drs305
July 28th, 2011, 07:54 PM
I spent a couple of hours yesterday working my way through forum member towheedm's Theming guide.

All in all I came up with fairly good results. A couple of items still need work on my system. I didn't find any errors in the guide and the few items I didn't get working may be attributed to changes in the Grub 1.99 version of Grub.

I'll be looking forward to the results of your efforts!

cecilpierce
July 28th, 2011, 08:03 PM
@MG&TL

I can see it ok its the dark on dark, I make one a light color, kinda sets it off better for me any how.
Have some fun as the S.u.S.E. people say.

Here is another ubuntu shot:

MG&TL
July 28th, 2011, 09:06 PM
Thanks guys-cecil; are these your own efforts? They're really good!

Things like rotary timeouts, a decent terminal window, and compatibility/install scripts coming soon-I will have laptop for next ~two weeks, but no internet, so I WILL be working on it, but no feedback I'm afraid. :(

Ta-ra for now, see you in two weeks, hopefully with re-designed grub, MG&TL.

MG&TL
August 7th, 2011, 11:26 PM
$%^& Those icons! :evil:

The icons just refuse to appear, but never mind, I shall cut the icons for now and see if I can get the other stuff to work. Sorry folks, have spent two weeks trying to get <icons> of all things to work. Everything else works fine though.

Oh, btw, a call for graphics artists, any works you could donate would be fantastic, as every time I need something new I have to design and edit it (slowly!) in Vbox, as for some reason the provided software does not seem to work. :(

A background is the most pressing thing at the moment. Something cool, like cecil's screenshots, but DON'T put anything like text or the loading circle on there, I will program that in 'on top'. Thank you!

MG&TL
August 7th, 2011, 11:34 PM
@cecil:

TL is me, MG is my brother, only one e-mail account and he wanted a UF to start with.

cecilpierce
August 7th, 2011, 11:43 PM
I couldn't get the icons to appear in grub either, thats one reason I switched over to burg,
good to see ya back from your vacation :P

MG&TL
August 7th, 2011, 11:56 PM
Hmmm...Suspect it may be the version of grub...the guide I'm mostly following is technically for GRUB 1.98xxxxxxxx, whereas Ubuntu uses 1.99. Hence inconsistencies in the instructions, so I usually have to search for something if I can't find it immediately.

Thanks...back to work on Ubuntu! Wasn't much of a holiday, tbf. Anyways...

Maybe I'll drop a line to the GNU people and see whether they have any advice-they must do, they wrote the thing! Will update on progress later tonight-am aiming for working features rather than aesthetics at the moment. Oh, and if anyone wants to donate graphics (please!-it's taking me half an hour per graphic at this rate (I hate Vbox!) only for me to find it doesn't look right anyway. I shall have an install script soon, once I've learned to bash script. That'll be the easy bit :))

Currently I'm using the graphics that came with the guide, which are frankly hideous. Hence hideous screenshots. :(

MG&TL
August 8th, 2011, 12:16 AM
Updated to include highlighted menu entries, support for small resolutions (in that the text doesn't fall off the edge any more) and a separate menu area. Not big advances, but an improvement, I feel. Will work on graphics and readability as soon as it works. :D

Screenshot attached. Sorry about abysmal resolution, but it's a virtual machine and I haven't got it to go any bigger yet.

Will now work on an install script. (I've got a little bored with grub for the minute) 'proper' grub coming your way.

V.1.0.0 (development release!) ;)

cecilpierce
August 8th, 2011, 12:46 AM
Looks good !
You should use your avatar for a background
:P

Blasphemist
August 8th, 2011, 04:32 AM
MG&TL- Have you looked at the resulting entries that come from using a custom script that uses labels and symlinks? I'm just thinking that not only resolves multi boot issues in it's own right but it also produces clean, clear consistent output for your display.

I like what you are doing and look forward to using it. This will spur me to finish getting symlinks and my custom script finished to work right with non-ubuntu distros. I have some work to do with Fedora and openSUSE to finish that and I'll try to do it monday. If you don't have that already, I'll be glad to pass it on to you with whatever documentation is needed (mostly for the non-ubuntu distros).

I also offer this site for graphics you might want to think of using if they'll work. Just click the galleries and you'll see lots of interesting distro neutral tux graphics. http://www.nd.edu/~ljordan/linux/contents.html

MG&TL
August 8th, 2011, 07:56 AM
Thanks a lot blaspemist...did have a look at symlinks and shorter name tags, (in fact 'Gentoo' on that list is a fake, will just loop back to GRUB...), but couldn't work out how to remove the originals, and if I tried to edit the original's string value (somewhere in /etc/grub.d/ btw.) it would crash (go back to default grub) or not show any change. Any ideas?

Will have a look at the graphics :) Although if this ever makes it into the repositories (although I doubt it!), I'm sure the Ubuntu quality control people will have lots of official graphics to stick in there.

@cecil, yeah, I love my avatar, have you seen the films? :)

TheNosh
August 8th, 2011, 08:20 AM
Although something like BURG would be a great alternative, Ubuntu seems to be interwoven with GRUB, so a new bootloader would require a serious rethink of the whole OS.

No, sir. You can use GRUB, GRUB 2, BURG, LILO, EFI, or even the Windows bootloader with Ubuntu.

Probably others as well, but I haven't checked.

MG&TL
August 8th, 2011, 08:30 AM
OK...will BURG or LILO recognize other OS partitions? I understand they were discontinued for a reason? Thanks for the info though.

In the process of writing shell script now, so I should have something for you soon. Sorry to use this site as file hosting, but I'm guessing that's why you are given five upload options at a time.

TheNosh
August 8th, 2011, 09:31 AM
OK...will BURG or LILO recognize other OS partitions? I understand they were discontinued for a reason? Thanks for the info though.

In the process of writing shell script now, so I should have something for you soon. Sorry to use this site as file hosting, but I'm guessing that's why you are given five upload options at a time.

BURG was based on GRUB 2, so there's no reason it shouldn't still work. To put that in perspective, the original GRUB was discontinued when GRUB 2 came out, and it still works fine.

LILO is still maintained.

In other words, both will recognise other OS partitions without problem.

MG&TL
August 8th, 2011, 10:09 AM
Ok...well, I suppose I've put a lot into this project now, so I shall continue to post things for GRUB2, but I will look into alternatives.Feel free to use the thread to post alternatives and theme installers.:D

Install script in next post, along with 'dependencies'-images and fonts.

MG&TL
August 8th, 2011, 10:13 AM
Ignore all of these, sorry, I made a mistake. Find my last post, detar the attachment to your desktop, call it 'installer' if it isn't already, then run 'install.sh' PLEASE, PLEASE be careful. Run it in Vbox if you're not sure.

MG&TL
August 8th, 2011, 10:16 AM
Place images directly into the 'Installer' folder on your desktop. (oh, btw, this should be able to be removed after use.)

MG&TL
August 8th, 2011, 10:18 AM
More images.

MG&TL
August 8th, 2011, 10:19 AM
And again...

MG&TL
August 8th, 2011, 10:20 AM
Only a few more....

MG&TL
August 8th, 2011, 10:23 AM
Sigh...seven more images left

MG&TL
August 8th, 2011, 10:26 AM
More of them...:( Please tell me that's all of them :lolflag:

Hopefully, they'll come with names like 'terminal_sw.png' If not, tell me and I'll tell you how to manually rename. Sigh. On to text and admin.

MG&TL
August 8th, 2011, 10:29 AM
Ahhhhh....just realised something-this forum supports tarballs, so I shall just tar it and post that. Detar it to your desktop. Then run 'installgrubby.sh' as root. :)

Much simpler.

PLEASE BE VERY CAREFUL, run it in Vbox or similiar if unsure. Still what I would term an 'alpha'

jerrylamos
August 8th, 2011, 12:46 PM
Mac's easy to use?? Only if what you want to do is exactly what Apple wanted you to do. My wife and I have been on pc's since 1982 using Microsoft and in my case various linux.

Our son and one daughter use Mac's. When we try their pc's it's a fight to do the things "ordinary users" do. Tiny little pictures squirreling around. Hieroglyphics belong on Egyptian pyramids. We can actually read text so long as it has good contrast and isn't buried in artsy craftsy colors and embedded in pictures.

We can zip down a sorted list so much faster than wandering around the screen full of pictures that don't mean anything to us.

Ever notice a whole lot of information in a page of text vs. the Ubuntu "apps" display which is mostly space and unknown symbols?

Now I do play around with a tablet which uses symbols and tiny text. The reason for the big symbols is the severe limitations of precision with a big finger on a tiny touch screen. O.K. if you are only doing a few limited things. I've one 7" tablet with a keyboard to match. A bit slow to write an email because of the size but much faster than hunt and peck on a screen keyboard.

So you have choices. You want a screen with some pictures spaced around it, or a screen with lots of easy to read information on it?

I've got Meerkat here, and Narwhal and Oneiric. I use unity because that's what we're supposed to be testing. In my book Unity-2D beats Unity-3D because it doesn't have the Compiz overhead and I like nice clear crisp edges on my pictures not fuzzy stuff and transparent images which are very hard for me to read with any rapidity.

Actually Unity doesn't bug me that much since here I sit with full screen applications, text, videos, etc.

Jerry

MG&TL
August 8th, 2011, 01:20 PM
Did I ever say MAC was 'easy to use' ? <shudder> Definitely not! The bootloader, maybe. And 'easy-to-use' doesn't necessarily mean newbie-friendly...

I suggest running it in virtual box and seeing if you like it...although I suspect not :)

It's not for everybody. Maybe as an option, enabled by default that you could uninstall later.
I suppose, given time and encouragement, it wouldn't be too difficult to write an editor (like ccsm) for the bootloader. Problem that I forsee is merging c++ and FLTK (my preferred language/library for GUI) and Bash script, which is what linux seems to talk in. Hmmmm. Research time, methinks.

I do agree with you about Unity 2d. The only thing that does bug me is the lack of windows that snap when you drag them to top or sides. I usually make a point of having both, then using 3d if I'm in the mood, and 2d for serious work or programming.

Anyways. Sorry about the mess I left over the last burst of posts, didn't realise about tarballs. :mad:

cecilpierce
August 8th, 2011, 01:40 PM
Hay TL,
Had a little trouble with the installer but sorted it out, looks good, a little slow acting on the moving buttons gizmo's, its coming out pretty good though.
Keep fiddling :P

sorry abt the pics, cell phones fault !

cecilpierce
August 8th, 2011, 01:52 PM
Did I ever say MAC was 'easy to use' ? <shudder> Definitely not! The bootloader, maybe. And 'easy-to-use' doesn't necessarily mean newbie-friendly...

I suggest running it in virtual box and seeing if you like it...although I suspect not :)

It's not for everybody. Maybe as an option, enabled by default that you could uninstall later.
I suppose, given time and encouragement, it wouldn't be too difficult to write an editor (like ccsm) for the bootloader. Problem that I forsee is merging c++ and FLTK (my preferred language/library for GUI) and Bash script, which is what linux seems to talk in. Hmmmm. Research time, methinks.

I do agree with you about Unity 2d. The only thing that does bug me is the lack of windows that snap when you drag them to top or sides. I usually make a point of having both, then using 3d if I'm in the mood, and 2d for serious work or programming.

Anyways. Sorry about the mess I left over the last burst of posts, didn't realise about tarballs. :mad:

http://www.omgubuntu.co.uk/2011/05/super-boot-manager-eases-burg-grub-plymouth-tweaking-pains/

Check that out, maybe get some new and better ideas.

Paddy Landau
August 8th, 2011, 01:54 PM
I suppose, given time and encouragement, it wouldn't be too difficult to write an editor (like ccsm) for the bootloader.
For Grub, there used to be startupmanager (apt:startupmanager) (still available in the repositories) to allow you to make changes easily.

It would be wonderful if we could have something like that again.

EDIT: @cecilpierce: I just missed your post!

MG&TL
August 8th, 2011, 02:16 PM
@cecil-Wow, that's great, you got it working! Pictures aren't that bad...working on scrollbar and circular progress bar now. Did you feel that the progress updates were excessive or did you like them? I did wonder about putting them in.

You mean that there's already something to do this? :mad:

I shall have to install it and then see if it has all the features you want. I shall defer until I have completed this though. :D

Over 100 posts and 2400 views now. Didn't realise such an obscure topic would be so popular...:D

MG&TL
August 8th, 2011, 02:22 PM
Looked more carefully at super boot loader-great ideas, I'll see whether I can get the source and build on top of that. If I could just add an 'appearance' tab...

Is a ppa like apt-get, in that you can get the source via 'apt-get source <package>?

Paddy Landau
August 8th, 2011, 02:57 PM
Didn't realise such an obscure topic would be so popular...:D
It's the first thing a person sees when dual-booting. It's important, silly as it might seem.


Is a ppa like apt-get, in that you can get the source via 'apt-get source <package>?
Yes, exactly. All the repositories are on PPAs.

MG&TL
August 8th, 2011, 03:21 PM
Grubby V.1.1.0 Same process as before...Now includes circular progress bar.

Terminal graphics are being updated soon. I hate that terminal with a passion.

cecilpierce
August 8th, 2011, 05:12 PM
I guess you guys on the other side of the pond went out to eat or a nap!
Just got back from the beach, bike ride, kinda hot then rain and cool down on the way back to the house.

@TL (whats tt stand for, Tough Love?)

Cant wait to try Grubby V.1.1.0.

@Paddy

I forgot about that "startupmanager" it was good but nobody went with it.
I like BURG but its author has quit to, at least for now :(

Paddy Landau
August 8th, 2011, 05:58 PM
I forgot about that "startupmanager" it was good but nobody went with it.
I like BURG but its author has quit to, at least for now :(
Yes, we have to go with what is being supported, otherwise whatever you do will become obsolete fast. It's good that someone (you) has decided to run with this.

Once you're done, you'll have to find out how to get your work back into the mainstream.

TheNosh
August 8th, 2011, 06:28 PM
Yes, we have to go with what is being supported, otherwise whatever you do will become obsolete fast.

That's not entirely true, especially with bootloaders. There's optimisation that get's done, but very little will actually stop working. You can get an absolutely ancient version of GRUB to work fine still.

cecilpierce
August 8th, 2011, 06:32 PM
@Paddy
You said it, "The first impression of linux is GRUB",to me is a + and so many people have fiddled with it and we still have grub 1.99? When will grub2 get here, I hope its in my life time!

I use a 40_custom file that hardly needs editing so I really don't update anymore,

MG&TL
August 8th, 2011, 07:24 PM
TL-"TuxLove" :roll:#-o:oops::shock: - I didn't make the account, although I'm the sole user now. :(

Just how complicated is BURG's source code? I could switch the aim of the project to updating BURG? It really depends on what people want-I've certainly learned a lot and I'm happy to carry on learning as long as there is demand.

@cecil-you're right, we on the other side of the pond took a nap...:)

cecilpierce
August 8th, 2011, 08:24 PM
TL-"TuxLove" :roll:#-o:oops::shock: - I didn't make the account, although I'm the sole user now. :(

Just how complicated is BURG's source code? I could switch the aim of the project to updating BURG? It really depends on what people want-I've certainly learned a lot and I'm happy to carry on learning as long as there is demand.

@cecil-you're right, we on the other side of the pond took a nap...:)

Well to me its quite complicated because I'm not a coder, just a fiddler :P
I just DL it from here:
http://code.google.com/p/burg/downloads/detail?name=burg-bzr-1832.zip&can=2&q=
just to see what was in there. It looks like grub, almost the same I guess?
Theres a lot of grub and burg info out there if any body is ambitious enough.
I wish I could but too old to start now!
Now that you had that nap you can stay up all night messing with this stuff
:popcorn:

Blasphemist
August 8th, 2011, 08:45 PM
Just adding my two cents worth while you're discussing advancement.

My opinion is that for users that only have two OS's, be that windows and a linux distro or 2 distros, grub works fine but by default looks less than modern. This effort addresses the looks and for an unknown percentage of users (unknown as far as I know) the looks should be a priority of someone.

By default there is a design flaw in Grub of any flavor for those of us with 3 or more OSs. The limitation of what seems to be commonly referred to as being forced to have a dominant or controlling Grub and having to use a custom script. Kernel updates to an OS that isn't the dominant Grub partition show the design flaw. I work around this with a custom script like Cecil mentioned and use symlinks in it. The way things are right now I think most people only become aware of this when they have problems and even then documentation on doing this workaround is lacking. Using the custom script that doesn't show or point to specific kernel versions, and disabling certain default scripts seems less than ideal to me.

I haven't developed or written any design spec for a boot loader that overcomes this design flaw, if it can be called that. It is my opinion that many of us do use more than 2 OS implementations. Addressing the look and interaction with the boot loader is definitely an improvement if it makes a better impression on users but this other issue seems important to me to.

drs305
August 8th, 2011, 09:21 PM
@ MG&TL,

I've not kept up with this thread, but I know you were having problems with getting icons to appear. I'm using G 1.99 and found the icon part fairly trouble-free.

I used .png images, placed them in /boot/grub/themes/ubuntu/icons, with my theme of /boot/grub/themes/ubuntu/mytheme.txt

I made a 'class' entry in the menuentry title ( --class pingname ) and they appeared. The 'pingname' is the name of the icon you want to use without the extension (i.e. myping.png would be: --class myping) which was stored in /boot/grub/themes/ubuntu/icons

BTW, Grub legacy never got past version 0.97 and it was around for many years. If you don't see Grub 2.00 any time soon don't be surprised. ;-)

MG&TL
August 8th, 2011, 09:42 PM
Nope, sorry drs-tried all of that. I guess icons aren't essential...

@Blasphemist-I know what you are saying-If we do end up editing source code for BURG or GRUB, or writing a program to theme them, that, I think, should be one of the priorities-or else back to LILO :)

I think (good start, that!) that a themed grub is going to be a temporary solution, what people really want is a GUI that can theme grub from within Ubuntu, thereby becoming more user-friendly and appealing, like the infinitude of other options you can edit safely, without worrying about your computer going "ker-phutt".

@cecil Yep, doing it now. Oh, hell, BURG's source code is in C. I hate C. Somewhat weirdly written C too. Anyways. I shall have a go at understanding it, but no promises (I can do C++ well, and some other obscure languages, but nothing else.)

Maybe now is the time to pool developing skills? I appreciate that some people will not want to actually write code, but that's not the point-using a debugger and reporting errors is as useful as correcting the damn insects. Or just make constructive criticism. Or learn how to make .deb packages (still haven't worked them out.)

Me:

C++ experience (understand use of standard library, written a few basic programs, GUI with FLTK)
bash shell writing (very basic)
Patience.
4 month's linux experience.

Not a great start, but hey.

What are your ideas on a project to create our own (or a modded someone else's) bootloader theme-er? Tell me if I'm barking up the wrong tree.

Paddy Landau
August 9th, 2011, 08:18 AM
I could switch the aim of the project to updating BURG?
I wouldn't. Stick with what is being supported; that way, you continue to get support. The ultimate aim, I would hope, would be to get Canonical to accept your changes and incorporate them permanently.


I think (good start, that!) that a themed grub is going to be a temporary solution, what people really want is a GUI that can theme grub from within Ubuntu, thereby becoming more user-friendly and appealing, like the infinitude of other options you can edit safely, without worrying about your computer going "ker-phutt".
Absolutely. This is the holy grail. Maybe -- this is just a suggestion -- once you have fiddled with Grub2 to find out what needs doing, you can revert to the default Grub2 and develop a GUI program (using your knowledge) to automatically modify Grub2? That would be awesome, but it most certainly would be hard!

MG&TL
August 9th, 2011, 08:30 AM
Probably not that hard...what I did with the installer was to have files in the Installer directory and then simply remove the originals, then copy the others in. Rather than appending anything to any files, which I guess IS probably VERY hard in BASH. :confused:

What I really need to know before I do things like that is: (sorry, Google's not my friend today)

-what library does Ubuntu use for its GUI as standard-I don't want to write a humungous program only for Canonical to say "sorry, this doesn't conform"?

-how I run BASH programs from another programming language? In C++, it's system("<systemcommand>"); but I don't know how to pass variables or anything like that without writing to gEdit and leaving notepad(s) all over he desktop...

-what languages do you people use? Obviously we'll go with the majority, that way I get supporters! :D

Paddy Landau
August 9th, 2011, 09:26 AM
-how I run BASH programs from another programming language? In C++, it's system("<systemcommand>"); but I don't know how to pass variables or anything like that without writing to gEdit and leaving notepad(s) all over he desktop...
I don't know how to set environment variables from other languages, but I do know that if you need to use a small, temporary file, you can create one in RAM. Use the RAM disk /dev/shm, which Ubuntu creates by default. I use the command

mktemp --tmpdir=/dev/shm somename-XXXXXXXXXXRemember to delete the file when finished with it.


-what languages do you people use? Obviously we'll go with the majority, that way I get supporters! :D
Sorry; I know PHP -- not useful to you -- and bash (both only up to a point). I can help with bash tips and tricks, but not with full-scale programming. I would imagine that Perl or Python are the way to go; as I understand they are easy yet flexible.

MG&TL
August 9th, 2011, 09:42 AM
Hmmm...python is superficially similiar to C++...that RAM command of yours; that's BASH, right?

I'm guessing we're going to have to use BASH eventually-I don't think anything else provides the functionality.

Do you know any good python tutorials-I looked on the web and it seems to be very popular in Linux-maybe I'll have to try it.

Unfortunately not got a 'live' partition, only Vbox, so testing is err...slow. But never mind, it's the holidays.

Paddy Landau
August 9th, 2011, 10:14 AM
Hmmm...python is superficially similiar to C++
Sorry, I can't comment on Python or C++.


...that RAM command of yours; that's BASH, right?
Yes, it is. Here's what I do when needing small temporary files:

TMPFILE=$( mktemp --tmpdir=/dev/shm nicename-XXXXXXXXXX )
[commands that use ${TMPFILE}]
rm -f ${TMPFILE}
I'm guessing we're going to have to use BASH eventually-I don't think anything else provides the functionality.
Unfortunately, bash is rubbish at providing a GUI. The best that I have found, and it's really for the most basic tasks, is yad (http://code.google.com/p/yad/) (a fork of Zenity).


Do you know any good python tutorials
Full Circle Magazine has been running a tutorial for some time.
Start with its special Python archives (http://fullcirclemagazine.org/2011/05/04/surprise-python-special-edition-02/), and thereafter download (in order) editions 17 and onwards from the main archives (http://fullcirclemagazine.org/downloads/).


Unfortunately not got a 'live' partition, only Vbox, so testing is err...slow.
Slow... Indeed! Still, it allows you to test safely, and that's the main thing.

MG&TL
August 9th, 2011, 10:27 AM
Thanks for links, paddy.

True-having a virtual test has my tail on numerous occasions-also given me an intimate knowledge of the workings of the Ubuntu error console.

I do recommend C++-there's lots of resources, and it's a relatively easy language to learn. Just a suggestion.

Yup, I agree, BASH is rubbish at GUI-but then it is designed as a terminal. I did have a look at yad, but it was still 'best of the bad'

Thanks for temp-file command- I'd never have found that on my own.

MG&TL
August 9th, 2011, 10:31 AM
Err...do you mean 27? that's where python seems to start? Might be mistaken, but...

cecilpierce
August 9th, 2011, 01:33 PM
Too much talk and not enough action !
:P :P :P

MG&TL
August 9th, 2011, 01:48 PM
We were you sort of waiting for direction from you or drs :p

Would you like us to continue theming GRUB, or would it be better to start off a GUI for theming it?

And hey, come on, I learnt basic python this morning, found a floppy disk and spent two hours formatting it, but still didn't work, and 'pinged' my network (mostly because I could)

;) Votes and programming pooling please!

MG&TL
August 9th, 2011, 01:49 PM
Oh yeah, and did you manage to get the second GRUB theme I sent out? I'm curious to see if it works-I get weird fonts on mine if I do it-fine otherwise...:confused:

cecilpierce
August 9th, 2011, 02:00 PM
Yea, I got it and it works but up and down arrow moves the choices real slow and if ya hit "E" to look or edit it takes awhile to appear,
Whats new? gota grub editor yet? :P

MG&TL
August 9th, 2011, 02:43 PM
Yeah, I was confused about the slowness-presumably it takes up processing power.

Just starting one, jeez :P

MG&TL
August 9th, 2011, 02:52 PM
Running terminal commands is considerably easier in python than in C++, so I'll use python for now. See here for instructions:

Thread about python in bash (http://ubuntuforums.org/showthread.php?t=729192)

Basher101
August 9th, 2011, 02:57 PM
Nice to see that Grub could look smokin'. Im really looking forward to it. A really cool looking bootloader, a virus free operating system with free software and almost no limitations to customizability, really cool compiz effects (like the cube and others) and this threadhttp://ubuntuforums.org/showthread.php?t=58862. I will use those to convert people in my school to linux (i am currently the only one using linux - and that for a month and i am blown away by it). Ive seen many netbooks of them getting unusable cuz their windows XP got crawled with viruses.

Paddy Landau
August 9th, 2011, 06:18 PM
I do recommend C++-there's lots of resources, and it's a relatively easy language to learn.
Thanks for the idea. If -- and that's an enormous 'if' -- I get the time to learn a new language, I shall have a look.


I agree, BASH is rubbish at GUI-but then it is designed as a terminal. I did have a look at yad, but it was still 'best of the bad'
I agree.


Thanks for temp-file command- I'd never have found that on my own.
Also have a look at coproc (man bash and search for Coprocesses). Useful, especially when using yad with a progress bar.


Err...do you mean 27? that's where python seems to start? Might be mistaken, but...
Sorry. I simply took the comment from the special edition, "This special edition is a reprint of the Python articles from FCM#09 – #16", and extrapolated from there. I'm obviously wrong; I don't follow the tutorials as I know nothing about Python (other than that it's a popular programming language).


Would you like us to continue theming GRUB, or would it be better to start off a GUI for theming it?
I would suggest you theme away in order to learn how it's done. Then, when you program a GUI for changing themes, you will know and understand what needs doing.


... found a floppy disk and spent two hours formatting it...
Cool, a floppy disk! I didn't realise they still existed!


... programming pooling please!
Is there an official Grub forum where you could request help?

MG&TL
August 9th, 2011, 07:31 PM
I'm happy to go it alone, but I would appreciate help-as far as I know, GNU seem not to be interested-at least by the looks of their previous efforts, they do not do GUIs.

Yep, I've pretty much finished about learning grub, tbh. The only things I haven't done are pointless things like scrollbars (without a mouse?) and I know how to do those anyways.If you like, I can spend a while longer on the graphics, but there's two problems with that:

1) for some reason, theming grub makes it much slower, something attested by cecil. IDK why, my pc should be more than capable of loading the pretty simple 'pseudo GUI'

2) I'm not a graphic artist.



I've finished 'basic training' in Python, now moving on to Tkinter. I shall report back as soon as I have a GUI. Once I have a GUI, I shall make the commands do something. I still have a problem with the slowdown issue, though. Any ideas? It doesn't come up in Google.

cecilpierce
August 9th, 2011, 11:48 PM
@TL
Awhile back when I was testing GRUB GFX Theming I noticed it was slow and jumpy and when Bean overhauled grub and called it burg it seemed to work real good from the beginning so thats what I have been using and waiting for GRUB to come out with something Great.
You might, if you haven't already take a look at the burg code and see how he did it.
I have looked at the files and they seem to be about the same, but I don't understand a lot of it.

Well carry on and good luck, cant wait :D

link to burg .deb junk, looks like grub with a little added
http://www.megaupload.com/?d=NHN6MI64

MG&TL
August 10th, 2011, 10:47 AM
I'll see if I can find out how burg do it. I do understand it, it's just the shear volume of code that needs to be looked at. I don't suppose there's an official maintainer I can pester?

MG&TL
August 10th, 2011, 11:05 AM
Have sent an e-mail to the maintainer. If, indeed he is the maintainer.

Tkinter moves on apace, however everytime I try to add a colour or another option to the basic defaults, I get a run-time error.Is it something to do with the Python versions, as I am following old guides, as there does not seem to be a modern one.

lucazade
August 10th, 2011, 11:30 AM
My grub is set to last 3 seconds and I've fixed purple background to black.
I would not bother too much for a colorful one, prefer a sober startup, the same applies to plymouth.

cecilpierce
August 10th, 2011, 12:33 PM
@TL

Hows it going?
Do you have IRC, like Chatzilla in Firefox?
There is a grub channel on there that can probable help, I ask about the maintainer awhile back and (someone) said he kinda vanished. He had or has a forum but it hasn't had much activity lately.
I'm sure you can get some help there, they helped me in the past.

MG&TL
August 10th, 2011, 03:28 PM
Yeah, Xchat comes pre-installed with Xubuntu.

Wonder where he went?

is it just #grub?

Yup, Tkinter's coming good, but source code for grub is still unintelligible. And Tkinter's still producing interesting errors. Even when copying and pasting. So no GUI yet.

@lucazade -apreciated, one could uninstall the programs after the newbie stage, or design a neutral theme. It's not for everyone.

MG&TL
August 10th, 2011, 03:43 PM
Or there again, maybe not, it seems to be more of a support chatroom, and they don't seem to welcome newbies. :( I don't know what I did, but apparently something that I've personally had and found a solution to is 'I don't know what I'm talking about' Anyways...

MG&TL
August 10th, 2011, 03:50 PM
Ahhh...got Tkinter working now. It seems only basic Tkinter works in windows. Just tried it on Xubuntu, and it works fine.

I suppose I should Tkinter account that Python's for Linux (I think). :D

cecilpierce
August 10th, 2011, 04:06 PM
Yea I noticed the attitude on there was sometimes off ! I think 'phcoder' was the most helpful but people come and go on channels.
I was on there for awhile. guess you got on after I left, I was on compiz and ubuntu+1.
Did you look on the forum ?

MG&TL
August 10th, 2011, 05:31 PM
What forums? These ones?

Yeah, I guess some people get hot under the collar on chatrooms.

compiz, ah compiz. Will not work on my machine, but I loved it when I had it. How is Oneiric going? I got the .isos, but they would never work. Tkinter test windows up and running now :D

cecilpierce
August 10th, 2011, 06:09 PM
What forums? These ones?

Yeah, I guess some people get hot under the collar on chatrooms.

compiz, ah compiz. Will not work on my machine, but I loved it when I had it. How is Oneiric going? I got the .isos, but they would never work. Tkinter test windows up and running now :D

Hasn't been anyone on in 3 months though:
http://www.burgloader.com/bbs/index.php

Got any screen shots of Tkinter ?
Oneiric is more like Ornery :P

MG&TL
August 10th, 2011, 06:39 PM
Tkinter screenshot. Obviously, I'm working on something bigger and better. :p

MG&TL
August 10th, 2011, 06:40 PM
oneiric is more like ornery :p

:d

cecilpierce
August 10th, 2011, 11:04 PM
Tkinter screenshot. Obviously, I'm working on something bigger and better. :p

Well.... thats a start
:P
You should have it done it a bit, huh ?

MG&TL
August 10th, 2011, 11:14 PM
Yep, been developing it on my old pc (pure Xubuntu). Just realised I should probably have some clue of what I'm doing before I do a GUI.

Oh well. I know how to do Tkinter now. Mr. Bean (!) hasn't got back to me yet, so I'm guessing BURG is pretty much dead, particularly as the forums haven't been answered since May, and that was a bump.
#grub don't seem interested, more a support chatroom.

Go to programming sub-forum and enlist the help of programming specialist?

cecilpierce
August 10th, 2011, 11:26 PM
Sorry you had so much bad luck, I wish I could do something to help because grub really need a face-lift.
I sent him (bean) a few msgs awhile back and never heard from him, he does a good job and then vanishes, anyway thats what I was told on the irc.
Well burg is still out there for dl and it works for me until I see grub get better, when you look at both side by side, not much diff.

Guess its late for you so tata for now.

MG&TL
August 10th, 2011, 11:35 PM
If you're not busy, that's fine. I'm not sleepy! :shock:

What would you like to see out of GRUB in terms of graphics? Heavy graphics, extensively customisable, basic graphics, slight facelift?

Have started a thread in the Programming sub-forum, asking for help. Programming guys aren't the quickest to respond, but if you do manage to hook one, they generally follow until you are completely satisfied.

cecilpierce
August 11th, 2011, 12:00 AM
Well maybe ask or start a new thread on what people would like to see, like a gui to change default, timeout, background, fonts, font colors, maybe gfx themes would be nice and all the things you have to know about editing all those files scattered around.
I guess just start out simple GUI and keep adding as people have ideas.

MG&TL
August 11th, 2011, 12:05 AM
Yup. I probably won't start a new thread for ideas yet, as project is still quite small and people drop in and out.

I can easily do a GUI for the gfxmenu themes, I could do it tonight, but my computer that I develop on's chewing on something. And being a Pentium4, chewing on something means 'locked up' Not to mention the fact that my mum doesn't like me crashing around in the loft...:(

But we do have a slight problem with that, with the slowdown. I'll research that, if we can find a cure, it would make things far easier. :)

cecilpierce
August 11th, 2011, 12:51 AM
I remember something about that slow action of grub in a old, old thread.
Seems like they almost had it fix the last time I used it but then burg came along and it worked so much better and I lost my HD with everything. Got a new one and started all over and never fiddled with grub for awhile and when I did who ever was doing grub theming kinda gave up on it, but that link might help.
I have two HD's one with grub and one with burg, incase one takes a dive again.
Ill look around and see if I can find something.

cecilpierce
August 11th, 2011, 02:05 AM
Been digging for an hour, and I saw the other thread abt .pup, I think your right!
Seems like ubuntu, mint and debian are about the only distro's using grub2.
Suse, fedora, arch, pclinux, mandriva and others are still using grub .97 and all of those Ive tried have gfxboot and work ok.... so
back to your re-thinking :P

MG&TL
August 11th, 2011, 08:11 AM
Humph. Here's me thinking I could just rip off the arch code.:D

Oh well, back to the drawing board....

Paddy Landau
August 11th, 2011, 10:28 AM
What would you like to see out of GRUB in terms of graphics? Heavy graphics, extensively customisable, basic graphics, slight facelift?
Start with the simple. A professional look will impress newcomers much better than "fancy" graphics. A blue background, black writing on a white background, and clear icons in full colour, I would imagine. Maybe something red.

There was a Brainstorm entry where people showed some excellent samples, but I cannot find it. The search facility in Brainstorm isn't exactly comprehensive.

cecilpierce
August 11th, 2011, 12:17 PM
@Paddy

That sounds like the best idea, simple and to the point.
:P
Some images>

http://www.google.com/search?q=gfxboot+themes&hl=en&biw=1280&bih=932&prmd=ivns&source=lnms&tbm=isch&ei=SbhDTrycB47UgAeP45D-AQ&sa=X&oi=mode_link&ct=mode&cd=2&sqi=2&ved=0CAwQ_AUoAQ

@TL

Arch would be a good start, and the others I mentioned all look nice but....grub .97, maybe I should go back to it (downgrade) haha!

p.s. I like the third one on the second row!!!

MG&TL
August 11th, 2011, 02:57 PM
Agreed about the search facility. :mad:

Just tried ArchLinux (for the bootloader) :shock: I know Ubuntu's for human beings, but they take it to the opposite end. Doing anything was an effort. Don't get me wrong, loved the idea, just definitely not a newbie's distro, an intermediate distro, or even' a non-developer distro. Oh well, will try installing grub legacy instead or something.

@cecil. <rolls eyes> There's probably a 'Ubuntu XXX' distribution for that you know...

MG&TL
August 11th, 2011, 03:10 PM
Although they've stopped developing, it seems they've beaten us to it:

https://launchpad.net/startup-manager

Oh well, not developed, and a little limited, I feel. :D Potential for us!

Paddy Landau
August 11th, 2011, 03:55 PM
Some images ... I like the third one on the second row!That depends on how wide your screen is.

As a default look, I would go with a simple blue background.

By default, show only the icons (with text) for the different operating systems, so the typical installation would have one icon for Windows and one icon for Ubuntu.

Provide an option near the bottom of the screen to show boot options (help, edit boot line, etc.) and all other boot choices (recovery mode, previous kernels, etc.).


Although they've stopped developing, it seems they've beaten us to it:
https://launchpad.net/startup-manager
Is that not the original startup manager that worked with legacy Grub?

MG&TL
August 11th, 2011, 04:56 PM
It might have been. Still in the repos though, so I thought it must be GRUB 2. Yeah, I agree, it depends on how big your screen is. You must have a huge screen

MG&TL
August 11th, 2011, 10:58 PM
<sigh>

I think we have reached a fork in the road here. BURG isn't maintained, GRUB2 slows it down horrifically, GRUB legacy will never be accepted by the ubuntu devs at it is a step backwards, LILO is just strange and out of date (and see Grubleg.)

I think we can discount LILO.

GRUB legacy equally (if we want it to actually be used in its lifetime)

So three options: (none particularly attractive)

-translate the C source code for BURG into Python. Or become its maintainers. C-> Python is not an easy conversion. C is a lower level language, and many language features are downright incompatible. 'Maintaining something that's 'dead' is probably not a good idea, additionally if Mr. Bean ever does come back, he's not going to be a happy bunny if we're running 'his' show. I know it's free software, but I can see why he would get annoyed.

-Find the problem with GRUB2/the gfxmenu themer. This could take days of effort only to find that the error doesn't exist and it is simply the way it is written. Additionally, grub updates will not be possible directly if we have modded the source code.

-Write our own, completely new bootloader. <run screaming> This could easily swallow a year or so. Enough said. But probably the option that will produce the best results.

:confused::confused::confused::confused::confused: :confused::confused::confused:

Consensus of opinion please.

MG&TL
August 11th, 2011, 11:00 PM
My somber mood has been caused by trying to use a Debian command-line install without apt-get, as the internet did not support USB routers. Then it decided that a USB was not a supported filesystem and wiped it. Don't even ask.

Anyway, normal service will resume shortly.

cecilpierce
August 12th, 2011, 02:10 AM
Sounds like your in a mell of a hess !
Why not copy and rename burg to TgrubLe since hes not going to reappear.
looks like he copied most of it from grub if you look at all the files he just changed the name and he did a lot of improvements.

I screwed up my grub today and been fiddling with it all day trying to get a good 40_custom file, some boot and some say "you must load kernel first, Dah!
Checked over and over till I went blind, It works in burg but not grub, so I had to rewrite the whole thing, wish I knew what I was doing :P

MG&TL
August 12th, 2011, 02:19 AM
To be fair BASH script is not one of the easier things to read. Don't put yourself down, basic coding can be picked up in an afternoon (I know, I did it) :D I expect you to be bash-literate next tiime you post....;)

Oh, why can't stuff just work. ](*,)

I wonder how hard a new bootloader would be? Calling drs!
Yep, could do that, but hey, everyone's put work in to this, it should be named as a conglomerate of all the people who've contributed to the thread. What spec is the machine you ran my theme on? Because I've just realise I only assigned 256 mb of RAM to my virtual machine.

cecilpierce
August 12th, 2011, 02:29 AM
One gig ram, but I think there is a big dif in the two loaders, even when grub gfx themeing was working it was complained by people that it was jerky and I have never seen burg do that, I dont know what bean did but he got it right in a short time, he spent alot of time on that forum going back and forth from english to chineese, maybe it drove him away or nuts :P

he had other people that helped him maybe you can find one of them.

MG&TL
August 12th, 2011, 02:34 AM
I can imagine it would. (at one point in my schooling, I was being taught four different languages simultaneously (not by choice), and random words from other languages popped up in place of the one I wanted. I'm pleased I stopped down to three now...)

I shall have to have further look at source. Tommorow's project, methinks.

Generally, do you lot have Xchat? I was just thinking we could hijack the err...charming #grub (irc.freenode.net) channel and talk there, ideas exchanged faster. Or maybe not, just an idea

cecilpierce
August 12th, 2011, 02:42 AM
Thats a funny crew there, not much goes on unless they feel like it, we could try but might get kicked off
:P
Or we can start a new one and leave it on all day or night and see if any one spots us !!!

MG&TL
August 12th, 2011, 02:43 AM
I agree, saying anything on there gets you frosty looks and abuse.

Can you make a new channel?

cecilpierce
August 12th, 2011, 02:52 AM
Yea I just made one #grub2

MG&TL
August 12th, 2011, 03:37 AM
Very succesful. Next 'conference' is at 4:00 GMT tommorow. topics for discussion?

Paddy Landau
August 12th, 2011, 10:37 AM
@TL: Sorry to hear of the problems. Wish I had the knowledge to help.


Consensus of opinion please.
Finding the problem with the Grub2 & gfxmenu themer would be the best solution by far. But it sounds as though you need some help.


To be fair BASH script is not one of the easier things to read. Don't put yourself down, basic coding can be picked up in an afternoon (I know, I did it)
It helps tremendously to learn how to use the function command, if you haven't already.


Oh, why can't stuff just work. ](*,)
Uh, isn't that the strategy of MS and (in older days) of IBM... so that you need large teams of maintainers? [sarcastic]


Because I've just realise I only assigned 256 mb of RAM to my virtual machine.
Grub2 needs to be able to work in a small amount of RAM, so it can be used (for example) with Lubuntu and Puppy.


Yea I just made one #grub2
Can you give me a pointer as to how to join such a discussion? In such matters, I'm a 100% newbie and wouldn't have the faintest idea where to start! A link to a tutorial would be useful.

MG&TL
August 12th, 2011, 11:01 AM
Yeah, sorry, I just meant that slightly more user-friendly would be an advantage.

Get a client like Xchat.

Launch Xchat, then follow the prompts. You should be prompted to join a channel. Type the name of the channel you want to join. In this case, #grub2, but this won't be open all the time, only when cecil opens it.

Who wrote the theming engine? We could make a 'lite' and a heavy version-like Xu nd Ku-buntu.

Paddy Landau
August 12th, 2011, 11:33 AM
Thanks for the answers.


Who wrote the theming engine?
Sorry, I don't know.


We could make a 'lite' and a heavy version-like Xu nd Ku-buntu.
That would make it a lot more effort. Perhaps stick to a single, simple version, and let it grow over time (as programs do)?

Once you get something very basic working (e.g. choosing the order of the boot options, which one is default, the time-out, and automatically hiding the boot options and extra boot options with an option to reveal them), then you know you have a working start. Thereafter, "grow" the options, one at a time, adding (say) a background choice; different icons; and so on.

Any other way will make it exceedingly hard, don't you think?

MG&TL
August 12th, 2011, 11:39 AM
Yeah. to all of that. ;)

MG&TL
August 12th, 2011, 11:44 AM
I'm looking at the source code on launchpad and to be honest, it's looking pretty slimmed down already, perhaps a few extreaneous variables, but nothing that would cause slowdown on that scale.

cecilpierce
August 12th, 2011, 11:47 AM
Hi Paddy,
TL is using XCHAT which you can get from synaptic, it comes with a help file and you can search for what your interested in and then just connect to it.
I use "Chatzilla" which runs inside of FireFox, its an Add-on in the 'Tools' menu or if its not there you can DL it from 'Mozilla'.
When it opens you have to connect to a node, I use 'freenode' and to start you can get a list which is large of chat channels or if you know the one you want type '/join #name' and your there.
They all have help files, five minutes and your a pro !
Ten minutes and your bored :P

cecilpierce
August 12th, 2011, 11:52 AM
You guys type faster then me!
I got distracted by my grandson in the middle of the last msg and when I sent it 3 earlier one were there, geeez! :p

MG&TL
August 12th, 2011, 12:48 PM
Yeah, sorry internet generation I'm afraid, you oldies are just gonna have to catch up! :P

Nah, you knew how to use Xchat better than I did!

cecilpierce
August 12th, 2011, 01:20 PM
Im having a bad day, gota go buy a basketball for my grandson and take him for breakfast.
So Ill yak at ya later on after while sooner or later, get off the Internet and do some grubin !!!
:popcorn:

MG&TL
August 12th, 2011, 02:19 PM
Grubbin' now!

Paddy Landau
August 12th, 2011, 05:13 PM
Next 'conference' is at 4:00 GMT tommorow.
Can I confirm that this means Saturday 13th at 16:00 UK time? Or did you mean 4:00 a.m.?

http://www.timeanddate.com/

Also, thanks all for the IRC details. I discovered that I had experimented with IRC a long time ago, but I had forgotten about it. Luckily, I had saved my password!

Anyway, I tried Pidgin, gnome-xchat, xchat and ChatZilla. The last one is the "prettiest", but I struggled to find out how to join a server (the first three have a menu option to do it). Pidgin had the best defaults (it remembers your password and which server you had last signed in to).

Anyway, I know how to use it now. Thanks.

I'm following #ubuntu -- how do people know what's going on? There are several conversations all happening at the same time!

MG&TL
August 12th, 2011, 10:43 PM
I guess you just 'tune in' to the one you want...- I'm writing a GUI tonight to edit the gfxmenu themes. It may be slow, but at least i'll have something to show whille we work out what's causing the slowdown. I'll post developments here. Tarball format and .sh installers OK for everyone?

I've switched from Tkinter to PyGtk, as this seems to be what all the Gnome apps are written in (i.e. gEdit, gNotes, that kind of style). It's also much easier, although I would have said less configurable from a first glance.

MG&TL
August 13th, 2011, 07:38 PM
Really sorry guys, haven't made any progress at all since I last posted, Internet has been down. :(

Grubby continuing apace now.

MG&TL
August 14th, 2011, 09:03 AM
Making a launchpad thingummy now-the files are too big for Ubuntu forums.

https://launchpad.net/grubby

Source code will be arriving soon, and I'm looking in to how I allow you guys to contribute.

cecilpierce
August 14th, 2011, 11:12 AM
What am I suppose to do with that rdf thing ?
:confused:

Paddy Landau
August 14th, 2011, 11:57 AM
What am I suppose to do with that rdf thing?
You're not supposed to do anything with it. It's the description of the Launchpad project itself.

cecilpierce
August 14th, 2011, 12:36 PM
You're not supposed to do anything with it. It's the description of the Launchpad project itself.

OH! I thought he said there were files in launchpad, I'm not so bright about this rig-a-ma-roe ! :confused:

Paddy Landau
August 14th, 2011, 03:11 PM
... I thought he said there were files in launchpad...

Not yet:
Source code will be arriving soon...

I'm sure TL will tell us when he's uploaded something.

MG&TL
August 14th, 2011, 06:35 PM
Nothing's up there yet. Launchpad is hell to use...I'm posting a thread on here now asking how to use it.

MG&TL
August 16th, 2011, 02:31 PM
Right, have two themes and an installer so you can choose between them.

Launchpad is being horrifically slow in emailing my pgp key, so if anyone wants it, PM me with your email and I will 'post' it. :)

MG&TL
August 16th, 2011, 02:38 PM
More themes are coming, btw. If anyone wants to contribute, I need: a font or two (any format you like, preferably .ttf or pf2) a backdrop, and a colour palette of some sort, prefereably in hex code, but if not RGB or 'light blue' format.

I already have Ubuntu and a default theme, but don't let that stop anybody. The themes run (with no noticeable lag) on a Pentium 4 with 256 Mb RAM, so it should work on your PCs. I intend to produce 'lite' and 'heavy' themes for those with different hardware levels.

Lite is what I'm producing currently, includes title, backdrop, and coloured text.

Heavy could include circular timers, selection highlighters, etc. The world is your oyster, providing it's in gfxmenu. If you want to make a 'heavy' theme for your supercomputer, PM me. All themes will be attributed to those who made them. :)

cecilpierce
August 16th, 2011, 02:58 PM
@TL

Well I got one of my Ornerys to work after fiddeling for 2 days, now to see whats wrong with the other one.
I sent you a pm, you had a few msgs on your home page !!!

Well carry on

:popcorn:

MG&TL
August 16th, 2011, 03:51 PM
My first (naive) volunteer! Heh, Heh. Thanks cecil!

MG&TL
August 16th, 2011, 08:21 PM
Arrgh. Debian packaging is a nightmare. I don't suppose there's any veterans out there who have done it before? A lot to ask, I know (it would be my lucky day!)

GUI coming soon. How's it going cecil? I'm getting a bit worried since I haven't heard back, I'm hoping my software hasn't killed anything? :o

cecilpierce
August 17th, 2011, 01:36 AM
Sorry TL, I had a small crash Saturday, rolled the air-boat over and im kinda soar and cut up from saw-grass, took a nap after I tried Grubby, it works real good, I tried to take a pic of it but my old cell phone got wet Saturday so the new one wont let me get the pic out of it. but it looks nice.
I put grub on sdb and burg on sda.
Can you put a solid background on the selected text? I guess you can Im going to look at it and see what the files look like.
Well its 8:30 here so I guess your 6+ ahead of me and asleep so yak at you later,
Thanks, Cecil

MG&TL
August 17th, 2011, 08:27 AM
Cecil! A boat crash! :shock: Poor you.

When you say a solid background, you mean a little box around the text (like in the original), right? Yeah, sure I can do that, or you can, it's up to you. Make sure that the credits are updated to include what you did if you do it yourself. Don't want to put anybody down.

Launchpad has finally emailed back with the encryption, so away I go. Ubuntu code of conduct now. ;) As if I would misbehave...

cecilpierce
August 17th, 2011, 12:26 PM
Congratulations :)

Yea, the box, it makes it stand out for us old pharts to see better !!!

Whats next on the agenda ?

MG&TL
August 17th, 2011, 03:06 PM
Well, A GUI, when:

a) I can get it to work, and

b) I've found a way of packaging it so that you don't have to install the GUI libraries manually.

In the meantime, any other suggestions? Yours is down cecil, I've got MG working on it now. :)

Yes, and a .deb so that non-devs can install it- :P. I've found a guide for a basic .deb (that's readable) , but I have a feeling that if said .deb wants to go anywhere or do anything complicated, it's not going to be good enough.

Any suggestions are most welcome, as I don't have a clue about either of these, and my head's hurting.

Thank you very much cecil. I don't need to be congratulated, it's you guys with the suggestions and inspirations. :D

Oh, and a useful thing I found, if you put any executable in /usr/bin, you can type its name in a terminal, and it runs the app. :)

MG&TL
August 17th, 2011, 04:02 PM
Just a quick test: Can you run this executable once decompressed? It opens a test window. Double-clickable. Cheers guys! :D

Paddy Landau
August 17th, 2011, 04:20 PM
... when: b) I've found a way of packaging it so that you don't have to install the GUI libraries manually.
Try these three links:


Personal Repositories (https://help.ubuntu.com/community/Repositories/Personal)
Debian New Maintainer's Guide (http://www.debian.org/doc/manuals/maint-guide/)
Create Debian Linux Packages (http://www.ibm.com/developerworks/linux/library/l-debpkg/)

I've never done it myself, so I hope those help.


I don't need to be congratulated
Very modest of you, TL, but when all's said and done, you're the one doing the work. I second cecilpierce: Congratulations!


... if you put any executable in /usr/bin, you can type its name in a terminal, and it runs the app.
In a terminal, type echo ${PATH} to show you all the executable paths.


Just a quick test: Can you run this executable once decompressed? It opens a test window. Double-clickable. Cheers guys! :D
I would -- if I knew where the executable was!

MG&TL
August 17th, 2011, 06:14 PM
I would -- if I knew where the executable was!

Err...it should be there. Damn, just checked my linux pc, it didn't upload. Damn Internet dropped out. I shall upload in an hour or so when dinner's over. I'm only on here because I'm laying the table...:D Thanks for the gotcha, paddy.

Thanks for the links as well.

MG&TL
August 17th, 2011, 06:33 PM
Got away!

Paddy Landau
August 17th, 2011, 08:55 PM
My result:

./Test: error while loading shared libraries: libgtkmm-2.4.so.1: cannot open shared object file: No such file or directoryI have checked Synaptic, and I have libgtkmm-2.4-1c2a installed.

MG&TL
August 17th, 2011, 10:17 PM
Thanks for testing it, paddy! A brave soul downloads executables from the web...

If you wouldn't mind, would you try:


sudo apt-get install libgtkmm-2.4-dev

Thank you! (it should work after that)

cecilpierce
August 18th, 2011, 05:57 AM
Hay, just got back from working on the boat, tired !
I don't know whats going on but I tried your test tar thingy

Paddy Landau
August 18th, 2011, 07:52 AM
A brave soul downloads executables from the web...
Or foolhardy!


sudo apt-get install libgtkmm-2.4-dev
Done, but the same error:

./Test: error while loading shared libraries: libgtkmm-2.4.so.1: cannot open shared object file: No such file or directoryIt worked for cecilpierce, so what's the difference? I'm running 64-bit Lucid. cecilpierce, what are you running?

TL, do you want to list all dependencies (if you know what they are), so that I can see what I may be missing?

MG&TL
August 18th, 2011, 08:25 AM
Thank you cecil, and you too paddy. In theory, the only thing my executable needs is to be able to use the gtkmm libraries, and since gtk is the standard GNOME format, everyone should be able to. I just installed the libgtkmm-2.4-dev package so I can develop it, I thought.

It's a very simple 'hello world' program, but I wanted to test whether a GUI would run 'out of the box' without installing anything. I don't suppose you would have removed anything, paddy?

I think I'll just put the package in 'depends' Your error is interesting. I just didn't want to write something that nobody could use without a load of dev libraries. I'll run a USB, and see if I can run it. I hate bugs....:mad: Sorry to trouble you, paddy. If I can find out what's causing it, I'll fix it.

Version 1.1 should have a GUI. :)

Thanks for the test, cecil, that's exactly how it should have worked. Have you installed anything along the gtkmm line? btw, how's the boat doing?

Paddy Landau
August 18th, 2011, 08:56 AM
I don't suppose you would have removed anything, paddy?
Not to my knowledge, I haven't. Perhaps raise a new thread in the programming forum to ask what the problem could be. Post the thread link here so that I can follow it and help out with testing.


Sorry to trouble you, paddy.
No problem, TL! This is my way of contributing.

MG&TL
August 18th, 2011, 09:51 AM
Thread here:

http://ubuntuforums.org/showthread.php?t=1827595

Humph. Well, in the meantime, I shall try and get a GUI working.

MG&TL
August 18th, 2011, 11:36 AM
According to the guy who answered, your libraries are out-of-date. So, I think:


sudo apt-get update && sudo apt-get upgrade

should work, although I'm waiting for confirmation. Hope this sorts the problem. .deb. package might be incoming tonight, I vaguely understand it now.

cecilpierce
August 18th, 2011, 12:42 PM
@Paddy
I'm using 32-bit Oneiric Ocelot.
Lucid might not have all the newer lib's maybe ?

MG&TL
August 18th, 2011, 01:00 PM
I'm using Lucid. 32-bit. I think the best solution is for me to build a .deb package and see if that works, rather than firing stand-alone executables cross the web. If I get the oppurtunity, that should be on launchpad tonight. (GMT). If there's no bugs. :) I'm afraid there's still no GUI, but at least there's a .deb. Purge any previous installs you may have had before you install the .deb :D

Paddy Landau
August 18th, 2011, 01:18 PM
According to the guy who answered, your libraries are out-of-date.
I've posted my reply (http://ubuntuforums.org/showthread.php?p=11163522#post11163522) on your thread, TL.

MG&TL
August 18th, 2011, 03:31 PM
Instructions for paddy, who's volunteered to compile 64-bit code for me. :D

make sure you have g++.


sudo apt-get install g++

That is all you need.

Extract tarball to home folder, call it 'Grubby' if it doesn't already. (Home folder, not desktop or anything!) (There will be 'system' locations next release, i.e. not cluttering up your stuff)


Then compile:

cd ~/Grubby/src

g++ -o Grubby Grubby.cxx


And if all goes well, (no errors, returns to prompt after a pause), cut and paste the executable from ~/Grubby/src up one, to just ~/Grubby. Run it if you want (please don't if you value your stuff/don't know how to fix if all goes wrong), then recompress the folder, calling it 'Grubby64.tar.gz' or whatever.

Any errors or problems, PM, email, or post here. Cheers! :D

Paddy Landau
August 18th, 2011, 05:30 PM
I compiled without error.

I ran it, thinking that this was going to be your little test GUI :redface:

Luckily, I didn't run it with sudo, so no harm done!

I will email the compiled code to you.

Would you like me to create a VB and test it?

MG&TL
August 18th, 2011, 05:48 PM
Sorry, should have made that clear. Phew. It won't actually do anything until you select an option, but that was close. :o

Please do-but only if you want to-VERY experimental at this stage (but that's what a VM is for, I guess). Got the executable, the terminal's building the .deb as we speak. Thanks a lot-are you willing to do this for future releases? It was a great help, if only for this release. :D

Paddy Landau
August 18th, 2011, 05:55 PM
are you willing to do this for future releases?
Yes, of course! Just ask.

MG&TL
August 18th, 2011, 06:25 PM
Thank you Paddy! .deb is being attached. :D :D

Cecil, do you want a .deb as well? (if so, email me, tell me your architecture)

Instructions: Remove any folders in your home folder labelled GRUBBY (if you have any)

Extract .tar.gz to wherever you like. Double-click on the .deb, and away you go. All done. Type 'Grubby' in a terminal to run. PPA coming soon. :D

Send any bug reports to me, and they will get fixed. (I am sure there will be plenty, as I am even less confident about the .deb than the source! For pity's sake run it in a VM if you value your machine's general wellbeing...)

EDIT: no tarballs, you can't compress .debs. Noob error, sorry.

Paddy Landau
August 18th, 2011, 07:10 PM
I'm building a virtual machine now.

I'll get back to you tomorrow; it's getting late and I need to get the kids (and me!) to bed.

MG&TL
August 18th, 2011, 07:19 PM
OK...night, paddy kids! Sleep well.

cecilpierce
August 18th, 2011, 09:34 PM
@TL
email me the deb I will get it a try, 32-bit

MG&TL
August 18th, 2011, 10:13 PM
Sending now. I must sync this with Ubuntu One or something so that you can all get it. Launchpad is a project for tommorow. :D

cecilpierce
August 18th, 2011, 11:32 PM
Thanks TL,
I just put it in a new install of O.O.
Had some dependency probs but fixed that, libmm.dev or something like that.
It still jerks a little with the ubuntu theme and if you hold the down arrow key to long it keeps on jerking, but it did that with the old grub gfx theming to but not with burg, wonder how he fixed that ??? :confused:

cecilpierce
August 18th, 2011, 11:37 PM
The air boat is patched up for now, still have a voltage drain on the battery but cant find it so I just disconnect it when not in use, went for a test ride and a good thing, there was a man and his grandson broke down, oil plug came out !
Took them back in to get more oil and a plug, bummer....!

MG&TL
August 19th, 2011, 08:19 AM
IDK, that's why I was trying to get hold of him. It only lags a little on 256 Mb RAM, maybe it's your VM (I think, what's O.O?)

Good to hear about the boat. It's not like a little more oil's going to be a problem in your part of the world.. :P

libgtkmm-2.4-dev? That's a dependency, but I don't know why it didn't just install that...:confused:

Paddy Landau
August 19th, 2011, 09:15 AM
TL, I have received your 64-bit deb, and created a VM to test it.

But, oh, the irony!

VirtualBox cannot support 64-bit virtualisation (http://www.virtualbox.org/manual/ch03.html#intro-64bitguests) unless the CPU supports hardware virtualisation.

Guess what my CPU does not support... So, sorry, I can't test for you. :(

Here's how to check whether or not you can run a 64-bit virtualisation on your machine, even if you have a 32-bit host OS.


grep -qF lm /proc/cpuinfo && grep -cE 'svm|vmx' /proc/cpuinfo

If this returns 0 or nothing, you cannot run 64-bit virtualisation on your machine.
If it returns 1 or greater, you can run a 64-bit virtualisation, even if you have a 32-bit OS.


If you can support 64-bit virtualisation, you can create a VM with a 64-bit Ubuntu guest (even on a 32-bit Ubuntu host) and do everything you need there.

BTW, I recommend Lubuntu (http://lubuntu.net/) instead of Ubuntu, as it optimised for slower hardware. Lubuntu is extremely fast and has much lower RAM requirements (just 256Mb to install and 128Mb to run; you can set the RAM to 256Mb, install, then lower the RAM to 128Mb). You can get its 64-bit version from its download page (https://help.ubuntu.com/community/Lubuntu/GetLubuntu#11.04). Be sure to read the section labelled About 64 Bit (https://help.ubuntu.com/community/Lubuntu/Documentation/CheckISO_CD#11.04%2064%20bit%20Community%20Edition ) to check the download's integrity before installing.

Paddy Landau
August 19th, 2011, 09:18 AM
... but not with burg, wonder how he fixed that?
IDK, that's why I was trying to get hold of him.
What about asking on the Programming forum (http://ubuntuforums.org/forumdisplay.php?f=39)?

MG&TL
August 19th, 2011, 11:59 AM
Sorry, hardware returns 0. It WAS made when 64-bit was only used in supercomputers...I shall have to find a different way to test.

I see no reason why code compiled on a 64-bit machine should not run on your machine, so I think what we will do in the meantime is continue to build the project (32-bit versions), and send you 'dud' 64-bit executables that don't do anything, but do run. Is that agreeable to everyone? Would I be right in thinking that 32-bit applications run on 64-bit, just not as efficiently as they could? When the project releases a stable release, I suggest that we recompile, and see if it works then. (If you're willing, I don't expect you to be)

AFAIK, you can simply re-install GRUB from a live cd, so testing isn't as dangerous as I thought. :D

PPA is going badly, why can't it just take .debs, it would be much simpler. And if I don't know how to get the 'orig.tar.gz' in the first place, how am I going to upload it? Once I've got this sorted out, I'll have to find out how to write a 'how-to' on the topic for any other launchpad newbs.

cecilpierce
August 19th, 2011, 12:44 PM
@TL
O.O. is Ubuntu Oneiric Ocelot 11.10
I have 3 installed and that one was all messed up, so I dumped it :D for a new and improved one.

MG&TL
August 19th, 2011, 01:38 PM
@cecil. Ahhh...

I think we've been spammed. :( I'll report it.

MG&TL
August 19th, 2011, 01:51 PM
Done the thread, will keep you posted on any developments.

Heading for my first 'coffe cup rank' :popcorn:

Paddy Landau
August 19th, 2011, 04:15 PM
Sorry, hardware returns 0. It WAS made when 64-bit was only used in supercomputers...
:lol:


Would I be right in thinking that 32-bit applications run on 64-bit, just not as efficiently as they could?
I believe that you need to install something-or-other to be able to do that. Remember the problem we got with the "Test" (http://ubuntuforums.org/showthread.php?p=11161014#post11161014) that you did previously.

Please try that Test again: send me the source code along with the instructions on how to compile it. I'll compile it, run it, and let you know the results.


When the project releases a stable release, I suggest that we recompile, and see if it works then. (If you're willing, I don't expect you to be)

AFAIK, you can simply re-install GRUB from a live cd, so testing isn't as dangerous as I thought.
Good points, TL. When you get a stable (or at least a beta) release, I'll try. But I'd like to do the Test first as proof-of-concept.


Once I've got this sorted out, I'll have to find out how to write a 'how-to' on the topic for any other launchpad newbs.
Surely there's one already? Did you see the official help (https://help.launchpad.net/Packaging)?

MG&TL
August 19th, 2011, 05:00 PM
The test prog I sent was just a GUI; it didn't actually DO anything.

Sorry about this mess; I'd forgotten about 64-bit. ;) This is why I work as a team...

Yep, I can send the prog again if you wish. Sending it now.

Yeah, I did see the official help-I'm afraid it's in code. :D Typically, I find that if you are completely new to launchpad (and I was) you can get through about three steps, then something fails because you haven't organised it correctly. I'll search for a how-to, but I didn't see one on my Internet searches.

Paddy Landau
August 20th, 2011, 08:11 AM
Hi TL, thanks for your Test code.

I compiled and ran it successfully, without any problem. I had a blank window that I could minimise, restore, maximise and close.

If you need me to compile code for you, send it along and I'll be happy to do so. But I won't test on my live machine until you have at least a beta version and I know how to restore Grub on failure (and I will back up my data first!).

MG&TL
August 20th, 2011, 09:15 AM
No, no really, I don't want anyone to muck up their pcs with any of my (dubious) code. :D I'll email when I believe I have a beta...

Really pleased that the GUI works, a PPA should be up there soon. (I have done it, but it ran into an error, so I'll have to do it again.

cecilpierce
August 20th, 2011, 11:34 AM
Good Morning Grubers :)

Can't you test or install grubby on a flash drive (sdb or sdc) and choose it from the bios when you start the PC ?
That way you don't mess with the original grub on sda in case something, heaven forbid, goes wacky :P

If you had a 4 gig flash you could run off it entirely!

lucazade
August 20th, 2011, 11:37 AM
I'm still wondering what is about this thread after 25 pages :D
Is it a tool to customize grub? A work in progress? something?!

MG&TL
August 20th, 2011, 08:31 PM
Grubby, as it currently stands, is a command-line tool to apply pre-made themes to the Grub2 bootloader. It is still in progress, and any installs should be made with caution. In the future, two important devlopments need to be made:

-a GUI

-Make it so you can make your own themes too.

There is only two themes available currently, (Ubuntu and Default), but more are coming shortly.

There is a PPA on launchpad, but it's not working as yet. Thanks for the interest, btw. I'm not entirely certain how it ran to 25 pages and 5,000 views, but there you go.

The flash idea's a good'un, cecil, I hadn't thought of that. PPA might (hopefully) be up by this evening, barring any bugs. (Is it still running, grubby, cecil?)

How's the boat and Ornerys going?

lucazade
August 20th, 2011, 08:35 PM
ah ok.. tnx for clarification and good work!

MG&TL
August 20th, 2011, 08:38 PM
No problem, it's my first project, hence why everything's a 'work in progress' and 'not working'!

Thanks really go to the co-pilots, here, mainly Cecil and Paddy at the mo, but there have been others. Any help, btw, is very welcome, as is the spirit of open-source. :D

MG&TL
August 21st, 2011, 01:56 PM
Just an update, guys. Launchpad is still not being very helpful, I have posted on their 'answers' forums about the issue. :D

Grubby has had it's first revision! (1.0.1)

-Fixed bug in 'Default.sh'

-Modular code.

-Rewritten GRUB theme installation process to be less system-intensive. Still a bit of lag on the actual bootloader though, although if you have on OK computer, you should have no problem whatsoever. :(

Sorry I haven't posted for a while, I've been at a '1940s weekend'. GUI by this evening is my target. <facepalm>

Bit of a problem with your highlighters, cecil, should be fixed by next release.

cecilpierce
August 21st, 2011, 03:17 PM
@TL

1940's huh ?
Were there any old English Fords there ?
First car I drove, was my uncles, back then they only had one color, Black!

MG&TL
August 21st, 2011, 03:53 PM
Yup, lots of Fords (guess what? all in black) Early Mk Jags too. =P~ :-({|=

No, I had to dress up. :( :oops: It was awful, and it wasn't exactly my choice, so I rebelled and stayed at home today. :D

RJ12
August 21st, 2011, 08:58 PM
Just a tip on publishing, you could also probably use GitHub too so you can commit, push, and others can pull the code easily while Launchpad isn't working.

MG&TL
August 21st, 2011, 10:14 PM
No, launchpad's fine, I just gotta learn how to use it. ;) The documentation isn't what I would have called clear. They're also really slow at sending e-mail to yahoo! I did file a bug report to Yahoo! but got a bot. :(

Will have to have a look at GitHub.