You are not logged in.

#1 2020-10-14 03:21:40

DPool
Member
Registered: 2020-10-09
Posts: 19

[SOLVED] Adding app launchers to Tint2

@damo, whaddya mean "if there is a next time" in my first-ever thread here?  Of course there will be a "next time"!  And here it is already! wink

I really thought I had this all sussed out, and even included some additional online searches on the topic. But based on the lack of results...apparently not.

I have edited the tint2rc file and either changed or added the lines for the packages I want.  Here's what the Launcher area now looks like:

# Launcher
launcher_padding = 8 4 4
launcher_background_id = 5
launcher_icon_background_id = 0
launcher_icon_size = 24
launcher_icon_asb = 100 0 0
launcher_icon_theme = Papirus-Bunsen-Dark-bluegrey
launcher_icon_theme_override = 0
startup_notifications = 0
launcher_tooltip = 1
launcher_item_app = /usr/share/applications/Thunar.desktop
launcher_item_app = /usr/share/applications/bl-terminal-emulator.desktop
launcher_item_app = /usr/share/applications/geary-autostart.desktop
launcher_item_app = /usr/share/applications/brave-browser.desktop
launcher_item_app = /usr/share/applications/vivaldi-stable.desktop
launcher_item_app = /usr/share/applications/textmaker-free18.desktop
launcher_item_app = /usr/share/applications/planmaker-free18.desktop

The launcher_item_app lines are all confirmed.
The original entry for launcher_icon_size was "0" and I changed it thinking "Well, that ain't right." But it hasn't made any difference either way.

When I run tint2conf from the terminal and select Edit the Selected Theme then Launcher, all 7 of those apps show up under Applications Selected, each with the correct icon (those being the very ones they would open with on the desktop).

Yet, after re-boots....absolutely nothing appears in the Tint2 panel. Nothing new, that is.

Last edited by DPool (2020-10-15 13:34:27)

Offline

#2 2020-10-14 04:08:55

damo
....moderator....
Registered: 2015-08-20
Posts: 6,354

Re: [SOLVED] Adding app launchers to Tint2

Please use "[ code ]" tags for code!

Do you have panel_items = L****?

No need to reboot, just restart the tint2. Does ~/.config/tint2/tint2-sessionfile contain the new tintrc?

Did you actually mean to write

/usr/share/applications/geary-autostart.desktop

"geany-autostart.desktop" might be the fix...


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2020-10-14 13:48:22

DPool
Member
Registered: 2020-10-09
Posts: 19

Re: [SOLVED] Adding app launchers to Tint2

damo wrote:

Please use "[ code ]" tags for code!

Did you actually mean to write

/usr/share/applications/geary-autostart.desktop

"geany-autostart.desktop" might be the fix...

Let me tackle these two immediately...and then go looking for the answers to the others.

Yes, I meant to write "geary"...that's the email app I prefer to use. Not helpful that there's a one-character difference between it and "geany."

I'm still enough of a noob about stuff to not know exactly what and where I did wrong with code not properly tagged (or even why).

Offline

#4 2020-10-14 14:36:21

damo
....moderator....
Registered: 2015-08-20
Posts: 6,354

Re: [SOLVED] Adding app launchers to Tint2

Did you work on a copy of the tint2rc, or edit the original? If it was the first then do a diff on the files to see what was changed; if it was the latter then do a diff with the original in /usr/share/bunsen/skel/.config/tint2/

I suggest making one change at a time and restarting the tint2 in a terminal, so you can see exactly which edit causes the error.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2020-10-14 16:21:02

DPool
Member
Registered: 2020-10-09
Posts: 19

Re: [SOLVED] Adding app launchers to Tint2

damo wrote:

Do you have panel_items = L****?

No need to reboot, just restart the tint2. Does ~/.config/tint2/tint2-sessionfile contain the new tintrc?

Okay, now for the other two items in your earlier reply:

Sure enough! Yup, I hadn't added the "L" to that line of the file.  And that, alone, has made them appear. However, the 7 launchers have moved the Main Menu (Button 1?) out of the lower-left corner and all the way to the end of the line.

I found this in a message in the forum here. Is this (with the specific instruction for Tint2, not the part for a dock) the method for binding that menu to the corner?

/usr/share/applications/menu.desktop

[Desktop Entry]
Encoding=UTF-8
Name=menu
Comment=menu
X-GNOME-FullName=Openbox Menu
Exec=xdotool key super+space
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/usr/share/pixmaps/menu.png
Categories=Menu;
MimeType=
StartupNotify=true

Add Menu.dockitem to /home/your_name/.config/plank/dock1/launchers/

[PlankItemsDockItemPreferences]
Launcher=file:///usr/share/applications/menu.desktop

