On Kubuntu 19.10, snap apps install here:
/var/lib/snapd/desktop/applications
To fix UI scaling, I just add the following flag to each of the .desktop
files for Electron apps in that folder
--force-device-scale-factor=1.2
su -s /bin/bash www-data -c "php occ files:scan --all" |
On Kubuntu 19.10, snap apps install here:
/var/lib/snapd/desktop/applications
To fix UI scaling, I just add the following flag to each of the .desktop
files for Electron apps in that folder
--force-device-scale-factor=1.2
echo "Setup fresh PopOS install" | |
# check if root | |
if [[ $(id -u) -ne 0 ]] | |
then echo "Please run as root" | |
exit 1 | |
fi | |
# rename computer | |
echo "eureka" > '/etc/hostname' |
Why? ACLs permissions are fragile in my hands and this works a lot better, IMO. Despite caveats.
Install resilio sync and run it as its own user
sudo apt install bindfs
""" | |
Copyright (c) 2019 Tamas Nagy | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
I hereby claim:
To claim this, I am signing this object:
#! /bin/sh | |
# Copyright (c) 2014, Tamas Nagy <tamas at tamasnagy dot com> | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# | |
# 1. Redistributions of source code must retain the above copyright notice, | |
# this list of conditions and the following disclaimer. |