https://bugs.kde.org/show_bug.cgi?id=452073

Tom Atkinson <t...@funk.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Tom Atkinson <t...@funk.co.nz> ---
I MARKED RESOLVED AS I MANAGED TO FIX MY START MENU / META KEY ISSUE
Although it will still crash when I right click to configure.

Here is how:
- The user account with the issue is 'tom' on my install
- I delete and re-create my test user: t2
- I use this fresh user account to build a list of files and folders in .config
.local and .kde 
- Write a script to automate the overwriting of t2 user account files with toms
prefs (I'm trying to see if I can re-create the issue in another user account,
since I noticed they are working fine), the script takes user names as input
and also does a recursive chown to t2 after
- while not logged in as t2 i run my script.
- logout, then in as t2 to inspect matters. while 'meta' did not initially open
the kwin menu, I can now right click, and set Alt-F1 as the keyboard shortcut.
as if by magic, [meta] key starts working again inside t2 account.
- so while logged out as tom, I run my script in the reverse direction: copy
all of t2's very sparse (brand new account) files back across t2 --> tom
- initially I was bummed that it still crash. however I installed a security
update and  rebooted. Now it works fine. Actually shit it doesn't I can still
crash it, however my [meta] key works so I am happy for now I don't need to get
into that setting anyhow.
- my t2 account has no problem opening 'Configure...' with a right click?

I will attempt to attach my script.....
______________________________________________________________________________________________________
invoked like this:
./copy-tomachi-desktop-prefs.sh tom t2
______________________________________________________________________________________________________
#/bin/bash
echo "Copy all* of the user $1's hidden or dot folders to user $2 home folder
and chown to $2"
echo "* but not: session kscreen baloo Trash user-places.xbel.tbcache"

config="akregatorrc        gtkrc-2.0 kded_device_automounterrc  kscreenlockerrc
plasma-localerc  Trolltech.conf autostart-scripts  gwenviewrc                
kdedefaults                ksmserverrc      
plasma-org.kde.plasma.desktop-appletsrc  user-dirs.dirs baloofilerc       
kactivitymanagerdrc        kdeglobals                 ktimezonedrc   
plasmashellrc                            user-dirs.locale dconf             
kactivitymanagerd-statsrc  kde.org     kwinrc          powerdevilrc            
                xsettingsd dolphinrc          kateschemarc              
kglobalshortcutsrc         kwinrulesrc  powermanagementprofilesrc gtk-3.0      
     kcminputrc                 khotkeysrc                 kxkbrc           
pulse gtk-4.0            kconf_updaterc             kmixrc                    
libaccounts-glib   gtkrc              kdeconnect                 krunnerrc     
            okularpartrc      spectaclerc"
localshare="kactivitymanagerd  krunnerstaterc  kxmlgui5  user-places.xbel     
dolphin  klipper   user-places.xbel.bak  xorg"
source="/home/$1"
dest="/home/$2"
user=$2

if [ -z "$1" ]; then
    echo usage: $0 [source usernane] [destination username]
    echo "$0 tom t2"
    exit    
else
    echo "do not run this whle logged in"
fi

dryrun() {
 echo "copy from $source/$1 to $dest then chown -Rv to user $user (dry-run)"
 command="sudo rsync -arv $source/$1 $dest/$1"
 echo $command
}

copychown() {
 echo "copy from $source/$1 to $dest then chown -Rv to user $user2"
 echo -------------------------------------------------
 sleep 0.1
 command="nice sudo rsync -arv --progress  $source/$1 $dest/$1"
 echo $command
 sleep 0.1
 eval $command
 sudo chown -Rv $user $dest/$1
 sleep 0.1
}

dryrun .kde
for file in $config; do dryrun .config/$file; done
for file in $localshare; do dryrun .local/share/$file; done

read -p " - are you sure? anykey to continue" -n 1 -r
echo

copychown .kde
for file in $config; do copychown .config/$file; done
for file in $localshare; do copychown .local/share/$file; done

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to