SalentOS Official Community

THE PURE OPENBOX EXPERIENCE!

You are not logged in.

#1 2015-04-13 06:15:26

Ken
Sviluppatori
Registered: 2015-04-04
Posts: 55

Re: Dockbar Tint2

E' possibile sfruttare Tint2 per creare una dock.
Create un file vuoto nella cartella ~/.config/tint2, lo nominate ad esempio tintrc2 ed copiate/incollateci lo script allegato.
In questo caso si tratta di una dock in basso, nascosta, visualizzabile al passaggio del mouse. Ovviamente è possibile variare la posizione, renderla visibile, modificare i lanciatori etc.

# Tint2 config file
# Generated by tintwizard (http://code.google.com/p/tintwizard/)
# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure

# Background definitions
# ID 1
rounded = 7
border_width = 1
background_color = #000000 40
border_color = #FFFFFF 17

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

# ID 3
rounded = 5
border_width = 0
background_color = #FFFFFF 17
border_color = #FFFFFF 69

# Panel
panel_monitor = all
panel_position = bottom center horizontal
panel_size = 52% 56
panel_margin = 5 5
panel_padding = 3 0 3
panel_dock = 0
wm_menu = 0
panel_layer = top
panel_background_id = 1
#Make sure that "L" is directly below.
panel_items = LTSC

# Panel Autohide
autohide = 1
autohide_show_timeout = 0
autohide_hide_timeout = 0
autohide_height = 0
strut_policy = minimum

#Launcher
launcher_item_app = /usr/share/applications/menu.desktop
launcher_item_app = /usr/share/applications/lxterminal.desktop
launcher_item_app = /usr/share/applications/firefox.desktop
launcher_item_app = /usr/share/applications/vlc.desktop
launcher_item_app = /usr/share/applications/pcmanfm.desktop
launcher_item_app = /usr/share/applications/gimp.desktop
launcher_item_app = /usr/share/applications/synaptic.desktop
launcher_item_app = /usr/share/applications/mousepad.desktop
launcher_item_app = /usr/share/applications/catfish.desktop
launcher_item_app = /usr/share/applications/shutdown.desktop
launcher_tooltip = 1

# Fonts
task_font = Sans 8
task_font_color = #FFFFFF 89
task_active_font_color = #FFFFFF 100
task_urgent_font_color = #FFFFFF 100
task_iconified_font_color = #FFFFFF 89
font_shadow = 0

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

# End of config

Dopodichè nel file autostart aggiungete una stringa simile a questa (potete variare lo sleep ad esempio):

## Dock tint2
(sleep 15 && tint2 -c ~/.config/tint2/tint2rc2) &

Al termine salvate e riloggatevi: avrete una dock in basso.
j9x2lz.png


Quando Nanto percorre la strada sbagliata Hokuto appare....

Offline

#2 2015-04-13 07:07:33

rciotola
Sviluppatori
Registered: 2015-04-01
Posts: 153

Re: Dockbar Tint2

Sarà un articolo prossimo per il blog .
Very compliments ;-)

Offline

Board footer

Powered by FluxBB