This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Adding font path to X server


I need the Cygwin X server to have access to fonts from dosemu; currently I have to add the path manually each time I start.  I thought I was following the manual by setting up .startxwinrc as
xset fp+ /usr/share/fonts/dosemu
xterm

but startxwin fails to start (details below).  How do I avoid having to set the path manually?

I'd appreciate cc's as my subscription to the list is currently in an odd state, and may not be working.

$ startxwin
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.17.1.0
OS: CYGWIN_NT-6.1 WIHS-1QS3PW1-DT 1.7.35(0.287/5/3) 2015-03-04 12:09 x86_64
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win64)
Package: version 1.17.1-2 built 2015-02-23

XWin was started with the following command line:

/usr/bin/XWin :0 -multiwindow -auth
 /home/rdboylan/.serverauth.5388
......
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
xset:  bad font path element (#6), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax
/home/rdboylan/.startxwinrc: line 2: $'xterm\r': command not found
xinit: connection to X server lost

The commands in .startwinxrc work fine when typed into an xterm after X launches.
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]