You are not logged in.
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
/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
Offline
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".)
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
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...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
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
(If the latter, I'd say it belonged in "Scripts, Tutorials and Tips".)
Yes, I wasn't sure where to put this
did you mean to say "Replace with those lines"?
That's how I read it (I was tired )
Offline
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.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
I'm moving this to the general BunsenLabs support section.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
/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
^ it works for me too. Thanks @HoaS!
BunsenLabs on deviantArt
Don't touch my git!
Offline
@HoaS Sorry not working for me .. Have a Thinkpad X220 ..
Offline
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... :8
Last edited by Head_on_a_Stick (2017-07-02 20:07:25)
Offline