2 Problems, one with CODE, and one with DISPLAY...
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171
Rep:
2 Problems, one with CODE, and one with DISPLAY...
Problem 1. Whats up guys. I have another problem with KDE-Look.org downloads. When I try to download a set of icons, screensavers, or whatever else, I sometimes get a page with nothing but gibberish on the page instead of a download prompt. Why is this? What can I do to fix it? Here is an image of it below...
Problem 2: I downloaded a screensaver from kde-look.org and I compiled and made it and everything was fine till I opened it. The graphix are really blocky as you will see in the attached pic. What is wrong and how can I fix it? Thanx in advance guys!
Re: 2 Problems, one with CODE, and one with DISPLAY...
Quote:
Originally posted by Ausar
Problem 1. Whats up guys. I have another problem with KDE-Look.org downloads. When I try to download a set of icons, screensavers, or whatever else, I sometimes get a page with nothing but gibberish on the page instead of a download prompt. Why is this? What can I do to fix it? Here is an image of it below...
The problem (to the best of my knowledge) is caused by
a different interpretation of mime-types between the server
and the browser ... to get it downloaded just use the
right-click -> Save Link target as
option...
For the first problem: The browser can't distinguish by the filename whether you want to view to file or download it. So, to download it, you'll need to right-click on the link and select the "save link as" or other similar option.
For the second problem: I really don't know. My default would be to see if the screensaver has any configuration options that might affect how it operates.
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171
Original Poster
Rep:
Guys, thanx for the help. But when I right-click and save as, it downloads as a "php" file. Is there anyway to make my browser recognize it as a installable file?
Well, I'm at a loss to some extent. A php file? Without seeing the web page myself, I'd have to assume either:
1. The file you are downloading is available on multiple servers, and this php script is supposed to route you to the server with the least amount of traffic.
2. The php file is the installation file. There is some forum software I've used in the past called FUDForum, and to install it, you download a php script, start a web server, and then navigate to the downloaded file, and it asks installation questions before unpacking itself. Just an example that php can be used for installation...
Of the two I would guess it's more likely to be #1. I understand why they do it, but it really irritates me when I have to work around it. I use wget for this. Open up the page that has the link. See if you can find the url of the file. You may have to click on it again, get the gibberish, and look at the location/address bar to see the link of the file. Write that location down (or copy-paste it somewhere). Open up a command line, and then issue wget url
The url needs to include the leading http:// or ftp:// to work. If all goes well, it should get the file for you.
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171
Original Poster
Rep:
Quote:
Originally posted by Dark_Helmet Well, I'm at a loss to some extent. A php file? Without seeing the web page myself, I'd have to assume either:
1. The file you are downloading is available on multiple servers, and this php script is supposed to route you to the server with the least amount of traffic.
2. The php file is the installation file. There is some forum software I've used in the past called FUDForum, and to install it, you download a php script, start a web server, and then navigate to the downloaded file, and it asks installation questions before unpacking itself. Just an example that php can be used for installation...
Of the two I would guess it's more likely to be #1. I understand why they do it, but it really irritates me when I have to work around it. I use wget for this. Open up the page that has the link. See if you can find the url of the file. You may have to click on it again, get the gibberish, and look at the location/address bar to see the link of the file. Write that location down (or copy-paste it somewhere). Open up a command line, and then issue wget url
The url needs to include the leading http:// or ftp:// to work. If all goes well, it should get the file for you.
Dude!! The wget file method worked like a charm!! Thanx a gazillion! And much thanx for the help in the other replies!
Those two sites will likely only offer source code tarballs for download. If you want an rpm or similar package management file, you might have to google around for it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.