LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-17-2009, 11:54 AM   #1
unclerick94
LQ Newbie
 
Registered: Jul 2009
Distribution: Debian "Lenny"
Posts: 7

Rep: Reputation: 0
Unhappy All text in text editor turned to boxes...


(I'm a Linux newbie running Debian Lenny)

I was trying to install GTK+-2.8.20, so I installed it's necessary dependencies in this order:

pkg-config-0.23
glib-2.20.4
pango-1.24.4
jpeg library
tiff library
cairo

And I was about to install the last dependency: ATK (Accessability Toolkit).

I opened the Archive Manager to extract the "atk-1.26.0.tar.gz" file (yes, I'm still switching from Windows so I'm fond of GUI), but I noticed all the text in that window was boxes, like the □ type box for every letter of text.

So instead I thought it wouldn't be a big deal, because the terminal and regular windows weren't screwed up.

I opened a text file in gedit (reference to commands in terminal, such as how to extract files via terminal), but yet again all of the text was □-like boxes.

Does anyone know what might have gone wrong, or how I may be able to fix this?

Last edited by unclerick94; 07-17-2009 at 12:13 PM.
 
Old 07-17-2009, 01:09 PM   #2
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux
Posts: 1,056

Rep: Reputation: 101Reputation: 101
Prevention is often the best remedy. Rather than installing source/tar.gz packages, it might just be best to stick with debian packages, and use either synaptic, aptitude, or apt-get to worry about dependencies, rather than worrying about them on your own.

If you want newer software than is provided with Debian Lenny, but still want the stability of Lenny, then I suggest trying http://www.backports.org Backports, admittedly, only provides newer releases of the more common and popular packages, such as OpenOffice.org. If you want an overall system that is more cutting edge, but still relatively stable, then try the Debian testing distribution (codenamed Squeeze). If you don't care about stability (as evidenced by installing source packages on your own), and want the latest, then go for Debian unstable, which is always codenamed Sid (these codenames are characters from the movie Toystory, with Sid being the little boy who liked to hurt and destroy his toys).

Open the program "synaptic", which is the gui for installing programs, and for updating the system. Using this program, you can install what you need. Note, it's best to install the actual programs you plan to use, and let synaptic find the background dependencies for you, rather than installing all the background stuff yourself like jpeg library or glib or gtk or whatever. For your desktop environment, try installing gnome-core. Then, consider uninstalling the things you previously installed (pkg-config-0.23, glib-2.20.4, etc). Afterward, reinstall gnome-core, just to be sure.

If uninstalling the stuff you had previously installed breaks your system, you may need to reboot and go into single-user maintenance mode (this is a choice that will be given from the initial grub prompt -- select it with your arrow keys). You'll need to enter your root password, and then I'd suggest entering the command "apt-get install gnome-core". Exit from this (by typing "exit" or "quit" or "halt"). Reboot and hope for the best.

Assuming everything goes fine, if you want newer software, then with synaptic, you can select "Settings" from the top menu, and then select Repositories. From here you can change it from lenny (stable) to squeeze (testing) if you desire. Reload, and then do a safe-upgrade first, following by a full-upgrade (press "Mark All Upgrades", and I think it'll give you some choices. If not, just go with the Upgrade).

I myself use Stable (Lenny) with a backported OpenOffice.org, and I'm happy with that. But, some people desire more recent software. So, getting this from the testing repositories (or unstable, if you're truly adventurous) is the proper way to go. It's never a good idea to just randomly deviate from the distribution by installing outside source packages, as I suspect you've done (muddling up some of the font displays).

Good luck.
 
Old 07-17-2009, 04:14 PM   #3
unclerick94
LQ Newbie
 
Registered: Jul 2009
Distribution: Debian "Lenny"
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks!

I uninstalled all of the packages, and it turned out to be Pango.
But from now on, I'm using synaptic package manager; it's a lot more convenient.
 
  


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
text selection question in text editor olin Linux - Software 1 09-25-2007 01:25 PM
Wine: No text in dialog boxes xTyphooNx Linux - Desktop 1 09-05-2006 03:10 AM
Text Editor on Fedora Core 4 in Text Mode blong4life Linux - Software 5 07-31-2006 09:07 PM
Which light text editor can copy text from file and paste in browser? davidas Linux - Software 9 03-06-2006 11:28 AM
Stuck in terminal - turned on text desktop by accident dinkydarko Linux - Newbie 31 11-11-2004 05:47 AM


All times are GMT -5. The time now is 03:57 AM.

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