Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] USE flag X for wayland?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
gevious
n00b
n00b


Joined: 07 Sep 2020
Posts: 3

PostPosted: Tue Sep 08, 2020 1:39 am    Post subject: [SOLVED] USE flag X for wayland? Reply with quote

After a long absence, I installed Gentoo over the last few days (systemd profile) and then installed wayland and sway. Its all [sortof] working, and I even managed to install firefox from source.

2 questions:
- I have my USE flags set to "wayland". Should I include "X" or perhaps "-X"? Its not clear to me how those two flags correspond
- I don't have symbols (unicode?) characters working in my terminal (alacritty) or Neovim, though fonts work great in firefox. You'll notice the blocks in my quotes below. I also don't have symbols in sway (I added them to the status bar, but they don't show up).



Quote:

Available profile symlink targets:
[1] default/linux/amd64/17.0 (stable)
[2] default/linux/amd64/17.0/selinux (stable)
[3] default/linux/amd64/17.0/hardened (stable)
[4] default/linux/amd64/17.0/hardened/selinux (stable)
[5] default/linux/amd64/17.0/desktop (stable)
[6] default/linux/amd64/17.0/desktop/gnome (stable)
[7] default/linux/amd64/17.0/desktop/gnome/systemd (stable)
[8] default/linux/amd64/17.0/desktop/plasma (stable)
[9] default/linux/amd64/17.0/desktop/plasma/systemd (stable)
[10] default/linux/amd64/17.0/developer (stable)
[11] default/linux/amd64/17.0/no-multilib (stable)
[12] default/linux/amd64/17.0/no-multilib/hardened (stable)
[13] default/linux/amd64/17.0/no-multilib/hardened/selinux (stable)
[14] default/linux/amd64/17.0/systemd (stable)
[15] default/linux/amd64/17.0/x32 (dev)
[16] default/linux/amd64/17.1 (stable)
[17] default/linux/amd64/17.1/selinux (stable)
[18] default/linux/amd64/17.1/hardened (stable)
[19] default/linux/amd64/17.1/hardened/selinux (stable)
[20] default/linux/amd64/17.1/desktop (stable)
[21] default/linux/amd64/17.1/desktop/gnome (stable)
[22] default/linux/amd64/17.1/desktop/gnome/systemd (stable)
[23] default/linux/amd64/17.1/desktop/plasma (stable)
[24] default/linux/amd64/17.1/desktop/plasma/systemd (stable)
[25] default/linux/amd64/17.1/developer (stable)
[26] default/linux/amd64/17.1/no-multilib (stable)
[27] default/linux/amd64/17.1/no-multilib/hardened (stable)
[28] default/linux/amd64/17.1/no-multilib/hardened/selinux (stable)
[29] default/linux/amd64/17.1/systemd (stable) *
[30] default/linux/amd64/17.0/musl (exp)
[31] default/linux/amd64/17.0/musl/hardened (exp)
[32] default/linux/amd64/17.0/musl/hardened/selinux (exp)
[33] default/linux/amd64/17.0/uclibc (exp)
[34] default/linux/amd64/17.0/uclibc/hardened (exp)

Quote:

~ ᐅ locale -a
C
C.utf8
POSIX
en_US.utf8
~ ᐅ eselect locale list
Available targets for the LANG variable:
[1] C
[2] C.utf8
[3] POSIX
[4] en_US.utf8 *
[ ] (free form)
~ ᐅ


Quote:

~ ᐅ eselect fontconfig list
Available fontconfig .conf files (* is enabled):
[1] 10-autohint.conf *
[2] 10-hinting-full.conf
[3] 10-hinting-medium.conf
[4] 10-hinting-none.conf
[5] 10-hinting-slight.conf *
[6] 10-no-sub-pixel.conf
[7] 10-powerline-symbols.conf *
[8] 10-scale-bitmap-fonts.conf *
[9] 10-sub-pixel-bgr.conf
[10] 10-sub-pixel-rgb.conf
[11] 10-sub-pixel-vbgr.conf
[12] 10-sub-pixel-vrgb.conf
[13] 10-unhinted.conf
[14] 11-lcdfilter-default.conf
[15] 11-lcdfilter-legacy.conf
[16] 11-lcdfilter-light.conf
[17] 20-unhint-small-vera.conf *
[18] 25-unhint-nonlatin.conf
[19] 30-metric-aliases.conf *
[20] 40-nonlatin.conf *
[21] 45-generic.conf *
[22] 45-latin.conf *
[23] 49-sansserif.conf *
[24] 50-user.conf *
[25] 51-local.conf *
[26] 60-generic.conf *
[27] 60-latin.conf *
[28] 60-liberation.conf
[29] 65-fonts-persian.conf *
[30] 65-khmer.conf
[31] 65-nonlatin.conf *
[32] 69-unifont.conf *
[33] 70-no-bitmaps.conf
[34] 70-yes-bitmaps.conf
[35] 80-delicious.conf *
[36] 90-synthetic.conf *


Last edited by gevious on Thu Sep 10, 2020 4:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 2642
Location: Frankfurt, Germany

PostPosted: Tue Sep 08, 2020 10:15 pm    Post subject: Reply with quote

Hi gevious,

welcome back to Gentoo! :)

I guess a few USE flags are missing on your machine. 'default/linux/amd64/17.1/systemd/desktop' would be the right profile, but it doesn't exist.

You will roughly get the profile 'default/linux/amd64/17.1/systemd/desktop' if you perform the steps below:
  1. Run
    Code:
    emerge --update --deep --newuse -av @world

    and make sure that it doesn't show any packages that need to be updated. Otherwise update the packages and repeat this step.

  2. Temporarily switch to the profile 'default/linux/amd64/17.1/desktop'

  3. Run
    Code:
    emerge --update --deep --newuse -pv @world

    Look for USE flags that would be added. But DON'T emerge those packages!

  4. Switch back to your profile 'default/linux/amd64/17.1/systemd'

  5. Add the USE flags your found to your make.conf.

  6. Please post the USE flags.

  7. Run
    Code:
    emerge --update --deep --newuse -av @world

    to rebuild packages with the USE flags you added.

Quote:
I have my USE flags set to "wayland". Should I include "X" or perhaps "-X"? Its not clear to me how those two flags correspond

I think you will need both. Some programs run in Wayland mode, some in X mode. Some programs support both modes. You can select the mode using environment variables at run-time.
Quote:
I don't have symbols (unicode?) characters working in my terminal (alacritty) or Neovim, though fonts work great in firefox. You'll notice the blocks in my quotes below. I also don't have symbols in sway (I added them to the status bar, but they don't show up).

Please add the USE flags for the desktop profile first. It will probably solve the problem. If the problem persists, we can further investigate this.
Back to top
View user's profile Send private message
gevious
n00b
n00b


Joined: 07 Sep 2020
Posts: 3

PostPosted: Wed Sep 09, 2020 1:43 am    Post subject: Reply with quote

Hi Mike155,

Thanks for your reply. Clever idea to find out what USE flags I'd need

After running that check, here are the new USE flags I've added to my make.conf

Quote:

a52
bluetooth
branding
cups
dbus
dts
gif
gpm
gtk
icu
introspection
lcms
ldap
libnotify
mad
mng
mp3
natspec
ogg
opengl
pcre16
png
policykit
qt5
sdl
sqlite
startup-notification
svc
svg
tiff
truetype
usb
vorbis
x264
xml
xvid


I'm going to install the 98 new packages tonight, and let will post back if the unicode issue is solved.

Also, I noticed that dpath wasn't working in sway without USE="X", so I
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 2012

PostPosted: Wed Sep 09, 2020 2:07 am    Post subject: Reply with quote

Depending on your CPU architecture & packages you wish to install,
Gentoo Wiki may be of some interest if not taken into account already...
Thks 4 ur attention, interest & support.
Back to top
View user's profile Send private message
gevious
n00b
n00b


Joined: 07 Sep 2020
Posts: 3

PostPosted: Thu Sep 10, 2020 4:00 pm    Post subject: [SOLVED] USE flag X for wayland? Reply with quote

Thank you for all your help. Adding those USE flags solved the issue. Its not clear exactly which ones did the trick, but probably not worth the time to figure it out.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum