You are not logged in.

#1 2015-10-17 22:43:55

tuxxx
New Member
Registered: 2015-10-17
Posts: 2

[FIX] Tint2 displaying distorted icons.

Fix for Tint2 displaying distorted icons on top of the screen:

*Mods* This is my first post for a fix on a forum so please kindly let me know if I put this in the wrong section and I would be more than happy to move it to the appropriate location. Thanks!

Some may have encountered this problem and haven't figured it out, or figured it out themselves but haven't gotten around to sharing the minor fix.

If your icons of the active apps on the top of your screen appear distorted, here is a simple fix for that.

1. Right click on the desktop > Hover over 'Preferences' > Hover over 'Openbox' > Click on 'Edit autostart.'

2. Below the lines:

## Start the tint2 session (the default tint2 will run if no sessions have been set)
(sleep 2s; bl-tint2-session) &

Add the lines:

## Fix tint2 icons by restarting
(sleep 3s; bl-tint2-session) &

3. Save the file and reboot your computer.

This should fix the distorted icon issue in Tint2!

Last edited by tuxxx (2015-10-19 15:56:01)

Offline

#2 2015-10-17 23:08:41

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [FIX] Tint2 displaying distorted icons.

/Moved to Development & Suggestions

Hello & welcome to the forums!

Thank you for your suggestion -- does the fix still work if "bl-tint2-session" is used with "sleep 3s"?

For users with Intel cards, the problem can be fixed by creating an xorg configuration file to switch the acceleration method from SNA to UXA

sudo -i
mkdir -p /etc/X11/xorg.conf.d
cat > /etc/X11/xorg.conf.d/20-intel.conf << "EOF"
Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "AccelMethod"  "uxa"
EndSection
EOF
exit

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#3 2015-10-18 02:27:16

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,721
Website

Re: [FIX] Tint2 displaying distorted icons.

Is this a suggestion for an improvement to BunsenLabs or a suggestion to BunsenLabs users? (If the latter, I'd say it belonged in "Scripts, Tutorials and Tips".)


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#4 2015-10-18 05:12:06

damo
....moderator....
Registered: 2015-08-20
Posts: 5,057

Re: [FIX] Tint2 displaying distorted icons.

tuxxx wrote:

Fix for Tint2 displaying distorted icons on top of the screen:

*Mods* This is my first post for a fix on a forum so please kindly let me know if I put this in the wrong section and I would be more than happy to move it to the appropriate location. Thanks!

...

2. Below the lines:

## Start the tint2 session (the default tint2 will run if no sessions have been set)
(sleep 2s; bl-tint2-session) &

Add the lines:

## Fix tint2 icons by restarting
(sleep 3s; tint2) &

...

What this does is sleep 2s after previous command, then start any chosen tint2s, then restart compositing, then sleep 3s and start another instance of tint2. So I wouldn't call it a "fix"!

It looks like it may be a compositing issue on your setup.


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2015-10-18 06:37:37

ohnonot
...again
Registered: 2015-09-29
Posts: 3,909
Website

Re: [FIX] Tint2 displaying distorted icons.

tuxxx wrote:

Add the lines:

did you mean to say "Replace with those lines"?
Otherwise I don't see how this would make sense. you'd have to tint2 panels on top of each other.

Offline

#6 2015-10-18 10:16:28

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [FIX] Tint2 displaying distorted icons.

johnraff wrote:

(If the latter, I'd say it belonged in "Scripts, Tutorials and Tips".)

Yes, I wasn't sure where to put this hmm

ohnonot wrote:

did you mean to say "Replace with those lines"?

That's how I read it (I was tired sad)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#7 2015-10-19 02:37:51

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,721
Website

Re: [FIX] Tint2 displaying distorted icons.

Of course replacing the bl-tint2-session call with a plain tint2 will disable the tint2 session automation. It would be better to find the cause of the problem and fix it properly.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#8 2015-10-19 02:40:50

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,721
Website

Re: [FIX] Tint2 displaying distorted icons.

I'm moving this to the general BunsenLabs support section.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#9 2015-10-19 15:57:00

tuxxx
New Member
Registered: 2015-10-17
Posts: 2

Re: [FIX] Tint2 displaying distorted icons.

Head_on_a_Stick wrote:

/Moved to Development & Suggestions

Hello & welcome to the forums!

Thank you for your suggestion -- does the fix still work if "bl-tint2-session" is used with "sleep 3s"?

For users with Intel cards, the problem can be fixed by creating an xorg configuration file to switch the acceleration method from SNA to UXA

sudo -i
mkdir -p /etc/X11/xorg.conf.d
cat > /etc/X11/xorg.conf.d/20-intel.conf << "EOF"
Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "AccelMethod"  "uxa"
EndSection
EOF
exit

Yes it does work. I edited it and added it in.

Offline

#10 2015-10-19 20:22:57

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

Re: [FIX] Tint2 displaying distorted icons.

^ it works for me too. Thanks @HoaS!


BunsenLabs on deviantArt
Don't touch my git!

Offline

#11 2017-07-02 18:20:38

DustyB
Member
Registered: 2017-07-02
Posts: 61

Re: [FIX] Tint2 displaying distorted icons.

@HoaS Sorry not working for me .. Have a Thinkpad X220 ..

Offline

#12 2017-07-02 18:35:54

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [FIX] Tint2 displaying distorted icons.

DustyB wrote:

not working for me .. Have a Thinkpad X220 ..

Hmmm...

Can we see:

lspci -knn | grep -iA2 'vga\|3d'
cat /etc/X11/xorg.conf.d/20-intel.conf /var/log/Xorg.0.log

The output will be rather lengthy so please remember to use code tags, thanks!

EDIT: typo in second `cat` command (3s/vat/var/)...

EDIT2: removed superfluous `cat`, I am *so* embarrassed...  ops

Last edited by Head_on_a_Stick (2017-07-02 20:07:25)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

Board footer

Powered by FluxBB