简陋conkyrc备份

仅供存放个人的配置文件,不要在本版发问。
回复
头像
youzhiyili
帖子: 2418
注册时间: 2012-03-22 20:42
送出感谢: 128 次
接收感谢: 34 次

简陋conkyrc备份

#1

帖子 youzhiyili » 2012-11-15 19:52

:em06 菜鸟,整不出天气,做个笔记

./conkyrc

代码: 全选

#<========Conky基本属性=============

# 是否嵌入桌面,“no”表示不嵌入;“yes”表示嵌入
background yes

# 是否使用xft字体,一般为“yes”
use_xft yes

# 设置默认字体、大小、粗体
xftfont 文泉驿等宽微米黑:size=9:style=Bold

#设置默认颜色
default_color slate grey

xftalpha 0.8

# 是否输出到控制台
out_to_console no

# 0.5秒刷新一次
update_interval 0.5

# 总共运行时间
total_run_times 0


#<========Conky边框设置=============

# 要不要阴影?
draw_shades no

# 要不要边框外的轮廓?
draw_outline no

# 要不要边框?
draw_borders no

# 要不要图形边界?
draw_graph_borders no

# 边框宽度
border_width 3

# 边框内缘
border_inner_margin 2

# 边框用点点画虚线,每画几点长?
stippled_borders 2

#<========窗口属性================

# 选no会一闪一闪的
own_window yes

#conky窗口类型,override覆盖,desktop壁纸
own_window_type override

#conky窗口完全透明
own_window_transparent yes

# 窗口颜色,暗红
own_window_colour hotpink

# 窗口提示
own_window_hints sticky,undecorated,below,skip_taskbar,skip_pager

# 双缓冲
double_buffer yes

# 没有缓冲区
no_buffers no

uppercase no

# CPU平均样本
cpu_avg_samples 2

# NET平均样本
net_avg_samples 2

# 是否覆盖UTF8设置?
override_utf8_locale yes

# 使用间隔?
use_spacer none

#<========Conky窗口大小设置===========

# 输出到屏幕顶部top、底部bottom、左边left、右边right
alignment top_right

# 横向离屏幕10像素,最小为10
gap_x 10

# 纵向离屏幕62像素,最小为10
gap_y 62

# 最小宽度199像素 最小高度 10像素
minimum_size 199 10

# 最大宽度350像素 最大高度 10像素
maximum_width 250 10

#<========Conky屏幕输出内容===========
TEXT
$color用户名称:${exec whoami}$alignr已运行:$uptime${color}
$color内核版本:${alignr}$sysname $kernel ${exec uname -m}
$color当前日期:${time %Y}年${exec date +%m}月${time %d}日 ${alignr}星期${time %a}
${font 文泉驿等宽微米黑:size=28:style=Bold}${time %p}${time %l:%M:%S}$color${font 文泉驿等宽微米黑:size=9:style=Bold}

$color双核状态:CPU 1:${cpu cpu1}% CPU 2:${cpu cpu2}%
${cpubar 3,245}
$color本机内存:$memperc%$alignr$mem/$memmax
${membar 3,245}
$color交换空间:$swapperc%$alignr$swap$swapmax
${swapbar 3,245}
系统分区:$alignr${fs_free /}/${fs_size /}
${fs_bar 3,245 /}
软件分区:$alignr${fs_free /home}/${fs_size /home}
${fs_bar 3,245 /home}

任务管理:$alignr$processes个进程  ($running_processes个活动)
${hr 1}
CPU最高:$alignr -PID-      CPU%
${hr 1}${color red}
${top name 1}$alignr${top pid 1}    ${top cpu 1}${color}
${top name 2}$alignr${top pid 2}    ${top cpu 2}
${top name 3}$alignr${top pid 3}    ${top cpu 3}
${top name 4}$alignr${top pid 4}    ${top cpu 4}
${top name 5}$alignr${top pid 5}    ${top cpu 5}${color}

