extract
tar -xjvf firefox-65.0.tar.bz2 -C ~/bin/
create "new" profile so that it doesn't glitch with default one
firefox --ProfileManager
gnome integration:
create "firefox.desktop" file and copy it to ~/.local/share/applications
vim ~/.local/share/applications/firefox.desktop
[Desktop Entry]
Name=Firefox
Exec=/home/d/bin/firefox/firefox -no-remote -P ffox-latest
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/home/d/bin/firefox/browser/chrome/icons/default/default128.png
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;
StartupWMClass=Firefox
StartupNotify=true
make default browser when opened
-no-remote flag allows multiple instances
https://libre-software.net/how-to-install-firefox-on-ubuntu-linux-mint/
npr. 1024×768@60Hz:
/opt/vc/bin/tvservice --explicit='DMT 16 HDMI'
sudo apt-get install dnsmasq-base
1 Terminal: nm-connection-editor
2 Add a shared network connection by pressing the Add button.
3 Choose Ethernet from the list and press Create.
4 Click IPv4 Settings in the left.
5 Choose Shared to other computers by clicking the Method drop-down menu.
6 Enter a new name like Shared WiFi LAN as the Connection name at the top
Find the IP of the Pi on Ubuntu:
cat /var/lib/misc/dnsmasq.leases
Login to Pi:
ssh pi@IP
https://raspberrypi.stackexchange.com/questions/3867/ssh-to-rpi-without-a-network-connection
https://rhnvrm.github.io/2016-08-07-share-wifi-via-ethernet-gnome-3-20/
also works with shift (selection)
reset with:
setxkbmap
clear lock
keycode 66 = Mode_switch
keysym h = h H Left Left hstroke Hstroke
keysym j = j J Down Down dead_hook dead_horn
keysym k = k K Up Up lstroke ampersand
keysym l = l L Right Right lstroke Lstroke
https://superuser.com/questions/283548/remapping-capslock-key/
jack_control start
jack_control ds alsa
jack_control dps device hw:HD2
jack_control dps rate 48000
jack_control dps nperiods 2
jack_control dps period 64
sleep 10
a2jmidid -e &
sleep 10
qjackctl &
fluidsynth increase gain:
--gain 3
QjackCtl
Qsynth
sound bank? (fluid-soundfont-gm fluid-soundfont-gs)
PD:
add flag "-alsamidi" in the startup flags in pd preferencies
JACK connections:
Audio::: Qsynth --< System
ALSA::: puredata --< Qsynth
find device name:
sudo fdisk -l
write image to disk (+show progress)
sudo dd if=/dev/mmcblk0 of=~/Desktop/raspbian_backup.img status=progress
window snapping like in win 7
snapping windows like windows 7
ispravi:
-- umjesto em dasheveva
obični umjesto smart quotes
ispravni kod
https://ubuntuforums.org/showthread.php?t=2076433
maximize kao na windowsima
https://askubuntu.com/questions/305767/how-i-can-create-a-shortcut-to-maximize-minimize-windows-in-lubuntu