LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs > ted_chou12
User Name
Password

Notices

Uncategorized Entries with no category
Old

xterm to display wide font properly

Posted 08-28-2012 at 03:02 PM by ted_chou12

I was trying to use export LANG=zh_TW.UTF8, so that my command line at least give me some feedback in chinese. But despite of a readable font, it doesnt display correctly, because the characters seem to show up with spaces inbetween. That looked ugly. So I searched on the web to customize the font in my ./~XDefaults finally:
Code:
!xsession*windows_manager: icewm-rox
!xsession*sound_server: jackd

xterm*title:		Xterm
xterm*font:		-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
...
Member
Posted in Uncategorized
Views 545 Comments 0 ted_chou12 is offline
Old

mount scripts

Posted 08-27-2012 at 02:39 PM by ted_chou12

These are scripts that searches for local drives and network shares (cifs). I am putting this up for whoever looking for a ready made script also for my future references:
Code:
#mounts start with f
tbmounted=(f g h i j k l m n o p q r s t u v w x y z)

for each in "/dev/sd"* ; do
	mname=${each##*/}
	
	for alphabet in ${tbmounted[@]} ; do
		if [ "$mname" == "sd$alphabet" ] ; then
				mounts=$(mount | grep
...
Member
Posted in Uncategorized
Views 430 Comments 0 ted_chou12 is offline
Old

ibus input How TO

Posted 08-23-2012 at 09:27 AM by ted_chou12

I am able to input thru ibus, I am using slackware 13.37 vl 70. Please keep in mind of the model:
http://en.gentoo-wiki.com/wiki/IBus
after installing ibus and desired input method:
Code:
touch /etc/X11/xinit/xinput.d/ibus.conf
Quote:
The following code should be placed into ibus.conf:
Code:
#!/bin/sh

export XMODIFIERS="@im=ibus" 
export GTK_IM_MODULE="ibus" 
#export QT_IM_MODULE="ibus" 
export QT_IM_MODULE="xim"
...
Member
Posted in Uncategorized
Views 2747 Comments 1 ted_chou12 is offline
Old

sendmail server at port 25

Posted 08-21-2012 at 09:17 AM by ted_chou12
Updated 08-21-2012 at 09:55 AM by ted_chou12

borrowed from: https://n00bsys0p.wordpress.com/2010...r/#comment-366
Quote:
Hi folks!!

I almost canít believe how long itís been since I last posted anything on here! Iíve learnt loads, so undoubtedly Iíll be making a few new posts in the near future! Anyway, on with the postÖ

Setting up Sendmail in a full install of Slackware 12+ (Iíve not tried it in any previous versions) is as easy as 123Ö Just su to root, and enter the
...
Member
Posted in Uncategorized
Views 393 Comments 0 ted_chou12 is offline
Old

display chinese properly

Posted 08-17-2012 at 04:01 AM by ted_chou12

Hi, I just made the machine be able to display chinese properly. First, choose a font from your windows directory, usually mingliu.ttc or kaiu.ttf. Since the chinese character db is huge, these files are usually a few mb in size. Copy a desired copy to /usr/share/fonts/ttf and run fc-cache -f -v thru terminal should be able to do it. Ofcourse a reboot is always a recommended option. In addition, since chinese db is the largest, if you chose a ttf/ttc file over ~20mb, jap and kor can usually display...
Attached Files
File Type: txt quickbrown.txt (4.3 KB, 4 views)
Member
Posted in Uncategorized
Views 378 Comments 0 ted_chou12 is offline

  



All times are GMT -5. The time now is 03:24 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration