You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I have set up a Linux mint on WSL2. Base installation was ok, but there was more to do.
/etc/wsl.conf
These 2 disables the automounter, this is my PC and I decide which drive to mount
Don't forget the creation of /etc/fstab
[automount]
enabled = false
mountFsTab = true
These 2 disables the creation of /etc/hosts and /etc/resolv.conf ON-EVERY-BOOT
Man could set up these in 2 minutes, secondly you can configure your local nameserver here
[network]
generateHosts = false
generateResolvConf = false
/etc/fstab
I only want drives c, e, m mounted + the downloaded iso for installation of packages.
Create the mintiso mountpoint by hand
C: /mnt/c drvfs defaults 0 0
E: /mnt/e drvfs defaults 0 0
M: /mnt/m drvfs defaults 0 0
/mnt/e/linuxmint-22.2-cinnamon-64bit.iso /mnt/mintiso auto ro, loop 0 0
/etc/resolv.conf
Mint now uses my local nameserver
nameserver 192.168.1.2
nameserver 8.8.8.8
bashrc for root and user:
this is for Eclipse. Eclipse starts with too big Fonts without it
alias eclipse="export GDK_DPI_SCALE=0.8 && /opt/eclipse/eclipse"
this is for mc, because wsl throws me to the mounted windows home directory
cd ~
/home//.config/mc/panels.ini
this is for mc's right panel
[Dirs]
current_is_left=true
other_dir=/home/user
/opt/eclipse/eclipse.ini
Eclipse starts up in english language, this changes the language
-nl
de
These 6 are required if you want Eclipse with Windows-like Fonts, very nicer.
-vmargs
-Dswt.autoScale=100
-Dsun.awt.x11.enableClipboard=true
-Dawt.useSystemAAFontSettings=on
-Dswing.aatext=true
-Xms256m
-Xmx2048m
Additional packages:
Eclipse uses this package to get the places where fonts reside
after install do a fc-cache -fv manually on the console
fontconfig
Just for playing music on the console
cmus
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Recently I have set up a Linux mint on WSL2. Base installation was ok, but there was more to do.
/etc/wsl.conf
These 2 disables the automounter, this is my PC and I decide which drive to mount
Don't forget the creation of /etc/fstab
[automount]
enabled = false
mountFsTab = true
These 2 disables the creation of /etc/hosts and /etc/resolv.conf ON-EVERY-BOOT
Man could set up these in 2 minutes, secondly you can configure your local nameserver here
[network]
generateHosts = false
generateResolvConf = false
/etc/fstab
I only want drives c, e, m mounted + the downloaded iso for installation of packages.
Create the mintiso mountpoint by hand
C: /mnt/c drvfs defaults 0 0
E: /mnt/e drvfs defaults 0 0
M: /mnt/m drvfs defaults 0 0
/mnt/e/linuxmint-22.2-cinnamon-64bit.iso /mnt/mintiso auto ro, loop 0 0
/etc/resolv.conf
Mint now uses my local nameserver
nameserver 192.168.1.2
nameserver 8.8.8.8
bashrc for root and user:
this is for Eclipse. Eclipse starts with too big Fonts without it
alias eclipse="export GDK_DPI_SCALE=0.8 && /opt/eclipse/eclipse"
this is for mc, because wsl throws me to the mounted windows home directory
cd ~
/home//.config/mc/panels.ini
this is for mc's right panel
[Dirs]
current_is_left=true
other_dir=/home/user
/opt/eclipse/eclipse.ini
Eclipse starts up in english language, this changes the language
-nl
de
These 6 are required if you want Eclipse with Windows-like Fonts, very nicer.
-vmargs
-Dswt.autoScale=100
-Dsun.awt.x11.enableClipboard=true
-Dawt.useSystemAAFontSettings=on
-Dswing.aatext=true
-Xms256m
-Xmx2048m
Additional packages:
Eclipse uses this package to get the places where fonts reside
after install do a fc-cache -fv manually on the console
fontconfig
Just for playing music on the console
cmus
Beta Was this translation helpful? Give feedback.
All reactions