内存最高:$alignr -PID-      MEM%
${hr 1}${color red}
${top_mem name 1}$alignr${top_mem pid 1}    ${top_mem mem 1}${color}
${top_mem name 2}$alignr${top_mem pid 2}    ${top_mem mem 2}
${top_mem name 3}$alignr${top_mem pid 3}    ${top_mem mem 3}
${top_mem name 4}$alignr${top_mem pid 4}    ${top_mem mem 4}

读取硬盘:${alignr}$diskio_read
${diskiograph_read /dev/sda 10,245 000000 ffffff}
写入硬盘:${alignr}$diskio_write
${diskiograph_write /dev/sda 10,245 000000 ffffff}
上传数据:${upspeed eth0}KB ${alignr}累计:${totalup eth0}
${upspeedgraph eth0 10,245 000000 ffffff}
下载数据:${downspeed eth0}KB ${alignr}累计:${totaldown eth0}
${downspeedgraph eth0 10,245 000000 ffffff}
0.png
上次由 youzhiyili 在 2012-11-17 16:30,总共编辑 2 次。
@自由建客 @qy117121 @枫叶饭团 @cikekid @YeLee @jtshs256 @eexpress @ljj_jjl2008 @zhw2101024 @TeliuTe @月下叹逍遥 @leeaman @懒蜗牛Gentoo @灰色小狼 @photor @adagio @JiangHui @phoenixlzx @oneleaf
头像
youzhiyili
帖子: 2418
注册时间: 2012-03-22 20:42
送出感谢: 128 次
接收感谢: 34 次

Re: 简陋conkyrc备份

#2

帖子 youzhiyili » 2012-11-17 16:10

~/.config/tint2rc

代码: 全选

# Background definitions
# ID 1
rounded = 7
border_width = 2
background_color = #000000 60
border_color = #FFFFFF 16

# ID 2
rounded = 5
border_width = 0
background_color = #FFFFFF 40
border_color = #FFFFFF 48

# ID 3
rounded = 5
border_width = 0
background_color = #FFFFFF 16
border_color = #FFFFFF 68

# Panel
panel_monitor = all
panel_position = top center horizontal
panel_size = 84% 30
panel_margin = 0 0
panel_padding = 7 0 7
panel_dock = 0
wm_menu = 0
panel_layer = top
panel_background_id = 1

# Panel Autohide
autohide = 0
autohide_show_timeout = 0
autohide_hide_timeout = 0
autohide_height = 2
strut_policy = follow_size

# Taskbar
taskbar_mode = single_desktop
taskbar_padding = 2 3 2
taskbar_background_id = 0
taskbar_active_background_id = 0

# Tasks
urgent_nb_of_blink = 8
task_icon = 1
task_text = 1
task_centered = 1
task_maximum_size = 140 35
task_padding = 6 2
task_background_id = 3
task_active_background_id = 2
task_urgent_background_id = 2
task_iconified_background_id = 3
task_tooltip = 0

# Task Icons
task_icon_asb = 70 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 70 0 0

# Fonts
task_font = 文泉驿等宽微米黑 10
task_font_color = #FFFFFF 68
task_active_font_color = #FFFFFF 83
task_urgent_font_color = #FFFFFF 83
task_iconified_font_color = #FFFFFF 68
font_shadow = 0

# System Tray
systray = 1
systray_padding = 0 4 5
systray_sort = ascending
systray_background_id = 0
systray_icon_size = 16
systray_icon_asb = 70 0 0

# Clock
#time1_format = %H:%M
#time1_font = 文泉驿等宽微米黑 10
#time2_format = %B %d %A
#time2_font = 文泉驿等宽微米黑 10
#clock_font_color = #FFFFFF 74
#clock_padding =  0
#clock_background_id = 0
#clock_rclick_command = orage

# Tooltips
tooltip_padding = 2 2
tooltip_show_timeout = 0.7
tooltip_hide_timeout = 0.3
tooltip_background_id = 1
tooltip_font = 文泉驿等宽微米黑 10
tooltip_font_color = #000000 80

# Mouse
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

# Battery
battery = 0
battery_low_status = 10
battery_low_cmd = notify-send "battery low"
battery_hide = 98
bat1_font = 文泉驿等宽微米黑 10
bat2_font = 文泉驿等宽微米黑 10
battery_font_color = #FFFFFF 74
battery_padding = 1 0
battery_background_id = 0

# End of config
~/.tilda/config_0

代码: 全选

tilda_config_version = "0.9.6"
# image = ""
# command = ""
font = "文泉驿等宽微米黑 11"
key = "F1"
title = "Tilda"
background_color = "white"
# working_dir = ""
web_browser = "chromium-browser"
lines = 500
max_width = 757
max_height = 637
min_width = 1
min_height = 1
transparency = 100
x_pos = 0
y_pos = 55
tab_pos = 0
backspace_key = 0
delete_key = 1
d_set_title = 3
command_exit = 2
scheme = 0
slide_sleep_usec = 15000
animation_orientation = 0
scrollbar_pos = 2
back_red = 60909
back_green = 6168
back_blue = 54004
text_red = 46606
text_green = 46917
text_blue = 49060
scroll_background = true
scroll_on_output = false
notebook_border = false
antialias = true
scrollbar = false
use_image = false
grab_focus = true
above = true
notaskbar = true
bold = true
blinks = false
scroll_on_key = true
bell = false
run_command = false
pinned = true
animation = false
hidden = true
centered_horizontally = false
centered_vertically = false
enable_transparency = true
double_buffer = true
~/.tilda/config_1

代码: 全选

tilda_config_version = "0.9.6"
# image = ""
# command = ""
font = "文泉驿等宽微米黑 10"
key = "<Primary><Alt>t"
title = "Tilda"
background_color = "white"
# working_dir = ""
web_browser = "chromium-browser"
lines = 293
max_width = 737
max_height = 560
min_width = 1
min_height = 1
transparency = 100
x_pos = 471
y_pos = 94
tab_pos = 0
backspace_key = 0
delete_key = 1
d_set_title = 3
command_exit = 2
scheme = 3
slide_sleep_usec = 15000
animation_orientation = 0
scrollbar_pos = 2
back_red = 0
back_green = 0
back_blue = 0
text_red = 65535
text_green = 65535
text_blue = 65535
scroll_background = true
scroll_on_output = false
notebook_border = false
antialias = true
scrollbar = false
use_image = false
grab_focus = true
above = false
notaskbar = false
bold = true
blinks = true
scroll_on_key = true
bell = false
run_command = false
pinned = true
animation = false
hidden = false
centered_horizontally = true
centered_vertically = false
enable_transparency = true
double_buffer = false
上次由 youzhiyili 在 2012-11-17 23:46,总共编辑 1 次。
@自由建客 @qy117121 @枫叶饭团 @cikekid @YeLee @jtshs256 @eexpress @ljj_jjl2008 @zhw2101024 @TeliuTe @月下叹逍遥 @leeaman @懒蜗牛Gentoo @灰色小狼 @photor @adagio @JiangHui @phoenixlzx @oneleaf
头像
youzhiyili
帖子: 2418
注册时间: 2012-03-22 20:42
送出感谢: 128 次
接收感谢: 34 次

Re: 简陋conkyrc备份

#3

帖子 youzhiyili » 2012-11-17 16:13

/usr/share/wbar/dot.wbar

代码: 全选

i: /usr/share/wbar/iconpack/wbar.osx/osxbarback.png
c: wbar -bpress -above-desk -pos center -zoomf 1.3 -isize 72 -idist 4 -jumpf 1 -nanim 3 -balfa 25
t: /usr/share/wbar/iconpack/wbar.osx/font/16

i: /usr/share/icons/hicolor/64x64/apps/chromium-browser.png
c: chromium-browser
t: Chromium

i: /usr/share/pixmaps/other/GIMP.png
c: gimp
t: Gimp

i: /usr/share/icons/hicolor/64x64/apps/smplayer.png
c: smplayer
t: Smplayer

i: /usr/share/pixmaps/audacious.png
c: audacious
t: Audacious
~/.config/openbox/menu.xml

代码: 全选

