Applications :: Display Encoding Of File?
Jan 26, 2011
I wanted to know how to determine the encoding of a file which was uploaded by FTP. I found the thread /newbie/47637-how-check-encoding-text.html which points to the right information (by using the command file) but it doesn't help me in my case. Take a look yourself:Code: # file testutf8.phptestutf8.php: PHP script text As you see, Linux (Debian Lenny in my case) detects the file as PHP script text because of the code within the file (that's my guess at least).Is there another way to check how this file was encoded?
View 1 Replies
ADVERTISEMENT
May 18, 2011
It functions perfectly well, but the Files & Folders object has as a feature a 'recent' section which displays recently opened files. This is much the same as a menu object available in Gnome, except with the latter you could clear recent files for security or privacy purposes - you cannot do this in Unit.I have found that if you drag a file from the 'recent' section in the Unity Files & Folders object to Trash it doesn't just delete the shortcut - it deletes the target as well.
It is not at all clear if and how you can configure the File & Folders and the Applications objects to display what you want rather than the default, and the inability to quickly and safely clear recently opened items is something I think is in need of a fix.
View 4 Replies
View Related
Mar 5, 2010
Linux - Ubuntu Karmic 64bit, 2.6.31-19-genericMac OS - Mac OS X Snow Leopard 10.6.2 32bit.
Steps to reprocude
1. Prepare HFS+ filesystem.
- Be sure the HFS+ fs does not have journaling.
[code]....
View 5 Replies
View Related
Apr 17, 2010
i want to save my file as gbk encoding with gedit,gedit can't do it, see the attachment
View 1 Replies
View Related
Jun 24, 2011
There are many plain text files which were encoded in variant charsets.
I want to convert them all to UTF-8, but before running iconv, I need to know its original encoding. Most browsers have an Auto Detect option in encodings, however, I can't check those text files one by one because there are too many.
Only having known the original encoding, I then can convert the texts by iconv -f DETECTED_CHARSET -t utf-8.
Is there any utility to detect the encoding of plain text files? It DOES NOT have to be 100% perfect, I don't mind if there're 100 files misconverted in 1,000,000 files.
View 3 Replies
View Related
Apr 28, 2010
openSUSE 11.2 Simple Chinese is supported as second language. the primary language is English. But I can't open Chinese file using gedit. it only support English? how can I solve this issue? the Chinese file is GB18030 encoding.
View 5 Replies
View Related
Mar 23, 2011
I want to convert many text files(copied from windows workstation) into utf-8 encoding file. Yes, iconv is available for it. However, I have to give source file encoding at the command line parameters! The problem is, at most case, I am not sure the source encoding of it. And, I also want to use a script to convert many files recursively.
View 2 Replies
View Related
Mar 3, 2011
I was working on a text file in open office writer last night, and this morning i tried to open it and a little thing popped up saying "ASCII Filter Options," prompting me for which character set, language and default fonts I wanted to use. (only after it asked if i wanted to recover the document, which i just did since it was asking me...) Now the document, which was very important, is a scrambled bunch of random characters! I cannot find the correct character set. Why is it prompting me for which character encoding I am using in the first place?
View 6 Replies
View Related
Jun 16, 2011
My partner is visually impaired and I have been having a close look at Unity as it could be of assistance to her. Using the dash opens the shortcuts and the display is looking good but at times cluttered. Ideally I would like to be able to arrange things that when she opens up the various section that interest her that only the installed programmes are displayed. I intend to ensure that everything of interest to her is loaded so apps available for download are of no interest and I would wish to have them removed from view.
the most frequently used items will end up automatically displayed and will be easily available to her but in the initial stages having so many items displayed only confuses. What would be the best approach to tackle the problem bearing in mind that I no doubt at times will have to go into her system and correct the odd foul up caused by her disabilities of which vision is one. Ideally I would like to reduce the all applications list so that it only displays the items of interest.
For my own benefit can you advise how I may install the ttf-mscorefonts in order that I can transfer my various templates over from my system as we share certain items. I am only wishing a couple of fonts and found that one could be freely downloaded from Fontmatics. They say that I should be able to copy the .ttf into fonts:.
View 3 Replies
View Related
Jan 8, 2010
I have a karmic server and a separate karmic desktop (laptop). I want to run a few gui applications from the server to my desktop so they will be centralized. I can successfully ssh to my server from the laptop, but getting the gui stuff launched from the server to display on my laptop is where I am hitting a wall. I did:
$ ssh -Y knipknup@192.168.1.3
enter password
and I get:
/usr/bin/X11/xauth: error in locking authority file /home/knipknup/.Xauthority
I also did :
$ sudo chmod -v 777 /home/knipknup/.Xauthority
and that results in the same message.
View 1 Replies
View Related
Apr 11, 2011
Since copying the .Xauthority or using xephyr/xnest open the applications in the same display, i was wondering. how can one run a separate display on tty8 for only the chroot? is it possible?
View 5 Replies
View Related
Aug 5, 2010
Ares there any shell commands to display all applications installed in my linux machine,?
View 7 Replies
View Related
Apr 26, 2011
I upgraded to 11.04 about 10 days ago. I have this intermittently weird problem where some of the applications, some of the time, are oversized for the 1024 x 600 display. I can't get to the buttons on the bottom end of the screen, and the window refuses to decrease in size enough so that it all fits on. So far, I've had this problem with Evolution, Pytrainer, Gimp, and another one that escapes my memory.
Has anyone else had this issue? (Except for the Evolution bug, which has been around since 2005 or thereabouts. How on earth is that thing still the default when nobody bothers to fix it up?) how to a workaround? Heck, I don't even know where to go to report this kind of bug.
View 2 Replies
View Related
Sep 17, 2010
I have a few ogg files that I want to put on my phone. My phone doesn't play oggs, so I need to convert. It's just an audiobook so I really don't care about quality. Oddly, nothing I try seems to be up to the task. Here's what I tried so far:
sox my.ogg my.mp3: "sox FAIL formats: can't open output file `x.mp3': SoX was compiled without MP3 encoding support" mencoder: wants video too?? Wha?? vlc (from GUI): "p, li { white-space: pre-wrapStreaming / Transcoding failed: It seems your FFMPEG (libavcodec) installation lacks the following encoder: MPEG Audio layer 1/2/3. If you don't know how to fix this, ask for support from your distribution.
This is not an error inside VLC media player. Do not contact the VideoLAN project about this issue." lame my.ogg my.mp3: "sorry, vorbis support in LAME is deprecated." audicity (via GUI): success..but I'm now going to have to somehow script it. This is very annoying. It makes me want to rip directly into mp3 from now on. Is there an easy way to convert an ogg file to an mp3 from the command-line?
View 9 Replies
View Related
Oct 5, 2010
I am a final year student doign Computer systems engineering and just been introduced to linux. While still strugling to catch up with the commands, I am now given an assignment under shell scripting.I seriously am strugling to understand this question, can you please assist me.Here follows the assignment:
Operating Systems III
Some tips
e.g. (test if a file is empty, if it is then display "file is empty" otherwise display
[code]....
View 10 Replies
View Related
Jan 4, 2010
New install of FC12 and after logging into the KDE desktop then going back to Gnome, the Desktop Config File for KDE shows on the Gnome desktop. I ran gconf-editor and I can see the file but no option to not display in Nautilus. Is there an easy way to not display the file on the Gnome desktop without messing up the KDE config file?
View 2 Replies
View Related
Aug 27, 2009
I have recently resurrected an old X Windows application and I am having a problem getting a CentOS 5.3 client to run the application from a CentOS 5.3 host.
If I am logged in as root to the client side and ssh -Y over to the host, then run xclock, everything works just fine.
However, if after I ssh -Y over to the host, I then su - userx on the host, and then run xclock, I always get the "Can't open display" error.
I have tried:
Running xhost + on the client. doing the "xauth add display MIT-COOKIE xxxxxxxxxxxx" on the client & host, both as the root user, and as the userx. I can't seem to get a definitive answer as to which user and which machine (client/host) this needs to be run as.
Also, when you "xauth list $DISPLAY" you get nothing, (because it is either localhost:0.0 as root, or :0.0 as the su - user) you have to "xauth list", and then you get a list of cookies, but since the "echo $DISPLAY" doesn't match any of them, it is not obvious which one to use. Also, they are ALL "host/unix:X.0", so I assume they are all socket based, and as such I would assume that the their cookies would not be usable for remote TCP connections?
I also saw information about using netstat -anp to look for 60** LISTENERS, I could not find any on the client or host sides.
Nothing seems to work.
I heard about a program sux that is on ubuntu, but I could not find it for CentOS. Is there an equivalent on CentOS?
I have searched the web and found lots of info in forums all over the net with what appears to be the correct way to do this, still nothing appears to work.
What is confusing is that if the TCP LISTENERS were not there, I should not be able to get it to work as root either, so it must be in the transition of the su - userx.
View 7 Replies
View Related
Oct 6, 2010
I am using Ubuntu 10.04 with Gnome 2.30.
I remove the applications which i don't use from main-menu. Now i can not see them from "open with" menu when i right click to a file.
Also it will be very nice if Ubuntu can show me on the "open with" menu the possibilities of applications which can open properly the file type which i want to open. I try to configure with ubuntu-tweak's "file type manager" but it is not possible to configure all of file types. I think Ubuntu's applications must to know which applications has to show for which file types. And i don't know how to do that. I need an application like this : url
I get a new user from the same OS, and i see that the same problem still there... For example many many compressed files, audio or graphic files are not associated with vlc or gimp.
I try to configure from system files of gnome but it is very complicated.
View 2 Replies
View Related
Oct 27, 2010
I know how to display contents at the end of beginning of a file or even at specific lines but how to you display a file from line # to the end of the file?
View 5 Replies
View Related
Feb 5, 2010
Firefox 3.6 won't print with cups.
I'v found on this ore other forum a sollution But is there a better one.
I must add the line
But hen i can only print to the default printer.
Then i have to do lpoptions -d printername to set the other printer default.
it is good for now but looking fort better solution.
View 5 Replies
View Related
Jan 12, 2011
I have been looking around for a, "start new thread" button but cant seem to find it (which is my first question). My real question is, how do I delete a word in a vim file from the editor command? What I want to do is go to a specific line (36) and delete 3 words after my cursor
i.e :36 | 3dw
error: "3dw" is not a command. Ive tried ":d" this deletes teh whole line which is not what I want.
View 8 Replies
View Related
Jan 14, 2011
I have recently installed OpenOffice.org and I can't find any executable file that actually starts up OpenOffice.
What is the equivalent to the old "soffice" executable which previously would start up OpenOffice?
I installed by executing the "setup" program after extracting the archive, I selected pretty much all of the items to be installed (at least the essential ones) and then let it install -- I didn't get to choose the path to install to, but I saw it stated that this would be installed under /opt.
I see two directories:
Neither of which contains any readily identifiable file that is the main program. What file should I execute?
View 9 Replies
View Related
Nov 25, 2010
Applications working properly with SUDO only UBUNTU Noteboox 10.10 XUBUNTU I recently installed Ubuntu 10.10 Maverick notebook version on my HP Compaq nc6400 (Intel core2 CPU T5600@1.83GHZ). Later installed Xfce4. So, I am now on Xubuntu on top of Ubuntu (it seems).Coming to my problem, even though application working fine normally, Menu is not displayed in most of the applications. Ex: Transmission, GIMP, Mousepad, Pinta, gedit ........ No application shows the file,edit.. menus.
Also file sharing is also not possible in normal mode. When I right click on any folder or file sharing option is not visible. But if I run these applications with SUDO the menus are appearing. When I open nautilus with SUDO , I am able to get sharing options in right click. I tried the below command as advised in thread.php?p=6474144 But it failed
[Code]...
View 5 Replies
View Related
Nov 17, 2010
I need to start a tcpdump, and then download a file by FTP. I can't understand any way of achieving this in the tcpdump man file.
View 1 Replies
View Related
Apr 17, 2009
What file where holds the information for file opening application preferences?
I have Fedora Core 10 (2.6.27.5) with openoffice 3.0 installed.All of the OpenOffice programs show in Applications>Office drop down window and work fine.
Problem is this: If I double click on a calc spreadsheet file (.ods) then the archive manager wants to open it, and I have to right click and manually select scalc as the program to use. If I double click on an odt text file (.odt), okular opens it. I have to right click and select swriter.
If -- BTW -- I click on an excel (.xls) file, calc will start and open the file.
I would like to change these file application preferences, but can't find where to do it or what file to edit to break the current preferences.
View 2 Replies
View Related
Jun 15, 2011
I recently upgraded to Fedora 15 and am super-happy with it. Unfortunately, I have a minor issue that I haven't yet figured out how to fix: I can't change the default applications or the file type associations. For instance, I'd like to set Chromium as my default browser. When I first login, I tell it to set itself as default. But after I end my session and log back it, Firefox is back to being the default browser.
I have the same issues when trying to change what applications open filetypes. .rtf files have been opening in Wordpad in Wine. When I try to change it to Writer through the "Open with" dialog, it retains the change for that session but resets after I log out. I actually ended up having to uninstall Calibre because it was opening .odt files instead of LibreOffice and I couldn't change it permanently.
View 5 Replies
View Related
Jan 9, 2010
How can I get PDF file type to show up in the firefox applications list so I can specify what application to open it with, etc..
View 1 Replies
View Related
Feb 3, 2010
I have tried to make my own buntu running LXDE as the desktop environment though it is running smoothly on an old laptop it has a certain problem.
I have installed PCMan File Manager as the default file manager for the LXDE and not Thunar or Dolphin, but, I have a problem with opening files from there. The default application set to open all file types is the Terminal.
What I currently do to open the file is right click and choose "Open with.." to open the file in the appropriate application. Is there a way to set the default applications?
I have Ubuntu 9.10 from minimal CD install then got LXDE and installed the following applications aside from the applications that came with LXDE:
-OpenOffice.org suite
-Mozilla Firefox
-Google Picasa
-Wine
-VLC Player
View 2 Replies
View Related
Jan 22, 2009
In Linux, the files were processing based on timestamp. How to process the files based on alphabets? My application is in windows. Here I am processed the files based on alphabetical order. While coming to linux its coming wrong.
View 5 Replies
View Related
Jan 13, 2010
I have been scouring the internet looking for a good solution to reading .pdb eBooks on Linux.It seems that there isn't one.Could you perhaps recommend a good app to either convert the file easily into something readable or (more preferably) an app that can read them?
View 3 Replies
View Related