Chinaunix首页 | 论坛 | 博客
  • 博客访问: 514499
  • 博文数量: 113
  • 博客积分: 2239
  • 博客等级: 大尉
  • 技术积分: 1280
  • 用 户 组: 普通用户
  • 注册时间: 2012-01-20 20:51
文章分类

全部博文(113)

文章存档

2015年(6)

2014年(15)

2013年(1)

2012年(91)

我的朋友

分类: BSD

2012-03-11 18:54:21

在~/.config/openbox下

autostart

# This shell script is run before Openbox launches.
# Environment variables set here are passed to the Openbox session.
# D-bus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi

# Run XDG autostart things. By default don't run anything desktop-specific
# See xdg-autostart --help more info
#DESKTOP_ENV=""
#if which /usr/lib64/openbox/xdg-autostart >/dev/null; then
# /usr/lib64/openbox/xdg-autostart $DESKTOP_ENV
#fi
#xcompmgr -cCfF -t-5 -l-5 -r4 -o.55 &
#xcompmgr -cC -t-3 -l-5 -r5 -I0.02 -O0.03 -D4 -fF &
xcompmgr -cCfF -r7 -o.60 -l-10 -t-8 -D7 & # shadows and fades
#set wallpaper
eval `cat ~/.fehbg` &
# URxvt server
if which urxvtd > /dev/null; then
urxvtd -o -q -f&
fi

#set the tint2
if which tint2 > /dev/null; then
tint2 &
fi
# set the fcitx
if which fcitx > /dev/null; then
(sleep 2 && fcitx) &
fi
sleep 4s && wbar -bpress -above-desk -pos bottom &

menu.xml







VirtualBox

yes






scrot -b -s '/home/qwer/%Y-%m-%d-%H:%M:%S_$wx$h.png' -e 'gqview '






scrot -b -d 5 -q 75 -m '/home/qwer/%Y-%m-%d-%H:%M:%S_$wx$h.jpeg' -e 'gqview '





xterm "/usr/local/bin/gtypist"

yes





opera "~/TTOnline.swf"

yes








leafpad

yes
leafpad





libreoffice

yes
libreoffice








xterm






firefox

yes
Firefox





opera

yes
Opera









gmplayer

yes
MPlayer





totem

yes









rox

yes
ROX-Filer





pcmanfm

yes








gimp

yes





gqview

yes





epdfview

yes





inkscape

yes





blender

yes








leafpad ~/.config/openbox/menu.xml





leafpad ~/.config/openbox/rc.xml





leafpad ~/.config/openbox/autostart





obconf





xdg-open

no
cups

























gksu '/sbin/shutdown -r now'






gksu '/sbin/shutdown -p now'





yes






rc.xml





10
20


yes

no

yes

no

200

no



Smart

yes


Primary

1



Clearlooks
NLIMC

yes
yes

Sans
10

Bold

Normal



Sans
10

Bold

Normal



Sans
11

Normal

Normal



Sans
11

Normal

Normal



Sans
11

Bold

Normal



Sans
11

Bold

Normal





4
1

1
2
3
(Unnamed desktop)

875



yes
Nonpixel

Center



10

10





0
0
0
0


Floating

0
0
no
Above

Vertical

no
300

300

Middle



C-g



left
no




right
no




up
no




down
no




left
no




right
no




up
no




down
no




1




2




3




4
















client-menu























yes
yes










right




left




up




down






true
Konqueror

kfmclient openProfile filemanagement




1

200

400

false



























previous




next




previous




next




previous




next












no










yes






















client-menu






top






left






right






bottom






client-menu

































client-menu






client-menu




















































vertical




horizontal
















previous




next




previous




next




previous




next















client-list-combined-menu




root-menu






previous




next




previous




next




menu.xml200no100400
if this is a negative value, then the delay is infinite and the
submenu will not be hidden until a different submenu is opened -->
yes

yes



# this is an example with comments through out. use these to make your
# own rules, but without the comments of course.
# you may use one or more of the name/class/role/title/type rules to specify
# windows to match

class="the window's _OB_APP_CLASS property (see obxprop)"
role="the window's _OB_APP_ROLE property (see obxprop)"
title="the window's _OB_APP_TITLE property (see obxprop)"
type="the window's _OB_APP_TYPE property (see obxprob)..
(if unspecified, then it is 'dialog' for child windows)">
# you may set only one of name/class/role/title/type, or you may use more
# than one together to restrict your matches.

# the name, class, role, and title use simple wildcard matching such as those
# used by a shell. you can use * to match any characters and ? to match
# any single character.

# the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
# or desktop

# when multiple rules match a window, they will all be applied, in the
# order that they appear in this list


# each rule element can be left out or set to 'default' to specify to not
# change that attribute of the window

yes
# enable or disable window decorations

no
# make the window shaded when it appears, or not


# the position is only used if both an x and y coordinate are provided
# (and not set to 'default')
# when force is "yes", then the window will be placed here even if it
# says you want it placed elsewhere. this is to override buggy
# applications who refuse to behave
center
# a number like 50, or 'center' to center on screen. use a negative number
# to start from the right (or bottom for ), ie -50 is 50 pixels from the
# right edge (or bottom).
200
1
# specifies the monitor in a xinerama setup.
# 1 is the first head, or 'mouse' for wherever the mouse is


yes
# if the window should try be given focus when it appears. if this is set
# to yes it doesn't guarantee the window will be given focus. some
# restrictions may apply, but Openbox will try to

1
# 1 is the first desktop, 'all' for all desktops

normal
# 'above', 'normal', or 'below'

no
# make the window iconified when it appears, or not

no
# asks to not be shown in pagers

no
# asks to not be shown in taskbars. window cycling actions will also
# skip past such windows

yes
# make the window in fullscreen mode when it appears

true
# 'Horizontal', 'Vertical' or boolean (yes/no)


# end of the example
-->


阅读(3643) | 评论(0) | 转发(0) |
0

上一篇:转强人的openbox配置

下一篇:tint2配置

给主人留下些什么吧!~~