Author Topic: [lightdm] webkit greeters for manjaro  (Read 8435 times)

0 Members and 1 Guest are viewing this topic.

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
[lightdm] webkit greeters for manjaro
« on: 14. March 2013, 20:02:29 »
I uploaded lightdm-webkit with themes to Manjaro-Unstable.

[youtube]http://www.youtube.com/watch?v=bnEb1xKDPfs&feature=player_detailpage[/youtube]

Here is a short how-to:

Code: [Select]
sudo pacman -Sy lightdm-webkit-manjaro-themes
sudo systemctl enable lightdm.service -f

Edit followed files:

/etc/lightdm/lightdm.conf:
Code: [Select]
[SeatDefaults]
greeter-session=lightdm-webkit-greeter
user-session=xfce

user-session might be xfce, kde, openbox, what-ever ... No session chooser is enabled yet.

/etc/lightdm/lightdm-webkit-greeter.conf:
Code: [Select]
[greeter]
background=/usr/share/backgrounds/manjaro.jpg
theme-name=Adwaita-Manjaro-dark
# set it to manjaro or manjarodock
webkit-theme=manjarodock
font-name=Source Sans Pro 10
xft-antialias=true
xft-dpi=96
xft-hintstyle=slight
xft-rgba=rgb

 User icons management

To change users icons, there are two options :

    Create a .face file in the user’s home folder in which you put a jpg or png resource

Or

    Create a resource named with the user’s login in /var/lib/AccountsService/icons/
    Edit /var/lib/AccountsService/users/<userLogin> and add a property Icon targeting the icon resource you just created

Both greeters working well with 96×96 images.
« Last Edit: 15. March 2013, 13:13:06 by philm »

Offline eskaini

  • Security Team
  • *****
  • Posts: 10842
  • I eat deleted accounts
  • Skill: Novice
Re: [lightdm] webkit greeters for manjaro
« Reply #1 on: 14. March 2013, 20:04:57 »
Which mirror? Nothing in dacentic.


Targets (16): aspell-0.60.6.1-1  consolekit-git-20130210-1  enchant-1.6.0-4
              geoclue-0.12.0-5  gstreamer0.10-0.10.36-1
              gstreamer0.10-base-0.10.36-1  gtk-engines-2.21.0-1  hspell-1.2-1
              hunspell-1.3.2-2  libxklavier-5.3-1  libxslt-1.1.26-3
              lightdm-1:1.4.0-1  lightdm-webkit-greeter-0.1.2-6  orc-0.4.16-1
              webkitgtk2-1.10.2-2  lightdm-webkit-manjaro-themes-0.8.4.0314-1

Total Download Size:    14.74 MiB
Total Installed Size:   81.30 MiB
« Last Edit: 14. March 2013, 20:08:12 by Carl »

Offline Holmes

  • Mirror Support Team
  • ***
  • Posts: 2039
  • Brazilian and Hispanic Support Team
    • Manjaro Brasil
  • Branch: Stable
  • Desktop: Manjaro XFCE
  • GPU Card: Mobile Intel (R) 945
  • GPU driver: Non-free
  • Kernel: kernellinux
  • Skill: Novice
Re: [lightdm] webkit greeters for manjaro
« Reply #2 on: 14. March 2013, 20:09:10 »
great'll use here.

vlw fwi, Holmes :)


==> Manjaro Brasil I Manjaro Hispano
==> IRC Manjaro Brasil: #manjaro-br I IRC Manjaro Hispano: #manjaro-es

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [lightdm] webkit greeters for manjaro
« Reply #3 on: 14. March 2013, 20:09:44 »
It just synced on dacentec:

Code: [Select]
[phil@manjaro lightdm-webkit-greeter]$ pacman -Ss lightdm-webkit
addon-unstable/lightdm-webkit-greeter 0.1.2-6 [installed]
    A lightweight display manager
addon-unstable/lightdm-webkit-manjaro-themes 0.8.4.0314-1
    Nice themes for Lightdm Webkit Greeter

You can change the background by changing the bg.jpg files in both themes ...

Offline ewolnux

  • Held Mitglied
  • *****
  • Posts: 713
  • Branch: Stable
  • Desktop: KDE (the best)
  • GPU Card: Intel HD4000
  • GPU driver: Free
  • Kernel: 4.1.x
  • Skill: Intermediate
Re: [lightdm] webkit greeters for manjaro
« Reply #4 on: 15. March 2013, 11:13:46 »
Hello philm

Installed this morning, it works very well.

To change the icon of the user, I put a file .face in the home. I tried with jpg and png.

Then what does it change ?
Administrator MANJARO FRANCE
Rejoignez la communauté francophone sur manjaro.fr.

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [lightdm] webkit greeters for manjaro
« Reply #5 on: 15. March 2013, 12:03:33 »
Hmm, it works with lightdm --test-mode just fine. Don't get it why it doesn't work for real ... Maybe todays update will bring the solution.

