LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Issues with Login Window ~ picture size (https://www.linuxquestions.org/questions/linux-software-2/issues-with-login-window-%7E-picture-size-4175736755/)

marnav1 05-06-2024 07:36 AM

Issues with Login Window ~ picture size
 
Running Mint 21.3 Mate/Lenovo T520. I'm experimenting with using the pictures from my pictures folder. I wanted something a little different than the standard Linux fare.
Some of the pictures seem to fit ok but the majority are blown up really big, as to be unusable. I have tried going thru the various settings on the login window with no effect. Is there a way or another place I can adjust the picture sizes for the login window/page?
Thanks ahead of time.

murugesandins 05-08-2024 05:53 AM

When I faced this issue few years before(2020 I guess) I followed following steps:
Press
Window I
Click Local Account at top left corner
At right pane, under Account Settings => Click Your info
At right pane, Choose a file => Browse files => Here I tried many photos after editing each time(including backup) and Viewed related images after pressing Windows L
Finally I have selected an image having 240x240 size
We can view related image using:
regedit(Administrator) => HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AccountPicture\Users\Each_Key => Image* values

Code using CYGWIN_NT/MINGW at windows:
Code:

$ /usr/bin/cat.exe profile_image_location.sh
#!/bin/bash.exe
if [[ "" = "$LOGNAME" ]]
then
        LOGNAME=$USERNAME
fi
if [[ 0 -eq $# ]]
then
        echo -e "\033H\033[J\033[33m$LOGNAME@127.0.0.1 \033[32m$PWD \033[0m[ $? ]\n$ profile_image_location.sh\n"
else
        echo -e "\033[H\033[J\033[33m$LOGNAME@127.0.0.1 \033[32m$PWD \033[0m[ $? ]\n$ profile_image_location.sh $@\n"
fi
echo "Each profile login image locations:"
for EachKey in $(/cygdrive/c/WINDOWS/system32/reg.exe query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AccountPicture\Users" 2>&1 |\
/usr/bin/tr -d "\r")
do
        PROFILE_FILE_NAME=$(/cygdrive/c/WINDOWS/system32/reg.exe query $EachKey 2>&1 |\
        /usr/bin/tr -d "\r" 2>&1 |\
        /usr/bin/grep -E -v "^$|HKEY_LOCAL_MACHINE" 2>&1 |\
        /usr/bin/gawk.exe '{ print $NF}')
        echo "Windows r:"
        echo "$PROFILE_FILE_NAME"
done


marnav1 05-09-2024 07:09 PM

Doesnt seem fixable at least not with my skill level but I'll keep searching for an answer. The great thing about Linux is 99% of the time I've discovered a solution and if not well I get to practice installation. Will mark as solved for now.

murugesandins 05-09-2024 08:03 PM

Quote:

Originally Posted by marnav1 (Post 6500791)
Doesnt seem fixable at least not with my skill level but I'll keep searching for an answer. The great thing about Linux is 99% of the time I've discovered a solution and if not well I get to practice installation. Will mark as solved for now.

Leave my comment on my coding(cat.exe...)

Try modifying your image size.
Location of image size:
Open regedit.exe
drill down to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AccountPicture\Users
Above Users used to have sub keys
Click the available sub keys => Leave (Default) content.
If nothing available other than (Default) content click next sub key.
you can view images there.
Open mspaint before editing that image take a backup.
After that start editing that image and Press => Windows l => to view modified image format at login time.
Quote:

Will mark as solved for now
I am sharing only MY COMMENT:
a) mark the query as solved if resolved.
b) network search used to provide searchers related to current url if resolved and that will help other searchers at network of networks.


All times are GMT -5. The time now is 12:06 PM.