Emacs GUI window, help.


 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Emacs GUI window, help.
# 1  
Old 09-23-2008
Emacs GUI window, help.

I'm using xming and enabled x11 tunneling. But when I try to use emacs to get the GUI window. I do get the window, but no fonts, can't click on buttons like file, edit....and when I type anything I just get the black rectangles.

I get error msg in terminal....

"Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct

Any suggestions?

Image

P.S. Im using vista Ultimate 64
# 2  
Old 09-24-2008
Your .Xresources or similar is specifying a font for Emacs which doesn't exist on your system. You can switch to another font with the menu you get when you click the left mouse button while holding down the shift key; or try to run it with something like emacs -fn 6x10 for starters (that's fairly small but still legible IMHO). Once you can see what you are doing, you might want to find the place where you customize fonts ("faces" in Emacs parlance) to change it for good to something legible; or edit your .Xresources to specify a suitable font.

You can try xfontsel to see samples of available fonts but it's a bit of a dinosaur-era in terms of user interface. Each of the labels at the top is actually a menu where you can narrow down your choices. Pick a slant of r (that's roman / straight) and a wght of medium or light to exclude italic and bold fonts, and a suitable rgstry (ascii if you're comfortable with stone-age text without any international accents, iso8859 for some Western accents, iso10646 for full Unicode) and perhaps google a bit or read the manual page.

Last edited by era; 09-24-2008 at 04:34 AM.. Reason: Brief xfontsel tutorial
# 3  
Old 09-24-2008
Just to add a bit to era's excellent distillation of how X11 font work (which I've now bookmarked for when I try and explain it to people thanks!) - the version of xming I use has a really small set of fonts by default, your's might well have the same problem.

There's good news though, you can add additional fonts to xming (like, say, courier-medium and helvetica-medium Smilie)
If you already have those fonts available in windows, you can either tell xming where to find these by editing the font-dirs file.
If they are not on your machine at all, you can either install them into windows, or into xming itself.
There's loads of information on xming fonts here:
Xming - PC X Server - Fonts
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Toggle between xterm window and standard terminal window

Is it possible to toggle back and forth between an xterm invoked from one tty, and a shell invoked from a different tty? I am running Centos 7 with KDE and booting in non-graphic mode. After logging in on the default window (/dev/tty1) , I can then use ALT-F2 to access a new window (/dev/tty2),... (1 Reply)
Discussion started by: rhgscty
1 Replies

2. Programming

Python gui or C++ gui or java gui?

python gui or c++ gui or java gui? and when to use etch one? (1 Reply)
Discussion started by: kaja
1 Replies

3. UNIX for Dummies Questions & Answers

How to use emacs? Also how to open existing emacs files with .cgi format?

Hi All, I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way.. How to use emacs editor? Also how to open existing emacs files with .cgi format? I have the following link :- http link i.e. url and path : /abc/xyz.dev/xyz/documents What... (7 Replies)
Discussion started by: swathi123
7 Replies

4. Linux

Opening a GUI from a putty window on Linux

Hi, I have a linux which I am accessing using putty.I have written some code in TCL-Tk & developed a GUI based app.I knew that it is difficult to open a GUI based app. from putty,but there must be some way to do that. If anybody knows any such workarounds kindly let me know. Shell I am using is... (4 Replies)
Discussion started by: forstudy3
4 Replies

5. Red Hat

Maximizing X window without Window Switcher

Hi everyone! I have a strange situation. I'm running an NX remote Gnome desktop session. On the remote machine, there is a whole load of unsaved data in a window. A problem that I've been having with this NX session is that I can't load Gnome Applets, including the Window Switcher. So.. when I... (0 Replies)
Discussion started by: alexandicity
0 Replies

6. Red Hat

GUI help requir Every folder open in new Window..

I am using GUI mode in Linux & face a problem that when ever i double click on any folder it opens in new Window. I want to ask all DP members where is the option to disable this thing.. Means i want when ever i double on folder it should open in the same Window. looking for your help.. (1 Reply)
Discussion started by: salman103
1 Replies

7. Shell Programming and Scripting

Running a GUI without GUI

I was wondering if it is possible to run a GUI window (say Firefox) without actually showing up the window on the desktop but still make it do its own regular stuff (like maybe do something via the command line). Sorry if its a dumb question. Thanks (3 Replies)
Discussion started by: Legend986
3 Replies

8. UNIX for Dummies Questions & Answers

If a is windows gui ( client), b is a unix gui ( Server for a) and c is a shell scrip

Hello all, 1) I want to have a GUI application that will call Unix shell scripts, 2) that GUI application should be able to reside on windows ( if possible) and then call Unix shell script either directly or through a server residing on unix. That is for example. If a is windows gui (... (1 Reply)
Discussion started by: hchivukula
1 Replies

9. Windows & DOS: Issues & Discussions

window 2000 professional not pinging my window 98 system.

Hello, We someone help me resolve this problem. I have window 2000 professional, windows 98 and Unixware 7.0.1 on the network. I was able to establish connection with all. However, l was unable to ping window 98 from window 2000 professional. I was able to ping the window 2000 from the window... (10 Replies)
Discussion started by: kayode
10 Replies

10. Shell Programming and Scripting

GUI window

Heres my script. How do I put a picture in it?#util to show picture in window #version 1.0 #-colinok #make window with box for picture use Tk; my $mw = new MainWindow; $scrollbar = $mw -> Scrollbar(); $text = $mw -> Text(-height => 20, -width => 50, -yscrollcommand => ); ... (4 Replies)
Discussion started by: perleo
4 Replies
Login or Register to Ask a Question