sono in current 64, con installato Plasma 5 di AlienBOB.
Non vorrei dire una cavolata, ma dato che non ho visto nel pannello di configurazione di Plasma la possibilità di impostare un'immagine di profilo per il manager di login (SDDM nello specifico), ho fatto un rudimentale script che scarica la vostra foto profilo di Facebook, l'adatta alle dimensioni necessarie ed al tipo di file e poi la setta nella vostra $home. Mettendolo in crontab ogni sei ore la mantiene aggiornata in automatico, altrimenti basta lanciarlo di tanto in tanto manualmente.
L'unica dipendenza necessaria è ImageMagick per le manipolazioni sui file....e ovviamente bisogna conoscere il proprio id di Facebook.
E' una sciocchezza, ma magari a qualcuno può piacere
Codice: Seleziona tutto
#!/bin/bash
#######################################################################
#
# Grabs Facebook Profile Picture and set as profile image for SDDM
#
# to put in crontab with six hours rotation :
#
# #execute script to take facebook profile pict and set for SDDM every six hours
# 0 0,6,12,18 * * * /usr/local/bin/fb2sddm.sh
#
#######################################################################
####
#variables
####
profile= ........................ #profile unique ID , take your Fb numeric id and put there
extension=.jpg
extdest=.png
temp=/tmp/
imgA=~/scripts/background.png
origimg=$temp$profile$extension
destimg=$temp$USER$extdest
tmpimg=$temp$profile$extdest
####
#retrieve current profile photo - standard resolution
####
url="http://graph.facebook.com/$profile/picture?type=large"
wget $url -O $origimg
echo 'image downloaded'
######
#after profile creation modify to adapt to SSDM
######
##
#use ImageMagick to correctly convert colorspace, resize image and center on a square of 256x256 px
##
##
#color space correction and alpha channel
##
convert $origimg -channel rgba -alpha set $tmpimg
##
#resize image and pad to a square of 256x256 pixel
##
convert $tmpimg -resize 256x256 -background transparent -gravity center -extent 256x256 $destimg
####
#now put in the SDDM profile directory, with correct file name
####
mv $destimg /home/$USER/.face.icon