LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs > ted_chou12
User Name
Password

Notices



Old

notes from playing around

Posted 08-30-2012 at 10:18 AM by ted_chou12
Updated 08-30-2012 at 02:21 PM by ted_chou12

After playing around with some configurations, pcmanfm sorting files can be edited at .~/config/pcmanfm-mod/main
Code:
[General]
terminal=roxterm

[Window]
width=640
height=480
splitter_pos=160
maximized=0

[Desktop]
show_desktop=1
show_wallpaper=1
wallpaper=/mnt/main/vectordb/hyoka-you-can_t-escape-anime.jpg
wallpaper_mode=2
sort_by=0 # 0 by name , 1 by size, 2 by type and 3 by mod time.
...
Member
Posted in Uncategorized
Views 358 Comments 0 ted_chou12 is offline
Old

xterm to display wide font properly

Posted 08-28-2012 at 04: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 583 Comments 0 ted_chou12 is offline
Old

mount scripts

Posted 08-27-2012 at 03: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 442 Comments 0 ted_chou12 is offline
Old

ibus input How TO

Posted 08-23-2012 at 10: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 2876 Comments 1 ted_chou12 is offline
Old

sendmail server at port 25

Posted 08-21-2012 at 10:17 AM by ted_chou12
Updated 08-21-2012 at 10: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 411 Comments 0 ted_chou12 is offline

  



All times are GMT -5. The time now is 10:55 AM.

Main Menu
Advertisement

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