In Gnome, use these libs and command to make QT apps follow GTK theming better:
sudo apt install qt5-style-plugins
sudo bash -c "echo 'QT_QPA_PLATFORMTHEME=gtk2' >> /etc/environment"
In Gnome, use these libs and command to make QT apps follow GTK theming better:
sudo apt install qt5-style-plugins
sudo bash -c "echo 'QT_QPA_PLATFORMTHEME=gtk2' >> /etc/environment"
Install socat
:
sudo apt install socat
then :
socat -d -d TCP-LISTEN:8080,reuseaddr,fork,bind=localhost TCP:$(grep -m 1 nameserver /etc/resolv.conf | awk '{print $2}'):1080
here I make windows service running at 1080 port number accessible within WSL2 localhost:8080 (e.g proxy running on windows)
. /etc/os-release
sudo sh -c "echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"
// Insert some data | |
db.product_categories.insertMany([ | |
{ | |
_id: 1, | |
name: 'Products', | |
parent_id: null | |
}, | |
{ | |
_id: 2, | |
name: 'Digital & Electronics', |
First you need docker
, brew
, XQuartz
and socat
on your host.
Now run this in new terminal :
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:"$DISPLAY"
Set static ip address to raspberry pi eth0
(ethernet) in /etc/network/interfaces.d/eth0
:
auto eth0
iface eth0 inet static
address 192.168.1.20/24
Uncomment IP forwarding from /etc/sysctl.conf
:
net.ipv4.ip_forward=1