In tint2

launcher_item_app = /usr/share/applications/menu.desktop

I'm not clear on what the other question was about...although maybe it's not a concern.

---Mod edit: added [ code ] tags. Again---

Last edited by damo (2020-10-14 16:25:13)

Offline

#6 2020-10-14 16:30:39

damo
....moderator....
Registered: 2015-08-20
Posts: 6,354

Re: [SOLVED] Adding app launchers to Tint2

I think you had better post your tint2rc - it is impossible to troubleshoot without knowing what you have/haven't done to it hmm

And I will ask AGAIN for you to use code tags for code and terminal output! It is very difficult to see what is your post text and what is your code without code tags, and there are other things I could be doing instead of parsing your posts to make sense of them.

I have edited them in to your previous post - click on "Edit" to see how it was done.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#7 2020-10-14 22:31:23

DPool
Member
Registered: 2020-10-09
Posts: 19

Re: [SOLVED] Adding app launchers to Tint2

damo wrote:

I think you had better post your tint2rc - it is impossible to troubleshoot without knowing what you have/haven't done to it hmm

And I will ask AGAIN for you to use code tags for code and terminal output! It is very difficult to see what is your post text and what is your code without code tags, and there are other things I could be doing instead of parsing your posts to make sense of them.

I have edited them in to your previous post - click on "Edit" to see how it was done.

Very sorry. But merely asking that "code tags" be used doesn't explain it when you don't know what the requester is talking about. So, thanks for the editing and thanks for the pointer to Edit for the actual information on how to do it. I'm sorry for the inconvenience I caused you.

Offline

#8 2020-10-14 22:34:32

damo
....moderator....
Registered: 2015-08-20
Posts: 6,354

Re: [SOLVED] Adding app launchers to Tint2

^ You have been using "[ quote ]" tags so I assumed you would know what "[ code ]" ones were.

(There is a whole row of tags above the edit box that a post is written in).


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#9 2020-10-14 22:52:49

DPool
Member
Registered: 2020-10-09
Posts: 19

Re: [SOLVED] Adding app launchers to Tint2

damo wrote:

I think you had better post your tint2rc - it is impossible to troubleshoot without knowing what you have/haven't done to it hmm

And below you'll find the tint2rc

#---- Generated by tint2conf 68e1 ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for
# full documentation of the configuration options.
#-------------------------------------
# Gradients
#-------------------------------------
# Backgrounds
# Background 1: Iconified task, Panel
rounded = 0
border_width = 0
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #cccccc 0
border_color = #828282 0
background_color_hover = #cccccc 0
border_color_hover = #828282 0
background_color_pressed = #cccccc 0
border_color_pressed = #828282 0

# Background 2: Active task
rounded = 0
border_width = 0
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #000000 40
border_color = #d8d8d8 0
background_color_hover = #ffffff 20
border_color_hover = #d8d8d8 0
background_color_pressed = #ffffff 30
border_color_pressed = #d8d8d8 0

# Background 3: Default task
rounded = 0
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 = #ffffff 10
border_color_hover = #000000 0
background_color_pressed = #ffffff 20
border_color_pressed = #000000 0

# Background 4: Urgent task
rounded = 0
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #ff0034 20
border_color = #ff0034 0
background_color_hover = #ffffff 20
border_color_hover = #ffffff 0
background_color_pressed = #ffffff 30
border_color_pressed = #ffffff 0

# Background 5: Button, Clock, Inactive taskbar, Launcher, Systray
rounded = 0
border_width = 0
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #000000 20
border_color = #000000 0
background_color_hover = #000000 20
border_color_hover = #000000 0
background_color_pressed = #000000 20
border_color_pressed = #000000 0

# Background 6: Active taskbar
rounded = 0
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #ffffff 5
border_color = #000000 0
background_color_hover = #ffffff 5
border_color_hover = #000000 0
background_color_pressed = #ffffff 5
border_color_pressed = #000000 0

# Background 7: Tooltip
rounded = 2
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #3d6270 100
border_color = #3d6270 100
background_color_hover = #000000 0
border_color_hover = #000000 0
background_color_pressed = #000000 0
border_color_pressed = #000000 0

#-------------------------------------
# Panel
panel_items = LPTSCP
panel_size = 99% 30
panel_margin = 0 0
panel_padding = 6 0 0
panel_background_id = 1
wm_menu = 1
panel_dock = 0
panel_pivot_struts = 0
panel_position = bottom center horizontal
panel_layer = bottom
panel_monitor = all
panel_shrink = 0
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 1.5
autohide_height = 6
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
taskbar_mode = multi_desktop
taskbar_hide_if_empty = 0
taskbar_padding = 2 0 4
taskbar_background_id = 5
taskbar_active_background_id = 6
taskbar_name = 0
taskbar_hide_inactive_tasks = 0
taskbar_hide_different_monitor = 0
taskbar_hide_different_desktop = 0
taskbar_always_show_all_desktop_tasks = 0
taskbar_name_padding = 0 0
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font = Sans 9
taskbar_name_font_color = #828282 100
taskbar_name_active_font_color = #828282 100
taskbar_distribute_size = 0
taskbar_sort_order = none
task_align = left

