You are not logged in.

#1 2017-09-30 13:36:49

ShieldedTulip
Member
From: Portugal
Registered: 2017-09-30
Posts: 16

Very basic tips to edit tint2

Hi smile

I know nearly nothing about editing code so I apologize right away if my questions are annoying.

Please be patient with my lack of knowledge?

I installed Bunsenlabs about three days ago, and am now trying to customize it.

This morning I was able to add the Gimp and Libreoffice icons/shortcuts things to my taskbar, but then my brain kind of froze. I was trying to change the colour of the icons on the right side of the taskbar (sound, network, etc.) because the way they are now I can't really see them unless my nose is about a foot away from the screen, but am unsure of where those are in the code lines. I could find the clock line, but that one is ok, its colour is either white or light blue and I can see it just fine sitting comfortably.

I am sorry if my question is long-winded, the only other forums I belong too are to do with writing big_smile

Anyays... big_smile thanks


Coding Idiot (is how I describe myself) in need of plain simple and to the point coding tips. Know nearly nothing about how, where or when things are done.
Only thing I know/remember from coding classes - sudo apt-get install - today discovered how to edit a couple of lines in tint2 (1st victory - ;D) and then my brain froze.
Hoping that around here I'll find simple help, simple like my knowledge.

Offline

#2 2017-09-30 13:51:26

Steve
Member
Registered: 2017-01-03
Posts: 642

Re: Very basic tips to edit tint2

Archlinux have a nice guide on tint2 https://wiki.archlinux.org/index.php/tint2

The official wiki https://gitlab.com/o9000/tint2/wikis/home

Last edited by Steve (2017-09-30 13:52:26)

Offline

#3 2017-09-30 19:18:05

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,169
Website

Re: Very basic tips to edit tint2

ShieldedTulip wrote:

I was trying to change the colour of the icons on the right side of the taskbar (sound, network, etc.) because the way they are now I can't really see them unless my nose is about a foot away from the screen, but am unsure of where those are in the code lines.

that area is called the system tray, systray for short, but the icon color is derived from the icon theme, there's no code in tint2. If ou don't want to tr a different icon theme, in tint2 you can make those icons larger and make them have transparency and you can change the background color to something with more contrast. Changing our wallpaper to something that creates more contrast is another option.


I don't care what you do at home. Would you care to explain?

Offline

#4 2017-10-01 13:41:54

ShieldedTulip
Member
From: Portugal
Registered: 2017-09-30
Posts: 16

Re: Very basic tips to edit tint2

Thanks, I solved that one yesterday wink

Steve mentioned the Systray and I went looking for the line that said Systray... big_smile found it, fiddled with it for a few minutes and got it to work for me lol

ShieldedTulip wrote:

HAH!!! big_smile Did it!

# System Tray
systray = 1
systray_padding = 4 2 3
systray_sort = right2left
systray_background_id = 0
#systray_font_color = #b5b5b5 100
systray_icon_size = 24
systray_icon_asb = 100 1 100

I guess being stubborn is a close one to being determined wink  big_smile


Coding Idiot (is how I describe myself) in need of plain simple and to the point coding tips. Know nearly nothing about how, where or when things are done.
Only thing I know/remember from coding classes - sudo apt-get install - today discovered how to edit a couple of lines in tint2 (1st victory - ;D) and then my brain froze.
Hoping that around here I'll find simple help, simple like my knowledge.

Offline

#5 2017-10-01 15:35:09

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,755

Re: Very basic tips to edit tint2

Generally speaking, systray is bunch of icons from different sources (Each app having it's own dev with it's own 'vision'), so I'd stick that under 'artistically unsolvable', unless you rewrite every apps icon handling (perhaps there is something that can act as a middle man with icon handling?). With other words, perfect systray = no systray.

Last edited by brontosaurusrex (2017-10-01 15:41:10)

Online

#6 2017-10-01 19:26:31

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Very basic tips to edit tint2

^The systray in general is just bugging me more and more. Although I'd add: Perfect systray = no systray - if there is a dock.

The systray just takes place in a silly way, as those icons (clipit, network, battery, etc.) could be/should be on a dock (and part of the info like battery stand or clock in conky).

