[ubuntu-uk] Education technology show
http://www.bettshow.com/bett/show_home1.asp "BETT is the world's leading educational information & communications technologies (ICT) event, attracting 600 educational suppliers and over 28000 visitors, and bringing together the global teaching and learning community for four days of innovations and inspirations." Was flagged up on another list, would be good to have an Edubuntu presence. 10-13th Jan 2007. Caroline -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
Re: [ubuntu-uk] GTK and C
On 15/11/06, Greg Dash <[EMAIL PROTECTED]> wrote: I already have pkg-config installed, could it be a config problem? On 15/11/06, Andrew Price <[EMAIL PROTECTED] > wrote: > > On 15/11/06 15:24, Greg Dash wrote: > > gcc `gtk-config --cflags` -Wimplicit " gtk2.c" -lgtk` gtk-config > > --libs` -o "gtk2" > > gtk-config is provided in libgtk1.2-dev but you want to use > libgtk2.0-dev, which provides .pc files for pkg-config to use. Hence you > probably need to use pkg-config instead of gtk-config. I'm no expert on GTK so beware of inaccuracies here... but I think the point is that gtk-config provides information about the libraries that need to be included into your application for a GTK1.2 application, and pkg-config is for GTK2.0. If you are intending to compile a GTK2 (the current version) application then your compile command would probably look something like gcc gtk2.c -o gtk `pkg-config --cflags --libs gtk+-2.0` Have a look at http://www.gtk.org/tutorial/c39.html for the helloworld example. Talking of IDEs, I'd be interested in hearing any opinions on the free Linux development tools. I haven't used anjuta much, I found the way it sets up its compile options confusing! It seemed to behave very bizarrely with the pkgconfig for gtkmm, the C++ wrapper for GTK. I also had a play with Eclipse CDT for C/C++ and didn't like that either, so I've been using gvim for an editor, CGDB for the debugger and building little shellscripts to use as compile scripts. Pat. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
Re: [ubuntu-uk] Free vs non-free drivers etc
On 15/11/06, Rob Beard <[EMAIL PROTECTED]> wrote: > Hi folks, > > I was wondering if I could get peoples general opinion on free vs > non-free drivers etc. > I have two views on this number one I play games on my machine so I want 3d, which is only available via non-free drivers. Number 2 I believe that the card producers are doing what they can, (before I get flailed) I know they can do more but reading several reports including one from X.org they (the manufactures) don't own the rights to many of the chips used so you would only ever get partial open graphics in the manner of the latest intel chips. Cutting a long story short their trying and should be commend for at least suppling Linux with drivers all be binary. > We have been having a discussion on our LUG about Flash on PPC. It > eventually turned into a proprietary is bad argument with the usual > suspects preaching that everyone should use just free software with not > a sniff of non-free software. > Flash is software not hardware and so yes it is bad. They own all the rights to it and could therefore open source it and make the world a better place plus 64 bit versions would suddenly appear. > For some of us we need or want a bit of non-free code on our computers > as unfortunately it is the only way we can use our computers or get the > experience we want. One of the guys on my local LUG said that if we're > running non-free on Linux then we're better off running Windows. > > Now I have argued that yes, its not ideal that we're running non-free > stuff on Linux (I would love to go completely non-free) but from a new > user perspective seeing flame wars like that would most likely put new > users off. It seems to be the same couple of users who will sit there > and moan but not even offer to help out when we're doing things to > promote Linux. > > I argued that surely if a bit of non-free gets new users to move over to > Linux from Windows, then once they are using Linux they can explore the > free alternatives, and maybe even contribute to the community (say > writing a bit of code, documentation or providing support to other new > Linux users). > > I just wondered what others thought. How I see it, we're in a perfect > position to be talking up and demonstrating Linux as an alternative to > users moving over to Vista and potentially dumping a perfectly good > computer. I am getting to the point where I am possibly going to set up > my own mailing list for Devon to promote Open Source software as I just > don't think that the local LUG I am a member of is interested in > anything other than /. style flame wars. I am in the same boat as you I believe that Ubuntu has the right idea include as little proprietary stuff as possible but enough that hardware words properly. This is one of the reasons why I am happy that Feisty may well include binary nvidia/ati graphics drivers. Why I hear you shout? No one complains about the fact that wireless works out of the box but most of those drivers are binary (non-free) so what difference does it make if they include binary graphics too. There are very few Distros out there that are completely devoid of non-free packages but if flame wars continue the way they are you will lose users from a lack of understanding. Lets keep the users and educate them to understand the correct view point so when free (as in speech) hardware becomes available it is purchased over the non-free versions. Software that isn't open is bad the same can not be said for hardware. We may all wish it was open but until that day comes you will need to use something in order to get an image on the screen or wireless to work. Let's no flail the new comers for not knowing any better and instead educate them so the end result is right. -- Seek That Thy Might Know -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
[ubuntu-uk] Free vs non-free drivers etc
Hi folks, I was wondering if I could get peoples general opinion on free vs non-free drivers etc. We have been having a discussion on our LUG about Flash on PPC. It eventually turned into a proprietary is bad argument with the usual suspects preaching that everyone should use just free software with not a sniff of non-free software. For some of us we need or want a bit of non-free code on our computers as unfortunately it is the only way we can use our computers or get the experience we want. One of the guys on my local LUG said that if we're running non-free on Linux then we're better off running Windows. Now I have argued that yes, its not ideal that we're running non-free stuff on Linux (I would love to go completely non-free) but from a new user perspective seeing flame wars like that would most likely put new users off. It seems to be the same couple of users who will sit there and moan but not even offer to help out when we're doing things to promote Linux. I argued that surely if a bit of non-free gets new users to move over to Linux from Windows, then once they are using Linux they can explore the free alternatives, and maybe even contribute to the community (say writing a bit of code, documentation or providing support to other new Linux users). I just wondered what others thought. How I see it, we're in a perfect position to be talking up and demonstrating Linux as an alternative to users moving over to Vista and potentially dumping a perfectly good computer. I am getting to the point where I am possibly going to set up my own mailing list for Devon to promote Open Source software as I just don't think that the local LUG I am a member of is interested in anything other than /. style flame wars. Rob -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
Re: [ubuntu-uk] GTK and C
I already have pkg-config installed, could it be a config problem? On 15/11/06, Andrew Price <[EMAIL PROTECTED]> wrote: On 15/11/06 15:24, Greg Dash wrote: > gcc `gtk-config --cflags` -Wimplicit "gtk2.c" -lgtk` gtk-config > --libs` -o "gtk2" gtk-config is provided in libgtk1.2-dev but you want to use libgtk2.0-dev, which provides .pc files for pkg-config to use. Hence you probably need to use pkg-config instead of gtk-config. -- Andy Price http://andrewprice.me.uk -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/ -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
Re: [ubuntu-uk] GTK and C
On 15/11/06 15:24, Greg Dash wrote: > gcc `gtk-config --cflags` -Wimplicit "gtk2.c" -lgtk` gtk-config > --libs` -o "gtk2" gtk-config is provided in libgtk1.2-dev but you want to use libgtk2.0-dev, which provides .pc files for pkg-config to use. Hence you probably need to use pkg-config instead of gtk-config. -- Andy Price http://andrewprice.me.uk -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
Re: [ubuntu-uk] New screencast for today
On Wed, Nov 15, 2006 at 12:15:10PM +, Jonathan Roberts wrote: > Have you dugg all of these?! I haven't looked at the latest one but I > did take a peak at quickones.org and you've got quite a good collection > now! Might be a good to digg/slashdot it and get a bit more awareness of > it out? > No, the article about creating them was dugg earlier by someone else but (probably due to my crappy writing style and lack of pretty pictures) it didn't get dugg much. The site itself hasn't been dugg and I'm not sure it's appropriate until there's quite a large collection of them. Of course there are other people doing this like http://osvids.com/ http://ubuntuvideo.com/ and http://ubuntuclips.org/ who already do the same thing and have appeared on digg (etc) I suspect quickones won't get much attention (yet). I'll just wait and churn out a few more and if people find it, that's great. Cheers, Al. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
[ubuntu-uk] GTK and C
Hello, my proper post :-) I am quite new to Linux and C/C++ programming but I wanted to try and create some GUI with GTK as they have good tutorials with C, I just Anjuta to write and compile the application. I have GTK Libs and GTK Dev packages installed, I install them via Synaptic. The program I'm trying to compile is: // File: gtk2.c #include int main( int argc, char *argv[] ) { GtkWidget *window; gtk_init (&argc, &argv); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_widget_show (window); gtk_main (); return 0; } The problem is I cannot compile the program I have added GTK to the compiler and Linker options and this removed one error saying GTK.H could not be found. but I am still unable to successfully compile the application, the errors I get from Anjuta are: gcc `gtk-config --cflags` -Wimplicit "gtk2.c" -lgtk` gtk-config --libs` -o "gtk2" gcc: `gtk-config: No such file or directory cc1: error: unrecognised command line option "-fcflags`" cc1: error unrecognised command line option "-flibs`" Completed... unsuccessful I thought it might be that I don't have all the libraries and dev files but I apper (as fair as I know) to, Thanks in advance, Greg. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
Re: [ubuntu-uk] New screencast for today
Have you dugg all of these?! I haven't looked at the latest one but I did take a peak at quickones.org and you've got quite a good collection now! Might be a good to digg/slashdot it and get a bit more awareness of it out? Jon -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
[ubuntu-uk] Dell gives refund for unused Windows licence
Hi folks, I thought you might be interested in this. I found it in a local LUG mailing list. It seems that a Sheffield man got a refund for an unused copy of Windows XP Home as he was planning on installing Linux when he got his laptop. Looks like he got £50 back! Details are here: http://news.bbc.co.uk/1/hi/technology/6144782.stm Rob -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
[ubuntu-uk] Creating a partition at end of the disk
Hi, I am installing Ubuntu Server 6.10 for the purpose of creating an installation environment for our 700 computers. It will be a small linux partition that has scripts to connect to the image store and reimage the Windows partition and will include other support tools like backing up files for example. Currently, I have created ntfsclone images, and reimaged these back to the hard drive via an sshfs mount and using dd to zero hda2 on each attempt. The bit I am stuck on is creating the partitions using a script due to the ramdom sizes involved. I need hda1 to be the size of the disk minus 500mb, whereas hda2 is the 500mb. I have got loads of results from sfdisk, fdisk, and cfdisk, but I am not use what value to trust for 'out in the wild' use because some of the values vary from hard drive to hard drive. Does anyone have any ideas on how to get a partition of 500mb at the end on the disk and then another the rest of the size at the beginning? I have seen a program before that has an option for beginning or end when creating the partition, just can't remember which one. I am currently using fdisk and directing the key presses from a file. The reason for not having the 500mb at the front, and then the rest for Windows is due to NTFS having to know in it's partitions table where the beginning of the partition is. NTFS does not trust the hard drive partition table (apparently, so many google searches report). After NTFS cloning the windows partition, I use ntfsresize to increase it's partition table's size to the maximum of the partition - this works fine for the size but does not resolve the start block. Norton Ghost resolves the issue of the partition start block, but if I create the partitions on another drive, it doesn't boot because 500mb from the start of the disk might be on a different block. I have already seen two drive with different block sizes! Sorry this is long... Thanks Matthew -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/