Tiny Core Linux
Tiny Core Base => Micro Core => Topic started by: monday66 on December 06, 2013, 08:10:53 AM
-
Hello there, my problem is simple.
I have some directories on my computer that are named with Greek characters,
i want to just navigate there but microcore doesn't see them!
How can i make something like
cd Αρχείο
and get there?
Thanks for your attention guys!!
-
Is it so hard for everyone to answer such a simple question?
-
does the font you're using support greek characters?
-
I'm using the default font and No, it doesn't.
Unfortunately as i said the directories with Greek characters are invisible to microcore.
Also, I tried to use the getlocale.tcz that produces the appropriate mylocale.tcz for the language i want,
i found many languages that i could select but Greek was missing. So dead end again.
-
You could try searching the forums on "utf-8"?
-
Ok, i will search a little more, i will post again tomorrow to let you know if i could fix it.
-
I'm guessing you'll need a bitmap font that supports greek characters if you're working from the console or terminal window, but I never tried myself.
-
Yeah, i'm working from console, what a bitmap font is? i have never heard of them..
And how can i install one?
-
There's something pretty cryptic here:
http://wiki.tinycorelinux.net/wiki:fonts_cn?s[]=utf&s[]=8
google should be able to help with how to install greek bitmap fonts
-
So, yesterday i followed the instructions i found in this thread http://forum.tinycorelinux.net/index.php?topic=3632.0
from "Michael Wells". I installed the dejavu-fonts-ttf-tcz package but i came up with nothing again.
I will search on how to install bitmap fonts this time.
-
Maybe if you took something like Greek-Fixed13.psf.gz from:
http://packages.debian.org/sid/console-setup-linux
and then: "sudo loadfont < /path/to/Greek-Fixed13.psf" things might work?
-
I'd doubt any font would change anything when files are invisible, if a lack of font would be the only issue, then whichever char is not available would likely be replaced by a placeholder.
What can play a role are filesystem specific mount options, but you have so far not specified the filesystem in question.
-
Filesystem specific mount options? What do you mean?
do you know how can i fix it?
-
http://linux.die.net/man/8/mount
-
Maybe if you took something like Greek-Fixed13.psf.gz from:
http://packages.debian.org/sid/console-setup-linux
and then: "sudo loadfont < /path/to/Greek-Fixed13.psf" things might work?
Following that works for me as expected to display otherwise gibberish fonts correctly.
(http://upurs.us/image/54324.png)
Now if I only knew how to get my initial consolefont back after that... :-[
Edit: Above procedure broke gpm, pointer no longer moving to bottom area of console - restarting the gpm daemon fixed that.
-
Thank you very much for your effort guys!!!
I can't test this right now because i'm away for vacations, i will test it in 4 days and post feedback.
Thanks again!!
-
Sadly, i encountered this:
The "???????????????" is a directory with Greek Characters.
(http://)
I got the font from a debian distro (/usr/share/consolefonts directory)
@tinypoodle where did you get your psf font?
-
Sadly, i encountered this:
The "???????????????" is a directory with Greek Characters.
I'd reckon then you might likely be able to cd to that dir ;)
I got the font from a debian distro (/usr/share/consolefonts directory)
@tinypoodle where did you get your psf font?
See Reply #10 & #14...
-
Yeah i saw the link that leads to http://packages.debian.org/sid/console-setup-linux
I didn't know how to download the psf font from there, so i got it from a distro that i have installed, ( it's the same font, isn't it? ).
-
tc@box:~$ md5sum /tmp/Greek-Fixed13.psf
b4d5aa18206416a4d3e114e285b1504d /tmp/Greek-Fixed13.psf
-
As i thought, it's the same.
root@nexus:~/Desktop# md5sum Greek-Fixed13.psf
b4d5aa18206416a4d3e114e285b1504d Greek-Fixed13.psf
EDIT: By the way, did you reboot after you loaded the font?
-
Uhm, not sure why exactly you would ask this.
tc@box:~$ last
tc tty1 Mon Dec 9 06:44 still logged in
root tty1 Sun Nov 10 23:56 - 06:44 (28+06:48)
wtmp begins Sun Nov 10 23:56:03 2013
Rather to the contrary I logged out and in again on tty1 in the hope of getting rid of the loaded font, i.e. getting my usual consolefont back, but no such luck... =/
-
I'm asking this because i boot microcore from a USB which is not a persistent installation.
after reboot everything is gone.
I can only some files persistent by remastering microcore.
-
Persistence is not a requirement to execute 'loadfont'.
Of course you need access to a font in order to load it, but as my earlier post implies, that works with using /tmp.
-
Ok, i will test it again under /tmp
Also how did you change keyboard's language to write the dir "Αρχείο"?
Shift+Alt doesn't seem to work there.
-
I'm asking this because i boot microcore from a USB which is not a persistent installation.
after reboot everything is gone.
I can only some files persistent by remastering microcore.
Assuming you're booting from a usb stick, you can the backup function to restore files on reboot
-
Also how did you change keyboard's language to write the dir "Arxei'o"?
I never claimed having done so, what I did was I copied the word from your post and pasted it to Rox Filer's function "New -> Directory" to create the dir.
In order to cd to the dir I tested with both shell tab complete - which might be less easy if there were any other entries present within the same parent dir - and copy and paste output from 'ls'.
-
I tried again and got it working properly, thanks!!
I can now mark the thread as Solved.
-
Hi monday66
Maybe you could give a step by step summary of what you had to do in case someone else runs into this
problem.
-
Yeah, you are right Rich. :-)
I didn't do anything special, i just followed the steps TinyPoodle and Juanito showed me.
But i had a hard time using Greek-Fixed13.psf font,
so just downloaded more fonts like Greek-Fixed16.psf and one of them worked, that's all.