$ sudo nano /etc/modprobe.d/alsa-base.conf
Add bottom:
options snd-hda-intel model=laptop-dmic
Save and reboot
$ sudo add-apt-repository ppa:papirus/papirus
$ sudo apt-get update
$ sudo apt-get install --install-recommends adapta-kde
$ source ~/.bashrc
- Install fonts
sudo apt-get install fonts-powerline
- Install powerline
$ sudo pip install powerline-shell
- Edit file ~.bashrc and add:
function _update_ps1() {
PS1=$(powerline-shell $?)
}
if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
- Reload bashrc
source .bashrc
- Config File
Powerline-shell is customizable through the use of a config file. This file is expected to be located at
~/.config/powerline-shell/config.json
. You can generate the default config at this location using:
$ mkdir -p ~/.config/powerline-shell && \
powerline-shell --generate-config > ~/.config/powerline-shell/config.json
npm install nativefier -g
nativefier --name "nome_app" app_url -i icon_path --internal-urls "."
nativefier app_url --electron-version n.n.n
- Find electron versions at https://github.com/electron/electron/releases
- If after update app still asks to update Chrome do:
Open DevTools (Ctrl+Shift+i)
Application
Service Workers
Bypass for network
Reload (Ctrl+r)
Close DevTools
supervisorctl reread
supervisorctl update
sudo nmcli dev wifi
sudo nmcli dev wifi connect <your ssid> password <your pass>
kwriteconfig5 --file kwalletrc --group 'Wallet' --key 'Enabled' 'false'
kwriteconfig5 --file kwalletrc --group 'Wallet' --key 'First Use' 'false'
sudo update-alternatives --config default.plymouth
sudo update-initramfs -u
sudo gedit /etc/systemd/logind.conf
When the files opens, uncomment the line #HandleLidSwitch=suspend by removing **# in the beginning, and change the value to:
- HandleLidSwitch=poweroff, shutdown / power off when lid is closed.
- HandleLidSwitch=hibernate, hibernate when lid is closed (need to test if hibernate works).
- HandleLidSwitch=ignore, do nothing.
- HandleLidSwitch=suspend, suspend laptop when lid is closed.
systemctl restart systemd-logind.service
killall -3 gnome-shell
Run gnome-control-center aka the Settings application.
Remove the shortcut for Switch applications by clicking on it and deleting it with the backspace key, now press the Set button.
Now set Switch windows by clicking on it, then press Alt + Tab and click the Set button.
gnome-desktop-item-edit ~/.local/share/applications --create-new
You need to add a proper StartupWMClass
line to the .desktop
launcher corresponding to the application. Follow these steps:
-
Open Files and go to your
/usr/share/applications
folder. Look for the "Nightly" file (i.e. the launcher for the application you want to fix) and copy it. -
Paste the file in
~/.local/share/applications
. It should look like a file with the name<filename>.desktop
. -
Right click on this
.desktop
file and open with Text Editor. -
Launch "Nightly" (i.e. the application you want to fix) from "Activities".
-
Run
xprop WM_CLASS
in Terminal. -
Place the cursor over the opened "Nightly" window. The cursor should turn into a crosshair already. Click. You should get a
WM_CLASS
string for "Nightly" in Terminal. -
In the
.desktop
file opened in Text Editor and add the following lineStartupWMClass=OBTAINED-VALUE
In place of
OBTAINED-VALUE
put a value you got from step 6 without any quotes. -
Save the
.desktop
file.
$ VBoxManage clonehd disk.vdi disk.raw --format raw
qemu-img convert -f raw disk.raw -O qcow2 disk.qcow2
qemu-img convert -O qcow2 System.vmdk /<kvm_Guest_repo>/OL7U2.qcow2
Remove them from:
/etc/xdg/autostart/
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1
To re-enable just change the above commands with 0 in the place of 1
sudo su
mount
- Repare que na lista de dispositivos acima, o pen drive é o último item da lista. Após identificar o seu dispositivo, você deverá desmontá-lo:
umount “diretorio/dispositivo” (ex.: umount /dev/sdc1 ou umount /mnt/angel)
mkfs.vfat “diretorio/dispositivo”
Edit the file /var/nginx/nginx.conf and in the http directive add:
proxy_connect_timeout 300;
proxy_read_timeout 300;
proxy_send_timeout 300;
nohup budgie-panel --replace&
- For root:
crontab -l
- For other user:
crontab -u username -l
sudo find / -iname 'filename.ext' -print
sudo rm -rf /usr/lib/python2.7/lib-dynload/_hashlib.x86_64-linux-gnu.so
sudo apt install gnome-keyring
plasmashell --replace
sudo apt install linux-tools-generic linux-tools-`uname -r`
sudo apt install power-calibrate
power-calibrate -R -r 20 -d 5 -s 21 -n 0 -p
kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu"
qdbus org.kde.KWin /KWin reconfigure
You need to change the Exec= in order to work.
Open terminal and paste this
nano ~/.local/share/applications/odrive.desktop
[Desktop Entry]
Name=Open Drive
Comment=Simple google drive client
Exec=env XDG_CURRENT_DESKTOP=Unity odrive %U
Terminal=false
Type=Application
Icon=odrive
Categories=Network;
kill odrive and launch it again
m ufuncionar. Esse m
o rmmod/modprobe.
Entrar senha e reiniciar. Na reinicialização, repetir a senha digitada anteriormente.
sudo update-secureboot-policy --enroll-key
axel -n <connections> <URL>
chmod -R go-rwx /home/$USER/.ssh
sudo apt-get install kdenetwork-filesharing libsmbclient samba smbclient
Open your terminal and follow these steps:
We will use a PPA for adding Pipewire to Ubuntu 20.04, which is maintained regularly:
sudo add-apt-repository ppa:pipewire-debian/pipewire-upstream
To update the PPA packages in your system do:
sudo apt update
Install the package:
sudo apt install pipewire
There is also a dependency needed to be installed with Pipewire, otherwise you will face the issue of “Bluetooth headset won’t connect after installing pipewire”. Install the dependency by:
sudo apt install libspa-0.2-bluetooth
Now, to install the client libraries:
sudo apt install pipewire-audio-client-libraries
Reload the daemon:
systemctl --user daemon-reload
Disable PulseAudio:
systemctl --user --now disable pulseaudio.service pulseaudio.socket
If you are on Ubuntu 20.04, you also need to “mask” the PulseAudio by:
systemctl --user mask pulseaudio
I am not sure but, if possible, you can try to run this on other versions too.
9. After a new update of Pipewire, you also need to enable pipewire-media-session-service:
systemctl --user --now enable pipewire-media-session.service
You can ensure that Pipewire is now running through:
pactl info
This command will give the following output, in Server Name you can see:
PulseAudio (on PipeWire 0.3.28)
Things should be working by now and you can see your microphone.
If it doesn’t show up, then try restarting Pipewire by this command:
systemctl --user restart pipewire
If it’s still not showing your microphone, you can try rebooting once and remove and pair your Bluetooth device again to check if it works now.
I hope I have helped you solve your problem.
If you want to rollback all the changes we did, you can do it by using:
systemctl --user unmask pulseaudio
systemctl --user --now enable pulseaudio.service pulseaudio.socket
sudo nmcli connection import type openvpn file <file.opvpn>
Q: Latte v0.8 deactivates Borderless Maximized Windows from Active Window Control plasmoid, what can I do ?
A: Latte v0.8 supports BorderLess Maximized Windows per layout simultaneously. In order for this to work it had to support that feature internally. You can try the following:
Disable BorderLess Maximized Windows from "Active Window Control"
Go to Latte Settings -> Layouts -> Choose tab (Preferences) and enable "Support borderless maximized windows in different layouts"
Return to your layouts and a new column called "Borderless" must have been added, add a check mark in that column for the layout you want that feature and click Apply
Vlw man