#-------------------------------------
# Task
task_text = 0
task_icon = 1
task_centered = 1
urgent_nb_of_blink = 20
task_maximum_size = 30 30
task_padding = 2 2 2
task_font = Sans 9
task_tooltip = 1
task_thumbnail = 0
task_thumbnail_size = 210
task_font_color = #d8d8d8 60
task_active_font_color = #d8d8d8 100
task_urgent_font_color = #ffffff 100
task_iconified_font_color = #d8d8d8 60
task_icon_asb = 70 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 50 0 0
task_background_id = 3
task_active_background_id = 2
task_urgent_background_id = 4
task_iconified_background_id = 1
mouse_left = toggle_iconify
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

#-------------------------------------
# System tray (notification area)
systray_padding = 1 1 1
systray_background_id = 5
systray_sort = right2left
systray_icon_size = 22
systray_icon_asb = 100 0 0
systray_monitor = primary
systray_name_filter = 

#-------------------------------------
# Launcher
launcher_padding = 8 4 4
launcher_background_id = 5
launcher_icon_background_id = 0
launcher_icon_size = 28
launcher_icon_asb = 100 0 0
launcher_icon_theme = Papirus-Bunsen-Dark-bluegrey
launcher_icon_theme_override = 0
startup_notifications = 0
launcher_tooltip = 1
launcher_item_app = /usr/share/applications/Thunar.desktop
launcher_item_app = /usr/share/applications/bl-terminal-emulator.desktop
launcher_item_app = /usr/share/applications/geary-autostart.desktop
launcher_item_app = /usr/share/applications/brave-browser.desktop
launcher_item_app = /usr/share/applications/vivaldi-stable.desktop
launcher_item_app = /usr/share/applications/textmaker-free18.desktop
launcher_item_app = /usr/share/applications/planmaker-free18.desktop

#-------------------------------------
# Clock
time1_format = %I:%M
time2_format = 
time1_font = Sans bold 12
time1_timezone = 
time2_timezone = 
clock_font_color = #dfdfdf 100
clock_padding = 6 0
clock_background_id = 5
clock_tooltip = %A %F
clock_tooltip_timezone = 
clock_lclick_command = gsimplecal
clock_rclick_command = bl-beepmein-pipemenu --standalone
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 = 

#-------------------------------------
# Button 1
button = new
button_icon = start-here-bunsenlabs
button_text = 
button_tooltip = Main Menu
button_lclick_command = jgmenu_run
button_rclick_command = 
button_mclick_command = 
button_uwheel_command = 
button_dwheel_command = 
button_font_color = #ffffff 100
button_padding = 2 2
button_background_id = 5
button_centered = 1
button_max_icon_size = 28

#-------------------------------------
# Button 2
button = new
button_icon = system-shutdown-symbolic
button_text = 
button_tooltip = Logout/Shutdown...
button_lclick_command = bl-exit
button_rclick_command = 
button_mclick_command = 
button_uwheel_command = 
button_dwheel_command = 
button_font_color = #ffffff 100
button_padding = 2 2
button_background_id = 5
button_centered = 1
button_max_icon_size = 20

#-------------------------------------
# Tooltip
tooltip_show_timeout = 0
tooltip_hide_timeout = 0
tooltip_padding = 8 8
tooltip_background_id = 7
tooltip_font_color = #d3dae3 100
tooltip_font = Sans normal 10

As for what I've "done to it"...in the #Launcher section I increased the launcher_icon_size from 0 to 28 and I added to or modified the launcher_item_app entries. In the #Clock section I changed the time1_format to get a 12-hour display. I'm pretty much 100% certain that's all I've done.

Offline

#10 2020-10-15 07:47:12

damo
....moderator....
Registered: 2015-08-20
Posts: 6,354

Re: [SOLVED] Adding app launchers to Tint2

So is your remaining problem just the order of the launchers at bottom left? You have

panel_items = LPTSCP

This is "Launcher,Button,Taskbar,Systray,Clock,Button"

If you want the Menu button on the left, then do

PLTSCP

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#11 2020-10-15 09:06:48

phuturism
Member
From: Jakarta, Bali, Singapore, Melb
Registered: 2016-07-15
Posts: 89

Re: [SOLVED] Adding app launchers to Tint2