<?xml version="1.0" encoding="utf-8"?>
<openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/                 file:///usr/share/openbox/menu.xsd">
	<menu id="root-menu" label="Openbox 3">
		<item label="文   件">
			<action name="Execute">
				<execute>thunar</execute>
			</action>
		</item>
		<menu id="root-menu-655352" label="程   序">
			<menu id="root-menu-655352-91548" label="附   件">
				<item label="终   端">
					<action name="Execute">
						<execute>tilda</execute>
					</action>
				</item>
				<item label="截   屏">
					<action name="Execute">
						<execute>scrot -cd 3 ~/图片/0.png</execute>
					</action>
				</item>
				<item label="截   图">
					<action name="Execute">
						<execute>scrot -s ~/图片/0.png</execute>
					</action>
				</item>
			</menu>
			<menu id="root-menu-655352-73340" label="播   放">
				<item label="听   歌">
					<action name="Execute">
						<execute>mocp</execute>
					</action>
				</item>
				<item label="歌   词">
					<action name="Execute">
						<execute>osdlyrics</execute>
					</action>
				</item>
				<item label="看   片">
					<action name="Execute">
						<execute>smplayer</execute>
					</action>
				</item>
			</menu>
			<menu id="root-menu-655352-834351" label="图   片">
				<item label="查看图片">
					<action name="Execute">
						<execute>mirage</execute>
					</action>
				</item>
				<item label="编辑图片">
					<action name="Execute">
						<execute>gimp</execute>
					</action>
				</item>
			</menu>
		</menu>
		<menu id="root-menu-562227" label="网   络">
			<item label="上   网">
				<action name="Execute">
					<execute>x-www-browser</execute>
				</action>
			</item>
			<item label="聊   天">
				<action name="Execute">
					<execute>pidgin</execute>
				</action>
			</item>
			<item label="邮   件">
				<action name="Execute">
					<execute>thunderbird</execute>
				</action>
			</item>
			<item label="下   载">
				<action name="Execute">
					<execute>deluge</execute>
				</action>
			</item>
		</menu>
		<menu id="root-menu-31625" label="工   具">
			<item label="启动盘">
				<action name="Execute">
					<execute>usb-creator-gtk</execute>
				</action>
			</item>
			<item label="软件源">
				<action name="Execute">
					<execute>software-properties-gtk</execute>
				</action>
			</item>
			<item label="语言支持">
				<action name="Execute">
					<execute>gnome-language-selector</execute>
				</action>
			</item>
			<item label="磁盘管理">
				<action name="Execute">
					<execute>command</execute>
				</action>
			</item>
			<item label="网络设置">
				<action name="Execute">
					<execute>nm-connection-editor</execute>
				</action>
			</item>
			<item label="屏幕设置">
				<action name="Execute">
					<execute>nvidia-settings</execute>
				</action>
			</item>
			<item label="外观主题">
				<action name="Execute">
					<execute>lxappearance</execute>
				</action>
			</item>
			<item label="附加驱动">
				<action name="Execute">
					<execute>jockey-gtk</execute>
				</action>
			</item>
		</menu>
		<menu id="root-menu-11019" label="设   置">
			<item label="编辑菜单">
				<action name="Execute">
					<execute>obmenu</execute>
				</action>
			</item>
			<item label="窗口设置">
				<action name="Execute">
					<execute>obconf</execute>
				</action>
			</item>
			<item label="应用设置">
				<action name="Reconfigure"/>
			</item>
			<item label="重启窗口">
				<action name="Restart"/>
			</item>
			<item label="退出窗口">
				<action name="Exit"/>
			</item>
		</menu>
		<menu id="root-menu-111322" label="关   机">
			<item label="关   机">
				<action name="Execute">
					<execute>dbus-send --system --print-reply  --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager  org.freedesktop.ConsoleKit.Manager.Stop</execute>
				</action>
			</item>
			<item label="重   启">
				<action name="Execute">
					<execute>dbus-send --system --print-reply  --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager  org.freedesktop.ConsoleKit.Manager.Restart</execute>
				</action>
			</item>
			<item label="休   眠">
				<action name="Execute">
					<execute>dbus-send --system --print-reply  --dest=org.freedesktop.UPower /org/freedesktop/UPower  org.freedesktop.UPower.Hibernate</execute>
				</action>
			</item>
			<item label="注   销">
				<action name="Execute">
					<execute>openbox --exit</execute>
				</action>
			</item>
		</menu>
		<!-- This requires the presence of the 'menu' package to work -->
	</menu>
