You are not logged in.

#1 2015-10-30 05:26:57

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 549

[SOLVED] Adding items to Tint2

Apologies if this is the wrong thread.

In the default Tint2 that ships with BL RC1 there are 4 icons for apps. I'd like to add a few more for items I use a lot. I added one by appending this line after the last item.

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

I then restarted Tint2 and my icon is a no show. So I assume the error is on my end. So how do I do this?

Second question, how do I get the clock in the Tint2 panel to stop using the 24 hour time format. I can read 22:34 as 10:34PM just as well as the next guy, but I am lazy and don't want to.

Thanks.

Last edited by Temetka (2015-10-31 03:02:11)


The meaning of life is to just be alive. It is so plain and so obvious
    and so simple. And yet everybody rushes aroound in a great panic
             as if it were necessary to achieve something beyond themselves.
                                                                                                             - Alan Watts

Offline

#2 2015-10-30 05:32:51

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 8,174
Website

Re: [SOLVED] Adding items to Tint2

First Q:
You're sure that path is OK?
If so, does it contain a valid icon entry?
No other syntax errors in Pithos.desktop?
Try logging out and back in?
Any messages from tint2 in ~/.xsession-errors?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#3 2015-10-30 08:02:53

Snap
Member
Registered: 2015-10-02
Posts: 465

Re: [SOLVED] Adding items to Tint2

Or is it an svg icon. IIRC the tint2 version in Jessie doesn't suport svg images yet.

Offline

#4 2015-10-30 10:17:20

phle
Member
From: Svedujo
Registered: 2015-09-19
Posts: 19

Re: [SOLVED] Adding items to Tint2

Temetka wrote:

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

(Are you 100 % sure it's Pithos.desktop, and not pithos.desktop (with a lowercase "p")?)

Temetka wrote:

Second question, how do I get the clock in the Tint2 panel to stop using the 24 hour time format. I can read 22:34 as 10:34PM just as well as the next guy, but I am lazy and don't want to.

Try changing

time1_format = %H:%M

to   [man date: %I     hour (01..12)] ← (uppercase i) for 01:23AM

time1_format = %I:%M%p

or   [man date: %l     hour, space padded ( 1..12); same as %_I] ← (lowercase L) for  1:23am

time1_format = %l:%M%P

(see man date for more options)
- or go read the old post "Change time format from 24 hour time to am/pm time?" over at the #! Forums.

(I, on the other hand, am European, and can read 0:01AM if I have to, but I usually mix up whether 0:01am is 00:01 or 12:01 on the first go, and have to concentrate on which is which, so I prefer "having the time in plain sight". wink )


as of 2020-Jun-08:  Bunsenlabs 10 "Lithium" (RC3)  (and BunsenLabs 9.8 "Helium", and Windows 8.1) on mainly-at-home  (64-bit UEFI; defunct battery)  |  64-bit Windows 10 on carry-around  || TypeMatrix 2030 USB (blank) + "skin",  Logitech Marble Mouse USB,  Logitech B105
¤  Se vi scivolas: Mi estas ina.  ¤  (Mi provas lerni E-on, sed ankoraŭ ne majstri ĝin.) ¤

Offline

#5 2015-10-30 10:19:53

titan
Member
Registered: 2015-10-02
Posts: 60

Re: [SOLVED] Adding items to Tint2

Is tint2conf gui not shipped with BL. Makes adding apps and changing clock simple.It is in the Debian version I installed.

Offline

#6 2015-10-30 10:45:50

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

Re: [SOLVED] Adding items to Tint2

titan wrote:

Is tint2conf gui not shipped with BL. Makes adding apps and changing clock simple.It is in the Debian version I installed.

Because it is buggy. Development may be continuing ( maybe @ov knows the present situation), but earlier this year...

Tint2conf wiki wrote:

tint2conf is still in development and not fully functional at the moment

EDIT: tint2conf is included in @ov's releases - latest version is here

Last edited by damo (2015-10-30 11:04:45)


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 2015-10-30 11:25:29

titan
Member
Registered: 2015-10-02
Posts: 60

Re: [SOLVED] Adding items to Tint2

Debian (sid)  version shipped with Tint2 is 12.2-1

Offline

#8 2015-10-31 03:01:47

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 549

Re: [SOLVED] Adding items to Tint2

It was pithos.desktop. I checked in terminal. In the file manager it was showing as a capital "P."

Changing the time format to %I:%M%p did the trick. Thanks all.


The meaning of life is to just be alive. It is so plain and so obvious
    and so simple. And yet everybody rushes aroound in a great panic
             as if it were necessary to achieve something beyond themselves.
                                                                                                             - Alan Watts

Offline

#9 2015-10-31 04:20:13

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 8,174
Website

Re: [SOLVED] Adding items to Tint2

Temetka wrote:

It was pithos.desktop. I checked in terminal. In the file manager it was showing as a capital "P."

Thunar has this annoying way of displaying .desktop files by the name stored in their
'Name=...' line, rather than their actual filename.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#10 2015-10-31 18:40:47

phle
Member
From: Svedujo
Registered: 2015-09-19
Posts: 19

Re: [SOLVED] Adding items to Tint2

Temetka wrote:

It was pithos.desktop. I checked in terminal. In the file manager it was showing as a capital "P."

Changing the time format to %I:%M%p did the trick. Thanks all.


Glad to hear it worked! smile
(My system locale doesn't use AM/PM, so I couldn't see it myself.)

I included commented parts on how to get 12-hour AM/PM time, before posting my commented tint2rc to these forums.


as of 2020-Jun-08:  Bunsenlabs 10 "Lithium" (RC3)  (and BunsenLabs 9.8 "Helium", and Windows 8.1) on mainly-at-home  (64-bit UEFI; defunct battery)  |  64-bit Windows 10 on carry-around  || TypeMatrix 2030 USB (blank) + "skin",  Logitech Marble Mouse USB,  Logitech B105
¤  Se vi scivolas: Mi estas ina.  ¤  (Mi provas lerni E-on, sed ankoraŭ ne majstri ĝin.) ¤

Offline

Board footer

Powered by FluxBB