Offline ewolnux

  • Held Mitglied
  • *****
  • Posts: 713
  • Branch: Stable
  • Desktop: KDE (the best)
  • GPU Card: Intel HD4000
  • GPU driver: Free
  • Kernel: 4.1.x
  • Skill: Intermediate
Re: [lightdm] webkit greeters for manjaro
« Reply #6 on: 15. March 2013, 13:30:57 »
Can you better explain (in more detail) :
Quote
Create a resource named with the user’s login in /var/lib/AccountsService/icons/
Edit /var/lib/AccountsService/users/<userLogin> and add a property Icon targeting the icon resource you just created
Thank you  :D
Administrator MANJARO FRANCE
Rejoignez la communauté francophone sur manjaro.fr.

Offline Esclapion

  • Support Team
  • ****
  • Posts: 5523
    • manjaro
  • Branch: stable
  • Desktop: Lxqt
  • GPU Card: GTX 970
  • GPU driver: nonfree
  • Kernel: 4.4.6
  • Skill: Advanced
Re: [lightdm] webkit greeters for manjaro
« Reply #7 on: 15. March 2013, 16:38:47 »
 :)

Funny :



On a Xfce X86 unstable, built 1hr ago from the git of Manjaroiso.  ;)
Venez nous rejoindre sur l'IRC francophone
Patrice - Violence is the last refuge of the incompetent (Asimov)

Offline Esclapion

  • Support Team
  • ****
  • Posts: 5523
    • manjaro
  • Branch: stable
  • Desktop: Lxqt
  • GPU Card: GTX 970
  • GPU driver: nonfree
  • Kernel: 4.4.6
  • Skill: Advanced
Re: [lightdm] webkit greeters for manjaro
« Reply #8 on: 15. March 2013, 17:17:51 »
..but I cant change the "face".  ???

I downloaded the image above, re-dimension it 96x96, put in my home under the name .face, but it does nothing.
Venez nous rejoindre sur l'IRC francophone
Patrice - Violence is the last refuge of the incompetent (Asimov)

Offline ewolnux

  • Held Mitglied
  • *****
  • Posts: 713
  • Branch: Stable
  • Desktop: KDE (the best)
  • GPU Card: Intel HD4000
  • GPU driver: Free
  • Kernel: 4.1.x
  • Skill: Intermediate
Re: [lightdm] webkit greeters for manjaro
« Reply #9 on: 15. March 2013, 17:23:00 »
For the moment the change user icon does not work !
Administrator MANJARO FRANCE
Rejoignez la communauté francophone sur manjaro.fr.

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [lightdm] webkit greeters for manjaro
« Reply #10 on: 15. March 2013, 19:58:56 »
I found a way to solve this issue. Take a look at this video:

[youtube]http://www.youtube.com/watch?v=ASJ_dleffoc[/youtube]

Code: [Select]
sudo pacman -S accountsservice
If you have the user xbmc simple create followed file:
/var/lib/AccountsService/users/xbmc
Code: [Select]
[User]
Icon=/usr/share/icons/Faenza/apps/96/xbmc.png

Check the folder /var/lib/AccountsService/users for your username and add the Icon= line to it.
« Last Edit: 16. March 2013, 01:20:01 by philm »

Offline miguedrive

  • Vollwertiges Mitglied
  • ***
  • Posts: 140
  • Ride The Penguin!
    • Not yet :)
  • Branch: Stable :)
  • Desktop: Awesome WM, Cinnamon, Openbox !
  • GPU Card: Intel :S
  • GPU driver: Free!
  • Skill: Advanced
Re: [lightdm] webkit greeters for manjaro
« Reply #11 on: 15. March 2013, 20:12:21 »
NICE!  :o

Offline ewolnux

  • Held Mitglied
  • *****
  • Posts: 713
  • Branch: Stable
  • Desktop: KDE (the best)
  • GPU Card: Intel HD4000
  • GPU driver: Free
  • Kernel: 4.1.x
  • Skill: Intermediate
Re: [lightdm] webkit greeters for manjaro
« Reply #12 on: 15. March 2013, 20:18:06 »
Thank you, it is very clear, I'll try tomorrow.
Administrator MANJARO FRANCE
Rejoignez la communauté francophone sur manjaro.fr.

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [lightdm] webkit greeters for manjaro
« Reply #13 on: 16. March 2013, 02:08:40 »
Here is the final work done by me and miguedrive ... Hope you guys like it...

Offline Esclapion

  • Support Team
  • ****
  • Posts: 5523
    • manjaro
  • Branch: stable
  • Desktop: Lxqt
  • GPU Card: GTX 970
  • GPU driver: nonfree
  • Kernel: 4.4.6
  • Skill: Advanced
Re: [lightdm] webkit greeters for manjaro
« Reply #14 on: 16. March 2013, 02:12:31 »
 :)

Very nice !  :D
Venez nous rejoindre sur l'IRC francophone
Patrice - Violence is the last refuge of the incompetent (Asimov)