Yaru: Suru style user icon in GDM

Created on 31 Jan 2018  路  10Comments  路  Source: ubuntu/yaru

Most helpful comment

I guess this issue should be reassigned to gnome-shell-communitheme repo.

By default, prefix/icon-name/scalable/status/avatar-default-symbolic.svg is used for the icon:
https://github.com/GNOME/gnome-shell/blob/d903978937499a365d5d8586b83eb7323b21efd0/js/ui/userWidget.js#L60

In SCSS/CSS, it can be styled by .framed-user-icon:
https://github.com/Ubuntu/gnome-shell-communitheme/blob/3a438006b9adc1e6e162c102ddfbbc4896ea596f/communitheme/gnome-shell-sass/_common.scss#L1780

All 10 comments

Sorry for the stupid question, but I can't find from where the current user-icon comes in the source code

I found an indication on how to change the icon in this link:

https://mike632t.wordpress.com/2016/05/28/gnome-3-customizing-the-login-screen/

GDM settings can be changed here:
/usr/share/gdm/greeter.dconf-defaults

Though this sounds more like a hack instead of a default installation but maybe it helps

@Feichtmeier It's not _how_ to change the icon, but where to find the icon.

@clobrano I've PM Sam Hewitt a week ago and still waiting for him to reply.

@clobrano I've PM Sam Hewitt a week ago and still waiting for him to reply.

Thanks a lot 馃槈 @madsrh

@clobrano can we simply use the .svg from my first comment and include the file for now or is that considered a bad solution? Later, when the icon theme is shipped, we can switch to that.

I've also send an email in the meantime, but still no word from SH :/

@madsrh no problem in using your svg, it's still unclear to me where the make the change. I had a look at what @Feichtmeier proposed, but that wouldn't work

I guess this issue should be reassigned to gnome-shell-communitheme repo.

By default, prefix/icon-name/scalable/status/avatar-default-symbolic.svg is used for the icon:
https://github.com/GNOME/gnome-shell/blob/d903978937499a365d5d8586b83eb7323b21efd0/js/ui/userWidget.js#L60

In SCSS/CSS, it can be styled by .framed-user-icon:
https://github.com/Ubuntu/gnome-shell-communitheme/blob/3a438006b9adc1e6e162c102ddfbbc4896ea596f/communitheme/gnome-shell-sass/_common.scss#L1780

awesome @nana-4! I'll have a look a it

I tried using the SVG on my local branch, and it seems to work well.
So I will send a PR. ;)

Closing since this is managed in gnome-shell-communitheme

Was this page helpful?
0 / 5 - 0 ratings

Related issues

madsrh picture madsrh  路  3Comments

snydox picture snydox  路  3Comments

madsrh picture madsrh  路  3Comments

mivoligo picture mivoligo  路  3Comments

Feichtmeier picture Feichtmeier  路  3Comments