LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 03-29-2013, 08:14 PM   #1
PeterUK
Member
 
Registered: May 2009
Posts: 277

Rep: Reputation: 16
This may be a very simple question GTK


Can use GTK 2 in 12.04 Ubuntu? Thanks
 
Old 03-29-2013, 09:28 PM   #2
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,249

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally Posted by PeterUK View Post
Can use GTK 2 in 12.04 Ubuntu? Thanks
12.04 will be using Unity and Gnome 3. This will require gtk3.

That said it should have gtk2 installed also because there are packages that require it.

There will be a fairly long time of overlapping use of the two versions of gtk.
 
Old 03-30-2013, 02:44 AM   #3
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by PeterUK View Post
Can use GTK 2 in 12.04 Ubuntu? Thanks
What exactly are you trying to do here???
A few days ago you were trying to use GTK 3 on Ubuntu 10.04: http://www.linuxquestions.org/questi...to-4175455815/
So now you are trying to use GTK 2 on Ubuntu 12.04???
What exactly do you hope to gain by using a newer GTK on an old version of Ubuntu, and or an old GTK on a newer version of Ubuntu?

When using Ubuntu, your best bet is to stick with the default packages in the Ubuntu repos. This is especially true for important system components like GTK.
 
Old 03-30-2013, 10:45 AM   #4
PeterUK
Member
 
Registered: May 2009
Posts: 277

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by tommcd View Post
What exactly are you trying to do here???
A few days ago you were trying to use GTK 3 on Ubuntu 10.04: http://www.linuxquestions.org/questi...to-4175455815/
So now you are trying to use GTK 2 on Ubuntu 12.04???
What exactly do you hope to gain by using a newer GTK on an old version of Ubuntu, and or an old GTK on a newer version of Ubuntu?

When using Ubuntu, your best bet is to stick with the default packages in the Ubuntu repos. This is especially true for important system components like GTK.
I make me slime that someone is following my threads. :-)

A bit of History, I started using Ubuntu more than 2 yeas ago, I stared using 10.04 and I did like it because all work from the installation and I like the apt-get way to get package installed. Until today I can still using my 10.04 drive and all working fine actually better that it does in 12.04 and perhaps even my Slackware (Just because you need to do loot to get this looking and doing nicely)

What I am doing: All this start because I want to create drawing on a canvas windows, doing it like an Oscilloscope. I know It could be done in GTK2 (worth to mention I wanted to do it in C, I want to keep in only C if possible) But when I started searching someone advice me to start learning GTK3 in stead so I did try to get it going, which I've found out you cannot do it in 10.04 (apparently), So I decided it was time to move on in OS and get something more difficult (better) so I am planing to stay in Slackware at the end.

So know I have two drive, one with the 10.04 as it has been for the last 2 years at least (Which will be deleted at some point) and A new drive with 12.04 (Transition Ubuntu) as I test/config/learn slackware.

A bit more: What I want now is have a OS which work as 10.04 or better, Ideally same or similar features on the X server as 10.04 and be able to do the same things as in my 10.04 drive. plus GTK ideally could compile GTK2 and GTK3 in the same distro.

If you want more details of all application and things I do please let me know, But I feel that is not what you are asking! ;-)
 
Old 03-30-2013, 11:04 AM   #5
PeterUK
Member
 
Registered: May 2009
Posts: 277

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by widget View Post
12.04 will be using Unity and Gnome 3. This will require gtk3.

That said it should have gtk2 installed also because there are packages that require it.

There will be a fairly long time of overlapping use of the two versions of gtk.
Thanks! That is what I want to be at some point be able to compile GTK2 and GTK3 in the same machine.

But at the moment when I trying to get all for GTK3 to compile it gives errors on the 12.04 LTS

I try to get it going from the scratch with source but it prove to be a long process one package depend or suggest another one and all of them to be lower version to the one I have. And I will have carried it on after about 6 hours it was that after all that work the pkg-config (I think) will not recognise the new GLIB. So I could not carry on.
 
Old 03-30-2013, 11:11 AM   #6
PeterUK
Member
 
Registered: May 2009
Posts: 277

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by widget View Post
12.04 will be using Unity and Gnome 3. This will require gtk3.

That said it should have gtk2 installed also because there are packages that require it.

There will be a fairly long time of overlapping use of the two versions of gtk.
Thanks! That is what I want to be at some point be able to compile GTK2 and GTK3 in the same machine.

But at the moment when I trying to get all for GTK3 to compile it gives errors on the 12.04 LTS

I try to get it going from the scratch with source but it prove to be a long process one package depend or suggest another one and all of them to be lower version to the one I have. And I will have carried it on after about 6 hours it was that after all that work the pkg-config (I think) will not recognise the new GLIB. So I could not carry on.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Question - needing a simple answer plz linuxnoob_sowhut Linux - Distributions 1 12-01-2010 03:54 AM
gtk simple interface help rino.caldelli Programming 6 01-16-2006 05:04 AM
Ubuntu Fluxbox simple question, simple answer? generallimptoes Linux - Software 3 09-26-2005 02:03 PM
Looking for simple GTK+ animation examples! paulsm4 Programming 2 08-11-2005 03:26 PM
Installing Programs - A simple question from my simple mind jmp875 Linux - Newbie 6 02-18-2004 09:03 PM


All times are GMT -5. The time now is 02:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration