Skip to content

Instantly share code, notes, and snippets.

@genneko
Last active June 20, 2019 19:53
Show Gist options
  • Save genneko/48f0e1db065a9c7c27582b11a6321b8b to your computer and use it in GitHub Desktop.
Save genneko/48f0e1db065a9c7c27582b11a6321b8b to your computer and use it in GitHub Desktop.
Config files for Xfce4 + Slim on FreeBSD 11.3 on VirtualBox on Windows
XTerm*utf8 : 1
XTerm*locale : true
XTerm*selectToClipboard : true
XTerm*faceName: DejaVu Sans Mono:style=Book:antialias=true
XTerm*faceNameDoublesize: VL Gothic:style=reguler:antialias=true
xterm*ximFont: -misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0
XTerm*faceSize : 10.5
XTerm*cjkWidth : true
XTerm*fontDoublesize : true
XTerm*saveLines : 2000
XTerm*geometry : 100x30+300+100
XTerm*scaleHeight : 1.15
XTerm*background: #292929
XTerm*foreground: #EEEEEE
XTerm*color0: #333333
XTerm*color1: #A94952
XTerm*color2: #83A949
XTerm*color3: #A99F49
XTerm*color4: #4983A9
XTerm*color5: #A94983
XTerm*color6: #49A99F
XTerm*color7: #AAAAAA
XTerm*color8: #666666
XTerm*color9: #ED6975
XTerm*color10: #B8ED69
XTerm*color11: #EDE169
XTerm*color12: #69B8ED
XTerm*color13: #ED69B8
XTerm*color14: #69EDE1
XTerm*color15: #DDDDDD
#!/bin/sh
#
# ~/.xinitrc for Xfce4
#
# Locale
export LC_ALL=ja_JP.UTF-8
export LANGUAGE=ja_JP.UTF-8
export LANG=ja_JP.UTF-8
# Input Method
export GTK_IM_MODULE=uim
export QT_IM_MODULE=uim
export XMODIFIERS='@im=uim'
export XIM=uim
# Start Mozc
/usr/local/bin/mozc start
uim-xim &
# Start Xfce4
exec startxfce4
#
# /usr/local/etc/X11/xorg.conf.d/files.conf
#
Section "Files"
FontPath "/usr/local/share/fonts/dejavu/"
EndSection
#
# /usr/local/etc/X11/xorg.conf.d/input.conf
#
Section "InputClass"
Identifier "Keyboard Defaults"
Driver "keyboard"
MatchIsKeyboard "on"
Option "XkbRules" "xorg"
Option "XkbModel" "jp106"
Option "XkbLayout" "jp"
Option "XkbOptions" "ctrl:nocaps"
EndSection
#
# /usr/local/etc/X11/xorg.conf.d/module.conf
#
Section "Module"
Load "freetype"
EndSection
#
# /usr/local/etc/X11/xorg.conf.d/monitor.conf
#
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
Identifier "Card0"
Driver "vboxvideo"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment