Web lists-archives.com

Re: How to change user icon at top of Application Launcher's menu?




Hi,

This is mine:

root@fireball / # groups dale
tty lp wheel floppy uucp audio cdrom dialout video cdrw usb users utmp
lpadmin games plugdev scanner nut polkituser wireshark
root@fireball / #

I haven't updated that in a long while.  The fact that floppy is listed
should give you a idea how long.  Heck, this rig doesn't even have a
floppy, or a port for one.  o_O 

For files, permissions are like this:

-rw-r--r--  1 dale users

For directories, like this:

drwxr-xr-x  3 dale users

I don't recall changing those so that should be the default.  Just for
giggles.

root@fireball / # ls -al /home/dale/.kde4
total 24
drwx------  6 dale users 4096 Jun 17  2016 .
drwxr-xr-x 87 dale users 4096 Jul  6 16:48 ..
drwxr-xr-x  2 dale users 4096 Jul 16  2014 Autostart
lrwxrwxrwx  1 dale users   22 Jul 16  2014 cache-fireball ->
/var/tmp/kdecache-dale
drwxr-xr-x  2 dale users 4096 Jul 16  2014 env
drwx------  7 dale users 4096 Oct  4  2014 share
drwxr-xr-x  2 dale users 4096 Jul 16  2014 shutdown
lrwxrwxrwx  1 dale users   31 Jun 17  2016 socket-fireball ->
/var/run/user/1000/ksocket-dale
lrwxrwxrwx  1 dale users   13 Jul 16  2014 tmp-fireball -> /tmp/kde-dale
root@fireball / #


root@fireball / # ls -al /home/dale/.config/systemsettingsrc
-rw------- 1 dale users 355 Jul  6 16:48 /home/dale/.config/systemsettingsrc
root@fireball / #

I'm not sure if that will help or not but it might.  ;-)

Dale


Mark Knecht wrote:
> Hi Dale,
>
> Possibly, or maybe it won't and I'll spend infinite time not
> liking my computer.
>
> OK, so taking a more proactive stance, it might possibly be
> a permissions problem so let's explore that...
>
> There is an interesting aspect about Linux account permissions
> that I'm not finding a definitive answer to. What 'group' should
> my user account be set to. If I search the web for a couple of
> possibilities, such as
>
> Linux "chown john:john"
>
> and
>
> Linux "chown john:users"
>
> I find examples of both being used, and I know at times I've used
> machines that have both versions.
>
> My current machine is, and has been for a long, long time mark:mark for
> all files in my /home/mark directory and then mark is a member of users.
> All new files in my home directory, or at least everything at the top of it
> is created with 'mark:mark'. Possibly KDE's System Settings isn't allowing
> me to change the icon because it's hardwired to look for it's file in my
> account with 'mark:users' permissions?
>
> How is your machine set up?
>
> mark@c2RAID6 ~ $ groups mark
> wheel audio video users cron games vboxusers kvm postgres realtime docker mark
> mark@c2RAID6 ~ $
>
> Mark
>
>
> On Thu, Jul 6, 2017 at 11:10 PM, Dale <rdalek1967@xxxxxxxxx> wrote:
>> Hi,
>>
>> It looks like that version may have a bug or a unwanted nifty feature.
>> :-)  Once the newer version hits stable, maybe it will work then.
>>
>> Let's hope.
>>
>> Dale
>>
>>
>>
>> Mark Knecht wrote:
>>> Hi,
>>>    So I tried running as root. This part of KDE doesn't want to update
>>> my account
>>> because it's not a new user.
>>>
>>> c2RAID6 ~ # systemsettings5
>>> false
>>> The kwalletd service has been registered
>>> log_user_manager: "org.freedesktop.DBus.Error.ServiceUnknown" "The
>>> name org.freedesktop.login1 wa
>>> s not provided by any .service files"
>>> log_user_manager: Starting:
>>> QUrl("file:///usr/share/user-manager/avatars/classic/Green.png")
>>> log_user_manager: From:
>>> QUrl("file:///usr/share/user-manager/avatars/classic/Green.png") to:
>>> "/
>>> tmp/systemsettings.n22130"
>>> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
>>> klauncher not running... launching kdeinit
>>> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
>>> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
>>> Connecting to deprecated signal
>>> QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QSt
>>> ring)
>>> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
>>> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
>>> log_user_manager: Avatar created
>>> log_user_manager: Saving on Index:  0
>>> log_user_manager: "org.freedesktop.Accounts.Error.UserExists"
>>> log_user_manager: "A user with name 'mark' already exists"
>>> log_user_manager: Failed Roles:  (AccountModel::Administrator)
>>> c2RAID6 ~ #
>>>
>>>    You are using newer ~amd64 stuff so possibly there's something
>>> better about newer. Not
>>> willing to go there however.
>>>
>>> c2RAID6 ~ # emerge -pv systemsettings
>>>
>>> These are the packages that would be merged, in order:
>>>
>>> Calculating dependencies... done!
>>> [ebuild   R    ] kde-plasma/systemsettings-5.9.5:5::gentoo  USE="gtk
>>> handbook -classic -debug" 0
>>> KiB
>>>
>>> Total: 1 package (1 reinstall), Size of downloads: 0 KiB
>>> c2RAID6 ~ #
>>>
>>> Cheers,
>>> Mark
>>>
>>> On Thu, Jul 6, 2017 at 3:29 PM, Dale <rdalek1967@xxxxxxxxx> wrote:
>>>> Hi,
>>>>
>>>> Well, that's odd.  I got that drag thing to, I ignored it.  It let me
>>>> change mine from the gallery thingy.  I selected that happy guy.  :-)
>>>>
>>>> Mine listed dale and dale2.  dale2 is my backup to test weirdness after
>>>> a upgrade.  It also listed new user but I didn't go there.
>>>>
>>>> Just for giggles.
>>>>
>>>> [ebuild   R   ~] kde-plasma/systemsettings-5.10.3:5::gentoo  USE="gtk
>>>> handbook -classic -debug"
>>>>
>>>> There's not really many USE flag options there.  Hmmmmmm.
>>>>
>>>> Dale
>>>>
>>>> :-)  :-)
>>>>
>>>>