</openbox_menu>
上次由 youzhiyili 在 2012-11-19 16:45,总共编辑 1 次。
@自由建客 @qy117121 @枫叶饭团 @cikekid @YeLee @jtshs256 @eexpress @ljj_jjl2008 @zhw2101024 @TeliuTe @月下叹逍遥 @leeaman @懒蜗牛Gentoo @灰色小狼 @photor @adagio @JiangHui @phoenixlzx @oneleaf
头像
youzhiyili
帖子: 2418
注册时间: 2012-03-22 20:42
送出感谢: 128 次
接收感谢: 34 次

Re: 简陋conkyrc备份

#4

帖子 youzhiyili » 2012-11-17 16:25

解决安装显卡驱动后分辨率太高

代码: 全选

#sudo apt-get install xorg

代码: 全选

sudo dpkg-reconfigure xserver-xorg

代码: 全选

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup

代码: 全选

sudo leafpad /etc/X11/xorg.conf
Section "Device"
Identifier "Default Device"
Option "NoLogo" "True"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24

SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

代码: 全选

#或sudo nvidia-settings
解决Thunar窗口字体小,不显示图标

代码: 全选

sudo apt-get install lxappearance

代码: 全选

sudo lxappearance
上次由 youzhiyili 在 2012-11-18 1:59,总共编辑 3 次。
@自由建客 @qy117121 @枫叶饭团 @cikekid @YeLee @jtshs256 @eexpress @ljj_jjl2008 @zhw2101024 @TeliuTe @月下叹逍遥 @leeaman @懒蜗牛Gentoo @灰色小狼 @photor @adagio @JiangHui @phoenixlzx @oneleaf
头像
枫叶饭团
论坛版主
帖子: 14683
注册时间: 2010-06-16 1:05
系统: Mac OS X
来自: Tencent
送出感谢: 1 次
接收感谢: 132 次
联系:

Re: 简陋conkyrc备份

#5

帖子 枫叶饭团 » 2012-11-17 16:35

不用conky多年
头像
youzhiyili
帖子: 2418
注册时间: 2012-03-22 20:42
送出感谢: 128 次
接收感谢: 34 次

Re: 简陋conkyrc备份

#6

帖子 youzhiyili » 2012-11-17 17:16

枫叶饭团 写了:不用conky多年
俺前两天才知道这玩意叫Conky..... :em03
其实这玩意也没什么用,就是放在桌面上有种莫名其妙等快感 :em06
@自由建客 @qy117121 @枫叶饭团 @cikekid @YeLee @jtshs256 @eexpress @ljj_jjl2008 @zhw2101024 @TeliuTe @月下叹逍遥 @leeaman @懒蜗牛Gentoo @灰色小狼 @photor @adagio @JiangHui @phoenixlzx @oneleaf
头像
只是说
帖子: 1140
注册时间: 2012-03-12 22:44
系统: 贱兔
来自: 株洲
送出感谢: 32 次
接收感谢: 5 次

Re: 简陋conkyrc备份

#7

帖子 只是说 » 2012-11-17 18:17

玩过了。就是麻烦了点,还是有点用的。配点实用的就可以了。
我的博客
头像
qy117121
论坛版主
帖子: 49901
注册时间: 2007-12-14 13:40
系统: Winbuntu
来自: 志虚国乌由市
送出感谢: 17 次
接收感谢: 335 次
联系:

Re: 简陋conkyrc备份

#8

帖子 qy117121 » 2012-11-17 18:18

好黑
渠月 · QY    https://vz.rs/u
本人只会灌水,不负责回答问题

无聊可以点一下→ http://u.nu/ubuntu
回复

回到 “个人配置文件存放点”