Openbox
WM simples e
funcional, instalando alguns programas o openbox fica bem atraente.
Para criar um painel
bacana no Debian, abra o terminal:
sudo apt install -t stretch-backports tint2 (no Buster sudo apt
install tint2)
sudo apt install gnome-menus
sudo apt install python-gtk2
sudo apt install gsimplecal
sudo apt install pnmixer
sudo apt install obsession |
baixar e instalar o
pmenu.py:
wget
'https://gitlab.com/o9000/pmenu/repository/archive.tar.gz?ref=master'
-O pmenu.tar.gz
tar xzf pmenu.tar.gz
cd pmenu
./install.sh |
Baixar o tema
Adapta:
dpkg -i adapta-gtk-theme_3.95.0.11-1_all.deb |
Baixar o tema de
icones numix-icon-theme-circle:
|
Baixar o tema de
icones Papirus:
sudo apt install -t stretch-backports papirus-icon-theme (no buster sudo apt install papirus-icon-theme) |
Em ~/.config/tint2
editar tint2rc:
#---- Generated by tint2conf 2f25 ---- # See https://gitlab.com/o9000/tint2/wikis/Configure for # full documentation of the configuration options. #------------------------------------- # Gradients #------------------------------------- # Backgrounds # Background 1: Active taskbar rounded = 0 border_width = 0 border_sides = TBLR border_content_tint_weight = 0 background_content_tint_weight = 0 background_color = #000000 40 border_color = #828282 0 background_color_hover = #000000 40 border_color_hover = #828282 0 background_color_pressed = #000000 40 border_color_pressed = #828282 0 # Background 2: Active task rounded = 1 border_width = 0 border_sides = TBLR border_content_tint_weight = 0 background_content_tint_weight = 0 background_color = #d8d8d8 30 border_color = #d8d8d8 30 background_color_hover = #d8d8d8 30 border_color_hover = #d8d8d8 30 background_color_pressed = #d8d8d8 30 border_color_pressed = #d8d8d8 30 # Background 3: Default task, Iconified task rounded = 1 border_width = 0 border_sides = TBLR border_content_tint_weight = 0 background_content_tint_weight = 0 background_color = #000000 0 border_color = #000000 0 background_color_hover = #000000 0 border_color_hover = #000000 0 background_color_pressed = #000000 0 border_color_pressed = #000000 0 # Background 4: Urgent task rounded = 1 border_width = 1 border_sides = TBLR border_content_tint_weight = 0 background_content_tint_weight = 0 background_color = #888888 20 border_color = #ed2323 60 background_color_hover = #888888 20 border_color_hover = #ed2323 60 background_color_pressed = #888888 20 border_color_pressed = #ed2323 60 # Background 5: rounded = 0 border_width = 1 border_sides = TBLR border_content_tint_weight = 0 background_content_tint_weight = 0 background_color = #000000 0 border_color = #000000 0 background_color_hover = #000000 0 border_color_hover = #000000 0 background_color_pressed = #000000 0 border_color_pressed = #000000 0 # Background 6: Inactive desktop name rounded = 0 border_width = 1 border_sides = TBLR border_content_tint_weight = 0 background_content_tint_weight = 0 background_color = #d8d8d8 8 border_color = #d8d8d8 0 background_color_hover = #d8d8d8 8 border_color_hover = #d8d8d8 0 background_color_pressed = #d8d8d8 8 border_color_pressed = #d8d8d8 0 # Background 7: Active desktop name, Panel, Tooltip rounded = 3 border_width = 0 border_sides = TBLR border_content_tint_weight = 0 background_content_tint_weight = 0 background_color = #222222 57 border_color = #222222 90 background_color_hover = #222222 90 border_color_hover = #222222 90 background_color_pressed = #222222 90 border_color_pressed = #222222 90 # Background 8: rounded = 1 border_width = 1 border_sides = TBLR border_content_tint_weight = 0 background_content_tint_weight = 0 background_color = #888888 20 border_color = #888888 20 background_color_hover = #888888 20 border_color_hover = #888888 20 background_color_pressed = #888888 20 border_color_pressed = #888888 20 # Background 9: rounded = 1 border_width = 1 border_sides = TBLR border_content_tint_weight = 0 background_content_tint_weight = 0 background_color = #888888 20 border_color = #888888 20 background_color_hover = #888888 20 border_color_hover = #888888 20 background_color_pressed = #888888 20 border_color_pressed = #888888 20 # Background 10: rounded = 1 border_width = 1 border_sides = TBLR border_content_tint_weight = 0 background_content_tint_weight = 0 background_color = #888888 20 border_color = #888888 20 background_color_hover = #888888 20 border_color_hover = #888888 20 background_color_pressed = #888888 20 border_color_pressed = #888888 20 # Background 11: rounded = 1 border_width = 1 border_sides = TBLR border_content_tint_weight = 0 background_content_tint_weight = 0 background_color = #888888 20 border_color = #888888 20 gradient_id = 0 background_color_hover = #888888 20 border_color_hover = #888888 20 background_color_pressed = #888888 20 border_color_pressed = #888888 20 # Background 12: rounded = 3 border_width = 0 border_sides = TBLR border_content_tint_weight = 0 background_content_tint_weight = 0 background_color = #222222 100 border_color = #222222 90 background_color_hover = #222222 90 border_color_hover = #222222 90 background_color_pressed = #222222 90 border_color_pressed = #222222 90 #------------------------------------- # Panel panel_items = :P:LTSCP panel_size = 100% 30 panel_margin = 0 0 panel_padding = 0 0 0 panel_background_id = 7 wm_menu = 1 panel_dock = 0 panel_position = top center horizontal panel_layer = bottom panel_monitor = all panel_shrink = 0 autohide = 0 autohide_show_timeout = 0 autohide_hide_timeout = 0.5 autohide_height = 2 strut_policy = follow_size panel_window_name = tint2 disable_transparency = 0 mouse_effects = 1 font_shadow = 0 mouse_hover_icon_asb = 100 0 10 mouse_pressed_icon_asb = 100 0 0 scale_relative_to_dpi = 0 scale_relative_to_screen_height = 0 #------------------------------------- # Taskbar - Panel item = T taskbar_mode = multi_desktop taskbar_padding = 0 0 0 taskbar_background_id = 5 taskbar_active_background_id = 6 taskbar_name = 0 taskbar_name_background_id = 0 taskbar_name_active_background_id = 0 taskbar_name_font = Sans 10 taskbar_name_font_color = #ffffff 100 taskbar_name_active_font_color = #828282 100 #------------------------------------- # Task task_text = 0 task_icon = 1 task_centered = 1 urgent_nb_of_blink = 20 task_maximum_size = 40 40 task_padding = 0 0 2 task_font = Sans 06_55 6 task_tooltip = 1 task_thumbnail = 0 task_thumbnail_size = 210 task_font_color = #828282 60 task_active_font_color = #828282 100 task_urgent_font_color = #ffffff 100 task_iconified_font_color = #d8d8d8 60 task_icon_asb = 80 0 0 task_active_icon_asb = 100 0 0 task_urgent_icon_asb = 100 0 0 task_iconified_icon_asb = 80 0 0 task_background_id = 3 task_active_background_id = 2 task_urgent_background_id = 4 task_iconified_background_id = 3 mouse_left = toggle_iconify mouse_middle = none mouse_right = toggle mouse_scroll_up = toggle mouse_scroll_down = iconify #------------------------------------- # System tray (notification area) systray_padding = 4 2 3 systray_background_id = 0 systray_sort = right2left systray_icon_size = 24 systray_icon_asb = 100 0 0 systray_monitor = 1 systray_name_filter = #------------------------------------- # Launcher launcher_padding = 8 4 4 launcher_background_id = 0 launcher_icon_background_id = 0 launcher_icon_size = 0 launcher_icon_asb = 100 0 0 launcher_icon_theme = Numix-Circle launcher_icon_theme_override = 0 startup_notifications = 0 launcher_tooltip = 1 launcher_item_app = /usr/share/applications/xfce4-terminal.desktop launcher_item_app = /usr/share/applications/pcmanfm.desktop launcher_item_app = /usr/share/applications/google-chrome.desktop #------------------------------------- # Clock time1_format = %H:%M time2_format = time1_font = Sans bold 11 time1_timezone = time2_timezone = clock_font_color = #dfdfdf 100 clock_padding = 12 4 clock_background_id = 0 clock_tooltip = %A %d %B, %Y clock_tooltip_timezone = clock_lclick_command = gsimplecal clock_rclick_command = gsimplecal clock_mclick_command = clock_uwheel_command = clock_dwheel_command = #------------------------------------- # Battery battery_tooltip = 1 battery_low_status = 20 battery_low_cmd = notify-send "battery low" battery_full_cmd = bat1_font = Monospace 8 bat2_font = Monospace 8 battery_font_color = #b5b5b5 100 bat1_format = bat2_format = battery_padding = 2 0 battery_background_id = 0 battery_hide = 96 battery_lclick_command = battery_rclick_command = battery_mclick_command = battery_uwheel_command = battery_dwheel_command = ac_connected_cmd = ac_disconnected_cmd = #------------------------------------- # Separator 1 separator = new separator_background_id = 0 separator_color = #233239 80 separator_style = dots separator_size = 3 separator_padding = 1 0 #------------------------------------- # Separator 2 separator = new separator_background_id = 0 separator_color = #24343e 80 separator_style = dots separator_size = 3 separator_padding = 1 0 #------------------------------------- # Button 1 button = new button_icon = gnome-debian.svg button_text = Aplicações button_lclick_command = pmenu.py --x 1 --y 30 --wm openbox button_rclick_command = pmenu.py --x 1 --y 30 --wm openbox button_mclick_command = button_uwheel_command = button_dwheel_command = button_font_color = #dfdfdf 100 button_padding = 0 0 button_background_id = 0 button_centered = 0 button_max_icon_size = 22 #------------------------------------- # Button 2 button = new button_icon = gnome-session.svg button_text = button_tooltip = Desligar / Logout... button_lclick_command = obsession-logout button_rclick_command = obsession-logout button_mclick_command = button_uwheel_command = button_dwheel_command = button_font_color = #ffffff 100 button_padding = 0 0 button_background_id = 0 button_centered = 0 button_max_icon_size = 24 #------------------------------------- # Tooltip tooltip_show_timeout = 0 tooltip_hide_timeout = 0 tooltip_padding = 2 2 tooltip_background_id = 7 tooltip_font_color = #d8d8d8 100 tooltip_font = Sans normal 9.0 |
Editar ~/.gtkrc-2.0
(se não existir criar o arquivo)
copie e cole:
gtk-theme-name="Adapta" gtk-icon-theme-name="Papirus" gtk-font-name="Sans 10" gtk-cursor-theme-name="DMZ-White" gtk-cursor-theme-size=0 gtk-toolbar-style=GTK_TOOLBAR_ICONS gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR gtk-button-images=1 gtk-menu-images=1 gtk-enable-event-sounds=0 gtk-enable-input-feedback-sounds=0 gtk-xft-antialias=1 gtk-xft-hinting=1 gtk-xft-hintstyle="hintslight" gtk-xft-rgba="rgb" |
Editar :
sudo nano
usr/local/bin/pmenu.py (o
nano pode substituir pelo editor preferido)
editar
a linha 418:
de:
internationalized({"_path": "", "Name": "Log Out", "Icon": "system-log-out", "cmd": "openbox –exit"}) |
para:
internationalized({"_path": "", "Name": "Log Out", "Icon": "system-log-out", "cmd": "obsession-logout"}) |
salve
e reinicie.
Comentários
Postar um comentário