damo wrote:

So is your remaining problem just the order of the launchers at bottom left? You have

panel_items = LPTSCP

This is "Launcher,Button,Taskbar,Systray,Clock,Button"

If you want the Menu button on the left, then do

PLTSCP

I wanted to modify this recently and got confused by how simple it was

Last edited by phuturism (2020-10-15 09:07:45)


L I N U X  -  M O T O R B I K E S  -  B O O K S  -  T R A V E L  -  A S I A

Online

#12 2020-10-15 13:08:56

DPool
Member
Registered: 2020-10-09
Posts: 19

Re: [SOLVED] Adding app launchers to Tint2

damo wrote:

So is your remaining problem just the order of the launchers at bottom left? You have

panel_items = LPTSCP

This is "Launcher,Button,Taskbar,Systray,Clock,Button"

If you want the Menu button on the left, then do

PLTSCP

Yes, correct, that is the one remaining problem. I'll put them in this new order with "P" first.

For clarity, in one of your earlier replies you asked me "Do you have panel_items = L****?" And that is why I placed the "L" first.

Thanks for "being excellent" with me! I really appreciate your patience!

Offline

#13 2020-10-15 13:14:55

DPool
Member
Registered: 2020-10-09
Posts: 19

Re: [SOLVED] Adding app launchers to Tint2

phuturism wrote:
damo wrote:

So is your remaining problem just the order of the launchers at bottom left? You have

panel_items = LPTSCP

This is "Launcher,Button,Taskbar,Systray,Clock,Button"

If you want the Menu button on the left, then do

PLTSCP

I wanted to modify this recently and got confused by how simple it was

It *is* simple, isn't it? I mean.........if you know what to do and where, right? neutral

I've never dealt with Openbox before (although I have dabbled with Fluxbox on top of XFCE in MX Linux and there are some similarities...especially having to edit config files). In my first year of exploring Linux, I've seen lots of desktop environments and with all of them, pinning an app or a launcher to a panel has been little more than something like a right-click on a menu entry followed by selecting "Add to Panel."

Now *that* is simple.  smile

Offline

#14 2020-10-15 13:44:03

phuturism
Member
From: Jakarta, Bali, Singapore, Melb
Registered: 2016-07-15
Posts: 89

Re: [SOLVED] Adding app launchers to Tint2

DPool wrote:
phuturism wrote:
damo wrote:

So is your remaining problem just the order of the launchers at bottom left? You have

panel_items = LPTSCP

This is "Launcher,Button,Taskbar,Systray,Clock,Button"

If you want the Menu button on the left, then do

PLTSCP

I wanted to modify this recently and got confused by how simple it was

It *is* simple, isn't it? I mean.........if you know what to do and where, right? neutral

I've never dealt with Openbox before (although I have dabbled with Fluxbox on top of XFCE in MX Linux and there are some similarities...especially having to edit config files). In my first year of exploring Linux, I've seen lots of desktop environments and with all of them, pinning an app or a launcher to a panel has been little more than something like a right-click on a menu entry followed by selecting "Add to Panel."

Now *that* is simple.  smile

Yes, there's a simple GUI way and a config file/linux DE/WM way, both are simple if you know what you are doing :-)

My first configurable by file WM was fluxbox too - I loved it!


L I N U X  -  M O T O R B I K E S  -  B O O K S  -  T R A V E L  -  A S I A

Online

#15 2020-10-15 16:26:09

damo
....moderator....
Registered: 2015-08-20
Posts: 6,354

Re: [SOLVED] Adding app launchers to Tint2

DPool wrote:
damo wrote:

So is your remaining problem just the order of the launchers at bottom left? You have

panel_items = LPTSCP

This is "Launcher,Button,Taskbar,Systray,Clock,Button"

If you want the Menu button on the left, then do

PLTSCP

Yes, correct, that is the one remaining problem. I'll put them in this new order with "P" first.

For clarity, in one of your earlier replies you asked me "Do you have panel_items = L****?" And that is why I placed the "L" first.

'''

A handy tip before diving in and changing configs...

man tint2
...
 panel_items  =  LTSBC  defines the items tint2 will show and the order of those
                items. Each letter refers to an item, defined as:

                • L shows the Launcher

                • T shows the Taskbar

                • S shows the Systray (also called notification area)

                • B shows the Battery status

                • C shows the Clock

                • F adds an extensible spacer (freespace). You can specify more than  one.  Has
                  no effect if T is also present. (since 0.12)

                • E adds an executor plugin. You can specify more than one. (since 0.12.4)

                • P adds a push button. You can specify more than one. (since 0.14)

                • : adds a separator. You can specify more than one. (since 0.13.0)

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

Board footer

Powered by FluxBB