Wer gern das Hintergrundbild seines Desktop wechselt, wird vielleicht den fehlenden Schriftzug / das Erkennungsmerkmal von "siduction" darin vermissen.
Das kann man mit einem einfachen Conky lösen.
Dazu habe ich mich bei meinem Freund Sector11 aus dem bunsenlabs-Forum und seinen umfangreichen Kalender-Conky's "bedient". Er verwendet hier ein Tages-Kalender-Script von @mobildiesel aus dem Jahr 2011.
Es wird benötigt:
- das
Gravarta von siduction- das Script
week_2.sh
#!/bin/bash
# by: mobilediesel
font=("\${voffset -10}\${font digitalk:size=4}" "\${voffset -0}\${font digitalk:size=8}" "\${voffset -0}\${font digitalk:size=12}" "\${voffset -3}\${font digitalk:size=30}\${color 00FFFF}" "\${voffset -15}\${font digitalk:size=12}" "\${voffset -4}\${font digitalk:size=7}" "\${voffset -2}\${font digitalk:size=4}")
color=("" "" "" "\${color}" "" "" "")
for i in $(seq -3 3); do
echo -n "${font[$[i+3]]}$(date '+%d' -d "$i days")${color[3]}\${offset 3}"
done
- die font Schriftart(en) digitalk und je nach Geschmack: BIRDMAN; neuropolitical; neuropol; radio_space
Diese läd man sich aus dem Netz, entpackt sie und kopiert die .ttf - Dateien in das selbst erstellte, versteckte Verzeichnis .fonts in seinem $HOME.
Als root führt man dann den Befehl
fc-cache -v -f
aus, um das System mit den neuen Schriftarten bekannt zu machen.
- die Conky-Konfigurationsdateien, je nach verwendeten Syntax:
1.9
bottom_conkyrc
background yes
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager #,sticky
own_window_title S11-Cal-br
own_window_class Conky
## ARGB can be used for real transparency
## NOTE that a composite manager is required for real transparency.
## This option will not work as desired (in most cases) in conjunction with
## own_window_type normal
own_window_argb_visual yes
## When ARGB visuals are enabled, this use this to modify the alpha value
## Use: own_window_type normal
## Use: own_window_transparent no
## Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
own_window_argb_value 140
double_buffer yes
use_spacer right
uppercase no
stippled_borders 0
border_width 0
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
border_inner_margin 5
border_outer_margin 0
default_color DCDCDC #220 220 220 Gainsboro
color0 8FBC8F #143 188 143 DarkSeaGreen
color1 778899 #119 136 153 LightSlateGray
color2 FF8C00 #255 140 0 DarkOrange
color3 7FFF00 #127 255 0 Chartreuse
color4 FFA07A #255 160 122 LightSalmon
color5 FFDEAD #255 222 173 NavajoWhite
color6 41679E # 0 191 255 DeepSkyBlue--> 00BFFF
color7 00FFFF # 0 255 255 Cyan
color8 FFFF00 #255 255 0 Yellow
color9 B22222 #178 34 34 FireBrick
text_buffer_size 510 # 256 is minimum
no_buffers yes
short_units yes
pad_percents 2
imlib_cache_size 0
gap_x 25 ## left &right
gap_y 75 ## up & down
minimum_size 380 0 ## width, height
# maximum_width 400 ## make this equal to minimum size width
alignment br
use_xft yes
xftfont Droid Sans Mono:bold:size=7
# xftfont Santana:bold:size=8
# xftfont WenQuanYi Macro Hei Mono:bold:size=8
# xftfont WenQuanYi Zen Hei Mono:bold:size=8
xftalpha 1.0
override_utf8_locale yes
### LUA Settings ###
#lua_load ~/LUA/draw-bg.lua
#lua_draw_hook_pre draw_bg 5 0 0 0 0 0x000000 0.4
### End LUA Settings ###
update_interval 2 #3200 ## 12 hours
TEXT
#${lua conky_draw_bg 5 0 0 0 0 0x000000 0.6}
${voffset 5}${image /home/unklarer/Logos/siduction-gravatar.png -p -2,3 -s 70x70}${voffset -10}\
${goto 75}${color6}${font Birdman:size=35}siduction${color}${font}\
${voffset 3}${goto 120}${execp /home/unklarer/S11_and_mobildiesel/week_2.sh}\
${voffset -5}${goto 75}${font Birdman:size=25}${color7}${time %a}${goto 255}${time %b}${color}${font}\
${font digitalk:bold:size=12}${goto 125}${color8}${time %C}${goto 225}${time %y}${color}${font}${voffset -10}
1.10
bottom_conkyrc10
conky.config = {
background = true,
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
own_window_title = 'S11-Cal-br',
own_window_class = 'Conky',
--# ARGB can be used for real transparency
--# NOTE that a composite manager is required for real transparency.
--# This option will not work as desired (in most cases) in conjunction with
--# own_window_type normal
own_window_argb_visual = true,
--# When ARGB visuals are enabled, this use this to modify the alpha value
--# Use: own_window_type normal
--# Use: own_window_transparent no
--# Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
--own_window_argb_value = 140,
double_buffer = true,
use_spacer = 'right',
uppercase = false,
stippled_borders = 0,
border_width = 0,
default_outline_color = 'black',
default_shade_color = 'black',
draw_borders = false,
draw_graph_borders = false,
draw_outline = false,
draw_shades = false,
border_inner_margin = 5,
border_outer_margin = 0,
default_color = '#DCDCDC',--220 220 220 Gainsboro
color0 = '#8FBC8F',--143 188 143 DarkSeaGreen
color1 = '#778899',--119 136 153 LightSlateGray
color2 = '#FF8C00',--255 140 0 DarkOrange
color3 = '#7FFF00',--127 255 0 Chartreuse
color4 = '#FFA07A',--255 160 122 LightSalmon
color5 = '#FFDEAD',--255 222 173 NavajoWhite
color6 = '#41679E',-- 0 191 255 DeepSkyBlue--> 00BFFF
color7 = '#00FFFF',-- 0 255 255 Cyan
color8 = '#FFFF00',--255 255 0 Yellow
color9 = '#B22222',--178 34 34 FireBrick
text_buffer_size = 510,-- 256 is minimum
no_buffers = true,
short_units = true,
pad_percents = 2,
imlib_cache_size = 0,
gap_x = 5,--# left &right
gap_y = 55,--# up & down
minimum_width = 380, minimum_height = 0,--# width, height
-- maximum_width 400 ## make this equal to minimum size width
alignment = 'bottom_right',
use_xft = true,
font = 'Droid Sans Mono:bold:size=7',
-- xftfont Santana:bold:size=8
-- xftfont WenQuanYi Macro Hei Mono:bold:size=8
-- xftfont WenQuanYi Zen Hei Mono:bold:size=8
xftalpha = 1.0,
override_utf8_locale = true,
--## LUA Settings ###
--lua_load = '~/LUA/draw-bg.lua',
--lua_draw_hook_pre = 'draw_bg 5 0 0 0 0 0x000000 0.6',
--## End LUA Settings ###
update_interval = 2, --3200, ## 12 hours
--${lua conky_draw_bg 5 0 0 0 0 0x000000 0.6}
};
conky.text = [[
${voffset 5}${image /home/unklarer/Logos/siduction-gravatar.png -p -2,3 -s 70x70}${voffset -10}\
${goto 75}${color 0000FF}${font Birdman:size=35}siduction${color}${font}\
${voffset 3}${goto 123}${execp /home/unklarer/S11_and_mobildiesel/week_2.sh}\
${voffset -5}${goto 73}${font Radio Space:bold:size=25}${color7}${time %a}${goto 255}${time %b}${color}${font}\
${font digitalk:bold:size=12}${goto 130}${color8}${time %C}${goto 225}${time %y}${color}${font}${voffset -10}
]];
Mein persönlicher Favorit ist BIRDMAN.
Mußte aber leider gerade jetzt im März feststellen, dass in dieser Font keine deutschen Umlaute vorkommen.
Deshalb wird das "ä" als Kästchen dargestellt. Beispiel