View previous topic :: View next topic |
Author |
Message |
MadOtis Apprentice
Joined: 14 Dec 2002 Posts: 163 Location: Georgia
|
Posted: Sat Apr 03, 2004 4:16 am Post subject: New to X desktop in Gentoo, how do I get image support... |
|
|
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 |
|
|
jjasghar Guru
Joined: 07 Mar 2004 Posts: 342 Location: $HOME=/usa/tx/austin
|
Posted: Sat Apr 03, 2004 4:29 am Post subject: |
|
|
i think if you it can view images etc _________________ #include <LinuxUser #324070>
main()
{
printf("and i'm sorry my spellign sucs.");
} |
|
Back to top |
|
|
Insanity5902 Veteran
Joined: 23 Jan 2004 Posts: 1228 Location: Fort Worth, Texas
|
Posted: Sat Apr 03, 2004 8:17 am Post subject: |
|
|
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 |
|
|
MadOtis Apprentice
Joined: 14 Dec 2002 Posts: 163 Location: Georgia
|
Posted: Sat Apr 03, 2004 4:51 pm Post subject: |
|
|
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 |
|
|
Insanity5902 Veteran
Joined: 23 Jan 2004 Posts: 1228 Location: Fort Worth, Texas
|
Posted: Sun Apr 04, 2004 1:05 am Post subject: |
|
|
yes you will, and make sure to add to your make.conf file it is located at 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 |
|
|
MadOtis Apprentice
Joined: 14 Dec 2002 Posts: 163 Location: Georgia
|
Posted: Sun Apr 04, 2004 3:42 pm Post subject: |
|
|
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 |
|
|
monotux l33t
Joined: 09 Sep 2003 Posts: 751 Location: Stockholm, Sweden
|
|
Back to top |
|
|
MadOtis Apprentice
Joined: 14 Dec 2002 Posts: 163 Location: Georgia
|
Posted: Sun Apr 04, 2004 6:40 pm Post subject: |
|
|
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 |
|
|
|