Offline

#7 2017-10-01 22:23:17

ShieldedTulip
Member
From: Portugal
Registered: 2017-09-30
Posts: 16

Re: Very basic tips to edit tint2

Can't you edit them "out" of the taskbar?


Coding Idiot (is how I describe myself) in need of plain simple and to the point coding tips. Know nearly nothing about how, where or when things are done.
Only thing I know/remember from coding classes - sudo apt-get install - today discovered how to edit a couple of lines in tint2 (1st victory - ;D) and then my brain froze.
Hoping that around here I'll find simple help, simple like my knowledge.

Offline

#8 2017-10-02 02:24:58

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Very basic tips to edit tint2

Well, you can, but it's a bit tricky and some things won't work properly.

Some applications are tailored in a way that they always use the systray. E.g. if I open clipit and simply choose the dock icon to "keep in the dock", that icon won't show the clipboard history, but it'll start clipit, which opens in the systray... You could find for everything a workaround, but it'd be more annoying than keeping the systray in the end...

Offline

#9 2017-10-02 06:40:31

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Very basic tips to edit tint2

perfectly possible to not have a systray - just remove the 'S' from tintrc's panel_items.
i have never heard of an app that wouldn't work without a visible systray icon.
just make sure you remember how to access its features.

Offline

#10 2017-10-02 19:38:05

ututo
Member
Registered: 2015-09-29
Posts: 326

Re: Very basic tips to edit tint2

brontosaurusrex wrote:

Generally speaking, systray is bunch of icons from different sources (Each app having it's own dev with it's own 'vision'), so I'd stick that under 'artistically unsolvable', unless you rewrite every apps icon handling (perhaps there is something that can act as a middle man with icon handling?). With other words, perfect systray = no systray.

I agree with you. Some icon themes play nice in the systray, but some other just don't. If you want to have a nice looking systemtray you have to get your hands dirty and start tracking and replacing icons in order to get what you want. Like I did here.

For example:

  • For clipit: I replaced /usr/share/icons/hicolor/scalable/apps/clipit-trayicon.svg

  • For volti: I went to /usr/share/volti/icons/ and replaced audio-volume-high.png, audio-volume-low.png, audio-volume-medium.png, audio-volume-muted.png

  • For network-manager: I put some icons in /usr/share/icons/hicolor/24X24/apps

Anyway, it will depend on your config and theme.


BunsenLabs on deviantArt
Don't touch my git!

Offline

#11 2017-10-02 19:42:11

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,169
Website

Re: Very basic tips to edit tint2

https://s16.postimg.org/mojkwm4gl/2016- … _scrot.png

That's a lovely scrot there, Nixie.


I don't care what you do at home. Would you care to explain?

Offline

#12 2017-10-02 23:46:27

ututo
Member
Registered: 2015-09-29
Posts: 326

Re: Very basic tips to edit tint2

^Thanks, man!


BunsenLabs on deviantArt
Don't touch my git!

Offline

#13 2017-10-03 02:03:29

ShieldedTulip
Member
From: Portugal
Registered: 2017-09-30
Posts: 16

Re: Very basic tips to edit tint2

I like icons to be visible, right where I can find them quickly whenever I need them. Just added Blender yesterday.


Coding Idiot (is how I describe myself) in need of plain simple and to the point coding tips. Know nearly nothing about how, where or when things are done.
Only thing I know/remember from coding classes - sudo apt-get install - today discovered how to edit a couple of lines in tint2 (1st victory - ;D) and then my brain froze.
Hoping that around here I'll find simple help, simple like my knowledge.

Offline

#14 2017-10-05 15:02:11

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: Very basic tips to edit tint2

/me hates docks, NOTHING should ever be on a dock, except a ship
That's why I hate Mac-OS


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#15 2017-10-14 11:54:18

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Very basic tips to edit tint2

In the end I found a good way to get rid of the systray (sort of): I removed the systray and made a second tint2 only with the systray - nothing else. I put it on autohide in a corner. At least it's not there if I don't need it.

Offline

Board footer

Powered by FluxBB