gardotd426 / regolith-de

Standalone Regolith desktop environment for Arch Linux
GNU General Public License v2.0
159 stars 12 forks source link

i3xrocks icons not displayed properly #6

Closed naib864 closed 3 years ago

naib864 commented 4 years ago

Just started testing this on my t61 running manjaro and I noticed that the material design icons aren't displayed properly, even though I installed the font manually.

I think in the font version I'm using the characters are at another position in the character table than on the font that regolith on uses on ubuntu. Is there a font on arch that will make the icons work?

gardotd426 commented 4 years ago

Everyone's just been using ttf-font-awesome with no issues, which should have been installed as a dependency when you installed everything.

Everyone else has reported that that was all they needed for everything to render properly in the bar. None of the fonts being used on Ubuntu are patched in any special way.

Send a screenshot, also I need to know what (if anything) you changed about any configs, and whether or not you actually have ttf-font-awesome installed.

naib864 commented 4 years ago

image

font-awesome is installed. Screenshot shows the standard config that ships with this build. Also happens when I copy my regolith conf I'm using on Ubuntu.

hughesjs commented 4 years ago

I am getting similarly bizarre icons as @naib864.

gardotd426 commented 4 years ago

Some of those icons are clearly correct, but some of them seem like they're surely not. But without having an actual regolith install in front of me, it's hard to tell which is which. The thing is, it looks like the only fonts Regolith includes are a couple regular fonts. I'm going to boot into a regolith ISO and see what I can figure out.

@hughesjs do me a favor and try removing ttf-font-awesome and install a nerd font instead, and reboot/log out and back in

hughesjs commented 4 years ago

Had to do the uninstall with -Rdd and installed the nerd font.

Everything still looks weird.

gardotd426 commented 4 years ago

Okay, I'll see what I can figure out.

gardotd426 commented 4 years ago

@naib864 @hughesjs I figured it out (effectively).

So, the deal is, regolith keeps all of it's configs in a special ~/.Xresources file, called ~/.Xresources-regolith. All it does, is it points to whichever style the user has chosen. It comes with like 7 or something. Well, the default one is lascaille. I find the colorscheme gorgeous, and it's the default on Regolith itself, so I kept it. Well, the i3xrocks font config file for lascaille has all the goofed up icons. I don't know why, because I checked the font-awesome version that Regolith uses, and the character maps match up, meaning the icon in the config file, for example the Windows logo, that's U+F17A, which is also the icon at U+F17A in the Font Awesome version Regolith itself uses. So it honestly seems that even on Regolith, the default font should look like that. Something else is causing it to fix itself.

But none of that matters to us. All the other looks use the exact same font config for the actual i3xrocks bar. So all I have to do is use one of those typeface config files instead, and we're good to go. I'm working on it now, I'll comment here when it's patched so you guys can pull and reinstall.

gardotd426 commented 4 years ago

@naib864 @hughesjs It's fixed, can you clone a fresh repo, reinstall, and log out and back in and let me know what's up?

hughesjs commented 4 years ago

@gardotd426 good work dude! Yeah, that's looking a hell of a lot more sane now...

I'll have to do some digging wrt i3xrocks to find out why I've got @a(ss) [] popping up on the reg though...

The update also overwrote my config file, I'd suggest we allow all config files to be overridden from ~/.config/regolith-de/{i3, i3xrocks...} to stop this.

Then again, that seems like an upstream thing to me.

gardotd426 commented 4 years ago

I'll have to do some digging wrt i3xrocks to find out why I've got @A(ss) [] popping up on the reg though...

What do you mean? The icons still aren't showing? Can I see screenshots? They all show up here.

The update also overwrote my config file, I'd suggest we allow all config files to be overridden from ~/.config/regolith-de/{i3, i3xrocks...} to stop this.

Can't. Packages are never allowed to touch user home directory files, so no package can ever write to ~/.config/anything.

However, Regolith DE does read from ~/.config/regolith/whatever. For example, if ~/.config/regolith/i3/config exists, it will read that INSTEAD of /etc/regolith/i3/config. That's the exact same way regular i3 works. i3, i3-gaps, etc. all provide /etc/i3/config as the default, and the user is supposed to copy that to ~/.config/i3/config and make changes to THAT file. /etc/i3/config gets overwritten on every update just like /etc/regolith/i3/config will.

