Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New to X desktop in Gentoo, how do I get image support...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
MadOtis
Apprentice
Apprentice


Joined: 14 Dec 2002
Posts: 163
Location: Georgia

PostPosted: Sat Apr 03, 2004 4:16 am    Post subject: New to X desktop in Gentoo, how do I get image support... Reply with quote

I've been running Gentoo for a while in text only mode. I recently set up a new box with XFree and some other graphical goodies so I can build a gaming system instead of a server. I've successfully emerged XFree, Gnome, several tools (firefox, evolution, etc), but now I can't seem to get .jpg or .gif support (for example, to set a desktop background, display a .jpeg in evolution e-mail, etc.) I've made sure and added jpeg, gif, and png USE variables, but still no images. I tried ImageMagick, which again emerged successfully. I'm obviously missing something important.

Can someone shed any light or direction on what I need to emerge next?

Thanks in advance!
Back to top
View user's profile Send private message
jjasghar
Guru
Guru


Joined: 07 Mar 2004
Posts: 342
Location: $HOME=/usa/tx/austin

PostPosted: Sat Apr 03, 2004 4:29 am    Post subject: Reply with quote

i think if you
Code:
emerge feh
it can view images etc
_________________
#include <LinuxUser #324070>
main()
{
printf("and i'm sorry my spellign sucs.");
}
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Sat Apr 03, 2004 8:17 am    Post subject: Reply with quote

you can use feh to set bg images and view images. When you emerge it , it should emerge all the dependencies you might need to view .gif's and .jpg.


If you wnat you can also try to emerge imagemagick and it will also give you a lot of commands to edit pictures and its dependencies should include all the packages you need for just about all types of image files.

Here are some ebuilds yoiu can check to see if you have installed on your machine.
[code]
media-libs/jpeg
media-libs/libpng
media-libs/tiff
media-libs/giflib
media-libs/libungif
media-libs/imlib2
[code]

But if you emerge something like imagemagick (for sure) or feh(mabye) they will include these ebuilds. There are probably more out there that you could get, but this will get you started.[/code]
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
MadOtis
Apprentice
Apprentice


Joined: 14 Dec 2002
Posts: 163
Location: Georgia

PostPosted: Sat Apr 03, 2004 4:51 pm    Post subject: Reply with quote

Ok, I made sure the following image libraries are emerged...

Code:
media-libs/jpeg
media-libs/libpng
media-libs/tiff
media-libs/giflib
media-libs/libungif
media-libs/imlib2


ImageMagick was emerged, Feh was emerged... both work perfectly.

Still no jpg or gif images in Gnome or Evolution. Do I need to re-emerge them after emerging the other libraries?
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Sun Apr 04, 2004 1:05 am    Post subject: Reply with quote

yes you will, and make sure to add
Code:
jpeg png gif tiff
to your make.conf file it is located at
Code:
/etc/make.conf
and to see what use variables are being used for a specific emerge use the -vp option like this
Code:
emerge imagemagick -vp


**I like to put the options at the end of emerge b/c it makes it easy to hit the up arrow and erase the options to do the actuall emerge, you could do it like emerge -vp imagemagick if you like**
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
MadOtis
Apprentice
Apprentice


Joined: 14 Dec 2002
Posts: 163
Location: Georgia

PostPosted: Sun Apr 04, 2004 3:42 pm    Post subject: Reply with quote

ok, I re-emerged gnome last night (I got 2.6 instead of 2.4, btw)... Rebooted, and image support works properly now. I didn't re-emerge Evolution, so I'm assuming it uses libraries from Gnome that were rebuilt properly this time.

Thanks, everyone, for the help!

Now if I can only map my mouse side buttons properly...
Back to top
View user's profile Send private message
monotux
l33t
l33t


Joined: 09 Sep 2003
Posts: 751
Location: Stockholm, Sweden

PostPosted: Sun Apr 04, 2004 6:15 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?t=149630

that guide WORKS :)
_________________
Computer science is no more about computers than astronomy is about telescopes.
Back to top
View user's profile Send private message
MadOtis
Apprentice
Apprentice


Joined: 14 Dec 2002
Posts: 163
Location: Georgia

PostPosted: Sun Apr 04, 2004 6:40 pm    Post subject: Reply with quote

ok, got it!

I had put the xmodmap and imwheel commands in my .xinitrc file. Since I run Gnome, I thought I has to put them in .Xsession. But, reading through the gdm startup script, I noticed it's actually looking for .xprofile. So, putting them in .xprofile fixed me right up!

Thanks again for all the help!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum