由买买提看人间百态

topics

全部话题 - 话题: xset
1 (共1页)
t***y
发帖数: 110
1
来自主题: Unix版 - xset 的问题
偶装上了cxterm, 但是一运行xset fp+ ~/fonts
就有如下错误信息:
ABC(cxterm)% Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
cxterm Xt error: Can't open display: :0.0
请问大虾这该怎么办呢? 多谢!
t***y
发帖数: 110
2
来自主题: Unix版 - xset 的问题
我没有用telnet呀. 我们这里是一个局域网. 比如说:主机是XYZ, 下面许多子
UNIX机分别是ABC.XYZ, DEF.XYZ, ... 我就是在ABC上装的字库和cxterm,
在ABC上不能运行xset. 这和telnet的问题一样么?
怎么改过来呢?
难道是路径设错了么?
多谢指点!
l*******G
发帖数: 1191
3
Re: Disabling screensaver and power management in XFCE
@haresear, I bet even money that that is screen-blanking kicking in, which
can be a pain to disable. Try this though... for your current session, copy/
paste these commands one at a time in a terminal...
Code:
xset -dpms
xset s noblank
xset s off
If that works and you want it to persist on reboot, you'll need to create/
modify the file /etc/X11/xorg.conf. If you don't have the file create it and
add the following, if you do have that file ad... 阅读全帖
h*********r
发帖数: 650
4
来自主题: _Climbing版 - Welcome, creation
hehe, he use UNIX:) There is no need for extra software. I am using
K-shell, in case our problem are the same, you can look at my experiences:
After running the setup of cxterm, use
xset q
to check the font path, $HOME/xfonts should appear only once.
If more than once use
xset -fp $HOME/xfonts
to remove it, then use
xset +fp $HOME/xfonts
to add it again.
And check your .Xdefaults file,
find *eightBitInput, if it is false, change it to true. the same for
*eightBitOutput:
*eigh
s**n
发帖数: 449
5
not good, not good. all my fonts are messed up.
quote from dev:
http://code.google.com/p/chromium/issues/detail?id=18159
Comment 5 by a*[email protected], Aug 03, 2009
You are using XSETTINGS, right? (i.e. gnome-appearance-settings). We don't
respect hinting/anti-aliasing settings in fontconfig settings, only
XSETTINGS.
d******i
发帖数: 7160
6
来自主题: Linux版 - ArchLinux安装deluge失败
请指教。
谢谢!
[root@alarm ~]# pacman -S deluge
resolving dependencies...
looking for inter-conflicts...
Targets (25): boost-libs-1.50.0-2 desktop-file-utils-0.20-1 geoip-1.4.8-2
geoip-database-20120908-1 hicolor-icon-theme-0.12-2
icu-49.1.2-2 libice-1.0.8-1 libsm-1.2.1-1
libtorrent-rasterbar-1:0.16.3-1 libxext-1.3.1-1 libxmu-1.1.1
-1
libxt-1.1.3-1 python2-2.7.3-2 python2-chardet-2.0.1-5
python2-crypto-2.6-2 python2-distri... 阅读全帖
d******i
发帖数: 7160
7
来自主题: Linux版 - ArchLinux安装deluge失败
请指教。
谢谢!
[root@alarm ~]# pacman -S deluge
resolving dependencies...
looking for inter-conflicts...
Targets (25): boost-libs-1.50.0-2 desktop-file-utils-0.20-1 geoip-1.4.8-2
geoip-database-20120908-1 hicolor-icon-theme-0.12-2
icu-49.1.2-2 libice-1.0.8-1 libsm-1.2.1-1
libtorrent-rasterbar-1:0.16.3-1 libxext-1.3.1-1 libxmu-1.1.1
-1
libxt-1.1.3-1 python2-2.7.3-2 python2-chardet-2.0.1-5
python2-crypto-2.6-2 python2-distri... 阅读全帖
l*l
发帖数: 225
8
来自主题: Unix版 - CXTERM 终结说明
Download fonts in your own directory, then
mkfontdir /path/to/fonts
then
xset fp+ /path/to/fonts
fonts will add to your Xwindow. Or you can use a remote xfonts server like this:
xset fp+ tcp/xfonts-server:port-of-server
good luck!
c****g
发帖数: 1
9
I'm installing Cxterm 5.1 on a X terminal of a Sun Sparc
Workstation(Sun Solaris 5.6). The problem is when I run
"xset fp+ /mydir/cxterm/xfont/",it prompts:
xset: bad font path element (#11), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
Then after I run cxterm, I can read chinese(because there
are some other previously installed chinese fonts under
system directory) and can select inpu
c*******u
发帖数: 1269
10
I also meet the problem before ,
try xset fp- /mydir/cxterm/xfonts/
then xset fp+ /mydir/cxterm/xfonts/
I am not sure.
r**m
发帖数: 13
11
来自主题: Unix版 - hlep for cxterm!
my install.log file show as foollow:
Full build of cxterm complete.
xset fp+ /usr/people2/jzheng/cxterm/xfonts
xset: bad font path element (#63), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
Warning: Cannot convert string "hanzigb16st" to type FontStruct
xfd: no font to display
I have installed cxterm twice. First, it seems work, i also see a popup win
dow which show some chinese wor
u*****n
发帖数: 160
12
装拉个solaris 10 vmware '虚拟机上, 一开始gnome-terminal 也不能看中文, 弄了个cxterm, (可以看mitbbs, 现在就是用cxterm写), 可是老是firefox/mozilla 看见一些中文, 看见一些方快的编码...
我已经弄落xset fp+ .../openwin/.../75dpi/ and xset fp rehash 了.
请大家帮忙..
谢谢.
c**x
发帖数: 432
13
来自主题: BUPT版 - Help

真是费力不掏好。。。
我这有个网址,自己去下载吧。
http://www.ifcss.org/ftp-pub/software/x-win/cxterm/
哼。。。
可能要编译一下,
然后再配置一下。。。
在.cshrc中加:
source /usr/usc/X/X11R5/cxterm/default/setup.csh
setenv XENVIRONMENT /usr/usc/X/X11R5/cxterm/default/dict/CXterm.ad
xset fp+ /usr/usc/X/X11R5/lib/X11/fonts/local
不一定全对,事事啦。。。
嘿嘿。。。
T********r
发帖数: 6210
14
来自主题: Apple版 - Re: 如何给X11增加字体路径?
You can use TTF, but the way to add TTF is a little tricky (at least
in my experience). First add TTF to X11's TTF directory (if there is
one), execute mkfontscale, and copy font.scale to font.dir. If there
is not an TTF directory, you can create one, then modify xinitrc or
~/.xinitrc and add one line like: xset +fp /usr/X11R6/lib/X11/fonts/
TTF/
Z**0
发帖数: 1119
15
来自主题: Linux版 - 怎么把desktop的speaker关掉?
a) Open Gnome terminal
b) Click on Settings > Preferences > Silence Terminal Bell
直接的命令行应该是 set bell-style none, x下应该是xset b off。(bash)
v*****r
发帖数: 1119
16
来自主题: Linux版 - Vim does not beep any more
I see the beeping is off in your gnome terminal.
You can play with your ~/.xession file by adding this line to disable/enable
beeping
xset b off|on
s*******n
发帖数: 730
17
来自主题: Linux版 - thinkpad用户有吗?
新的t410s的trackpoint怎么调都不好用,不够快。以前的x61s鼠标比windows最快设置
还要快。现在怎么比windows慢了呢。。。按的手指疼。。
trackpoint driver的sensitive最高。
然后x的设置
xset m 5 0
诸位都是怎么设的啊。
s*******n
发帖数: 730
18
来自主题: Linux版 - thinkpad用户有吗?
行了。多谢几位。
用trackpoint的driver的sensitivity 255, speed 170
外加xset m 9 1
基本上能用了吧。不是很爽。
高速移动还行,低速移动时还是太慢,太费力。
t*****i
发帖数: 111
19
来自主题: Unix版 - two questions.
1. when using "xset fp+ " to import Chinese fonts,
it works only in OPENWIN, not in CDE.
moreover, i have to use the OPENWIN automatically entered
from Command Line Login, not the one chosen directly.
I am using Sun Ultra 60 and Solaris 2.5.
2. in CDE, how can I activate a window by click its title
bar, not by moving the mouse curse on it, which is the
default?
Thanks in advance and I wish I made the question clear.
c**o
发帖数: 166
20
I believe this question was discussed N times.
1) If you only want to read chinese in Netscape,
type
xset fp+ /usr/openwin/lib/locale/zh/X11/fonts/75dpi
on your command line. Then, in your Netscape, check
View -> Character set -> Simplified Chinese ...
2) If you want to read chinese in PINE, download
cxterm and install it. ...
t*****a
发帖数: 2
21
来自主题: Unix版 - what's wrong with my CXterm5.0?
I installed cxterm5.0 without any mistake and I change the
path, but each time I run it, the response is:
xset: bad font path element (#38), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
Cannot identify a chinese font in the X Window system.
how should i do?
thanks.
z*******w
发帖数: 79
22
make sure your netscape(or x) has Chinese Font installed.
then in your .Xdefault file add a line like this:
xset fp+ /your/chinese/font/path
a**s
发帖数: 1
23

Ok,I have kind of same problem.
I got the directory containning fonts.alias fonts....
Then what should do next????
xset +fp ????
c*****t
发帖数: 1879
24
来自主题: Unix版 - xset 的问题
That's because you are running cxterm remotely (i.e. you are
not at the console). In that case, you will need font server
(fs or xfs, check man pages) on that machine. Or, you will
need to figure out a way to put these fonts on your local
machine.
c*****t
发帖数: 1879
25
来自主题: Unix版 - xset 的问题
Setup a font server is the easiest solution then. Consult man pages.
y***y
发帖数: 56
26
来自主题: Unix版 - Help!!! Building Cxterm on HPUX
try type:
xset fp+ xfonts/ (your xfonts dir)
j***y
发帖数: 87
27
来自主题: Unix版 - .cshrc?.login?.profile?