Just imagine it like this: everything in /etc/regolith can also be placed in ~/.config/regolith, and Regolith will read from ~/.config/regolith first.

gardotd426 commented 4 years ago

@naib864, if you could please pull the changes and update, so I can confirm the issue is fixed and close this.

hughesjs commented 4 years ago

@gardotd426 that config file behaviour is exactly what I meant in my comment. Didn't realise it still did that so that's good news.

As for the weird text on the bar... See the @a(ss) on the left. image

gardotd426 commented 4 years ago

Okay, I'll look into it tomorrow (it's really late on the east coast), I'll post whatever I find or don't find.

Sent from Mailspring (https://link.getmailspring.com/link/F27ABDA7-4BA5-4E91-8F74-1ED3B3BAD8CD@getmailspring.com/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=cmVwbHkrQU01WTMzN05GMk9LRVBRTkkzQ0QzSE41S01ZN1RFVkJOSEhDUlJRVkxRQHJlcGx5LmdpdGh1Yi5jb20%3D), the best free email app for work On Aug 27 2020, at 2:21 am, James Hughes notifications@github.com wrote:

@gardotd426 (https://link.getmailspring.com/link/F27ABDA7-4BA5-4E91-8F74-1ED3B3BAD8CD@getmailspring.com/1?redirect=https%3A%2F%2Fgithub.com%2Fgardotd426&recipient=cmVwbHkrQU01WTMzN05GMk9LRVBRTkkzQ0QzSE41S01ZN1RFVkJOSEhDUlJRVkxRQHJlcGx5LmdpdGh1Yi5jb20%3D) that config file behaviour is exactly what I meant in my comment. Didn't realise it still did that so that's good news. As for the weird text on the bar... See the @A (https://link.getmailspring.com/link/F27ABDA7-4BA5-4E91-8F74-1ED3B3BAD8CD@getmailspring.com/2?redirect=https%3A%2F%2Fgithub.com%2FA&recipient=cmVwbHkrQU01WTMzN05GMk9LRVBRTkkzQ0QzSE41S01ZN1RFVkJOSEhDUlJRVkxRQHJlcGx5LmdpdGh1Yi5jb20%3D)(ss) on the left.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/F27ABDA7-4BA5-4E91-8F74-1ED3B3BAD8CD@getmailspring.com/3?redirect=https%3A%2F%2Fgithub.com%2Fgardotd426%2Fregolith-de%2Fissues%2F6%23issuecomment-681617657&recipient=cmVwbHkrQU01WTMzN05GMk9LRVBRTkkzQ0QzSE41S01ZN1RFVkJOSEhDUlJRVkxRQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe (https://link.getmailspring.com/link/F27ABDA7-4BA5-4E91-8F74-1ED3B3BAD8CD@getmailspring.com/4?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAM5Y332UPAN3ZLL5SR2EHY3SCX3PTANCNFSM4QIJNUNA&recipient=cmVwbHkrQU01WTMzN05GMk9LRVBRTkkzQ0QzSE41S01ZN1RFVkJOSEhDUlJRVkxRQHJlcGx5LmdpdGh1Yi5jb20%3D).

hughesjs commented 4 years ago

Thanks mate, currently working offshore so no time to dig myself.

Sent from ProtonMail mobile

-------- Original Message -------- On 27 Aug 2020, 07:24, gardotd426 wrote:

Okay, I'll look into it tomorrow (it's really late on the east coast), I'll post whatever I find or don't find.

Sent from Mailspring (https://link.getmailspring.com/link/F27ABDA7-4BA5-4E91-8F74-1ED3B3BAD8CD@getmailspring.com/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=cmVwbHkrQU01WTMzN05GMk9LRVBRTkkzQ0QzSE41S01ZN1RFVkJOSEhDUlJRVkxRQHJlcGx5LmdpdGh1Yi5jb20%3D), the best free email app for work On Aug 27 2020, at 2:21 am, James Hughes notifications@github.com wrote:

@gardotd426 (https://link.getmailspring.com/link/F27ABDA7-4BA5-4E91-8F74-1ED3B3BAD8CD@getmailspring.com/1?redirect=https%3A%2F%2Fgithub.com%2Fgardotd426&recipient=cmVwbHkrQU01WTMzN05GMk9LRVBRTkkzQ0QzSE41S01ZN1RFVkJOSEhDUlJRVkxRQHJlcGx5LmdpdGh1Yi5jb20%3D) that config file behaviour is exactly what I meant in my comment. Didn't realise it still did that so that's good news. As for the weird text on the bar... See the @A (https://link.getmailspring.com/link/F27ABDA7-4BA5-4E91-8F74-1ED3B3BAD8CD@getmailspring.com/2?redirect=https%3A%2F%2Fgithub.com%2FA&recipient=cmVwbHkrQU01WTMzN05GMk9LRVBRTkkzQ0QzSE41S01ZN1RFVkJOSEhDUlJRVkxRQHJlcGx5LmdpdGh1Yi5jb20%3D)(ss) on the left.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/F27ABDA7-4BA5-4E91-8F74-1ED3B3BAD8CD@getmailspring.com/3?redirect=https%3A%2F%2Fgithub.com%2Fgardotd426%2Fregolith-de%2Fissues%2F6%23issuecomment-681617657&recipient=cmVwbHkrQU01WTMzN05GMk9LRVBRTkkzQ0QzSE41S01ZN1RFVkJOSEhDUlJRVkxRQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe (https://link.getmailspring.com/link/F27ABDA7-4BA5-4E91-8F74-1ED3B3BAD8CD@getmailspring.com/4?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAM5Y332UPAN3ZLL5SR2EHY3SCX3PTANCNFSM4QIJNUNA&recipient=cmVwbHkrQU01WTMzN05GMk9LRVBRTkkzQ0QzSE41S01ZN1RFVkJOSEhDUlJRVkxRQHJlcGx5LmdpdGh1Yi5jb20%3D).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

naib864 commented 4 years ago

Sorry, somehow didn't see the notifications for your comments. Will check if the patch works this evening.

naib864 commented 4 years ago

It looks like this now. Symbols are there but the a(ss) is weird and the spacing is weird as well. Bildschirmfoto von 2020-08-29 16-44-40

naib864 commented 4 years ago

Dunno what changed, but now i3xrocks is completely gone. Did a fresh install of manjaro-i3 and the first thing I did was installing regolith. Theme isn't lascaille, which is weird too. Different conf doesn't change that, the bar is empty. Screenshot from 2020-09-01 01-22-08

EDIT: Tried it with a Live USB on my desktop as well, same issue.

gardotd426 commented 4 years ago

What do you mean you tried it with a live USB? You booted up a live USB of Manjaro and installed regolith on it, and logged out and back in?

Did you log in to "Regolith" or "i3" when you chose your desktop environment?

gardotd426 commented 4 years ago

Different conf doesn't change that, the bar is empty.

user config files go in ~/.config/regolith/ just like the setup of /etc/regolith. Basically, you'll want to run cp -r /etc/regolith/* ~/.config/regolith/ and edit the .config/regolith/whatever/config files.

naib864 commented 4 years ago

I log into Regolith and I used both the default config and my own custom config that used to work in ~/.config/regolith/i3.

I installed regolith in a live session of manjaro i3, logged out and relogged into the session selecting regolith at the login screen.

gardotd426 commented 4 years ago

What do you mean when you say the default theme isn't lascaille? Is that just based on look or are you actually seeing the theme and it says something other than lascaille?

Nothing has changed about the PKGBUILD so I'm having trouble wondering what could have broken

naib864 commented 4 years ago

Well, the theme composition doesn't match the one I've seen before. Gnome theme is set different and the color scheme is different as well. Setting the theme to lascaille by using regolith-look set lascaille and then regolith-look refresh doesn't change it either.

gardotd426 commented 4 years ago

@naib864 I can't reproduce on Manjaro KDE.

I initially tried to use Manjaro i3's iso, but it crashed consistently at the same spot during installation in a VM, which isn't surprising considering it's a community edition and not an official edition.

So I downloaded Manjaro KDE, installed it in a VM, booted into it, installed regolith (and nothing else, aside from updating the system first), and logged out and in to Regolith. Everything works exactly as it should....

image

(note the A(ss) is also gone, I haven't changed the PKGBUILD yet to fix it, I'll do that in a bit, but yeah I know how to fix it)

Manjaro i3 (and KDE edition) comes with like 570-something needed updates, did you update after installation? I suggest doing that.

Beyond that, I'm not sure how to help you figure out your issue without some help on your end, I've never seen this in the 7 or 8 fresh installations I've made.