Debian :: Unreadable Code - How To Change Into UTF 8
Mar 19, 2010
I am from Chinese, when I finished the install of the latest version of debian and use the default browser to access google, I put some Chinese into the google search, the horrible thing is it displayed in unreadable code. I know maybe the default language of debian is not UTF-8, how and where to change it into UTF-8.
Whenever I use code completion in Eclipse for a function, the function's PHP help/docs cannot be seen because it has a black background. How can I change this? I'm using Ubuntu 10 64 bit, default theme. Default eclipse theme. I've tried changing all the black colors in the Eclipse preferences under both Appearance and the other colors area to no success.
This is very annoying, as I cannot view help for any PHP functions without using my web browser.
I've tried updating from 8 to 10 using updater and it failed. I'm currently running off a LIVE CD and want to back up my files to do a re-install. My problem is that some of my folders are showing as "unreadable", that I am "not the owner" and I cannot seem to change the permissions for them. I also cannot seem to copy them to back them up. Have I lost these folders? Is there any way to retrieve them?
Sometimes when I use aptitude to install or update packages I get an SSH screen such as the below that is mostly unreadable:
Package configuration:
When it happens it looks like there is a selection of options I cannot read, one of which is highlighted, for which I am expected to choose one of. In the above example "+ee-_c¦--e++" was the highlighted option in the list.
How is this fixed to be made readable every time?
When I invoke aptitude without any arguments the screen is readable and looks just like it should.
The SSH window is displayed by my local Windows XP. The remote OS is Debian 5.
I'm trying to install Debian 8.2 on my laptop. The "GNU/Linux UEFI Install" screen is fine, but whatever option I choose the screen got stripe like this [URL] .....
I can still use my keyboard, but the screen is unreadable. I was trying install with DVD/Netinst ISO with USBWriter, but it still same. My laptop use ATI 8750M Graphic Card.
i have got an Debian Lenny NAS with 7x1,5TB of a Softwareraid5. Kernel Version is 2.6.32. The Raid ist mountet in /media/raid5. The System ist on a seperate disk and work fine. After i tested the performance of the raid with:
Since i had done this i cant find any Data on /media/raid5. cat /proc/mdstat and mdadm --detail /dev/md0 looks fine. All UUID's are good. But: The SuperBlock is unreadable and the partition table was not found. mke2fs -n /dev/md0 shows some Backup of the Superblock , but i cant repair it with fsck.ext4: Illegal inode number on /dev/md0.
I'm getting a weird charset problem in a chroot'ed system that I kexec'ed into. It is especially noticeable in ncurses programs like aptitude, but it also noticeable in vim. [URL] My locales are configured to en_US.UTF-8, I have choosen my keyboard layout with kbd-config while in the chroot before kexec'ing into it, I've passed the bootkbd= parameter to the kexec'ed kernel, and my TERM variable is set to "linux". I can't try xterm because this chroot system doesn't has X.
EDIT: I just noticed that the keyboard layout I selected is not working properly. All keys work fine except the ones that are specific to my country. Instead of ç I get a weird symbol.
It started many months ago on wheezy. Occationally I got horizontal stripes on my screen when I used my system for many hours switching from one application to an other. Now, after I installed Jessie this problem hasn't gone away, but got worse. Now I don't need to use my system for hours before I encounter this effect. Different parts of my screen get unreadable without any predictable pattern.
Friens of mine argued this might happen because of a broken RAM chip. I bought my Acer Extensa 5220 in 2008. I'm not sure if it's worth to search for new RAM fitting into this old notebook.
I want to modify the source of cd (the 'change directory' command) to do a little extra for me, but I can't seem to find the source code anywhere.. maybe I didn't look for it well enough, and googling "source code cd" and variants of that doesn't exactly help... I was wondering if anyone knew where I could find the src?
I am dealing with one FORTRAN 90 code, have made small changes.
milenko@milenkons:~/mt4$ make mt4 make: 'mt4' is up to date. milenko@milenkons:~/mt4$ ifort -c MT2DDIB1.FOR milenko@milenkons:~/mt4$ make mt4 make: 'mt4' is up to date. milenko@milenkons:~/mt4$ make mt4 make: 'mt4' is up to date. milenko@milenkons:~/mt4$ make mt4 make: 'mt4' is up to date.
I go for make command but it does not see that the source code has been modified.Than I do compilation from command line,try make again but no use. F95=ifort FFLAFGS= -O1
I have a question about choice of library to be used on low-end systems. I've so far been using SDL to create a user interface for a media system, and it's been working fantastically on my development machine, a dual core 2GHz machine with 2Gb RAM and an Intel graphics card. I get a frame rate of up to 100fps, and there is no slowdown at all. However when I run the exact same program on an embedded motherboard, the VIA EPIA EN15000G, which has a 1.5GHz processor, and a VIA P4M800 graphics chip (possibly the worst graphics chip ever invented as far as Linux support goes), I get a frame rate of less than 5fps. This makes the entire program totally unusable, and I've been left in a bit of a pickle. I've looked into alternatives like SFML, but that looks like it won't help at all on an unaccelerated system. I've also tried using OpenChrome drivers on it, and that made a negligible or nonexistent difference.
Can anybody suggest anything I could look into re: optimising my code or changing libraries goes? I already use SDL_DisplayFormatAlpha to convert my surfaces to the correct format. I haven't looked into Dirty Rectangles yet massively, as there's not much movement at all on the GUI, just the changing of button states.
Would use of OpenGL help at all if using the OpenChrome driver, which apparently has 2D acceleration? I'm more than willing to totally overhaul the code if needs be.
can I change the ECC code for a block of a file stored on a flash drive by any means ? of a file stored on a HDD (though I don't think there would be a difference between the two)Maybe , through some hardware interrupts or anything like that?Also if possible I need the solution to be in C/C++.
how to install Dropbox for Debian Squeeze from source.Please read everything before you begin. I prepared it as I installed Dropbox for my own system. Please Note: I use sudo, you may have to use root or 'su' from the command line. If you don't know the difference between sudo and su, then you shouldn't try this until you know. At the time I did this, the lastest dropbox version was 0.6.7.
I have a raspberry running volumio which is based on debian jessie, I added it bluetooth support with pulseauadio which works fine.
Now I'd like automating the process a bit because having to connect to the pi to manage the connexion with bluetoothctl is not really convenient.
I would like to add a pin code to the pi to manage the connexion, It was possible with bluetooth-agent but the command seems to have disappeared on jessie and I didn't find any indication about pin code in bluetooth config files.
When trying to install php5 IÂ got the following result. Tried to apt-get clean, autoclean, remove --purge then reinstall the mentioned packages without any success.
After# apt-get -d source python-uno I get 550MB worth of files, it looks like source code for the entire openoffice package:# dir -alt total 539412
drwxr-xr-x 2 nick nick 4096 2010-06-08 20:21 . drwxrwxrwx 9 root root 4096 2010-06-08 20:21 .. -rw-r--r-- 1 nick nick 105004167 2010-06-06 01:17 openoffice.org_3.2.0-11~bpo50+1.diff.gz -rw-r--r-- 1 nick nick 10999 2010-06-06 01:17 openoffice.org_3.2.0-11~bpo50+1.dsc -rw-r--r-- 1 nick nick 446777138 2010-03-25 10:47 openoffice.org_3.2.0.orig.tar.gz
# which unpack into a folder called openoffice.org-3.2.0 Maybe I have been horribly misled by this obsolete documentation and the following statement therein:To download a source package, you would use the following command:
$ apt-get source packagename
This will download three files: a .orig.tar.gz, a .dsc and a .diff.gz. In the case of packages made specifically for Debian, the last of these is not downloaded and the first usually won't have "orig" in the name. The .dsc file is used by dpkg-source for unpacking the source package into the directory packagename-version.
I want to compile geki2 from source. I tried apt-get source geki2but I getReading package lists... Done Building dependency tree Reading state information... Done E: Unable to find a source package for geki2I assume that /etc/apt/sources.list needs some additional entry. I run lenny.
Apart from that could someone explain to me what is the importance of files *.dsc , *.tar.gz and *.diff.gz in every package ? I assume *.tar.gz is the source. Is this independent from Debian ? I assume also that *.diff.gz is some patch you have to apply after you expand *.tar.gz in order to get a Debian specific version but how do you apply the patch ?
I have installed two softwares manually, from the source code downloaded from their official websites: Stellarium, and the Linux Kernel. The version of these is not the same as the one found in the official repos. My question is: does aptitude have knowledge of the existance of these softwares? Can it do any damage to them, in case, for example, I run automatic aptitude tasks, such as autoclean and dist-upgrade?
I am developing a script to automate some database setup, but I have an issue I cannot figure out. I prompt for some input with whiptail and select a default if nothing is entered. However, if you do not enter anything, it normally returns 0, but this time it is returning an empty value.
Code: Select all # This one does work!
 # Set the source path  TMPPATH=$(whiptail --backtitle "Linux Build Configuration"   --title "Source-Code Path"   --inputbox "Default: $SRCPATH" 0 60   3>&2 2>&1 1>&3)
I installed my new debain.(6.0) but its all code. (i looked it up, i need a a win X or GNOME). but since i dont know code based interfaces, how do i install it on the computer. (once Ive got my visual interface im generally fine till i hit advanced)
i followed a Tutorial about configuring apache to have HTTPS Protocole , but since i ask for a certificate , i can't input information such country code etc , i'm runing this configuration on Webmin , i'm using Debian of course so how can i input the code ?
Today I was trying to make a LiveUSB for Fedora 15 with UNetbootin and when I inserted my USB stick, it blinked and then this error appeared: Error mounting: mount exited with exit code 1: helper failed with: mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so