For Irix, everytime you open an xterm window, a login shell will be invoked,
so it will execute .login once more.
In theory, for irix6.5, you can add a file .sgisession under your home
directory, which will be executed only once for each session. But in practice,
sometime, it doesn't work at all.
So my way is still to add something in .cshrc or .login, but everytime I will
measure if it's first time to be executed.
say, if I only want to call xset +path once, then I add the following script,
se
a******e
发帖数: 95
28
来自主题: Unix版 - cxterm installation problem
While I install Cxterm under solaris 2.6
there is always one error about adding font path.
The error is shown as the follows:
xset: bad font path element (#0), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
I am sure the problem will not be 1 and 2
so maybe it is 3
but how can I do to conquer this problem?
I can use the cxterm to read simplified Chinese
but can not use the input methods and a
z*y
发帖数: 1311
29
Below is the error message I get from installation, thank you for
your advice.
Now verifying the font installation. If any error happened
during the verification, the font installation had failed.
Press return to continue:
step 1, adding the font path ...
xset: bad font path element (#39), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
step 2, checking the fontname in the path ...
Failed to
d**r
发帖数: 315
30
来自主题: Unix版 - HELP!! (CXTERM)
Sorry, I cannot enter English right now.
I include such sentence in my .cshrc file:
alias font 'xset fp+ /tools/xfonts'
alias cxt 'CXterm -fh gb24st -fn 12x24 -fg white -bg black&'
And I have gb24st.pcf in my /tools/xfonts/ directory, as well
as the fonts.dir. But when I type in "cxt", the system always
tells me that
Specified font doesn't exist in the X Window system.
Then exits.
Can someone tell me why? I am really looking to solving this problem.
Thank you very much!
s**s
发帖数: 242
31
来自主题: Unix版 - UNIX的中文TERM
当然可以。
用xset fp+ dir 添加你的font路径
x*u
发帖数: 25
32
来自主题: Unix版 - Help! Why can't I add fonts in UNIX?
I try to use xset +fp ~/fonts, but it failed
T********r
发帖数: 6210
33
来自主题: Unix版 - Help! Why can't I add fonts in UNIX?
be sure to use the full path, and append / in the end, so it should
be like: xset +fp /home/myaccount/fonts/
X server don't have idea of that ~
m*****l
发帖数: 55
34
来自主题: Unix版 - Solaris的中文支持?
i tried to install cxterm to solaris, but failed.
i do not have root right either.
finally i found some chinese fonts, and use xset to
add the chinese fonts, then it works
s*****g
发帖数: 2
35
来自主题: Unix版 - Cygwin / XFree86 doesn't work
Execute the startxwin.sh to create the Xwindows, according to the
startxwin.sh script, there should be 2 xterm windows and a clock, but
I couldn't find it. Then I execute "xterm -display localhost:0.0 &,
after a while, an error pops up saying BadAlloc...xxx X_FontOpen
error.
run mkfontdir in each font directory under /usr/X11R6/lib/X11/font/*
and put xset +fp in startxwin, and do the above again, nothing
changes
A*****o
发帖数: 222
36
yes? xset +fp "the full directory to your font directory"
btw, what issue you have with cxterm? compiling on solaris?
Don't bother to try that autoconf stuff, Use the old way to configure
and compile and it should work fine.
1 (共1页)