<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.track7.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Misterhaan</id>
	<title>auWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.track7.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Misterhaan"/>
	<link rel="alternate" type="text/html" href="https://wiki.track7.org/Special:Contributions/Misterhaan"/>
	<updated>2026-05-06T13:03:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_26.04_Resolute_Raccoon&amp;diff=1045</id>
		<title>User:Misterhaan/Ubuntu 26.04 Resolute Raccoon</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_26.04_Resolute_Raccoon&amp;diff=1045"/>
		<updated>2026-05-01T01:19:38Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: /* visual studio code */ update version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer’s utilities.  these instructions are what i did when i installed ubuntu cinnamon 26.04 resolute raccoon on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
choose language and keyboard, connect to wifi, then choose interactive installation.  i start with ubuntu cinnamon desktop (minimized) so there’s less to uninstall.  i do install third-party graphics and wifi as well as additional media formats.  as an upgrade i choose to erase my previous ubuntu and install over that, but there’s also an install alongside option for the initial setup keeping windows around.  i don’t use file encryption because i keep my important files on a server instead.&lt;br /&gt;
&lt;br /&gt;
name the computer and set up your username and password, then choose your time zone and you should be ready to install!&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i’m on my home network.  i can’t just do a normal mount because if i travel with my laptop, my home server isn’t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which usually doesn’t work without this step.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your ssid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`nmcli -t -f active,ssid dev wifi | egrep &#039;^yes&#039; | cut -d: -f2`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn’t have to wait for that to fail when they’re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you’re going to connect to your network with a cable it won’t see the ssid and you’ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can’t change your user id while you’re logged in, so i’ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set, though it may be necessary to restart if it tells you your original user is in use by a process (which it’s been doing to me with this process for a few years now).  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.  again, restart seems to be necessary as logging out doesn’t end all processes for the user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is back in the default install as of 23.10 and works great to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though if it wasn’t there for you:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for my home desktop — one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection.  switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work.  toward the bottom, you might need to check the box to ignore certificate because when i installed this version it still wouldn’t trust my work computer’s certificate after it asked me about it and i said to trust it.  save the connection.  on the first connection (we’ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login (if it’s not already checked).  under keyboard i remove the host key since i commonly use the right control key for normal keyboard shortcuts, and i don’t really need to give up another key for remmina shortcuts i don’t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn’t care about local mappings even when i check the box to use client keyboard mapping).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it’s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect with its network manager integration and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  set user agent to &amp;quot;AnyConnect&amp;quot; so it won&#039;t give a 404 error trying to connect.  i also needed to go to the ipv6 settings tab and disable it because otherwise my remote desktop connection fails.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  i have to click the login button in the window that pops up, then enter my work email, then my work password, then go to my phone and enter the number that shows on my laptop into the authenticator app, then verify my fingerprint.  there was a time openconnect would save my username and password even while anyconnect didn’t, but unfortunately that time has passed.  once it finishes connecting you should see the lock icon on your wifi.  disconnect either by deselecting the vpn the same way you selected it to connect or by shutting down the laptop.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they’re grouped into sections so i’m using those same groupings here.  if i don’t list a settings option it’s because i don’t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that’s where i put my own backgrounds.  this isn’t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the application and icon themes to a dark yaru one with the accent color i want.  under settings i set dark mode to prefer dark mode and turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven’t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %-e  &amp;lt;/code&amp;gt; (with two trailing spaces) to take up less space and use 12-hour time.  similarly set date format for tooltip to &amp;lt;code&amp;gt;%A, %B %e, %l:%M %p&amp;lt;/code&amp;gt; to use 12-hour time.  select corner bar and click the minus button at the bottom to remove it.  configure menu to use a custom icon and label, then set icon to &amp;lt;code&amp;gt;/usr/share/cinnamon/icons/ubuntucinnamon-symbolic.png&amp;lt;/code&amp;gt; and icon size to 28 to keep the same icon and clear the text so it doesn’t take up space.  also turn on menu animations.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  turn on overamplification at the bottom of the output tab, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like to use my own  background for the login screen.  set that here and then turn off draw user background to have a login background all the time.  set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt; for 12-hour format.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove pidgin rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install gimp puddletag xsane&lt;br /&gt;
&lt;br /&gt;
== firefox ==&lt;br /&gt;
=== touch scroll zoom ===&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
=== switch away from snap ===&lt;br /&gt;
ubuntu comes with firefox (and thunderbird) installed through snap, but i’ve had problems with it telling me firefox needs to update but can’t because it&#039;s running.  found these instructions on [omgubuntu.co.uk](https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04) — start by running these commands to remove the snap firefox and the apt redirect to snap firefox, trust mozilla’s signing, and add a mozilla source.&lt;br /&gt;
&lt;br /&gt;
 sudo snap remove firefox&lt;br /&gt;
 sudo apt remove firefox&lt;br /&gt;
 wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc &amp;gt; /dev/null&lt;br /&gt;
 echo &amp;quot;deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main&amp;quot; | sudo tee -a /etc/apt/sources.list.d/mozilla.list &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
then set priority to the mozilla source and suppress ubuntu’s redirect to snap:&lt;br /&gt;
&lt;br /&gt;
 echo &#039;&lt;br /&gt;
 Package: *&lt;br /&gt;
 Pin: origin packages.mozilla.org&lt;br /&gt;
 Pin-Priority: 1000&lt;br /&gt;
 &lt;br /&gt;
 Package: firefox*&lt;br /&gt;
 Pin: release o=Ubuntu&lt;br /&gt;
 Pin-Priority: -1&#039; | sudo tee /etc/apt/preferences.d/mozilla&lt;br /&gt;
&lt;br /&gt;
lastly, update to include the mozilla source and install that (now prioritized) firefox package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install firefox&lt;br /&gt;
&lt;br /&gt;
== steam ==&lt;br /&gt;
there’s a steam-installer in the repository but last i tried it failed to install.  looking for a solution i found someone claiming the apt package is a redirect to snap, and snap just doesn’t work well (maybe it’s not mature enough).  so instead, go to the steam website and download the installer from there.  it gave me a file named steam_latest.deb.  install it and dependencies with `sudo apt install ~/Downloads/steam_latest.deb` and then run steam to complete the installation and sign in to steam.&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn’t in the default apt repositories (it’s in snap but snap doesn’t update well), but downloading and installing the deb actually adds it to apt so it can keep updating.  note the filename will probably change to whichever version is current, so for the last two lines press the tab key to autocomplete after you’ve typed “code”:&lt;br /&gt;
&lt;br /&gt;
 wget &#039;https://code.visualstudio.com/sha/download?build=stable&amp;amp;os=linux-deb-x64&#039; --trust-server-names&lt;br /&gt;
 sudo dpkg -i code_1.118.1-1777474985_amd64.deb&lt;br /&gt;
 rm code_1.118.1-1777474985_amd64.deb&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
the official way to install zoom on ubuntu is to download the deb and install that, but it won’t auto-update and i end up having to manually update before every time i use it.  instead, set up a custom archive that will update itself with everything else.  start with installing apt-utils which is required but not in the default install as of 25.10:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install apt-utils&lt;br /&gt;
&lt;br /&gt;
next copy this into a script file (run &amp;lt;code&amp;gt;chmod +x install-zoom&amp;lt;/code&amp;gt; assuming you’ve saved it as install-zoom) and run it:&lt;br /&gt;
&lt;br /&gt;
 #!/usr/bin/env bash&lt;br /&gt;
 &lt;br /&gt;
 url=https://zoom.us/client/latest/zoom_amd64.deb&lt;br /&gt;
 debdir=/usr/local/zoomdebs&lt;br /&gt;
 aptconf=/etc/apt/apt.conf.d/100update_zoom&lt;br /&gt;
 sourcelist=/etc/apt/sources.list.d/zoomdebs.list&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir -p $debdir&lt;br /&gt;
 ( echo &#039;APT::Update::Pre-Invoke {&amp;quot;cd &#039;$debdir&#039; &amp;amp;&amp;amp; wget -qN &#039;$url&#039; &amp;amp;&amp;amp; apt-ftparchive packages . &amp;gt; Packages &amp;amp;&amp;amp; apt-ftparchive release . &amp;gt; Release&amp;quot;;};&#039; | sudo tee $aptconf&lt;br /&gt;
   echo &#039;deb [trusted=yes lang=none] file:&#039;$debdir&#039; ./&#039; | sudo tee $sourcelist&lt;br /&gt;
 ) &amp;gt;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install zoom&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_26.04_Resolute_Raccoon&amp;diff=1044</id>
		<title>User:Misterhaan/Ubuntu 26.04 Resolute Raccoon</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_26.04_Resolute_Raccoon&amp;diff=1044"/>
		<updated>2026-04-30T02:56:40Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer’s utilities.  these instructions are what i did when i installed ubuntu cinnamon 26.04 resolute raccoon on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
choose language and keyboard, connect to wifi, then choose interactive installation.  i start with ubuntu cinnamon desktop (minimized) so there’s less to uninstall.  i do install third-party graphics and wifi as well as additional media formats.  as an upgrade i choose to erase my previous ubuntu and install over that, but there’s also an install alongside option for the initial setup keeping windows around.  i don’t use file encryption because i keep my important files on a server instead.&lt;br /&gt;
&lt;br /&gt;
name the computer and set up your username and password, then choose your time zone and you should be ready to install!&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i’m on my home network.  i can’t just do a normal mount because if i travel with my laptop, my home server isn’t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which usually doesn’t work without this step.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your ssid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`nmcli -t -f active,ssid dev wifi | egrep &#039;^yes&#039; | cut -d: -f2`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn’t have to wait for that to fail when they’re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you’re going to connect to your network with a cable it won’t see the ssid and you’ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can’t change your user id while you’re logged in, so i’ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set, though it may be necessary to restart if it tells you your original user is in use by a process (which it’s been doing to me with this process for a few years now).  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.  again, restart seems to be necessary as logging out doesn’t end all processes for the user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is back in the default install as of 23.10 and works great to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though if it wasn’t there for you:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for my home desktop — one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection.  switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work.  toward the bottom, you might need to check the box to ignore certificate because when i installed this version it still wouldn’t trust my work computer’s certificate after it asked me about it and i said to trust it.  save the connection.  on the first connection (we’ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login (if it’s not already checked).  under keyboard i remove the host key since i commonly use the right control key for normal keyboard shortcuts, and i don’t really need to give up another key for remmina shortcuts i don’t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn’t care about local mappings even when i check the box to use client keyboard mapping).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it’s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect with its network manager integration and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  set user agent to &amp;quot;AnyConnect&amp;quot; so it won&#039;t give a 404 error trying to connect.  i also needed to go to the ipv6 settings tab and disable it because otherwise my remote desktop connection fails.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  i have to click the login button in the window that pops up, then enter my work email, then my work password, then go to my phone and enter the number that shows on my laptop into the authenticator app, then verify my fingerprint.  there was a time openconnect would save my username and password even while anyconnect didn’t, but unfortunately that time has passed.  once it finishes connecting you should see the lock icon on your wifi.  disconnect either by deselecting the vpn the same way you selected it to connect or by shutting down the laptop.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they’re grouped into sections so i’m using those same groupings here.  if i don’t list a settings option it’s because i don’t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that’s where i put my own backgrounds.  this isn’t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the application and icon themes to a dark yaru one with the accent color i want.  under settings i set dark mode to prefer dark mode and turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven’t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %-e  &amp;lt;/code&amp;gt; (with two trailing spaces) to take up less space and use 12-hour time.  similarly set date format for tooltip to &amp;lt;code&amp;gt;%A, %B %e, %l:%M %p&amp;lt;/code&amp;gt; to use 12-hour time.  select corner bar and click the minus button at the bottom to remove it.  configure menu to use a custom icon and label, then set icon to &amp;lt;code&amp;gt;/usr/share/cinnamon/icons/ubuntucinnamon-symbolic.png&amp;lt;/code&amp;gt; and icon size to 28 to keep the same icon and clear the text so it doesn’t take up space.  also turn on menu animations.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  turn on overamplification at the bottom of the output tab, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like to use my own  background for the login screen.  set that here and then turn off draw user background to have a login background all the time.  set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt; for 12-hour format.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove pidgin rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install gimp puddletag xsane&lt;br /&gt;
&lt;br /&gt;
== firefox ==&lt;br /&gt;
=== touch scroll zoom ===&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
=== switch away from snap ===&lt;br /&gt;
ubuntu comes with firefox (and thunderbird) installed through snap, but i’ve had problems with it telling me firefox needs to update but can’t because it&#039;s running.  found these instructions on [omgubuntu.co.uk](https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04) — start by running these commands to remove the snap firefox and the apt redirect to snap firefox, trust mozilla’s signing, and add a mozilla source.&lt;br /&gt;
&lt;br /&gt;
 sudo snap remove firefox&lt;br /&gt;
 sudo apt remove firefox&lt;br /&gt;
 wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc &amp;gt; /dev/null&lt;br /&gt;
 echo &amp;quot;deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main&amp;quot; | sudo tee -a /etc/apt/sources.list.d/mozilla.list &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
then set priority to the mozilla source and suppress ubuntu’s redirect to snap:&lt;br /&gt;
&lt;br /&gt;
 echo &#039;&lt;br /&gt;
 Package: *&lt;br /&gt;
 Pin: origin packages.mozilla.org&lt;br /&gt;
 Pin-Priority: 1000&lt;br /&gt;
 &lt;br /&gt;
 Package: firefox*&lt;br /&gt;
 Pin: release o=Ubuntu&lt;br /&gt;
 Pin-Priority: -1&#039; | sudo tee /etc/apt/preferences.d/mozilla&lt;br /&gt;
&lt;br /&gt;
lastly, update to include the mozilla source and install that (now prioritized) firefox package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install firefox&lt;br /&gt;
&lt;br /&gt;
== steam ==&lt;br /&gt;
there’s a steam-installer in the repository but last i tried it failed to install.  looking for a solution i found someone claiming the apt package is a redirect to snap, and snap just doesn’t work well (maybe it’s not mature enough).  so instead, go to the steam website and download the installer from there.  it gave me a file named steam_latest.deb.  install it and dependencies with `sudo apt install ~/Downloads/steam_latest.deb` and then run steam to complete the installation and sign in to steam.&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn’t in the default apt repositories (it’s in snap but snap doesn’t update well), but downloading and installing the deb actually adds it to apt so it can keep updating.  note the filename will probably change to whichever version is current, so for the last two lines press the tab key to autocomplete after you’ve typed “code”:&lt;br /&gt;
&lt;br /&gt;
 wget &#039;https://code.visualstudio.com/sha/download?build=stable&amp;amp;os=linux-deb-x64&#039; --trust-server-names&lt;br /&gt;
 sudo dpkg -i code_1.105.1-1760482543_amd64.deb&lt;br /&gt;
 rm code_1.105.1-1760482543_amd64.deb&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
the official way to install zoom on ubuntu is to download the deb and install that, but it won’t auto-update and i end up having to manually update before every time i use it.  instead, set up a custom archive that will update itself with everything else.  start with installing apt-utils which is required but not in the default install as of 25.10:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install apt-utils&lt;br /&gt;
&lt;br /&gt;
next copy this into a script file (run &amp;lt;code&amp;gt;chmod +x install-zoom&amp;lt;/code&amp;gt; assuming you’ve saved it as install-zoom) and run it:&lt;br /&gt;
&lt;br /&gt;
 #!/usr/bin/env bash&lt;br /&gt;
 &lt;br /&gt;
 url=https://zoom.us/client/latest/zoom_amd64.deb&lt;br /&gt;
 debdir=/usr/local/zoomdebs&lt;br /&gt;
 aptconf=/etc/apt/apt.conf.d/100update_zoom&lt;br /&gt;
 sourcelist=/etc/apt/sources.list.d/zoomdebs.list&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir -p $debdir&lt;br /&gt;
 ( echo &#039;APT::Update::Pre-Invoke {&amp;quot;cd &#039;$debdir&#039; &amp;amp;&amp;amp; wget -qN &#039;$url&#039; &amp;amp;&amp;amp; apt-ftparchive packages . &amp;gt; Packages &amp;amp;&amp;amp; apt-ftparchive release . &amp;gt; Release&amp;quot;;};&#039; | sudo tee $aptconf&lt;br /&gt;
   echo &#039;deb [trusted=yes lang=none] file:&#039;$debdir&#039; ./&#039; | sudo tee $sourcelist&lt;br /&gt;
 ) &amp;gt;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install zoom&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan&amp;diff=1043</id>
		<title>User:Misterhaan</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan&amp;diff=1043"/>
		<updated>2026-04-29T05:03:23Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: add 26.04&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I’m misterhaan, the owner of [http://www.track7.org/ track7], which includes auWiki.  I wrote everything here so far (there are no [[Special:Listusers|other users]] yet!).&lt;br /&gt;
&lt;br /&gt;
My own notes which may someday appear on track7 somewhere (mostly in the [http://www.track7.org/geek/guides/ guides / tips section]):&lt;br /&gt;
* [[/Nuvexport Tweaks|Nuvexport Tweaks]]&lt;br /&gt;
* [[User:Misterhaan/Dual Booting Ubuntu and Vista|Dual Booting Ubuntu and Vista]]&lt;br /&gt;
** [[User:Misterhaan/Windows 10 Setup|Windows 10 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 8.1 Setup|Windows 8.1 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 8 Setup|Windows 8 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 7 Setup|Windows 7 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Vista Setup|Vista Setup]]&lt;br /&gt;
** [[User:Misterhaan/Linux Client Setup|Linux Client Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 26.04 Resolute Raccoon|Ubuntu 26.04 Resolute Raccoon]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 25.10 Questing Quokka Setup|Ubuntu 25.10 Questing Quokka Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 25.04 Plucky Puffin Setup|Ubuntu 25.04 Plucky Puffin Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 24.10 Oracular Oriole Setup|Ubuntu 24.10 Oracular Oriole Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 24.04 Noble Numbat Setup|Ubuntu 24.04 Noble Numbat Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 23.10 Mantic Minotaur Setup|Ubuntu 23.10 Mantic Minotaur Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 23.04 Lunar Lobster Setup|Ubuntu 23.04 Lunar Lobster Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup|Ubuntu 22.10 Kinetic Kudu Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 22.04 Jammy Jellyfish Setup|Ubuntu 22.04 Jammy Jellyfish Setup]]&lt;br /&gt;
** [[User:Misterhaan/Linux Virtual Machine Setup|Linux Virtual Machine Setup]]&lt;br /&gt;
* [[/Basic Ubuntu Setup]]&lt;br /&gt;
** [[/HTPC Setup]]&lt;br /&gt;
* [[User:Misterhaan/Dreamhost SVN Setup|Dreamhost SVN Setup]]&lt;br /&gt;
&lt;br /&gt;
These reviews are for adventures made in Spore Galactic Adventures, which I am slowly posting on the Spore forums.&lt;br /&gt;
* [[User:Misterhaan/HUAR|HUAR]]&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_26.04_Resolute_Raccoon&amp;diff=1042</id>
		<title>User:Misterhaan/Ubuntu 26.04 Resolute Raccoon</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_26.04_Resolute_Raccoon&amp;diff=1042"/>
		<updated>2026-04-29T05:03:07Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: Created page with &amp;quot;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer’s utilities.  these instructions are what i did when i installed ubuntu cinnamon 26.04 resolute raccoon on my laptop westinghouse.  choose language and keyboard, connect to wifi, then choose interactive installation.  i start with ubuntu cin...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer’s utilities.  these instructions are what i did when i installed ubuntu cinnamon 26.04 resolute raccoon on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
choose language and keyboard, connect to wifi, then choose interactive installation.  i start with ubuntu cinnamon desktop (minimized) so there’s less to uninstall.  i do install third-party graphics and wifi as well as additional media formats.  as an upgrade i choose to erase my previous ubuntu and install over that, but there’s also an install alongside option for the initial setup keeping windows around.  i don’t use file encryption because i keep my important files on a server instead.&lt;br /&gt;
&lt;br /&gt;
name the computer and set up your username and password, then choose your time zone and you should be ready to install!&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i’m on my home network.  i can’t just do a normal mount because if i travel with my laptop, my home server isn’t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which usually doesn’t work without this step.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your ssid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`nmcli -t -f active,ssid dev wifi | egrep &#039;^yes&#039; | cut -d: -f2`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn’t have to wait for that to fail when they’re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you’re going to connect to your network with a cable it won’t see the ssid and you’ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can’t change your user id while you’re logged in, so i’ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set, though it may be necessary to restart if it tells you your original user is in use by a process (which it’s been doing to me with this process for a few years now).  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.  again, restart seems to be necessary as logging out doesn’t end all processes for the user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is back in the default install as of 23.10 and works great to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though if it wasn’t there for you:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for my home desktop — one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection.  switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work.  toward the bottom, you might need to check the box to ignore certificate because when i installed this version it still wouldn’t trust my work computer’s certificate after it asked me about it and i said to trust it.  save the connection.  on the first connection (we’ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login (if it’s not already checked).  under keyboard i remove the host key since i commonly use the right control key for normal keyboard shortcuts, and i don’t really need to give up another key for remmina shortcuts i don’t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn’t care about local mappings even when i check the box to use client keyboard mapping).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it’s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect with its network manager integration and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  set user agent to &amp;quot;AnyConnect&amp;quot; so it won&#039;t give a 404 error trying to connect.  i also needed to go to the ipv6 settings tab and disable it because otherwise my remote desktop connection fails.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  i have to click the login button in the window that pops up, then enter my work email, then my work password, then go to my phone and enter the number that shows on my laptop into the authenticator app, then verify my fingerprint.  there was a time openconnect would save my username and password even while anyconnect didn’t, but unfortunately that time has passed.  once it finishes connecting you should see the lock icon on your wifi.  disconnect either by deselecting the vpn the same way you selected it to connect or by shutting down the laptop.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they’re grouped into sections so i’m using those same groupings here.  if i don’t list a settings option it’s because i don’t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that’s where i put my own backgrounds.  this isn’t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the application and icon themes to a dark yaru one with the accent color i want.  under settings i set dark mode to prefer dark mode and turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven’t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %-e  &amp;lt;/code&amp;gt; (with two trailing spaces) to take up less space and use 12-hour time.  similarly set date format for tooltip to &amp;lt;code&amp;gt;%A, %B %e, %l:%M %p&amp;lt;/code&amp;gt; to use 12-hour time.  select corner bar and click the minus button at the bottom to remove it.  configure menu to use a custom icon and label, then set icon to &amp;lt;code&amp;gt;/usr/share/cinnamon/icons/ubuntucinnamon-symbolic.png&amp;lt;/code&amp;gt; and icon size to 28 to keep the same icon and clear the text so it doesn’t take up space.  also turn on menu animations.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  turn on overamplification at the bottom of the output tab, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like to use my own  background for the login screen.  set that here and then turn off draw user background to have a login background all the time.  set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt; for 12-hour format.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove pidgin rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install gimp puddletag xsane&lt;br /&gt;
&lt;br /&gt;
== firefox ==&lt;br /&gt;
=== touch scroll zoom ===&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
=== switch away from snap ===&lt;br /&gt;
ubuntu comes with firefox (and thunderbird) installed through snap, but i’ve had problems with it telling me firefox needs to update but can’t because it&#039;s running.  found these instructions on [omgubuntu.co.uk](https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04) — start by running these commands to remove the snap firefox and the apt redirect to snap firefox, trust mozilla’s signing, and add a mozilla source.&lt;br /&gt;
&lt;br /&gt;
 sudo snap remove firefox&lt;br /&gt;
 sudo apt remove firefox&lt;br /&gt;
 wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc &amp;gt; /dev/null&lt;br /&gt;
 echo &amp;quot;deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main&amp;quot; | sudo tee -a /etc/apt/sources.list.d/mozilla.list &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
then set priority to the mozilla source and suppress ubuntu’s redirect to snap:&lt;br /&gt;
&lt;br /&gt;
 echo &#039;&lt;br /&gt;
 Package: *&lt;br /&gt;
 Pin: origin packages.mozilla.org&lt;br /&gt;
 Pin-Priority: 1000&lt;br /&gt;
 &lt;br /&gt;
 Package: firefox*&lt;br /&gt;
 Pin: release o=Ubuntu&lt;br /&gt;
 Pin-Priority: -1&#039; | sudo tee /etc/apt/preferences.d/mozilla&lt;br /&gt;
&lt;br /&gt;
lastly, update to include the mozilla source and install that (now prioritized) firefox package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install firefox&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_25.10_Questing_Quokka_Setup&amp;diff=1041</id>
		<title>User:Misterhaan/Ubuntu 25.10 Questing Quokka Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_25.10_Questing_Quokka_Setup&amp;diff=1041"/>
		<updated>2025-10-24T03:38:31Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: /* work vpn */ useragent override&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer’s utilities.  these instructions are what i did when i installed ubuntu cinnamon 25.10 questing quokka on my laptop westinghouse.  i started with ubuntu cinnamon desktop (minimized) so there’s less to uninstall.  i do install third-party graphics and wifi as well as additional media formats.  as an upgrade i choose to erase my previous ubuntu and install over that, but there’s also an install alongside option for the initial setup keeping windows around.  i don’t use file encryption because i keep my important files on a server instead.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i’m on my home network.  i can’t just do a normal mount because if i travel with my laptop, my home server isn’t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which usually doesn’t work without this step.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your ssid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`nmcli -t -f active,ssid dev wifi | egrep &#039;^yes&#039; | cut -d: -f2`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn’t have to wait for that to fail when they’re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you’re going to connect to your network with a cable it won’t see the ssid and you’ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can’t change your user id while you’re logged in, so i’ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set, though it may be necessary to restart if it tells you your original user is in use by a process.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.  again, restart seems to be necessary as logging out doesn’t end all processes for the user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is back in the default install as of 23.10 and works great to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though if it wasn’t there for you:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for my home desktop -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection.  switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work.  toward the bottom, you might need to check the box to ignore certificates because when i installed this version it still wouldn’t trust my work computer’s certificate after it asked me about it and i said to trust it.  save the connection.  on the first connection (we’ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login (if it’s not already checked).  under keyboard i remove the host key since i commonly use the right control key for normal keyboard shortcuts, and i don’t really need to give up another key for remmina shortcuts i don’t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn’t care about local mappings even when i check the box to use client keyboard mapping).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it’s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  set user agent to &amp;quot;AnyConnect&amp;quot; so it won&#039;t give a 404 error trying to connect.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone — my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they’re grouped into sections so i’m using those same groupings here.  if i don’t list a settings option it’s because i don’t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that’s where i put my own backgrounds.  this isn’t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the application and icon themes to a dark yaru one with the accent color i want.  under settings i set dark mode to prefer dark mode and turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven’t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %-e  &amp;lt;/code&amp;gt; (with two trailing spaces) to take up less space and use 12-hour time.  similarly set date format for tooltip to &amp;lt;code&amp;gt;%A, %B %e, %l:%M %p&amp;lt;/code&amp;gt; to use 12-hour time.  select corner bar and click the minus button at the bottom to remove it.  configure menu to use a custom icon and label, then set icon to &amp;lt;code&amp;gt;/usr/share/cinnamon/icons/ubuntucinnamon-symbolic.png&amp;lt;/code&amp;gt; and icon size to 28 to keep the same icon and clear the text so it doesn’t take up space.  also turn on menu animations.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  turn on overamplification at the bottom of the output tab, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like to use my own  background for the login screen.  set that here and then turn off draw user background to have a login background all the time.  set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt; for 12-hour format.&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove pidgin rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install gimp puddletag xsane&lt;br /&gt;
&lt;br /&gt;
== firefox ==&lt;br /&gt;
ubuntu comes with firefox (and thunderbird) installed through snap, but i’ve had problems with it telling me firefox needs to update but can’t because it&#039;s running.  found these instructions on [omgubuntu.co.uk](https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04) — start by running these commands to remove the snap firefox and the apt redirect to snap firefox, trust mozilla’s signing, and add a mozilla source.&lt;br /&gt;
&lt;br /&gt;
 sudo snap remove firefox&lt;br /&gt;
 sudo apt remove firefox&lt;br /&gt;
 wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc &amp;gt; /dev/null&lt;br /&gt;
 echo &amp;quot;deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main&amp;quot; | sudo tee -a /etc/apt/sources.list.d/mozilla.list &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
then set priority to the mozilla source and suppress ubuntu’s redirect to snap:&lt;br /&gt;
&lt;br /&gt;
 echo &#039;&lt;br /&gt;
 Package: *&lt;br /&gt;
 Pin: origin packages.mozilla.org&lt;br /&gt;
 Pin-Priority: 1000&lt;br /&gt;
 &lt;br /&gt;
 Package: firefox*&lt;br /&gt;
 Pin: release o=Ubuntu&lt;br /&gt;
 Pin-Priority: -1&#039; | sudo tee /etc/apt/preferences.d/mozilla&lt;br /&gt;
&lt;br /&gt;
lastly, update to include the mozilla source and install that (now prioritized) firefox package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install firefox&lt;br /&gt;
&lt;br /&gt;
== steam ==&lt;br /&gt;
there’s a steam-installer in the repository but it fails to install.  looking for a solution i found someone claiming the apt package is a redirect to snap, and snap just doesn’t work well (maybe it’s not mature enough).  so instead, go to the steam website and download the installer from there.  it gave me a file named steam_latest.deb.  install it and dependencies with `sudo apt install ~/Downloads/steam_latest.deb` and then run steam to complete the installation and sign in to steam.&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn’t in the default apt repositories (it’s in snap but snap doesn’t update well), but downloading and installing the deb actually adds it to apt so it can keep updating.  note the filename will probably change to whichever version is current, so for the last two lines press the tab key to autocomplete after you’ve typed “code”:&lt;br /&gt;
&lt;br /&gt;
 wget &#039;https://code.visualstudio.com/sha/download?build=stable&amp;amp;os=linux-deb-x64&#039; --trust-server-names&lt;br /&gt;
 sudo dpkg -i code_1.105.1-1760482543_amd64.deb&lt;br /&gt;
 rm code_1.105.1-1760482543_amd64.deb&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
the official way to install zoom on ubuntu is to download the deb and install that, but it won’t auto-update and i end up having to manually update before every time i use it.  instead, set up a custom archive that will update itself with everything else.  start with installing apt-utils which is required but not in the default install as of 25.10:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install apt-utils&lt;br /&gt;
&lt;br /&gt;
next copy this into a script file (run &amp;lt;code&amp;gt;chmod +x install-zoom&amp;lt;/code&amp;gt; assuming you’ve saved it as install-zoom) and run it:&lt;br /&gt;
&lt;br /&gt;
 #!/usr/bin/env bash&lt;br /&gt;
 &lt;br /&gt;
 url=https://zoom.us/client/latest/zoom_amd64.deb&lt;br /&gt;
 debdir=/usr/local/zoomdebs&lt;br /&gt;
 aptconf=/etc/apt/apt.conf.d/100update_zoom&lt;br /&gt;
 sourcelist=/etc/apt/sources.list.d/zoomdebs.list&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir -p $debdir&lt;br /&gt;
 ( echo &#039;APT::Update::Pre-Invoke {&amp;quot;cd &#039;$debdir&#039; &amp;amp;&amp;amp; wget -qN &#039;$url&#039; &amp;amp;&amp;amp; apt-ftparchive packages . &amp;gt; Packages &amp;amp;&amp;amp; apt-ftparchive release . &amp;gt; Release&amp;quot;;};&#039; | sudo tee $aptconf&lt;br /&gt;
   echo &#039;deb [trusted=yes lang=none] file:&#039;$debdir&#039; ./&#039; | sudo tee $sourcelist&lt;br /&gt;
 ) &amp;gt;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install zoom&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_25.10_Questing_Quokka_Setup&amp;diff=1040</id>
		<title>User:Misterhaan/Ubuntu 25.10 Questing Quokka Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_25.10_Questing_Quokka_Setup&amp;diff=1040"/>
		<updated>2025-10-23T22:51:01Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: add instructions for apt-utils&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer’s utilities.  these instructions are what i did when i installed ubuntu cinnamon 25.10 questing quokka on my laptop westinghouse.  i started with ubuntu cinnamon desktop (minimized) so there’s less to uninstall.  i do install third-party graphics and wifi as well as additional media formats.  as an upgrade i choose to erase my previous ubuntu and install over that, but there’s also an install alongside option for the initial setup keeping windows around.  i don’t use file encryption because i keep my important files on a server instead.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i’m on my home network.  i can’t just do a normal mount because if i travel with my laptop, my home server isn’t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which usually doesn’t work without this step.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your ssid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`nmcli -t -f active,ssid dev wifi | egrep &#039;^yes&#039; | cut -d: -f2`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn’t have to wait for that to fail when they’re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you’re going to connect to your network with a cable it won’t see the ssid and you’ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can’t change your user id while you’re logged in, so i’ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set, though it may be necessary to restart if it tells you your original user is in use by a process.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.  again, restart seems to be necessary as logging out doesn’t end all processes for the user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is back in the default install as of 23.10 and works great to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though if it wasn’t there for you:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for my home desktop -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection.  switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work.  toward the bottom, you might need to check the box to ignore certificates because when i installed this version it still wouldn’t trust my work computer’s certificate after it asked me about it and i said to trust it.  save the connection.  on the first connection (we’ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login (if it’s not already checked).  under keyboard i remove the host key since i commonly use the right control key for normal keyboard shortcuts, and i don’t really need to give up another key for remmina shortcuts i don’t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn’t care about local mappings even when i check the box to use client keyboard mapping).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it’s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone — my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they’re grouped into sections so i’m using those same groupings here.  if i don’t list a settings option it’s because i don’t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that’s where i put my own backgrounds.  this isn’t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the application and icon themes to a dark yaru one with the accent color i want.  under settings i set dark mode to prefer dark mode and turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven’t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %-e  &amp;lt;/code&amp;gt; (with two trailing spaces) to take up less space and use 12-hour time.  similarly set date format for tooltip to &amp;lt;code&amp;gt;%A, %B %e, %l:%M %p&amp;lt;/code&amp;gt; to use 12-hour time.  select corner bar and click the minus button at the bottom to remove it.  configure menu to use a custom icon and label, then set icon to &amp;lt;code&amp;gt;/usr/share/cinnamon/icons/ubuntucinnamon-symbolic.png&amp;lt;/code&amp;gt; and icon size to 28 to keep the same icon and clear the text so it doesn’t take up space.  also turn on menu animations.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  turn on overamplification at the bottom of the output tab, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like to use my own  background for the login screen.  set that here and then turn off draw user background to have a login background all the time.  set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt; for 12-hour format.&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove pidgin rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install gimp puddletag xsane&lt;br /&gt;
&lt;br /&gt;
== firefox ==&lt;br /&gt;
ubuntu comes with firefox (and thunderbird) installed through snap, but i’ve had problems with it telling me firefox needs to update but can’t because it&#039;s running.  found these instructions on [omgubuntu.co.uk](https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04) — start by running these commands to remove the snap firefox and the apt redirect to snap firefox, trust mozilla’s signing, and add a mozilla source.&lt;br /&gt;
&lt;br /&gt;
 sudo snap remove firefox&lt;br /&gt;
 sudo apt remove firefox&lt;br /&gt;
 wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc &amp;gt; /dev/null&lt;br /&gt;
 echo &amp;quot;deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main&amp;quot; | sudo tee -a /etc/apt/sources.list.d/mozilla.list &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
then set priority to the mozilla source and suppress ubuntu’s redirect to snap:&lt;br /&gt;
&lt;br /&gt;
 echo &#039;&lt;br /&gt;
 Package: *&lt;br /&gt;
 Pin: origin packages.mozilla.org&lt;br /&gt;
 Pin-Priority: 1000&lt;br /&gt;
 &lt;br /&gt;
 Package: firefox*&lt;br /&gt;
 Pin: release o=Ubuntu&lt;br /&gt;
 Pin-Priority: -1&#039; | sudo tee /etc/apt/preferences.d/mozilla&lt;br /&gt;
&lt;br /&gt;
lastly, update to include the mozilla source and install that (now prioritized) firefox package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install firefox&lt;br /&gt;
&lt;br /&gt;
== steam ==&lt;br /&gt;
there’s a steam-installer in the repository but it fails to install.  looking for a solution i found someone claiming the apt package is a redirect to snap, and snap just doesn’t work well (maybe it’s not mature enough).  so instead, go to the steam website and download the installer from there.  it gave me a file named steam_latest.deb.  install it and dependencies with `sudo apt install ~/Downloads/steam_latest.deb` and then run steam to complete the installation and sign in to steam.&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn’t in the default apt repositories (it’s in snap but snap doesn’t update well), but downloading and installing the deb actually adds it to apt so it can keep updating.  note the filename will probably change to whichever version is current, so for the last two lines press the tab key to autocomplete after you’ve typed “code”:&lt;br /&gt;
&lt;br /&gt;
 wget &#039;https://code.visualstudio.com/sha/download?build=stable&amp;amp;os=linux-deb-x64&#039; --trust-server-names&lt;br /&gt;
 sudo dpkg -i code_1.105.1-1760482543_amd64.deb&lt;br /&gt;
 rm code_1.105.1-1760482543_amd64.deb&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
the official way to install zoom on ubuntu is to download the deb and install that, but it won’t auto-update and i end up having to manually update before every time i use it.  instead, set up a custom archive that will update itself with everything else.  start with installing apt-utils which is required but not in the default install as of 25.10:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install apt-utils&lt;br /&gt;
&lt;br /&gt;
next copy this into a script file (run &amp;lt;code&amp;gt;chmod +x install-zoom&amp;lt;/code&amp;gt; assuming you’ve saved it as install-zoom) and run it:&lt;br /&gt;
&lt;br /&gt;
 #!/usr/bin/env bash&lt;br /&gt;
 &lt;br /&gt;
 url=https://zoom.us/client/latest/zoom_amd64.deb&lt;br /&gt;
 debdir=/usr/local/zoomdebs&lt;br /&gt;
 aptconf=/etc/apt/apt.conf.d/100update_zoom&lt;br /&gt;
 sourcelist=/etc/apt/sources.list.d/zoomdebs.list&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir -p $debdir&lt;br /&gt;
 ( echo &#039;APT::Update::Pre-Invoke {&amp;quot;cd &#039;$debdir&#039; &amp;amp;&amp;amp; wget -qN &#039;$url&#039; &amp;amp;&amp;amp; apt-ftparchive packages . &amp;gt; Packages &amp;amp;&amp;amp; apt-ftparchive release . &amp;gt; Release&amp;quot;;};&#039; | sudo tee $aptconf&lt;br /&gt;
   echo &#039;deb [trusted=yes lang=none] file:&#039;$debdir&#039; ./&#039; | sudo tee $sourcelist&lt;br /&gt;
 ) &amp;gt;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install zoom&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_25.10_Questing_Quokka_Setup&amp;diff=1039</id>
		<title>User:Misterhaan/Ubuntu 25.10 Questing Quokka Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_25.10_Questing_Quokka_Setup&amp;diff=1039"/>
		<updated>2025-10-22T03:16:56Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: more setup progress&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer’s utilities.  these instructions are what i did when i installed ubuntu cinnamon 25.10 questing quokka on my laptop westinghouse.  i started with ubuntu cinnamon desktop (minimized) so there’s less to uninstall.  i do install third-party graphics and wifi as well as additional media formats.  as an upgrade i choose to erase my previous ubuntu and install over that, but there’s also an install alongside option for the initial setup keeping windows around.  i don’t use file encryption because i keep my important files on a server instead.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i’m on my home network.  i can’t just do a normal mount because if i travel with my laptop, my home server isn’t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which usually doesn’t work without this step.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your ssid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`nmcli -t -f active,ssid dev wifi | egrep &#039;^yes&#039; | cut -d: -f2`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn’t have to wait for that to fail when they’re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you’re going to connect to your network with a cable it won’t see the ssid and you’ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can’t change your user id while you’re logged in, so i’ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set, though it may be necessary to restart if it tells you your original user is in use by a process.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.  again, restart seems to be necessary as logging out doesn’t end all processes for the user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is back in the default install as of 23.10 and works great to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though if it wasn’t there for you:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for my home desktop -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection.  switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work.  toward the bottom, you might need to check the box to ignore certificates because when i installed this version it still wouldn’t trust my work computer’s certificate after it asked me about it and i said to trust it.  save the connection.  on the first connection (we’ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login (if it’s not already checked).  under keyboard i remove the host key since i commonly use the right control key for normal keyboard shortcuts, and i don’t really need to give up another key for remmina shortcuts i don’t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn’t care about local mappings even when i check the box to use client keyboard mapping).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it’s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone — my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they’re grouped into sections so i’m using those same groupings here.  if i don’t list a settings option it’s because i don’t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that’s where i put my own backgrounds.  this isn’t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the application and icon themes to a dark yaru one with the accent color i want.  under settings i set dark mode to prefer dark mode and turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven’t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %-e  &amp;lt;/code&amp;gt; (with two trailing spaces) to take up less space and use 12-hour time.  similarly set date format for tooltip to &amp;lt;code&amp;gt;%A, %B %e, %l:%M %p&amp;lt;/code&amp;gt; to use 12-hour time.  select corner bar and click the minus button at the bottom to remove it.  configure menu to use a custom icon and label, then set icon to &amp;lt;code&amp;gt;/usr/share/cinnamon/icons/ubuntucinnamon-symbolic.png&amp;lt;/code&amp;gt; and icon size to 28 to keep the same icon and clear the text so it doesn’t take up space.  also turn on menu animations.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  turn on overamplification at the bottom of the output tab, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like to use my own  background for the login screen.  set that here and then turn off draw user background to have a login background all the time.  set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt; for 12-hour format.&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove pidgin rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install gimp puddletag xsane&lt;br /&gt;
&lt;br /&gt;
== firefox ==&lt;br /&gt;
ubuntu comes with firefox (and thunderbird) installed through snap, but i’ve had problems with it telling me firefox needs to update but can’t because it&#039;s running.  found these instructions on [omgubuntu.co.uk](https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04) — start by running these commands to remove the snap firefox and the apt redirect to snap firefox, trust mozilla’s signing, and add a mozilla source.&lt;br /&gt;
&lt;br /&gt;
 sudo snap remove firefox&lt;br /&gt;
 sudo apt remove firefox&lt;br /&gt;
 wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc &amp;gt; /dev/null&lt;br /&gt;
 echo &amp;quot;deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main&amp;quot; | sudo tee -a /etc/apt/sources.list.d/mozilla.list &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
then set priority to the mozilla source and suppress ubuntu’s redirect to snap:&lt;br /&gt;
&lt;br /&gt;
 echo &#039;&lt;br /&gt;
 Package: *&lt;br /&gt;
 Pin: origin packages.mozilla.org&lt;br /&gt;
 Pin-Priority: 1000&lt;br /&gt;
 &lt;br /&gt;
 Package: firefox*&lt;br /&gt;
 Pin: release o=Ubuntu&lt;br /&gt;
 Pin-Priority: -1&#039; | sudo tee /etc/apt/preferences.d/mozilla&lt;br /&gt;
&lt;br /&gt;
lastly, update to include the mozilla source and install that (now prioritized) firefox package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install firefox&lt;br /&gt;
&lt;br /&gt;
== steam ==&lt;br /&gt;
there’s a steam-installer in the repository but it fails to install.  looking for a solution i found someone claiming the apt package is a redirect to snap, and snap just doesn’t work well (maybe it’s not mature enough).  so instead, go to the steam website and download the installer from there.  it gave me a file named steam_latest.deb.  install it and dependencies with `sudo apt install ~/Downloads/steam_latest.deb` and then run steam to complete the installation and sign in to steam.&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn’t in the default apt repositories (it’s in snap but snap doesn’t update well), but downloading and installing the deb actually adds it to apt so it can keep updating.  note the filename will probably change to whichever version is current, so for the last two lines press the tab key to autocomplete after you’ve typed “code”:&lt;br /&gt;
&lt;br /&gt;
 wget &#039;https://code.visualstudio.com/sha/download?build=stable&amp;amp;os=linux-deb-x64&#039; --trust-server-names&lt;br /&gt;
 sudo dpkg -i code_1.105.1-1760482543_amd64.deb&lt;br /&gt;
 rm code_1.105.1-1760482543_amd64.deb&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
the official way to install zoom on ubuntu is to download the deb and install that, but it won’t auto-update and i end up having to manually update before every time i use it.  instead, copy this into a script file (run &amp;lt;code&amp;gt;chmod +x install-zoom&amp;lt;/code&amp;gt; assuming you’ve saved it as install-zoom) and run it:&lt;br /&gt;
&lt;br /&gt;
 #!/usr/bin/env bash&lt;br /&gt;
 &lt;br /&gt;
 url=https://zoom.us/client/latest/zoom_amd64.deb&lt;br /&gt;
 debdir=/usr/local/zoomdebs&lt;br /&gt;
 aptconf=/etc/apt/apt.conf.d/100update_zoom&lt;br /&gt;
 sourcelist=/etc/apt/sources.list.d/zoomdebs.list&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir -p $debdir&lt;br /&gt;
 ( echo &#039;APT::Update::Pre-Invoke {&amp;quot;cd &#039;$debdir&#039; &amp;amp;&amp;amp; wget -qN &#039;$url&#039; &amp;amp;&amp;amp; apt-ftparchive packages . &amp;gt; Packages &amp;amp;&amp;amp; apt-ftparchive release . &amp;gt; Release&amp;quot;;};&#039; | sudo tee $aptconf&lt;br /&gt;
   echo &#039;deb [trusted=yes lang=none] file:&#039;$debdir&#039; ./&#039; | sudo tee $sourcelist&lt;br /&gt;
 ) &amp;gt;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install zoom&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan&amp;diff=1038</id>
		<title>User:Misterhaan</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan&amp;diff=1038"/>
		<updated>2025-10-21T12:21:21Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: add 25.10 inscrutions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I’m misterhaan, the owner of [http://www.track7.org/ track7], which includes auWiki.  I wrote everything here so far (there are no [[Special:Listusers|other users]] yet!).&lt;br /&gt;
&lt;br /&gt;
My own notes which may someday appear on track7 somewhere (mostly in the [http://www.track7.org/geek/guides/ guides / tips section]):&lt;br /&gt;
* [[/Nuvexport Tweaks|Nuvexport Tweaks]]&lt;br /&gt;
* [[User:Misterhaan/Dual Booting Ubuntu and Vista|Dual Booting Ubuntu and Vista]]&lt;br /&gt;
** [[User:Misterhaan/Windows 10 Setup|Windows 10 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 8.1 Setup|Windows 8.1 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 8 Setup|Windows 8 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 7 Setup|Windows 7 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Vista Setup|Vista Setup]]&lt;br /&gt;
** [[User:Misterhaan/Linux Client Setup|Linux Client Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 25.10 Questing Quokka Setup|Ubuntu 25.10 Questing Quokka Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 25.04 Plucky Puffin Setup|Ubuntu 25.04 Plucky Puffin Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 24.10 Oracular Oriole Setup|Ubuntu 24.10 Oracular Oriole Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 24.04 Noble Numbat Setup|Ubuntu 24.04 Noble Numbat Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 23.10 Mantic Minotaur Setup|Ubuntu 23.10 Mantic Minotaur Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 23.04 Lunar Lobster Setup|Ubuntu 23.04 Lunar Lobster Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup|Ubuntu 22.10 Kinetic Kudu Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 22.04 Jammy Jellyfish Setup|Ubuntu 22.04 Jammy Jellyfish Setup]]&lt;br /&gt;
** [[User:Misterhaan/Linux Virtual Machine Setup|Linux Virtual Machine Setup]]&lt;br /&gt;
* [[/Basic Ubuntu Setup]]&lt;br /&gt;
** [[/HTPC Setup]]&lt;br /&gt;
* [[User:Misterhaan/Dreamhost SVN Setup|Dreamhost SVN Setup]]&lt;br /&gt;
&lt;br /&gt;
These reviews are for adventures made in Spore Galactic Adventures, which I am slowly posting on the Spore forums.&lt;br /&gt;
* [[User:Misterhaan/HUAR|HUAR]]&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_25.04_Plucky_Puffin_Setup&amp;diff=1037</id>
		<title>User:Misterhaan/Ubuntu 25.04 Plucky Puffin Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_25.04_Plucky_Puffin_Setup&amp;diff=1037"/>
		<updated>2025-10-21T12:20:59Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: fix version number&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.  these instructions are what i did when i installed ubuntu cinnamon 25.04 plucky puffin on my laptop westinghouse.  i started with ubuntu cinnamon desktop (minimized) so there’s less to uninstall.  i do install third-party graphics and wifi as well as additional media formats.  glad to see this version the installer brought back the option to erase my old ubuntu and install over that.&lt;br /&gt;
&lt;br /&gt;
= fix boot getting stuck =&lt;br /&gt;
for a few versions now, my laptop tends to get stuck booting linux if it’s showing the ubuntu splash screen, so i might need 3 or 4 attempts to actually get it to a usable desktop.  to turn off the splash screen, edit &amp;lt;code&amp;gt;/etc/default/grub&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/default/grub&amp;lt;/code&amp;gt; and change the &amp;lt;code&amp;gt;GRUB_CMDLINE_LINUX_DEFAULT&amp;lt;/code&amp;gt; line (for me it was line 10) by removing &amp;lt;code&amp;gt;quiet&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;splash&amp;lt;/code&amp;gt;.  for me this left it as &amp;lt;code&amp;gt;GRUB_CMDLINE_LINUX_DEFAULT=&amp;quot;&amp;quot;&amp;lt;/code&amp;gt;.  save the file and then run &amp;lt;code&amp;gt;sudo update-grub&amp;lt;/code&amp;gt; to apply the change.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which usually doesn&#039;t work without this step.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your ssid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`nmcli -t -f active,ssid dev wifi | egrep &#039;^yes&#039; | cut -d: -f2`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it won&#039;t see the ssid and you&#039;ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set, though it may be necessary to restart if it tells you your original user is in use by a process.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is back in the default install as of 23.10 and works great to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though if it wasn&#039;t there for you:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for my home desktop -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection.  switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work.  toward the bottom, you might need to check the box to ignore certificates because when i installed this version it still wouldn’t trust my work computer’s certificate after it asked me about it and i said to trust it.  save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login (if it’s not already checked).  under keyboard i remove the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings even when i check the box to use client keyboard mapping).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone — my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== enable dark mode ==&lt;br /&gt;
by default ubuntu cinnamon uses a dark theme, but doesn’t tell all apps they should do that too.  not sure why this isn&#039;t in system settings anywhere, but this tells gtk 4 applications such as firefox and the text editor that they should show a dark mode theme:&lt;br /&gt;
&lt;br /&gt;
 gsettings set org.gnome.desktop.interface color-scheme prefer-dark&lt;br /&gt;
&lt;br /&gt;
i had firefox open when i entered this command and it immediately switched!&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they’re grouped into sections so i’m using those same groupings here.  if i don’t list a settings option it’s because i don’t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that’s where i put my own backgrounds.  this isn’t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the application and icon themes to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven’t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %-e  &amp;lt;/code&amp;gt; (with two trailing spaces) to take up less space and use 12-hour time.  similarly set date format for tooltip to &amp;lt;code&amp;gt;%A, %B %e, %l:%M %p&amp;lt;/code&amp;gt; to use 12-hour time.  select corner bar and click the minus button at the bottom to remove it.  configure menu to use a custom icon and label, then set icon to &amp;lt;code&amp;gt;/usr/share/cinnamon/icons/ubuntucinnamon-symbolic.png&amp;lt;/code&amp;gt; and icon size to 28 to keep the same icon and clear the text so it doesn’t take up space.  also turn on menu animations.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  turn on overamplification at the bottom of the output tab, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like to use my own  background for the login screen.  set that here and then turn off draw user background to have a login background all the time.  set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt; for 12-hour format.&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove pidgin rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install gimp puddletag xsane&lt;br /&gt;
&lt;br /&gt;
== firefox ==&lt;br /&gt;
ubuntu comes with firefox (and thunderbird) installed through snap, but i’ve had problems with it telling me firefox needs to update but can’t because it&#039;s running.  found these instructions on [omgubuntu.co.uk](https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04) — start by running these commands to remove the snap firefox and the apt redirect to snap firefox, trust mozilla’s signing, and add a mozilla source.&lt;br /&gt;
&lt;br /&gt;
 sudo snap remove firefox&lt;br /&gt;
 sudo apt remove firefox&lt;br /&gt;
 wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc &amp;gt; /dev/null&lt;br /&gt;
 echo &amp;quot;deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main&amp;quot; | sudo tee -a /etc/apt/sources.list.d/mozilla.list &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
then set priority to the mozilla source and suppress ubuntu’s redirect to snap:&lt;br /&gt;
&lt;br /&gt;
 echo &#039;&lt;br /&gt;
 Package: *&lt;br /&gt;
 Pin: origin packages.mozilla.org&lt;br /&gt;
 Pin-Priority: 1000&lt;br /&gt;
 &lt;br /&gt;
 Package: firefox*&lt;br /&gt;
 Pin: release o=Ubuntu&lt;br /&gt;
 Pin-Priority: -1&#039; | sudo tee /etc/apt/preferences.d/mozilla&lt;br /&gt;
&lt;br /&gt;
lastly, update to include the mozilla source and install that (now prioritized) firefox package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install firefox&lt;br /&gt;
&lt;br /&gt;
== steam ==&lt;br /&gt;
there’s a steam-installer in the repository but it fails to install.  looking for a solution i found someone claiming the apt package is a redirect to snap, and snap just doesn’t work well (maybe it’s not mature enough).  so instead, go to the steam website and download the installer from there.  it gave me a file named steam_latest.deb.  install it and dependencies with `sudo apt install ~/Downloads/steam_latest.deb` and then run steam to complete the installation and sign in to steam.&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn’t in the default apt repositories (it’s in snap but snap doesn’t update well), but downloading and installing the deb actually adds it to apt so it can keep updating.  note the filename will probably change to whichever version is current, so for the last two lines press the tab key to autocomplete after you’ve typed “code”:&lt;br /&gt;
&lt;br /&gt;
 wget &#039;https://code.visualstudio.com/sha/download?build=stable&amp;amp;os=linux-deb-x64&#039; --trust-server-names&lt;br /&gt;
 sudo dpkg -i code_1.99.3-1744761595_amd64.deb&lt;br /&gt;
 rm code_1.99.3-1744761595_amd64.deb&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
the official way to install zoom on ubuntu is to download the deb and install that, but it won’t auto-update and i end up having to manually update before every time i use it.  instead, copy this into a script file (run &amp;lt;code&amp;gt;chmod +x install-zoom&amp;lt;/code&amp;gt; assuming you’ve saved it as install-zoom) and run it:&lt;br /&gt;
&lt;br /&gt;
 #!/usr/bin/env bash&lt;br /&gt;
 &lt;br /&gt;
 url=https://zoom.us/client/latest/zoom_amd64.deb&lt;br /&gt;
 debdir=/usr/local/zoomdebs&lt;br /&gt;
 aptconf=/etc/apt/apt.conf.d/100update_zoom&lt;br /&gt;
 sourcelist=/etc/apt/sources.list.d/zoomdebs.list&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir -p $debdir&lt;br /&gt;
 ( echo &#039;APT::Update::Pre-Invoke {&amp;quot;cd &#039;$debdir&#039; &amp;amp;&amp;amp; wget -qN &#039;$url&#039; &amp;amp;&amp;amp; apt-ftparchive packages . &amp;gt; Packages &amp;amp;&amp;amp; apt-ftparchive release . &amp;gt; Release&amp;quot;;};&#039; | sudo tee $aptconf&lt;br /&gt;
   echo &#039;deb [trusted=yes lang=none] file:&#039;$debdir&#039; ./&#039; | sudo tee $sourcelist&lt;br /&gt;
 ) &amp;gt;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install zoom&lt;br /&gt;
&lt;br /&gt;
== minecraft ==&lt;br /&gt;
my son’s laptop isn’t powerful enough to run minecraft with mods, so he sometimes borrows my laptop.  he gets my custom mod pack that i build through [curseforge](https://www.curseforge.com/download/app) but just built into the minecraft launcher so he doesn’t get distracted by the curseforge ads.&lt;br /&gt;
&lt;br /&gt;
before you can do anything you need java, so grab openjdk which is the default:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install default-jre&lt;br /&gt;
&lt;br /&gt;
next get the minecraft launcher for debian from https://www.minecraft.net/en-us/download, which will be easier from linux because windows will show you the windows download first and you&#039;ll have to look for linux options.  this should get you a Minecraft.deb file which you can install using apt so it also installs any dependencies (use the correct path if you downloaded it somewhere else):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install ~/Downloads/Minecraft.deb&lt;br /&gt;
&lt;br /&gt;
at this point i needed to reboot and log in to the account that’s going to play minecraft, because otherwise it was crashing back out to the login screen.  run the minecraft launcher, which may ask you to set a keyring password.  this is optional, so you can leave it blank if you don’t want a password for your passwords stored on your keyring.  sign in with the microsoft account that’s going to play minecraft.  if you’re going to continue through installing forge and some mods, you should now close the minecraft launcher.&lt;br /&gt;
&lt;br /&gt;
now find the exact minecraft+forge version at https://files.minecraftforge.net/net/minecraftforge/forge/ (you’ll need to click show all versions to get the correct forge version after selecting the page for your minecraft version).  find the direct download link by pointing at the information icon next to the installer for your version and download.  start the installer with:&lt;br /&gt;
&lt;br /&gt;
 java -jar forge-*-installer.jar&lt;br /&gt;
&lt;br /&gt;
(use tab to autocomplete the filename.)  if it warns that it can’t find a directory, make sure you’ve gone far enough with the minecraft launcher so it gets created first.  it should have install client selected already, so click ok to install it.&lt;br /&gt;
&lt;br /&gt;
this should have created a mods directory under ~/.minecraft where you can put your mods.  similarly, config and defaultconfigs are next to that.  copy those in and run the minecraft launcher again.  the forge installation should be chosen by default, and playing that should include the mods.&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_25.10_Questing_Quokka_Setup&amp;diff=1036</id>
		<title>User:Misterhaan/Ubuntu 25.10 Questing Quokka Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_25.10_Questing_Quokka_Setup&amp;diff=1036"/>
		<updated>2025-10-21T12:20:17Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: start 25.10 instructions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer’s utilities.  these instructions are what i did when i installed ubuntu cinnamon 25.10 questing quokka on my laptop westinghouse.  i started with ubuntu cinnamon desktop (minimized) so there’s less to uninstall.  i do install third-party graphics and wifi as well as additional media formats.  as an upgrade i choose to erase my previous ubuntu and install over that, but there’s also an install alongside option for the initial setup keeping windows around.  i don’t use file encryption because i keep my important files on a server instead.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i’m on my home network.  i can’t just do a normal mount because if i travel with my laptop, my home server isn’t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which usually doesn’t work without this step.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your ssid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`nmcli -t -f active,ssid dev wifi | egrep &#039;^yes&#039; | cut -d: -f2`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn’t have to wait for that to fail when they’re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you’re going to connect to your network with a cable it won’t see the ssid and you’ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can’t change your user id while you’re logged in, so i’ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set, though it may be necessary to restart if it tells you your original user is in use by a process.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.  again, restart seems to be necessary as logging out doesn’t end all processes for the user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is back in the default install as of 23.10 and works great to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though if it wasn’t there for you:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for my home desktop -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection.  switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work.  toward the bottom, you might need to check the box to ignore certificates because when i installed this version it still wouldn’t trust my work computer’s certificate after it asked me about it and i said to trust it.  save the connection.  on the first connection (we’ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login (if it’s not already checked).  under keyboard i remove the host key since i commonly use the right control key for normal keyboard shortcuts, and i don’t really need to give up another key for remmina shortcuts i don’t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn’t care about local mappings even when i check the box to use client keyboard mapping).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it’s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone — my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=MediaWiki:Vector-2022.css&amp;diff=1035</id>
		<title>MediaWiki:Vector-2022.css</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=MediaWiki:Vector-2022.css&amp;diff=1035"/>
		<updated>2025-10-09T20:38:01Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: Created page with &amp;quot;.mw-logo .mw-logo-icon { width: auto; }&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;.mw-logo .mw-logo-icon { width: auto; }&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=MediaWiki:Vector.css&amp;diff=1034</id>
		<title>MediaWiki:Vector.css</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=MediaWiki:Vector.css&amp;diff=1034"/>
		<updated>2025-10-09T20:32:10Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;/* All CSS here will be loaded for users of the Vector skin */&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=MediaWiki:Vector.css&amp;diff=1033</id>
		<title>MediaWiki:Vector.css</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=MediaWiki:Vector.css&amp;diff=1033"/>
		<updated>2025-10-09T20:18:15Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: support non-square logo &amp;quot;icon&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;/* All CSS here will be loaded for users of the Vector skin */&lt;br /&gt;
.mw-logo .mw-logo-icon { width: auto; }&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_25.04_Plucky_Puffin_Setup&amp;diff=1032</id>
		<title>User:Misterhaan/Ubuntu 25.04 Plucky Puffin Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_25.04_Plucky_Puffin_Setup&amp;diff=1032"/>
		<updated>2025-10-09T18:55:52Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: /* remote control */ note that use client keyboard mapping doesn&amp;#039;t work&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.  these instructions are what i did when i installed ubuntu cinnamon 25.05 plucky puffin on my laptop westinghouse.  i started with ubuntu cinnamon desktop (minimized) so there’s less to uninstall.  i do install third-party graphics and wifi as well as additional media formats.  glad to see this version the installer brought back the option to erase my old ubuntu and install over that.&lt;br /&gt;
&lt;br /&gt;
= fix boot getting stuck =&lt;br /&gt;
for a few versions now, my laptop tends to get stuck booting linux if it’s showing the ubuntu splash screen, so i might need 3 or 4 attempts to actually get it to a usable desktop.  to turn off the splash screen, edit &amp;lt;code&amp;gt;/etc/default/grub&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/default/grub&amp;lt;/code&amp;gt; and change the &amp;lt;code&amp;gt;GRUB_CMDLINE_LINUX_DEFAULT&amp;lt;/code&amp;gt; line (for me it was line 10) by removing &amp;lt;code&amp;gt;quiet&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;splash&amp;lt;/code&amp;gt;.  for me this left it as &amp;lt;code&amp;gt;GRUB_CMDLINE_LINUX_DEFAULT=&amp;quot;&amp;quot;&amp;lt;/code&amp;gt;.  save the file and then run &amp;lt;code&amp;gt;sudo update-grub&amp;lt;/code&amp;gt; to apply the change.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which usually doesn&#039;t work without this step.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your ssid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`nmcli -t -f active,ssid dev wifi | egrep &#039;^yes&#039; | cut -d: -f2`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it won&#039;t see the ssid and you&#039;ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set, though it may be necessary to restart if it tells you your original user is in use by a process.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is back in the default install as of 23.10 and works great to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though if it wasn&#039;t there for you:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for my home desktop -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection.  switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work.  toward the bottom, you might need to check the box to ignore certificates because when i installed this version it still wouldn’t trust my work computer’s certificate after it asked me about it and i said to trust it.  save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login (if it’s not already checked).  under keyboard i remove the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings even when i check the box to use client keyboard mapping).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone — my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== enable dark mode ==&lt;br /&gt;
by default ubuntu cinnamon uses a dark theme, but doesn’t tell all apps they should do that too.  not sure why this isn&#039;t in system settings anywhere, but this tells gtk 4 applications such as firefox and the text editor that they should show a dark mode theme:&lt;br /&gt;
&lt;br /&gt;
 gsettings set org.gnome.desktop.interface color-scheme prefer-dark&lt;br /&gt;
&lt;br /&gt;
i had firefox open when i entered this command and it immediately switched!&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they’re grouped into sections so i’m using those same groupings here.  if i don’t list a settings option it’s because i don’t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that’s where i put my own backgrounds.  this isn’t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the application and icon themes to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven’t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %-e  &amp;lt;/code&amp;gt; (with two trailing spaces) to take up less space and use 12-hour time.  similarly set date format for tooltip to &amp;lt;code&amp;gt;%A, %B %e, %l:%M %p&amp;lt;/code&amp;gt; to use 12-hour time.  select corner bar and click the minus button at the bottom to remove it.  configure menu to use a custom icon and label, then set icon to &amp;lt;code&amp;gt;/usr/share/cinnamon/icons/ubuntucinnamon-symbolic.png&amp;lt;/code&amp;gt; and icon size to 28 to keep the same icon and clear the text so it doesn’t take up space.  also turn on menu animations.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  turn on overamplification at the bottom of the output tab, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like to use my own  background for the login screen.  set that here and then turn off draw user background to have a login background all the time.  set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt; for 12-hour format.&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove pidgin rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install gimp puddletag xsane&lt;br /&gt;
&lt;br /&gt;
== firefox ==&lt;br /&gt;
ubuntu comes with firefox (and thunderbird) installed through snap, but i’ve had problems with it telling me firefox needs to update but can’t because it&#039;s running.  found these instructions on [omgubuntu.co.uk](https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04) — start by running these commands to remove the snap firefox and the apt redirect to snap firefox, trust mozilla’s signing, and add a mozilla source.&lt;br /&gt;
&lt;br /&gt;
 sudo snap remove firefox&lt;br /&gt;
 sudo apt remove firefox&lt;br /&gt;
 wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc &amp;gt; /dev/null&lt;br /&gt;
 echo &amp;quot;deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main&amp;quot; | sudo tee -a /etc/apt/sources.list.d/mozilla.list &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
then set priority to the mozilla source and suppress ubuntu’s redirect to snap:&lt;br /&gt;
&lt;br /&gt;
 echo &#039;&lt;br /&gt;
 Package: *&lt;br /&gt;
 Pin: origin packages.mozilla.org&lt;br /&gt;
 Pin-Priority: 1000&lt;br /&gt;
 &lt;br /&gt;
 Package: firefox*&lt;br /&gt;
 Pin: release o=Ubuntu&lt;br /&gt;
 Pin-Priority: -1&#039; | sudo tee /etc/apt/preferences.d/mozilla&lt;br /&gt;
&lt;br /&gt;
lastly, update to include the mozilla source and install that (now prioritized) firefox package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install firefox&lt;br /&gt;
&lt;br /&gt;
== steam ==&lt;br /&gt;
there’s a steam-installer in the repository but it fails to install.  looking for a solution i found someone claiming the apt package is a redirect to snap, and snap just doesn’t work well (maybe it’s not mature enough).  so instead, go to the steam website and download the installer from there.  it gave me a file named steam_latest.deb.  install it and dependencies with `sudo apt install ~/Downloads/steam_latest.deb` and then run steam to complete the installation and sign in to steam.&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn’t in the default apt repositories (it’s in snap but snap doesn’t update well), but downloading and installing the deb actually adds it to apt so it can keep updating.  note the filename will probably change to whichever version is current, so for the last two lines press the tab key to autocomplete after you’ve typed “code”:&lt;br /&gt;
&lt;br /&gt;
 wget &#039;https://code.visualstudio.com/sha/download?build=stable&amp;amp;os=linux-deb-x64&#039; --trust-server-names&lt;br /&gt;
 sudo dpkg -i code_1.99.3-1744761595_amd64.deb&lt;br /&gt;
 rm code_1.99.3-1744761595_amd64.deb&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
the official way to install zoom on ubuntu is to download the deb and install that, but it won’t auto-update and i end up having to manually update before every time i use it.  instead, copy this into a script file (run &amp;lt;code&amp;gt;chmod +x install-zoom&amp;lt;/code&amp;gt; assuming you’ve saved it as install-zoom) and run it:&lt;br /&gt;
&lt;br /&gt;
 #!/usr/bin/env bash&lt;br /&gt;
 &lt;br /&gt;
 url=https://zoom.us/client/latest/zoom_amd64.deb&lt;br /&gt;
 debdir=/usr/local/zoomdebs&lt;br /&gt;
 aptconf=/etc/apt/apt.conf.d/100update_zoom&lt;br /&gt;
 sourcelist=/etc/apt/sources.list.d/zoomdebs.list&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir -p $debdir&lt;br /&gt;
 ( echo &#039;APT::Update::Pre-Invoke {&amp;quot;cd &#039;$debdir&#039; &amp;amp;&amp;amp; wget -qN &#039;$url&#039; &amp;amp;&amp;amp; apt-ftparchive packages . &amp;gt; Packages &amp;amp;&amp;amp; apt-ftparchive release . &amp;gt; Release&amp;quot;;};&#039; | sudo tee $aptconf&lt;br /&gt;
   echo &#039;deb [trusted=yes lang=none] file:&#039;$debdir&#039; ./&#039; | sudo tee $sourcelist&lt;br /&gt;
 ) &amp;gt;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install zoom&lt;br /&gt;
&lt;br /&gt;
== minecraft ==&lt;br /&gt;
my son’s laptop isn’t powerful enough to run minecraft with mods, so he sometimes borrows my laptop.  he gets my custom mod pack that i build through [curseforge](https://www.curseforge.com/download/app) but just built into the minecraft launcher so he doesn’t get distracted by the curseforge ads.&lt;br /&gt;
&lt;br /&gt;
before you can do anything you need java, so grab openjdk which is the default:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install default-jre&lt;br /&gt;
&lt;br /&gt;
next get the minecraft launcher for debian from https://www.minecraft.net/en-us/download, which will be easier from linux because windows will show you the windows download first and you&#039;ll have to look for linux options.  this should get you a Minecraft.deb file which you can install using apt so it also installs any dependencies (use the correct path if you downloaded it somewhere else):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install ~/Downloads/Minecraft.deb&lt;br /&gt;
&lt;br /&gt;
at this point i needed to reboot and log in to the account that’s going to play minecraft, because otherwise it was crashing back out to the login screen.  run the minecraft launcher, which may ask you to set a keyring password.  this is optional, so you can leave it blank if you don’t want a password for your passwords stored on your keyring.  sign in with the microsoft account that’s going to play minecraft.  if you’re going to continue through installing forge and some mods, you should now close the minecraft launcher.&lt;br /&gt;
&lt;br /&gt;
now find the exact minecraft+forge version at https://files.minecraftforge.net/net/minecraftforge/forge/ (you’ll need to click show all versions to get the correct forge version after selecting the page for your minecraft version).  find the direct download link by pointing at the information icon next to the installer for your version and download.  start the installer with:&lt;br /&gt;
&lt;br /&gt;
 java -jar forge-*-installer.jar&lt;br /&gt;
&lt;br /&gt;
(use tab to autocomplete the filename.)  if it warns that it can’t find a directory, make sure you’ve gone far enough with the minecraft launcher so it gets created first.  it should have install client selected already, so click ok to install it.&lt;br /&gt;
&lt;br /&gt;
this should have created a mods directory under ~/.minecraft where you can put your mods.  similarly, config and defaultconfigs are next to that.  copy those in and run the minecraft launcher again.  the forge installation should be chosen by default, and playing that should include the mods.&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_25.04_Plucky_Puffin_Setup&amp;diff=1031</id>
		<title>User:Misterhaan/Ubuntu 25.04 Plucky Puffin Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_25.04_Plucky_Puffin_Setup&amp;diff=1031"/>
		<updated>2025-10-09T18:53:23Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: /* configuration */ add gtk dark mode&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.  these instructions are what i did when i installed ubuntu cinnamon 25.05 plucky puffin on my laptop westinghouse.  i started with ubuntu cinnamon desktop (minimized) so there’s less to uninstall.  i do install third-party graphics and wifi as well as additional media formats.  glad to see this version the installer brought back the option to erase my old ubuntu and install over that.&lt;br /&gt;
&lt;br /&gt;
= fix boot getting stuck =&lt;br /&gt;
for a few versions now, my laptop tends to get stuck booting linux if it’s showing the ubuntu splash screen, so i might need 3 or 4 attempts to actually get it to a usable desktop.  to turn off the splash screen, edit &amp;lt;code&amp;gt;/etc/default/grub&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/default/grub&amp;lt;/code&amp;gt; and change the &amp;lt;code&amp;gt;GRUB_CMDLINE_LINUX_DEFAULT&amp;lt;/code&amp;gt; line (for me it was line 10) by removing &amp;lt;code&amp;gt;quiet&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;splash&amp;lt;/code&amp;gt;.  for me this left it as &amp;lt;code&amp;gt;GRUB_CMDLINE_LINUX_DEFAULT=&amp;quot;&amp;quot;&amp;lt;/code&amp;gt;.  save the file and then run &amp;lt;code&amp;gt;sudo update-grub&amp;lt;/code&amp;gt; to apply the change.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which usually doesn&#039;t work without this step.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your ssid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`nmcli -t -f active,ssid dev wifi | egrep &#039;^yes&#039; | cut -d: -f2`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it won&#039;t see the ssid and you&#039;ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set, though it may be necessary to restart if it tells you your original user is in use by a process.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is back in the default install as of 23.10 and works great to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though if it wasn&#039;t there for you:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for my home desktop -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection.  switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work.  toward the bottom, you might need to check the box to ignore certificates because when i installed this version it still wouldn’t trust my work computer’s certificate after it asked me about it and i said to trust it.  save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login (if it’s not already checked).  under keyboard i remove the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone — my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== enable dark mode ==&lt;br /&gt;
by default ubuntu cinnamon uses a dark theme, but doesn’t tell all apps they should do that too.  not sure why this isn&#039;t in system settings anywhere, but this tells gtk 4 applications such as firefox and the text editor that they should show a dark mode theme:&lt;br /&gt;
&lt;br /&gt;
 gsettings set org.gnome.desktop.interface color-scheme prefer-dark&lt;br /&gt;
&lt;br /&gt;
i had firefox open when i entered this command and it immediately switched!&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they’re grouped into sections so i’m using those same groupings here.  if i don’t list a settings option it’s because i don’t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that’s where i put my own backgrounds.  this isn’t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the application and icon themes to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven’t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %-e  &amp;lt;/code&amp;gt; (with two trailing spaces) to take up less space and use 12-hour time.  similarly set date format for tooltip to &amp;lt;code&amp;gt;%A, %B %e, %l:%M %p&amp;lt;/code&amp;gt; to use 12-hour time.  select corner bar and click the minus button at the bottom to remove it.  configure menu to use a custom icon and label, then set icon to &amp;lt;code&amp;gt;/usr/share/cinnamon/icons/ubuntucinnamon-symbolic.png&amp;lt;/code&amp;gt; and icon size to 28 to keep the same icon and clear the text so it doesn’t take up space.  also turn on menu animations.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  turn on overamplification at the bottom of the output tab, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like to use my own  background for the login screen.  set that here and then turn off draw user background to have a login background all the time.  set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt; for 12-hour format.&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove pidgin rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install gimp puddletag xsane&lt;br /&gt;
&lt;br /&gt;
== firefox ==&lt;br /&gt;
ubuntu comes with firefox (and thunderbird) installed through snap, but i’ve had problems with it telling me firefox needs to update but can’t because it&#039;s running.  found these instructions on [omgubuntu.co.uk](https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04) — start by running these commands to remove the snap firefox and the apt redirect to snap firefox, trust mozilla’s signing, and add a mozilla source.&lt;br /&gt;
&lt;br /&gt;
 sudo snap remove firefox&lt;br /&gt;
 sudo apt remove firefox&lt;br /&gt;
 wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc &amp;gt; /dev/null&lt;br /&gt;
 echo &amp;quot;deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main&amp;quot; | sudo tee -a /etc/apt/sources.list.d/mozilla.list &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
then set priority to the mozilla source and suppress ubuntu’s redirect to snap:&lt;br /&gt;
&lt;br /&gt;
 echo &#039;&lt;br /&gt;
 Package: *&lt;br /&gt;
 Pin: origin packages.mozilla.org&lt;br /&gt;
 Pin-Priority: 1000&lt;br /&gt;
 &lt;br /&gt;
 Package: firefox*&lt;br /&gt;
 Pin: release o=Ubuntu&lt;br /&gt;
 Pin-Priority: -1&#039; | sudo tee /etc/apt/preferences.d/mozilla&lt;br /&gt;
&lt;br /&gt;
lastly, update to include the mozilla source and install that (now prioritized) firefox package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install firefox&lt;br /&gt;
&lt;br /&gt;
== steam ==&lt;br /&gt;
there’s a steam-installer in the repository but it fails to install.  looking for a solution i found someone claiming the apt package is a redirect to snap, and snap just doesn’t work well (maybe it’s not mature enough).  so instead, go to the steam website and download the installer from there.  it gave me a file named steam_latest.deb.  install it and dependencies with `sudo apt install ~/Downloads/steam_latest.deb` and then run steam to complete the installation and sign in to steam.&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn’t in the default apt repositories (it’s in snap but snap doesn’t update well), but downloading and installing the deb actually adds it to apt so it can keep updating.  note the filename will probably change to whichever version is current, so for the last two lines press the tab key to autocomplete after you’ve typed “code”:&lt;br /&gt;
&lt;br /&gt;
 wget &#039;https://code.visualstudio.com/sha/download?build=stable&amp;amp;os=linux-deb-x64&#039; --trust-server-names&lt;br /&gt;
 sudo dpkg -i code_1.99.3-1744761595_amd64.deb&lt;br /&gt;
 rm code_1.99.3-1744761595_amd64.deb&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
the official way to install zoom on ubuntu is to download the deb and install that, but it won’t auto-update and i end up having to manually update before every time i use it.  instead, copy this into a script file (run &amp;lt;code&amp;gt;chmod +x install-zoom&amp;lt;/code&amp;gt; assuming you’ve saved it as install-zoom) and run it:&lt;br /&gt;
&lt;br /&gt;
 #!/usr/bin/env bash&lt;br /&gt;
 &lt;br /&gt;
 url=https://zoom.us/client/latest/zoom_amd64.deb&lt;br /&gt;
 debdir=/usr/local/zoomdebs&lt;br /&gt;
 aptconf=/etc/apt/apt.conf.d/100update_zoom&lt;br /&gt;
 sourcelist=/etc/apt/sources.list.d/zoomdebs.list&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir -p $debdir&lt;br /&gt;
 ( echo &#039;APT::Update::Pre-Invoke {&amp;quot;cd &#039;$debdir&#039; &amp;amp;&amp;amp; wget -qN &#039;$url&#039; &amp;amp;&amp;amp; apt-ftparchive packages . &amp;gt; Packages &amp;amp;&amp;amp; apt-ftparchive release . &amp;gt; Release&amp;quot;;};&#039; | sudo tee $aptconf&lt;br /&gt;
   echo &#039;deb [trusted=yes lang=none] file:&#039;$debdir&#039; ./&#039; | sudo tee $sourcelist&lt;br /&gt;
 ) &amp;gt;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install zoom&lt;br /&gt;
&lt;br /&gt;
== minecraft ==&lt;br /&gt;
my son’s laptop isn’t powerful enough to run minecraft with mods, so he sometimes borrows my laptop.  he gets my custom mod pack that i build through [curseforge](https://www.curseforge.com/download/app) but just built into the minecraft launcher so he doesn’t get distracted by the curseforge ads.&lt;br /&gt;
&lt;br /&gt;
before you can do anything you need java, so grab openjdk which is the default:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install default-jre&lt;br /&gt;
&lt;br /&gt;
next get the minecraft launcher for debian from https://www.minecraft.net/en-us/download, which will be easier from linux because windows will show you the windows download first and you&#039;ll have to look for linux options.  this should get you a Minecraft.deb file which you can install using apt so it also installs any dependencies (use the correct path if you downloaded it somewhere else):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install ~/Downloads/Minecraft.deb&lt;br /&gt;
&lt;br /&gt;
at this point i needed to reboot and log in to the account that’s going to play minecraft, because otherwise it was crashing back out to the login screen.  run the minecraft launcher, which may ask you to set a keyring password.  this is optional, so you can leave it blank if you don’t want a password for your passwords stored on your keyring.  sign in with the microsoft account that’s going to play minecraft.  if you’re going to continue through installing forge and some mods, you should now close the minecraft launcher.&lt;br /&gt;
&lt;br /&gt;
now find the exact minecraft+forge version at https://files.minecraftforge.net/net/minecraftforge/forge/ (you’ll need to click show all versions to get the correct forge version after selecting the page for your minecraft version).  find the direct download link by pointing at the information icon next to the installer for your version and download.  start the installer with:&lt;br /&gt;
&lt;br /&gt;
 java -jar forge-*-installer.jar&lt;br /&gt;
&lt;br /&gt;
(use tab to autocomplete the filename.)  if it warns that it can’t find a directory, make sure you’ve gone far enough with the minecraft launcher so it gets created first.  it should have install client selected already, so click ok to install it.&lt;br /&gt;
&lt;br /&gt;
this should have created a mods directory under ~/.minecraft where you can put your mods.  similarly, config and defaultconfigs are next to that.  copy those in and run the minecraft launcher again.  the forge installation should be chosen by default, and playing that should include the mods.&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan&amp;diff=1030</id>
		<title>User:Misterhaan</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan&amp;diff=1030"/>
		<updated>2025-04-25T18:30:05Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: add ubuntu 25.04&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I’m misterhaan, the owner of [http://www.track7.org/ track7], which includes auWiki.  I wrote everything here so far (there are no [[Special:Listusers|other users]] yet!).&lt;br /&gt;
&lt;br /&gt;
My own notes which may someday appear on track7 somewhere (mostly in the [http://www.track7.org/geek/guides/ guides / tips section]):&lt;br /&gt;
* [[/Nuvexport Tweaks|Nuvexport Tweaks]]&lt;br /&gt;
* [[User:Misterhaan/Dual Booting Ubuntu and Vista|Dual Booting Ubuntu and Vista]]&lt;br /&gt;
** [[User:Misterhaan/Windows 10 Setup|Windows 10 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 8.1 Setup|Windows 8.1 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 8 Setup|Windows 8 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 7 Setup|Windows 7 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Vista Setup|Vista Setup]]&lt;br /&gt;
** [[User:Misterhaan/Linux Client Setup|Linux Client Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 25.04 Plucky Puffin Setup|Ubuntu 25.04 Plucky Puffin Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 24.10 Oracular Oriole Setup|Ubuntu 24.10 Oracular Oriole Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 24.04 Noble Numbat Setup|Ubuntu 24.04 Noble Numbat Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 23.10 Mantic Minotaur Setup|Ubuntu 23.10 Mantic Minotaur Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 23.04 Lunar Lobster Setup|Ubuntu 23.04 Lunar Lobster Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup|Ubuntu 22.10 Kinetic Kudu Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 22.04 Jammy Jellyfish Setup|Ubuntu 22.04 Jammy Jellyfish Setup]]&lt;br /&gt;
** [[User:Misterhaan/Linux Virtual Machine Setup|Linux Virtual Machine Setup]]&lt;br /&gt;
* [[/Basic Ubuntu Setup]]&lt;br /&gt;
** [[/HTPC Setup]]&lt;br /&gt;
* [[User:Misterhaan/Dreamhost SVN Setup|Dreamhost SVN Setup]]&lt;br /&gt;
&lt;br /&gt;
These reviews are for adventures made in Spore Galactic Adventures, which I am slowly posting on the Spore forums.&lt;br /&gt;
* [[User:Misterhaan/HUAR|HUAR]]&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_25.04_Plucky_Puffin_Setup&amp;diff=1029</id>
		<title>User:Misterhaan/Ubuntu 25.04 Plucky Puffin Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_25.04_Plucky_Puffin_Setup&amp;diff=1029"/>
		<updated>2025-04-25T18:28:49Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: Created page with &amp;quot;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&amp;#039;s utilities.  these instructions are what i did when i installed ubuntu cinnamon 25.05 plucky puffin on my laptop westinghouse.  i started with ubuntu cinnamon desktop (minimized) so there’s less to uninstall.  i do install third-party graph...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.  these instructions are what i did when i installed ubuntu cinnamon 25.05 plucky puffin on my laptop westinghouse.  i started with ubuntu cinnamon desktop (minimized) so there’s less to uninstall.  i do install third-party graphics and wifi as well as additional media formats.  glad to see this version the installer brought back the option to erase my old ubuntu and install over that.&lt;br /&gt;
&lt;br /&gt;
= fix boot getting stuck =&lt;br /&gt;
for a few versions now, my laptop tends to get stuck booting linux if it’s showing the ubuntu splash screen, so i might need 3 or 4 attempts to actually get it to a usable desktop.  to turn off the splash screen, edit &amp;lt;code&amp;gt;/etc/default/grub&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/default/grub&amp;lt;/code&amp;gt; and change the &amp;lt;code&amp;gt;GRUB_CMDLINE_LINUX_DEFAULT&amp;lt;/code&amp;gt; line (for me it was line 10) by removing &amp;lt;code&amp;gt;quiet&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;splash&amp;lt;/code&amp;gt;.  for me this left it as &amp;lt;code&amp;gt;GRUB_CMDLINE_LINUX_DEFAULT=&amp;quot;&amp;quot;&amp;lt;/code&amp;gt;.  save the file and then run &amp;lt;code&amp;gt;sudo update-grub&amp;lt;/code&amp;gt; to apply the change.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which usually doesn&#039;t work without this step.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your ssid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`nmcli -t -f active,ssid dev wifi | egrep &#039;^yes&#039; | cut -d: -f2`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it won&#039;t see the ssid and you&#039;ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set, though it may be necessary to restart if it tells you your original user is in use by a process.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is back in the default install as of 23.10 and works great to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though if it wasn&#039;t there for you:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for my home desktop -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection.  switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work.  toward the bottom, you might need to check the box to ignore certificates because when i installed this version it still wouldn’t trust my work computer’s certificate after it asked me about it and i said to trust it.  save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login (if it’s not already checked).  under keyboard i remove the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone — my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they’re grouped into sections so i’m using those same groupings here.  if i don’t list a settings option it’s because i don’t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that’s where i put my own backgrounds.  this isn’t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the application and icon themes to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven’t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %-e  &amp;lt;/code&amp;gt; (with two trailing spaces) to take up less space and use 12-hour time.  similarly set date format for tooltip to &amp;lt;code&amp;gt;%A, %B %e, %l:%M %p&amp;lt;/code&amp;gt; to use 12-hour time.  select corner bar and click the minus button at the bottom to remove it.  configure menu to use a custom icon and label, then set icon to &amp;lt;code&amp;gt;/usr/share/cinnamon/icons/ubuntucinnamon-symbolic.png&amp;lt;/code&amp;gt; and icon size to 28 to keep the same icon and clear the text so it doesn’t take up space.  also turn on menu animations.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  turn on overamplification at the bottom of the output tab, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like to use my own  background for the login screen.  set that here and then turn off draw user background to have a login background all the time.  set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt; for 12-hour format.&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove pidgin rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install gimp puddletag xsane&lt;br /&gt;
&lt;br /&gt;
== firefox ==&lt;br /&gt;
ubuntu comes with firefox (and thunderbird) installed through snap, but i’ve had problems with it telling me firefox needs to update but can’t because it&#039;s running.  found these instructions on [omgubuntu.co.uk](https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04) — start by running these commands to remove the snap firefox and the apt redirect to snap firefox, trust mozilla’s signing, and add a mozilla source.&lt;br /&gt;
&lt;br /&gt;
 sudo snap remove firefox&lt;br /&gt;
 sudo apt remove firefox&lt;br /&gt;
 wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc &amp;gt; /dev/null&lt;br /&gt;
 echo &amp;quot;deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main&amp;quot; | sudo tee -a /etc/apt/sources.list.d/mozilla.list &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
then set priority to the mozilla source and suppress ubuntu’s redirect to snap:&lt;br /&gt;
&lt;br /&gt;
 echo &#039;&lt;br /&gt;
 Package: *&lt;br /&gt;
 Pin: origin packages.mozilla.org&lt;br /&gt;
 Pin-Priority: 1000&lt;br /&gt;
 &lt;br /&gt;
 Package: firefox*&lt;br /&gt;
 Pin: release o=Ubuntu&lt;br /&gt;
 Pin-Priority: -1&#039; | sudo tee /etc/apt/preferences.d/mozilla&lt;br /&gt;
&lt;br /&gt;
lastly, update to include the mozilla source and install that (now prioritized) firefox package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install firefox&lt;br /&gt;
&lt;br /&gt;
== steam ==&lt;br /&gt;
there’s a steam-installer in the repository but it fails to install.  looking for a solution i found someone claiming the apt package is a redirect to snap, and snap just doesn’t work well (maybe it’s not mature enough).  so instead, go to the steam website and download the installer from there.  it gave me a file named steam_latest.deb.  install it and dependencies with `sudo apt install ~/Downloads/steam_latest.deb` and then run steam to complete the installation and sign in to steam.&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn’t in the default apt repositories (it’s in snap but snap doesn’t update well), but downloading and installing the deb actually adds it to apt so it can keep updating.  note the filename will probably change to whichever version is current, so for the last two lines press the tab key to autocomplete after you’ve typed “code”:&lt;br /&gt;
&lt;br /&gt;
 wget &#039;https://code.visualstudio.com/sha/download?build=stable&amp;amp;os=linux-deb-x64&#039; --trust-server-names&lt;br /&gt;
 sudo dpkg -i code_1.99.3-1744761595_amd64.deb&lt;br /&gt;
 rm code_1.99.3-1744761595_amd64.deb&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
the official way to install zoom on ubuntu is to download the deb and install that, but it won’t auto-update and i end up having to manually update before every time i use it.  instead, copy this into a script file (run &amp;lt;code&amp;gt;chmod +x install-zoom&amp;lt;/code&amp;gt; assuming you’ve saved it as install-zoom) and run it:&lt;br /&gt;
&lt;br /&gt;
 #!/usr/bin/env bash&lt;br /&gt;
 &lt;br /&gt;
 url=https://zoom.us/client/latest/zoom_amd64.deb&lt;br /&gt;
 debdir=/usr/local/zoomdebs&lt;br /&gt;
 aptconf=/etc/apt/apt.conf.d/100update_zoom&lt;br /&gt;
 sourcelist=/etc/apt/sources.list.d/zoomdebs.list&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir -p $debdir&lt;br /&gt;
 ( echo &#039;APT::Update::Pre-Invoke {&amp;quot;cd &#039;$debdir&#039; &amp;amp;&amp;amp; wget -qN &#039;$url&#039; &amp;amp;&amp;amp; apt-ftparchive packages . &amp;gt; Packages &amp;amp;&amp;amp; apt-ftparchive release . &amp;gt; Release&amp;quot;;};&#039; | sudo tee $aptconf&lt;br /&gt;
   echo &#039;deb [trusted=yes lang=none] file:&#039;$debdir&#039; ./&#039; | sudo tee $sourcelist&lt;br /&gt;
 ) &amp;gt;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install zoom&lt;br /&gt;
&lt;br /&gt;
== minecraft ==&lt;br /&gt;
my son’s laptop isn’t powerful enough to run minecraft with mods, so he sometimes borrows my laptop.  he gets my custom mod pack that i build through [curseforge](https://www.curseforge.com/download/app) but just built into the minecraft launcher so he doesn’t get distracted by the curseforge ads.&lt;br /&gt;
&lt;br /&gt;
before you can do anything you need java, so grab openjdk which is the default:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install default-jre&lt;br /&gt;
&lt;br /&gt;
next get the minecraft launcher for debian from https://www.minecraft.net/en-us/download, which will be easier from linux because windows will show you the windows download first and you&#039;ll have to look for linux options.  this should get you a Minecraft.deb file which you can install using apt so it also installs any dependencies (use the correct path if you downloaded it somewhere else):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install ~/Downloads/Minecraft.deb&lt;br /&gt;
&lt;br /&gt;
at this point i needed to reboot and log in to the account that’s going to play minecraft, because otherwise it was crashing back out to the login screen.  run the minecraft launcher, which may ask you to set a keyring password.  this is optional, so you can leave it blank if you don’t want a password for your passwords stored on your keyring.  sign in with the microsoft account that’s going to play minecraft.  if you’re going to continue through installing forge and some mods, you should now close the minecraft launcher.&lt;br /&gt;
&lt;br /&gt;
now find the exact minecraft+forge version at https://files.minecraftforge.net/net/minecraftforge/forge/ (you’ll need to click show all versions to get the correct forge version after selecting the page for your minecraft version).  find the direct download link by pointing at the information icon next to the installer for your version and download.  start the installer with:&lt;br /&gt;
&lt;br /&gt;
 java -jar forge-*-installer.jar&lt;br /&gt;
&lt;br /&gt;
(use tab to autocomplete the filename.)  if it warns that it can’t find a directory, make sure you’ve gone far enough with the minecraft launcher so it gets created first.  it should have install client selected already, so click ok to install it.&lt;br /&gt;
&lt;br /&gt;
this should have created a mods directory under ~/.minecraft where you can put your mods.  similarly, config and defaultconfigs are next to that.  copy those in and run the minecraft launcher again.  the forge installation should be chosen by default, and playing that should include the mods.&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan&amp;diff=1028</id>
		<title>User:Misterhaan</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan&amp;diff=1028"/>
		<updated>2024-10-16T01:16:57Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I’m misterhaan, the owner of [http://www.track7.org/ track7], which includes auWiki.  I wrote everything here so far (there are no [[Special:Listusers|other users]] yet!).&lt;br /&gt;
&lt;br /&gt;
My own notes which may someday appear on track7 somewhere (mostly in the [http://www.track7.org/geek/guides/ guides / tips section]):&lt;br /&gt;
* [[/Nuvexport Tweaks|Nuvexport Tweaks]]&lt;br /&gt;
* [[User:Misterhaan/Dual Booting Ubuntu and Vista|Dual Booting Ubuntu and Vista]]&lt;br /&gt;
** [[User:Misterhaan/Windows 10 Setup|Windows 10 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 8.1 Setup|Windows 8.1 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 8 Setup|Windows 8 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 7 Setup|Windows 7 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Vista Setup|Vista Setup]]&lt;br /&gt;
** [[User:Misterhaan/Linux Client Setup|Linux Client Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 24.10 Oracular Oriole Setup|Ubuntu 24.10 Oracular Oriole Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 24.04 Noble Numbat Setup|Ubuntu 24.04 Noble Numbat Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 23.10 Mantic Minotaur Setup|Ubuntu 23.10 Mantic Minotaur Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 23.04 Lunar Lobster Setup|Ubuntu 23.04 Lunar Lobster Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup|Ubuntu 22.10 Kinetic Kudu Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 22.04 Jammy Jellyfish Setup|Ubuntu 22.04 Jammy Jellyfish Setup]]&lt;br /&gt;
** [[User:Misterhaan/Linux Virtual Machine Setup|Linux Virtual Machine Setup]]&lt;br /&gt;
* [[/Basic Ubuntu Setup]]&lt;br /&gt;
** [[/HTPC Setup]]&lt;br /&gt;
* [[User:Misterhaan/Dreamhost SVN Setup|Dreamhost SVN Setup]]&lt;br /&gt;
&lt;br /&gt;
These reviews are for adventures made in Spore Galactic Adventures, which I am slowly posting on the Spore forums.&lt;br /&gt;
* [[User:Misterhaan/HUAR|HUAR]]&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_24.10_Oracular_Oriole_Setup&amp;diff=1027</id>
		<title>User:Misterhaan/Ubuntu 24.10 Oracular Oriole Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_24.10_Oracular_Oriole_Setup&amp;diff=1027"/>
		<updated>2024-10-16T01:15:41Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: Created page with &amp;quot;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&amp;#039;s utilities.  these instructions are what i did when i installed ubuntu cinnamon 24.10 oracular oriole on my laptop westinghouse.  i started with ubuntu cinnamon desktop (minimized) so there’s less to uninstall.  i do install third-party gra...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.  these instructions are what i did when i installed ubuntu cinnamon 24.10 oracular oriole on my laptop westinghouse.  i started with ubuntu cinnamon desktop (minimized) so there’s less to uninstall.  i do install third-party graphics and wifi as well as additional media formats.  unfortunately the installer no longer has the option to erase my old ubuntu and install over that while leaving windows alone, so i have to choose manual installation and select the previous ubuntu partition to set as root.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which usually doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`nmcli -t -f active,ssid dev wifi | egrep &#039;^yes&#039; | cut -d: -f2`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to recognize the network and you&#039;ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set, though it may be necessary to restart if it tells you your original user is in use by a process.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is back in the default install as of 23.10 and works great to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though if it wasn&#039;t there for you:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for my home desktop -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection. choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work -- it has to be added to the list using the ... button before you can choose it), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work. save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login.  under keyboard i clear the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they&#039;re grouped into sections so i&#039;m using those same groupings here.  if i don&#039;t list a settings option it&#039;s because i don&#039;t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the application and icon themes to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %-e  &amp;lt;/code&amp;gt; (with two trailing spaces) to take up less space and use 12-hour time.  similarly set date format for tooltip to &amp;lt;code&amp;gt;%A, %B %e, %l:%M %p&amp;lt;/code&amp;gt; to use 12-hour time.  select corner bar and click the minus button at the bottom to remove it.  configure menu to use a custom icon and label, then set icon to &amp;lt;code&amp;gt;/usr/share/cinnamon/icons/ubuntucinnamon-symbolic.png&amp;lt;/code&amp;gt; and icon size to 28 to keep the same icon and clear the text so it doesn’t take up space.  also turn on menu animations.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  go to the settings tab and slide the maximum volume all the way up to 150%, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like to use my own  background for the login screen.  set that here and then turn off draw user background to have a login background all the time.  set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt; for 12-hour format.&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove pidgin rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install gimp puddletag xsane&lt;br /&gt;
&lt;br /&gt;
== firefox ==&lt;br /&gt;
ubuntu comes with firefox (and thunderbird) installed through snap, but i’ve had problems with it telling me firefox needs to update but can’t because it&#039;s running.  found these instructions on [omgubuntu.co.uk](https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04) — start by running these commands to remove the snap firefox and the apt redirect to snap firefox, trust mozilla’s signing, and add a mozilla source.&lt;br /&gt;
&lt;br /&gt;
 sudo snap remove firefox&lt;br /&gt;
 sudo apt remove firefox&lt;br /&gt;
 wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc &amp;gt; /dev/null&lt;br /&gt;
 echo &amp;quot;deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main&amp;quot; | sudo tee -a /etc/apt/sources.list.d/mozilla.list &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
then set priority to the mozilla source and suppress ubuntu’s redirect to snap:&lt;br /&gt;
&lt;br /&gt;
 echo &#039;&lt;br /&gt;
 Package: *&lt;br /&gt;
 Pin: origin packages.mozilla.org&lt;br /&gt;
 Pin-Priority: 1000&lt;br /&gt;
 &lt;br /&gt;
 Package: firefox*&lt;br /&gt;
 Pin: release o=Ubuntu&lt;br /&gt;
 Pin-Priority: -1&#039; | sudo tee /etc/apt/preferences.d/mozilla&lt;br /&gt;
&lt;br /&gt;
lastly, update to include the mozilla source and install that (now prioritized) firefox package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install firefox&lt;br /&gt;
&lt;br /&gt;
== steam ==&lt;br /&gt;
&lt;br /&gt;
there’s a steam-installer in the repository but it fails to install.  looking for a solution i found someone claiming the apt package is a redirect to snap, and snap just doesn’t work well (maybe it’s not mature enough).  so instead, go to the steam website and download the installer from there.  it gave me a file named steam_latest.deb.  install it and dependencies with `sudo apt install ~/Downloads/steam_latest.deb` and then run steam to complete the installation and sign in to steam.&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn’t in the default apt repositories (it’s in snap but snap doesn’t update well), but downloading and installing the deb actually adds it to apt so it can keep updating.  note the filename will probably change to whichever version is current, so for the last two lines press the tab key to autocomplete after you’ve typed “code”:&lt;br /&gt;
&lt;br /&gt;
 wget &#039;https://code.visualstudio.com/sha/download?build=stable&amp;amp;os=linux-deb-x64&#039; --trust-server-names&lt;br /&gt;
 sudo dpkg -i code_1.83.1-1696982868_amd64.deb&lt;br /&gt;
 rm code_1.83.1-1696982868_amd64.deb&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
the official way to install zoom on ubuntu is to download the deb and install that, but it won’t auto-update and i end up having to manually update before every time i use it.  instead, copy this into a script file (run &amp;lt;code&amp;gt;chmod +x install-zoom&amp;lt;/code&amp;gt; assuming you’ve saved it as install-zoom) and run it:&lt;br /&gt;
&lt;br /&gt;
 #!/usr/bin/env bash&lt;br /&gt;
 &lt;br /&gt;
 url=https://zoom.us/client/latest/zoom_amd64.deb&lt;br /&gt;
 debdir=/usr/local/zoomdebs&lt;br /&gt;
 aptconf=/etc/apt/apt.conf.d/100update_zoom&lt;br /&gt;
 sourcelist=/etc/apt/sources.list.d/zoomdebs.list&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir -p $debdir&lt;br /&gt;
 ( echo &#039;APT::Update::Pre-Invoke {&amp;quot;cd &#039;$debdir&#039; &amp;amp;&amp;amp; wget -qN &#039;$url&#039; &amp;amp;&amp;amp; apt-ftparchive packages . &amp;gt; Packages &amp;amp;&amp;amp; apt-ftparchive release . &amp;gt; Release&amp;quot;;};&#039; | sudo tee $aptconf&lt;br /&gt;
   echo &#039;deb [trusted=yes lang=none] file:&#039;$debdir&#039; ./&#039; | sudo tee $sourcelist&lt;br /&gt;
 ) &amp;gt;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install zoom&lt;br /&gt;
&lt;br /&gt;
== minecraft ==&lt;br /&gt;
my son’s laptop isn’t powerful enough to run minecraft with mods, so he sometimes borrows my laptop.  he gets my custom mod pack that i build through [curseforge](https://www.curseforge.com/download/app) but just built into the minecraft launcher so he doesn’t get distracted by the curseforge ads.&lt;br /&gt;
&lt;br /&gt;
before you can do anything you need java, so grab openjdk which is the default:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install default-jre&lt;br /&gt;
&lt;br /&gt;
next get the minecraft launcher for debian from https://www.minecraft.net/en-us/download, which will be easier from linux because windows will show you the windows download first and you&#039;ll have to look for linux options.  this should get you a Minecraft.deb file which you can install using dpkg (use the correct path if you downloaded it somewhere else or aren’t in your home directory):&lt;br /&gt;
&lt;br /&gt;
 dpkg -i Downloads/Minecraft.deb&lt;br /&gt;
&lt;br /&gt;
at this point i needed to reboot and log in to the account that’s going to play minecraft, because otherwise it was crashing back out to the login screen.  run the minecraft launcher, which may ask you to set a keyring password.  this is optional, so you can leave it blank if you don’t want a password for your passwords stored on your keyring.  sign in with the microsoft account that’s going to play minecraft.  if you’re going to continue through installing forge and some mods, you should now close the minecraft launcher.&lt;br /&gt;
&lt;br /&gt;
no find the exact minecraft+forge version at https://files.minecraftforge.net/net/minecraftforge/forge/ (you’ll need to click show all versions to get the correct forge version after selecting the page for your minecraft version).  find the direct download link by pointing at the information icon next to the installer for your version and download.  start the installer with:&lt;br /&gt;
&lt;br /&gt;
 java -jar forge-*-installer.jar&lt;br /&gt;
&lt;br /&gt;
(use tab to autocomplete the filename.)  if it warns that it can’t find a directory, make sure you’ve gone far enough with the minecraft launcher so it gets created first.  it should have install client selected already, so click ok to install it.&lt;br /&gt;
&lt;br /&gt;
this should have created a mods directory under ~/.minecraft where you can put your mods.  similarly, config and defaultconfigs are next to that.  copy those in and run the minecraft launcher again.  the forge installation should be chosen by default, and playing that should include the mods.&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan&amp;diff=1026</id>
		<title>User:Misterhaan</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan&amp;diff=1026"/>
		<updated>2024-05-15T02:28:29Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I’m misterhaan, the owner of [http://www.track7.org/ track7], which includes auWiki.  I wrote everything here so far (there are no [[Special:Listusers|other users]] yet!).&lt;br /&gt;
&lt;br /&gt;
My own notes which may someday appear on track7 somewhere (mostly in the [http://www.track7.org/geek/guides/ guides / tips section]):&lt;br /&gt;
* [[/Nuvexport Tweaks|Nuvexport Tweaks]]&lt;br /&gt;
* [[User:Misterhaan/Dual Booting Ubuntu and Vista|Dual Booting Ubuntu and Vista]]&lt;br /&gt;
** [[User:Misterhaan/Windows 10 Setup|Windows 10 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 8.1 Setup|Windows 8.1 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 8 Setup|Windows 8 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 7 Setup|Windows 7 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Vista Setup|Vista Setup]]&lt;br /&gt;
** [[User:Misterhaan/Linux Client Setup|Linux Client Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 24.04 Noble Numbat Setup|Ubuntu 24.04 Noble Numbat Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 23.10 Mantic Minotaur Setup|Ubuntu 23.10 Mantic Minotaur Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 23.04 Lunar Lobster Setup|Ubuntu 23.04 Lunar Lobster Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup|Ubuntu 22.10 Kinetic Kudu Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 22.04 Jammy Jellyfish Setup|Ubuntu 22.04 Jammy Jellyfish Setup]]&lt;br /&gt;
** [[User:Misterhaan/Linux Virtual Machine Setup|Linux Virtual Machine Setup]]&lt;br /&gt;
* [[/Basic Ubuntu Setup]]&lt;br /&gt;
** [[/HTPC Setup]]&lt;br /&gt;
* [[User:Misterhaan/Dreamhost SVN Setup|Dreamhost SVN Setup]]&lt;br /&gt;
&lt;br /&gt;
These reviews are for adventures made in Spore Galactic Adventures, which I am slowly posting on the Spore forums.&lt;br /&gt;
* [[User:Misterhaan/HUAR|HUAR]]&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_24.04_Noble_Numbat_Setup&amp;diff=1025</id>
		<title>User:Misterhaan/Ubuntu 24.04 Noble Numbat Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_24.04_Noble_Numbat_Setup&amp;diff=1025"/>
		<updated>2024-05-15T02:26:53Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: Created page with &amp;quot;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&amp;#039;s utilities.  these instructions are what i did when i installed ubuntu cinnamon 24.04 noble numbat on my laptop westinghouse.  = connections to other systems = most of what i use my laptop for is connecting to other systems, including my home...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.  these instructions are what i did when i installed ubuntu cinnamon 24.04 noble numbat on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which usually doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to recognize the network and you&#039;ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set, though it may be necessary to restart if it tells you your original user is in use by a process.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is back in the default install as of 23.10 and works great to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though if it wasn&#039;t there for you:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for my home desktop -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection. choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work -- it has to be added to the list using the ... button before you can choose it), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work. save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login.  under keyboard i clear the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== enable dark mode ==&lt;br /&gt;
by default ubuntu cinnamon uses a dark theme, but doesn’t tell all apps they should do that too.  not sure why this isn&#039;t in system settings anywhere, but this tells gtk 4 applications such as the text editor that they should show a dark mode theme:&lt;br /&gt;
&lt;br /&gt;
 gsettings set org.gnome.desktop.interface color-scheme prefer-dark&lt;br /&gt;
&lt;br /&gt;
i had firefox open when i entered this command and it immediately switched!&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they&#039;re grouped into sections so i&#039;m using those same groupings here.  if i don&#039;t list a settings option it&#039;s because i don&#039;t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the application and icon themes to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %-e  &amp;lt;/code&amp;gt; (with two trailing spaces) to take up less space and use 12-hour time.  similarly set date format for tooltip to &amp;lt;code&amp;gt;%A, %B %e, %l:%M %p&amp;lt;/code&amp;gt; to use 12-hour time.  select corner bar and click the minus button at the bottom to remove it.  configure menu to use a custom icon and label, then set icon to &amp;lt;code&amp;gt;/usr/share/cinnamon/icons/ubuntucinnamon-symbolic.png&amp;lt;/code&amp;gt; and icon size to 28 to keep the same icon and clear the text so it doesn’t take up space.  also turn on menu animations.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  go to the settings tab and slide the maximum volume all the way up to 150%, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like to use my own  background for the login screen.  set that here and then turn off draw user background to have a login background all the time.  set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt; for 12-hour format.&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove pidgin rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install puddletag  xsane&lt;br /&gt;
&lt;br /&gt;
== steam ==&lt;br /&gt;
&lt;br /&gt;
there’s a steam-installer in the repository but it fails to install.  looking for a solution i found someone claiming the apt package is a redirect to snap, and snap just doesn’t work well (maybe it’s not mature enough).  so instead, go to the steam website and download the installer from there.  it gave me a file named steam_latest.deb.  install it and dependencies with `sudo apt install ~/Downloads/steam_latest.deb` and then run steam to complete the installation and sign in to steam.&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn’t in the default apt repositories (it’s in snap but snap doesn’t update well), but downloading and installing the deb actually adds it to apt so it can keep updating.  note the filename will probably change to whichever version is current, so for the last two lines press the tab key to autocomplete after you’ve typed “code”:&lt;br /&gt;
&lt;br /&gt;
 wget &#039;https://code.visualstudio.com/sha/download?build=stable&amp;amp;os=linux-deb-x64&#039; --trust-server-names&lt;br /&gt;
 sudo dpkg -i code_1.83.1-1696982868_amd64.deb&lt;br /&gt;
 rm code_1.83.1-1696982868_amd64.deb&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
the official way to install zoom on ubuntu is to download the deb and install that, but it won’t auto-update and i end up having to manually update before every time i use it.  instead, copy this into a script file (run &amp;lt;code&amp;gt;chmod +x install-zoom&amp;lt;/code&amp;gt; assuming you’ve saved it as install-zoom) and run it:&lt;br /&gt;
&lt;br /&gt;
 #!/usr/bin/env bash&lt;br /&gt;
 &lt;br /&gt;
 url=https://zoom.us/client/latest/zoom_amd64.deb&lt;br /&gt;
 debdir=/usr/local/zoomdebs&lt;br /&gt;
 aptconf=/etc/apt/apt.conf.d/100update_zoom&lt;br /&gt;
 sourcelist=/etc/apt/sources.list.d/zoomdebs.list&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir -p $debdir&lt;br /&gt;
 ( echo &#039;APT::Update::Pre-Invoke {&amp;quot;cd &#039;$debdir&#039; &amp;amp;&amp;amp; wget -qN &#039;$url&#039; &amp;amp;&amp;amp; apt-ftparchive packages . &amp;gt; Packages &amp;amp;&amp;amp; apt-ftparchive release . &amp;gt; Release&amp;quot;;};&#039; | sudo tee $aptconf&lt;br /&gt;
   echo &#039;deb [trusted=yes lang=none] file:&#039;$debdir&#039; ./&#039; | sudo tee $sourcelist&lt;br /&gt;
 ) &amp;gt;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install zoom&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_23.10_Mantic_Minotaur_Setup&amp;diff=1024</id>
		<title>User:Misterhaan/Ubuntu 23.10 Mantic Minotaur Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_23.10_Mantic_Minotaur_Setup&amp;diff=1024"/>
		<updated>2023-10-21T04:16:15Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.  these instructions are what i did when i installed ubuntu cinnamon 23.10 mantic minotaur on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which usually doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to recognize the network and you&#039;ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set, though it may be necessary to restart if it tells you your original user is in use by a process.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is back in the default install as of 23.10 and works great to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though if it wasn&#039;t there for you:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for my home desktop -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection. choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work -- it has to be added to the list using the ... button before you can choose it), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work. save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login.  under keyboard i clear the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== enable dark mode ==&lt;br /&gt;
by default ubuntu cinnamon uses a dark theme, but doesn’t tell all apps they should do that too.  not sure why this isn&#039;t in system settings anywhere, but this tells gtk 4 applications such as the text editor that they should show a dark mode theme:&lt;br /&gt;
&lt;br /&gt;
 gsettings set org.gnome.desktop.interface color-scheme prefer-dark&lt;br /&gt;
&lt;br /&gt;
i had firefox open when i entered this command and it immediately switched!&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they&#039;re grouped into sections so i&#039;m using those same groupings here.  if i don&#039;t list a settings option it&#039;s because i don&#039;t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the application and icon themes to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %-e  &amp;lt;/code&amp;gt; (with two trailing spaces) to take up less space and use 12-hour time.  similarly set date format for tooltip to &amp;lt;code&amp;gt;%A, %B %e, %l:%M %p&amp;lt;/code&amp;gt; to use 12-hour time.  select corner bar and click the minus button at the bottom to remove it.  configure menu to use a custom icon and label, then set icon to &amp;lt;code&amp;gt;/usr/share/cinnamon/icons/ubuntucinnamon-symbolic.png&amp;lt;/code&amp;gt; and icon size to 28 to keep the same icon and clear the text so it doesn’t take up space.  also turn on menu animations.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  go to the settings tab and slide the maximum volume all the way up to 150%, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like the mantic minotaur background for the login screen, but sometimes i like to use my own.  set that here and then turn off draw user background to have a login background all the time.  set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt; for 12-hour format.&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove pidgin rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install puddletag steam xsane&lt;br /&gt;
&lt;br /&gt;
steam doesn&#039;t install the whole steam because it wants to tell you it&#039;s proprietary and install it to your home directory.  still works so whatever, but if you have multiple partitions for linux make sure to set storage for steam to the right one (assuming it&#039;s not /home).&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn’t in the default apt repositories (it’s in snap but snap doesn’t update well), but downloading and installing the deb actually adds it to apt so it can keep updating.  note the filename will probably change to whichever version is current, so for the last two lines press the tab key to autocomplete after you’ve typed “code”:&lt;br /&gt;
&lt;br /&gt;
 wget &#039;https://code.visualstudio.com/sha/download?build=stable&amp;amp;os=linux-deb-x64&#039; --trust-server-names&lt;br /&gt;
 sudo dpkg -i code_1.83.1-1696982868_amd64.deb&lt;br /&gt;
 rm code_1.83.1-1696982868_amd64.deb&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
the official way to install zoom on ubuntu is to download the deb and install that, but it won’t auto-update and i end up having to manually update before every time i use it.  instead, copy this into a script file (run &amp;lt;code&amp;gt;chmod +x install-zoom&amp;lt;/code&amp;gt; assuming you’ve saved it as install-zoom) and run it:&lt;br /&gt;
&lt;br /&gt;
 #!/usr/bin/env bash&lt;br /&gt;
 &lt;br /&gt;
 url=https://zoom.us/client/latest/zoom_amd64.deb&lt;br /&gt;
 debdir=/usr/local/zoomdebs&lt;br /&gt;
 aptconf=/etc/apt/apt.conf.d/100update_zoom&lt;br /&gt;
 sourcelist=/etc/apt/sources.list.d/zoomdebs.list&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir -p $debdir&lt;br /&gt;
 ( echo &#039;APT::Update::Pre-Invoke {&amp;quot;cd &#039;$debdir&#039; &amp;amp;&amp;amp; wget -qN &#039;$url&#039; &amp;amp;&amp;amp; apt-ftparchive packages . &amp;gt; Packages &amp;amp;&amp;amp; apt-ftparchive release . &amp;gt; Release&amp;quot;;};&#039; | sudo tee $aptconf&lt;br /&gt;
   echo &#039;deb [trusted=yes lang=none] file:&#039;$debdir&#039; ./&#039; | sudo tee $sourcelist&lt;br /&gt;
 ) &amp;gt;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install zoom&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_23.10_Mantic_Minotaur_Setup&amp;diff=1023</id>
		<title>User:Misterhaan/Ubuntu 23.10 Mantic Minotaur Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_23.10_Mantic_Minotaur_Setup&amp;diff=1023"/>
		<updated>2023-10-19T04:04:06Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.  these instructions are what i did when i installed ubuntu cinnamon 23.10 mantic minotaur on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which usually doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to recognize the network and you&#039;ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set, though it may be necessary to restart if it tells you your original user is in use by a process.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is back in the default install as of 23.10 and works great to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though if it wasn&#039;t there for you:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for my home desktop -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection. choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work -- it has to be added to the list using the ... button before you can choose it), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work. save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login.  under keyboard i clear the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan&amp;diff=1022</id>
		<title>User:Misterhaan</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan&amp;diff=1022"/>
		<updated>2023-10-19T03:18:19Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I’m misterhaan, the owner of [http://www.track7.org/ track7], which includes auWiki.  I wrote everything here so far (there are no [[Special:Listusers|other users]] yet!).&lt;br /&gt;
&lt;br /&gt;
My own notes which may someday appear on track7 somewhere (mostly in the [http://www.track7.org/geek/guides/ guides / tips section]):&lt;br /&gt;
* [[/Nuvexport Tweaks|Nuvexport Tweaks]]&lt;br /&gt;
* [[User:Misterhaan/Dual Booting Ubuntu and Vista|Dual Booting Ubuntu and Vista]]&lt;br /&gt;
** [[User:Misterhaan/Windows 10 Setup|Windows 10 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 8.1 Setup|Windows 8.1 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 8 Setup|Windows 8 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 7 Setup|Windows 7 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Vista Setup|Vista Setup]]&lt;br /&gt;
** [[User:Misterhaan/Linux Client Setup|Linux Client Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 23.10 Mantic Minotaur Setup|Ubuntu 23.10 Mantic Minotaur Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 23.04 Lunar Lobster Setup|Ubuntu 23.04 Lunar Lobster Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup|Ubuntu 22.10 Kinetic Kudu Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 22.04 Jammy Jellyfish Setup|Ubuntu 22.04 Jammy Jellyfish Setup]]&lt;br /&gt;
** [[User:Misterhaan/Linux Virtual Machine Setup|Linux Virtual Machine Setup]]&lt;br /&gt;
* [[/Basic Ubuntu Setup]]&lt;br /&gt;
** [[/HTPC Setup]]&lt;br /&gt;
* [[User:Misterhaan/Dreamhost SVN Setup|Dreamhost SVN Setup]]&lt;br /&gt;
&lt;br /&gt;
These reviews are for adventures made in Spore Galactic Adventures, which I am slowly posting on the Spore forums.&lt;br /&gt;
* [[User:Misterhaan/HUAR|HUAR]]&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_23.10_Mantic_Minotaur_Setup&amp;diff=1021</id>
		<title>User:Misterhaan/Ubuntu 23.10 Mantic Minotaur Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_23.10_Mantic_Minotaur_Setup&amp;diff=1021"/>
		<updated>2023-10-19T03:18:11Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: Created page with &amp;quot;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&amp;#039;s utilities.  these instructions are what i did when i installed ubuntu cinnamon 23.10 mantic minotaur on my laptop westinghouse.  = connections to other systems = most of what i use my laptop for is connecting to other systems, including my h...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu cinnamon linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.  these instructions are what i did when i installed ubuntu cinnamon 23.10 mantic minotaur on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which usually doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to recognize the network and you&#039;ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_23.04_Lunar_Lobster_Setup&amp;diff=1020</id>
		<title>User:Misterhaan/Ubuntu 23.04 Lunar Lobster Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_23.04_Lunar_Lobster_Setup&amp;diff=1020"/>
		<updated>2023-05-03T18:01:46Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.  these instructions are what i did when i installed ubuntu cinnamon 23.04 lunar lobster on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to recognize the network and you&#039;ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina isn’t installed by default as of 23.04 but there doesn’t seem to be an alternative to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection. choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work -- it has to be added to the list using the ... button before you can choose it), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work. save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login.  under keyboard i clear the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== enable dark mode ==&lt;br /&gt;
by default ubuntu cinnamon uses a dark theme, but doesn’t tell all apps they should do that too.  not sure why this isn&#039;t in system settings anywhere, but this tells gtk 4 applications such as the text editor that they should show a dark mode theme:&lt;br /&gt;
&lt;br /&gt;
 gsettings set org.gnome.desktop.interface color-scheme prefer-dark&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they&#039;re grouped into sections so i&#039;m using those same groupings here.  if i don&#039;t list a settings option it&#039;s because i don&#039;t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the icon theme to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %-e  &amp;lt;/code&amp;gt; (with two trailing spaces) to take up less space and use 12-hour time.  select corner bar and click the minus button at the bottom to remove it.  configure menu to use a custom icon and label, then set icon to &amp;lt;code&amp;gt;/usr/share/cinnamon/icons/ubuntucinnamon-symbolic.png&amp;lt;/code&amp;gt; and icon size to 28 to keep the same icon and clear the text so it doesn’t take up space.  also turn on menu animations.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  go to the settings tab and slide the maximum volume all the way up to 150%, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like a different background for the login screen, so set that here and then turn off draw user background.  then set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install puddletag steam xsane&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn’t in the default apt repositories (it’s in snap but snap doesn’t update well), but downloading and installing the deb actually adds it to apt so it can keep updating.  note the filename will probably change to whichever version is current, so for the last two lines press the tab key to autocomplete after you’ve typed “code”:&lt;br /&gt;
&lt;br /&gt;
 wget &#039;https://code.visualstudio.com/sha/download?build=stable&amp;amp;os=linux-deb-x64&#039; --trust-server-names&lt;br /&gt;
 sudo dpkg -i code_1.77.3-1681292746_amd64.deb&lt;br /&gt;
 rm code_1.77.3-1681292746_amd64.deb&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
the official way to install zoom on ubuntu is to download the deb and install that, but it won’t auto-update and i end up having to manually update before every time i use it.  instead, copy this into a script file (run &amp;lt;code&amp;gt;chmod +x install-zoom&amp;lt;/code&amp;gt; assuming you’ve saved it as install-zoom) and run it:&lt;br /&gt;
&lt;br /&gt;
 #!/usr/bin/env bash&lt;br /&gt;
 &lt;br /&gt;
 url=https://zoom.us/client/latest/zoom_amd64.deb&lt;br /&gt;
 debdir=/usr/local/zoomdebs&lt;br /&gt;
 aptconf=/etc/apt/apt.conf.d/100update_zoom&lt;br /&gt;
 sourcelist=/etc/apt/sources.list.d/zoomdebs.list&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir -p $debdir&lt;br /&gt;
 ( echo &#039;APT::Update::Pre-Invoke {&amp;quot;cd &#039;$debdir&#039; &amp;amp;&amp;amp; wget -qN &#039;$url&#039; &amp;amp;&amp;amp; apt-ftparchive packages . &amp;gt; Packages &amp;amp;&amp;amp; apt-ftparchive release . &amp;gt; Release&amp;quot;;};&#039; | sudo tee $aptconf&lt;br /&gt;
   echo &#039;deb [trusted=yes lang=none] file:&#039;$debdir&#039; ./&#039; | sudo tee $sourcelist&lt;br /&gt;
 ) &amp;gt;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install zoom&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_23.04_Lunar_Lobster_Setup&amp;diff=1019</id>
		<title>User:Misterhaan/Ubuntu 23.04 Lunar Lobster Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_23.04_Lunar_Lobster_Setup&amp;diff=1019"/>
		<updated>2023-04-27T04:36:05Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.  these instructions are what i did when i installed ubuntu cinnamon 23.04 lunar lobster on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to recognize the network and you&#039;ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina isn’t installed by default as of 23.04 but there doesn’t seem to be an alternative to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection. choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work -- it has to be added to the list using the ... button before you can choose it), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work. save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login.  under keyboard i clear the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== enable dark mode ==&lt;br /&gt;
by default ubuntu cinnamon uses a dark theme, but doesn’t tell all apps they should do that too.  not sure why this isn&#039;t in system settings anywhere, but this tells gtk 4 applications such as the text editor that they should show a dark mode theme:&lt;br /&gt;
&lt;br /&gt;
 gsettings set org.gnome.desktop.interface color-scheme prefer-dark&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they&#039;re grouped into sections so i&#039;m using those same groupings here.  if i don&#039;t list a settings option it&#039;s because i don&#039;t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the icon theme to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %e &amp;lt;/code&amp;gt; (with a trailing space) to take up less space and use 12-hour time.  select corner bar and click the minus button at the bottom to remove it.  configure menu to use a custom icon and label, then set icon to &amp;lt;code&amp;gt;/usr/share/cinnamon/icons/ubuntucinnamon-symbolic.png&amp;lt;/code&amp;gt; and icon size to 28 to keep the same icon and clear the text so it doesn’t take up space.  also turn on menu animations.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  go to the settings tab and slide the maximum volume all the way up to 150%, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like a different background for the login screen, so set that here and then turn off draw user background.  then set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install puddletag steam xsane&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn’t in the default apt repositories (it’s in snap but snap doesn’t update well), but downloading and installing the deb actually adds it to apt so it can keep updating.  note the filename will probably change to whichever version is current, so for the last two lines press the tab key to autocomplete after you’ve typed “code”:&lt;br /&gt;
&lt;br /&gt;
 wget &#039;https://code.visualstudio.com/sha/download?build=stable&amp;amp;os=linux-deb-x64&#039; --trust-server-names&lt;br /&gt;
 sudo dpkg -i code_1.77.3-1681292746_amd64.deb&lt;br /&gt;
 rm code_1.77.3-1681292746_amd64.deb&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
the official way to install zoom on ubuntu is to download the deb and install that, but it won’t auto-update and i end up having to manually update before every time i use it.  instead, copy this into a script file (run &amp;lt;code&amp;gt;chmod +x install-zoom&amp;lt;/code&amp;gt; assuming you’ve saved it as install-zoom) and run it:&lt;br /&gt;
&lt;br /&gt;
 #!/usr/bin/env bash&lt;br /&gt;
 &lt;br /&gt;
 url=https://zoom.us/client/latest/zoom_amd64.deb&lt;br /&gt;
 debdir=/usr/local/zoomdebs&lt;br /&gt;
 aptconf=/etc/apt/apt.conf.d/100update_zoom&lt;br /&gt;
 sourcelist=/etc/apt/sources.list.d/zoomdebs.list&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir -p $debdir&lt;br /&gt;
 ( echo &#039;APT::Update::Pre-Invoke {&amp;quot;cd &#039;$debdir&#039; &amp;amp;&amp;amp; wget -qN &#039;$url&#039; &amp;amp;&amp;amp; apt-ftparchive packages . &amp;gt; Packages &amp;amp;&amp;amp; apt-ftparchive release . &amp;gt; Release&amp;quot;;};&#039; | sudo tee $aptconf&lt;br /&gt;
   echo &#039;deb [trusted=yes lang=none] file:&#039;$debdir&#039; ./&#039; | sudo tee $sourcelist&lt;br /&gt;
 ) &amp;gt;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 sudo apt update&lt;br /&gt;
 sudo apt install zoom&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan&amp;diff=1018</id>
		<title>User:Misterhaan</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan&amp;diff=1018"/>
		<updated>2023-04-27T04:34:38Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I’m misterhaan, the owner of [http://www.track7.org/ track7], which includes auWiki.  I wrote everything here so far (there are no [[Special:Listusers|other users]] yet!).&lt;br /&gt;
&lt;br /&gt;
My own notes which may someday appear on track7 somewhere (mostly in the [http://www.track7.org/geek/guides/ guides / tips section]):&lt;br /&gt;
* [[/Nuvexport Tweaks|Nuvexport Tweaks]]&lt;br /&gt;
* [[User:Misterhaan/Dual Booting Ubuntu and Vista|Dual Booting Ubuntu and Vista]]&lt;br /&gt;
** [[User:Misterhaan/Windows 10 Setup|Windows 10 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 8.1 Setup|Windows 8.1 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 8 Setup|Windows 8 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 7 Setup|Windows 7 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Vista Setup|Vista Setup]]&lt;br /&gt;
** [[User:Misterhaan/Linux Client Setup|Linux Client Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 23.04 Lunar Lobster Setup|Ubuntu 23.04 Lunar Lobster Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup|Ubuntu 22.10 Kinetic Kudu Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 22.04 Jammy Jellyfish Setup|Ubuntu 22.04 Jammy Jellyfish Setup]]&lt;br /&gt;
** [[User:Misterhaan/Linux Virtual Machine Setup|Linux Virtual Machine Setup]]&lt;br /&gt;
* [[/Basic Ubuntu Setup]]&lt;br /&gt;
** [[/HTPC Setup]]&lt;br /&gt;
* [[User:Misterhaan/Dreamhost SVN Setup|Dreamhost SVN Setup]]&lt;br /&gt;
&lt;br /&gt;
These reviews are for adventures made in Spore Galactic Adventures, which I am slowly posting on the Spore forums.&lt;br /&gt;
* [[User:Misterhaan/HUAR|HUAR]]&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_23.04_Lunar_Lobster_Setup&amp;diff=1017</id>
		<title>User:Misterhaan/Ubuntu 23.04 Lunar Lobster Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_23.04_Lunar_Lobster_Setup&amp;diff=1017"/>
		<updated>2023-04-27T04:33:49Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: Created page with &amp;quot;i use ubuntu linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&amp;#039;s utilities.  these instructions are what i did when i installed ubuntu cinnamon 23.04 lunar lobster on my laptop westinghouse.  = connections to other systems = most of what i use my laptop for is connecting to other systems, including my home file sh...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.  these instructions are what i did when i installed ubuntu cinnamon 23.04 lunar lobster on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to recognize the network and you&#039;ll need to issue the mount commands manually.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfacl -m &amp;quot;u:[username]:r-x&amp;quot; /media/&lt;br /&gt;
 sudo setfacl -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina isn’t installed by default as of 23.04 but there doesn’t seem to be an alternative to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  it is simple to install it though:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install remmina&lt;br /&gt;
&lt;br /&gt;
i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection. choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work -- it has to be added to the list using the ... button before you can choose it), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work. save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login.  under keyboard i clear the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {[  Insert  ]};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== enable dark mode ==&lt;br /&gt;
by default ubuntu cinnamon uses a dark theme, but doesn’t tell all apps they should do that too.  not sure why this isn&#039;t in system settings anywhere, but this tells gtk 4 applications such as the text editor that they should show a dark mode theme:&lt;br /&gt;
&lt;br /&gt;
 gsettings set org.gnome.desktop.interface color-scheme prefer-dark&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they&#039;re grouped into sections so i&#039;m using those same groupings here.  if i don&#039;t list a settings option it&#039;s because i don&#039;t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the icon theme to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %e &amp;lt;/code&amp;gt; (with a trailing space) to take up less space and use 12-hour time.  select corner bar and click the minus button at the bottom to remove it.  configure menu to use a custom icon and label, then set icon to &amp;lt;code&amp;gt;/usr/share/cinnamon/icons/ubuntucinnamon-symbolic.png&amp;lt;/code&amp;gt; and icon size to 28 to keep the same icon and clear the text so it doesn’t take up space.  also turn on menu animations.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  go to the settings tab and slide the maximum volume all the way up to 150%, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like a different background for the login screen, so set that here and then turn off draw user background.  then set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install puddletag steam xsane&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn’t in the default apt repositories (it’s in snap but snap doesn’t update well), but downloading and installing the deb actually adds it to apt so it can keep updating.  note the filename will probably change to whichever version is current, so for the last two lines press the tab key to autocomplete after you’ve typed “code”:&lt;br /&gt;
&lt;br /&gt;
 wget &#039;https://code.visualstudio.com/sha/download?build=stable&amp;amp;os=linux-deb-x64&#039; --trust-server-names&lt;br /&gt;
 sudo dpkg -i code_1.77.3-1681292746_amd64.deb&lt;br /&gt;
 rm code_1.77.3-1681292746_amd64.deb&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
the official way to install zoom on ubuntu is to download the deb and install that, but it won’t auto-update and i end up having to manually update before every time i use it.  instead, copy this into a script file (run &amp;lt;code&amp;gt;chmod +x install-zoom&amp;lt;/code&amp;gt; assuming you’ve saved it as install-zoom) and run it:&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1016</id>
		<title>User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1016"/>
		<updated>2022-12-21T05:38:19Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.these instructions are what i did when i installed ubuntu cinnamon 22.10 kinetic kudu on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to do anything.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfact -m &amp;quot;u:[username]:r-x&amp;quot; /media/[username]&lt;br /&gt;
 sudo setfact -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is in the default ubuntu install and works well to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection. choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work -- it has to be added to the list using the ... button before you can choose it), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work. save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login.  under keyboard i clear the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {	[ Insert	]	};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== enable dark mode ==&lt;br /&gt;
not sure why this isn&#039;t in system settings anywhere, but this tells gtk 4 applications such as the text editor that they should show a dark mode theme:&lt;br /&gt;
&lt;br /&gt;
 gsettings set org.gnome.desktop.interface color-scheme prefer-dark&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they&#039;re grouped into sections so i&#039;m using those same groupings here.  if i don&#039;t list a settings option it&#039;s because i don&#039;t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the icon theme to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %e &amp;lt;/code&amp;gt; (with a trailing space) to take up less space and use 12-hour time.  configure menu to not include text, which also takes up less space.  select show desktop and click the minus button at the bottom to remove it.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  go to the settings tab and slide the maximum volume all the way up to 150%, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like a different background for the login screen, so set that here and then turn off draw user background.  then set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install gimp puddletag steam xsane&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn&#039;t in the default repositories, but these commands add its repository and install from it:&lt;br /&gt;
&lt;br /&gt;
 wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -&lt;br /&gt;
 sudo add-apt-repository &amp;quot;deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main&amp;quot;&lt;br /&gt;
 sudo apt install code&lt;br /&gt;
&lt;br /&gt;
it says apt-key is deprecated, which might mean this approach won&#039;t work in the next version and i&#039;ll have to figure out how to use trusted.gpg.d instead.&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
note i&#039;m using apt to install the deb file because my typical dpkg command just says it has unmet dependencies but doesn&#039;t install them.&lt;br /&gt;
&lt;br /&gt;
 wget https://zoom.us/client/latest/zoom_amd64.deb&lt;br /&gt;
 sudo apt install ./zoom_amd64.deb&lt;br /&gt;
 rm zoom_amd64.deb&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1015</id>
		<title>User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1015"/>
		<updated>2022-12-21T03:29:38Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: /* configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.these instructions are what i did when i installed ubuntu cinnamon 22.10 kinetic kudu on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to do anything.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfact -m &amp;quot;u:[username]:r-x&amp;quot; /media/[username]&lt;br /&gt;
 sudo setfact -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is in the default ubuntu install and works well to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection. choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work -- it has to be added to the list using the ... button before you can choose it), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work. save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login.  under keyboard i clear the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {	[ Insert	]	};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== enable dark mode ==&lt;br /&gt;
not sure why this isn&#039;t in system settings anywhere, but this tells gtk 4 applications such as the text editor that they should show a dark mode theme:&lt;br /&gt;
&lt;br /&gt;
 gsettings set org.gnome.desktop.interface color-scheme prefer-dark&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they&#039;re grouped into sections so i&#039;m using those same groupings here.  if i don&#039;t list a settings option it&#039;s because i don&#039;t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the icon theme to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %e &amp;lt;/code&amp;gt; (with a trailing space) to take up less space and use 12-hour time.  configure menu to not include text, which also takes up less space.  select show desktop and click the minus button at the bottom to remove it.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  go to the settings tab and slide the maximum volume all the way up to 150%, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like a different background for the login screen, so set that here and then turn off draw user background.  then set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install gimp puddletag steam xsane&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1014</id>
		<title>User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1014"/>
		<updated>2022-12-21T03:01:19Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.these instructions are what i did when i installed ubuntu cinnamon 22.10 kinetic kudu on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to do anything.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfact -m &amp;quot;u:[username]:r-x&amp;quot; /media/[username]&lt;br /&gt;
 sudo setfact -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is in the default ubuntu install and works well to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection. choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work -- it has to be added to the list using the ... button before you can choose it), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work. save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login.  under keyboard i clear the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {	[ Insert	]	};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they&#039;re grouped into sections so i&#039;m using those same groupings here.  if i don&#039;t list a settings option it&#039;s because i don&#039;t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the icon theme to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %e &amp;lt;/code&amp;gt; (with a trailing space) to take up less space and use 12-hour time.  configure menu to not include text, which also takes up less space.  select show desktop and click the minus button at the bottom to remove it.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  go to the settings tab and slide the maximum volume all the way up to 150%, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like a different background for the login screen, so set that here and then turn off draw user background.  then set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s some software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install gimp puddletag steam xsane&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1013</id>
		<title>User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1013"/>
		<updated>2022-12-18T18:33:26Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.these instructions are what i did when i installed ubuntu cinnamon 22.10 kinetic kudu on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to do anything.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfact -m &amp;quot;u:[username]:r-x&amp;quot; /media/[username]&lt;br /&gt;
 sudo setfact -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is in the default ubuntu install and works well to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection. choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work -- it has to be added to the list using the ... button before you can choose it), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work. save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login.  under keyboard i clear the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {	[ Insert	]	};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they&#039;re grouped into sections so i&#039;m using those same groupings here.  if i don&#039;t list a settings option it&#039;s because i don&#039;t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the icon theme to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %e &amp;lt;/code&amp;gt; (with a trailing space) to take up less space and use 12-hour time.  configure menu to not include text, which also takes up less space.  select show desktop and click the minus button at the bottom to remove it.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  go to the settings tab and slide the maximum volume all the way up to 150%, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like a different background for the login screen, so set that here and then turn off draw user background.  then set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt remove rhythmbox simple-scan&lt;br /&gt;
 sudo apt autoremove&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1012</id>
		<title>User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1012"/>
		<updated>2022-12-18T18:12:23Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.these instructions are what i did when i installed ubuntu cinnamon 22.10 kinetic kudu on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to do anything.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfact -m &amp;quot;u:[username]:r-x&amp;quot; /media/[username]&lt;br /&gt;
 sudo setfact -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is in the default ubuntu install and works well to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection. choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work -- it has to be added to the list using the ... button before you can choose it), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work. save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login.  under keyboard i clear the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {	[ Insert	]	};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they&#039;re grouped into sections so i&#039;m using those same groupings here.  if i don&#039;t list a settings option it&#039;s because i don&#039;t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the icon theme to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %e &amp;lt;/code&amp;gt; (with a trailing space) to take up less space and use 12-hour time.  configure menu to not include text, which also takes up less space.  select show desktop and click the minus button at the bottom to remove it.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  go to the settings tab and slide the maximum volume all the way up to 150%, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like a different background for the login screen, so set that here and then turn off draw user background.  then set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1011</id>
		<title>User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1011"/>
		<updated>2022-12-18T16:04:30Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: /* hardware */ touchpad&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.these instructions are what i did when i installed ubuntu cinnamon 22.10 kinetic kudu on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to do anything.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfact -m &amp;quot;u:[username]:r-x&amp;quot; /media/[username]&lt;br /&gt;
 sudo setfact -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is in the default ubuntu install and works well to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection. choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work -- it has to be added to the list using the ... button before you can choose it), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work. save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login.  under keyboard i clear the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {	[ Insert	]	};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they&#039;re grouped into sections so i&#039;m using those same groupings here.  if i don&#039;t list a settings option it&#039;s because i don&#039;t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the icon theme to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %e &amp;lt;/code&amp;gt; (with a trailing space) to take up less space and use 12-hour time.  configure menu to not include text, which also takes up less space.  select show desktop and click the minus button at the bottom to remove it.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== mouse and touchpad ====&lt;br /&gt;
under touchpad, i turn off reverse scrolling direction so that two-finger touchpad scroll works like moving the scroll bar not moving the content.&lt;br /&gt;
&lt;br /&gt;
==== power management ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  go to the settings tab and slide the maximum volume all the way up to 150%, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like a different background for the login screen, so set that here and then turn off draw user background.  then set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1010</id>
		<title>User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1010"/>
		<updated>2022-12-18T04:11:40Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: preferences and administration settings&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.these instructions are what i did when i installed ubuntu cinnamon 22.10 kinetic kudu on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to do anything.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfact -m &amp;quot;u:[username]:r-x&amp;quot; /media/[username]&lt;br /&gt;
 sudo setfact -x &amp;quot;u:1000&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
now we just need to get rid of tempadmin, so log out and log back in as your actual user.  run &amp;lt;code&amp;gt;sudo userdel tempadmin&amp;lt;/code&amp;gt; to go back to just one user.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is in the default ubuntu install and works well to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection. choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work -- it has to be added to the list using the ... button before you can choose it), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work. save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login.  under keyboard i clear the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {	[ Insert	]	};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
access system settings from the panel menu.  they&#039;re grouped into sections so i&#039;m using those same groupings here.  if i don&#039;t list a settings option it&#039;s because i don&#039;t actually change anything in that one.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add button (bottom left) to get that backgrounds directory added, then select it and a background.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the icon theme to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t been able to find where those are stored.  click the use picture and choose browse for more pictures to select your preferred avatar.&lt;br /&gt;
&lt;br /&gt;
==== applets ====&lt;br /&gt;
configure calendar to set custom date format to &amp;lt;code&amp;gt;%l:%M %p %a %b %e &amp;lt;/code&amp;gt; (with a trailing space) to take up less space and use 12-hour time.  configure menu to not include text, which also takes up less space.  select show desktop and click the minus button at the bottom to remove it.&lt;br /&gt;
&lt;br /&gt;
==== date &amp;amp; time ====&lt;br /&gt;
turn off 24 hour clock and display seconds.&lt;br /&gt;
&lt;br /&gt;
==== desktop ====&lt;br /&gt;
turn off all the desktop icons.&lt;br /&gt;
&lt;br /&gt;
=== hardware ===&lt;br /&gt;
==== power ====&lt;br /&gt;
change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== sound ====&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  go to the settings tab and slide the maximum volume all the way up to 150%, which is often handy running off built-in speakers.&lt;br /&gt;
&lt;br /&gt;
=== administration ===&lt;br /&gt;
==== login window ====&lt;br /&gt;
i like a different background for the login screen, so set that here and then turn off draw user background.  then set the themes as close as i can to the themes i picked in themes.  under settings, change clock format to &amp;lt;code&amp;gt;%l:%M %p&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1009</id>
		<title>User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1009"/>
		<updated>2022-12-17T22:36:21Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: /* change user id */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.these instructions are what i did when i installed ubuntu cinnamon 22.10 kinetic kudu on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to do anything.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo -m -s /bin/bash tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
 sudo usermod -u [new_ID] [username]&lt;br /&gt;
 sudo setfact -m &amp;quot;u:[username]:r-x&amp;quot; /media/[username]&lt;br /&gt;
 sudo setfact -x &amp;quot;u:[old_ID]&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is in the default ubuntu install and works well to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection. choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work -- it has to be added to the list using the ... button before you can choose it), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work. save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login.  under keyboard i clear the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {	[ Insert	]	};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add picture button to get backgrounds added to settings, then select.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the icon theme to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
&lt;br /&gt;
i set my system appearance to dark style and choose my favorite accent color.  i also turn off show personal folder from desktop icons and turn down the icon size in the dock to 40.&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1008</id>
		<title>User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1008"/>
		<updated>2022-12-17T22:26:53Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.these instructions are what i did when i installed ubuntu cinnamon 22.10 kinetic kudu on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to do anything.&lt;br /&gt;
&lt;br /&gt;
=== change user id ===&lt;br /&gt;
ubuntu uses 1000 as the id for the user it creates, but i have a different id on my server and they need to match up for nfs to know who i am.  you can&#039;t change your user id while you&#039;re logged in, so i&#039;ll create another admin account temporarily and use that.  do that and set a password with the following:&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -G adm,sudo tempadmin&lt;br /&gt;
 sudo passwd tempadmin&lt;br /&gt;
&lt;br /&gt;
now log out and you should be able to log back in as tempadmin with the password you just set.  run the following command to change your user id and update automounting:&lt;br /&gt;
&lt;br /&gt;
sudo usermod -u [new_ID] [username]&lt;br /&gt;
sudo setfact -m &amp;quot;u:[username]:r-x&amp;quot; /media/[username]&lt;br /&gt;
sudo setfact -x &amp;quot;u:[old_ID]&amp;quot; /media/&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is in the default ubuntu install and works well to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection. choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work -- it has to be added to the list using the ... button before you can choose it), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work. save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login.  under keyboard i clear the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {	[ Insert	]	};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply to rdp connections in remmina though, so be sure to also follow the instructions from earlier for mapping it there too.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
=== appearance ===&lt;br /&gt;
==== background ====&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add picture button to get backgrounds added to settings, then select.&lt;br /&gt;
&lt;br /&gt;
==== effects ====&lt;br /&gt;
i have all the effects turned on, and set new windows and close windows to fly while leaving minimize traditional.&lt;br /&gt;
&lt;br /&gt;
==== themes ====&lt;br /&gt;
it defaulted to a dark theme, so i change the icon theme to a dark yaru one with the accent color i want.  under settings i turn on icons for menus and buttons.&lt;br /&gt;
&lt;br /&gt;
=== preferences ===&lt;br /&gt;
==== account details ====&lt;br /&gt;
&lt;br /&gt;
i set my system appearance to dark style and choose my favorite accent color.  i also turn off show personal folder from desktop icons and turn down the icon size in the dock to 40.&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1007</id>
		<title>User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1007"/>
		<updated>2022-12-17T18:36:35Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.these instructions are what i did when i installed ubuntu cinnamon 22.10 kinetic kudu on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to do anything.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is in the default ubuntu install and works well to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
i connect to my work computer over rdp, which i also do through remmina.  create a new connection leaving the protocol on the default of RDP - Remote Desktop Protocol and set the server, username, password, and domain for the connection. choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work -- it has to be added to the list using the ... button before you can choose it), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work. save the connection.  on the first connection (we&#039;ll need to set up and connect to vpn first), it asks to accept a certificate for the machine.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences i turn off the setting that prevents screenshots from entering clipboard.  then under applet, check the box to start in tray upon user login.  under keyboard i clear the host key since i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway. under rdp, map the caps lock key to insert by entering 0x3a=0x52 for keyboard scancode remapping (needs to be done separately from mapping it locally because rdp doesn&#039;t care about local mappings).&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to the network icon in the panel (lower right, probably looks like wifi), click it, and choose &amp;quot;Network Connections.&amp;quot;  add a new connection using the plus button in the lower left of that window, and choose &amp;quot;Cisco AnyConnect or OpenConnect (OpenConnect)&amp;quot; from under the VPN heading.  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.  save the connection.&lt;br /&gt;
&lt;br /&gt;
now, just under the list of available SSIDs in the network menu it will show &amp;quot;VPN Connections&amp;quot; with a toggle next to it.  select this to connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but  anyconnect doesn&#039;t either.  disconnect by toggling VPN Connections back to off.&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1006</id>
		<title>User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1006"/>
		<updated>2022-12-17T18:10:32Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: openconnect (not letting me configure yet)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.these instructions are what i did when i installed ubuntu cinnamon 22.10 kinetic kudu on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec,noauto 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.  the &amp;lt;code&amp;gt;noauto&amp;lt;/code&amp;gt; in fstab tells the system not to attempt to mount those shares on startup, so it doesn&#039;t have to wait for that to fail when they&#039;re not available.  the NetworkManager script makes sure to mount them once connected to the correct wifi, but if you&#039;re going to connect to your network with a cable it&#039;s not going to do anything.&lt;br /&gt;
&lt;br /&gt;
== remote control ==&lt;br /&gt;
remmina is in the default ubuntu install and works well to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  setting the password means if someone else got access to my laptop they could also access my desktop, so be sure to weigh the convenience against security for your situation.&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses, even for cinnamon):&lt;br /&gt;
&lt;br /&gt;
 sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to settings &amp;gt; network and add a vpn connection (plus button in the lower right) using &amp;quot;Multi-protocol VPN client (openconnect).&amp;quot;  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.&lt;br /&gt;
&lt;br /&gt;
now, just under your wifi line in the system menu it should say &amp;quot;vpn off,&amp;quot; which you can expand and choose connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but i don&#039;t think anyconnect did either.&lt;br /&gt;
&lt;br /&gt;
while connected, there&#039;s a vpn icon next to the wifi icon.  disconnect by expanding the name you gave to the vpn connection in the system menu and choosing &amp;quot;turn off.&amp;quot;&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan&amp;diff=1005</id>
		<title>User:Misterhaan</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan&amp;diff=1005"/>
		<updated>2022-12-16T04:48:35Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: adding 22.10&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I’m misterhaan, the owner of [http://www.track7.org/ track7], which includes auWiki.  I wrote everything here so far (there are no [[Special:Listusers|other users]] yet!).&lt;br /&gt;
&lt;br /&gt;
My own notes which may someday appear on track7 somewhere (mostly in the [http://www.track7.org/geek/guides/ guides / tips section]):&lt;br /&gt;
* [[/Nuvexport Tweaks|Nuvexport Tweaks]]&lt;br /&gt;
* [[User:Misterhaan/Dual Booting Ubuntu and Vista|Dual Booting Ubuntu and Vista]]&lt;br /&gt;
** [[User:Misterhaan/Windows 10 Setup|Windows 10 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 8.1 Setup|Windows 8.1 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 8 Setup|Windows 8 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Windows 7 Setup|Windows 7 Setup]]&lt;br /&gt;
** [[User:Misterhaan/Vista Setup|Vista Setup]]&lt;br /&gt;
** [[User:Misterhaan/Linux Client Setup|Linux Client Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup|Ubuntu 22.10 Kinetic Kudu Setup]]&lt;br /&gt;
** [[User:Misterhaan/Ubuntu 22.04 Jammy Jellyfish Setup|Ubuntu 22.04 Jammy Jellyfish Setup]]&lt;br /&gt;
** [[User:Misterhaan/Linux Virtual Machine Setup|Linux Virtual Machine Setup]]&lt;br /&gt;
* [[/Basic Ubuntu Setup]]&lt;br /&gt;
** [[/HTPC Setup]]&lt;br /&gt;
* [[User:Misterhaan/Dreamhost SVN Setup|Dreamhost SVN Setup]]&lt;br /&gt;
&lt;br /&gt;
These reviews are for adventures made in Spore Galactic Adventures, which I am slowly posting on the Spore forums.&lt;br /&gt;
* [[User:Misterhaan/HUAR|HUAR]]&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1004</id>
		<title>User:Misterhaan/Ubuntu 22.10 Kinetic Kudu Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.10_Kinetic_Kudu_Setup&amp;diff=1004"/>
		<updated>2022-12-16T04:48:23Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: started setting up 22.10&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop. since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup when i need one of the manufacturer&#039;s utilities.these instructions are what i did when i installed ubuntu cinnamon 22.10 kinetic kudu on my laptop westinghouse.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, in this format: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Linux_Virtual_Machine_Setup&amp;diff=1003</id>
		<title>User:Misterhaan/Linux Virtual Machine Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Linux_Virtual_Machine_Setup&amp;diff=1003"/>
		<updated>2022-05-07T04:23:29Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: /* install stuff */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu as my workstation gnu/linux distribution running through virtualbox on the latest version of windows.  this guide is what i did to set up an ubuntu 22.04 virtual machine.&lt;br /&gt;
&lt;br /&gt;
== set up virtualbox and create virtual machine ==&lt;br /&gt;
first off, start downloading the latest 64-bit ubuntu desktop iso from [http://www.ubuntu.com/download/desktop ubuntu.com].  it’ll take a while so leave it going while setting up the virtual machine.  i recommend using the bittorrent download through [http://www.qbittorrent.org/download.php qbittorrent] for faster, easily-resumable downloading.&lt;br /&gt;
&lt;br /&gt;
i use virtualbox to run the virtual machine i install ubuntu on.  get the latest version for windows along with the extension pack from [https://www.virtualbox.org/wiki/Downloads virtualbox.org] and install it.  the installer has options for bridged networking and host-only networking, but bridged doesn’t work and host-only isn’t useful for me, so neither needs to be selected.  after the install is completed, run the extension pack.&lt;br /&gt;
&lt;br /&gt;
create a new virtual machine either from the toolbar or machine menu in virtualbox.  i name mine with the ubuntu version number and name, so Ubuntu 22.04 Jammy Jellyfish.  it should automatically switch type to linux and version to ubuntu (64 bit) when you type ubuntu in the name box, but select them if it doesn’t.  i set the memory size to 4096 mb which seems to be plenty even though i have 32 gb total.  create a virtual hard drive using vdi file type, dynamically allocated, sized 128 gb.&lt;br /&gt;
&lt;br /&gt;
the new machine should now show in the virtualbox manager window and show a powered off status.  select it and choose settings either from the toolbar, the machine menu, or the context menu.  under general/advanced you can enable shared clipboard and drag&#039;n&#039;drop by setting both to bidirectional.  for system/motherboard, uncheck floppy in boot order and check the box to enable efi.  under system/processor you can enable pae/nx an nested vt-x/amd-v if it lets you.  under display/screen crank up video memory to 64 mb and enable 3d acceleration.  if you have a solid-state drive you can select the virtual drive under storage and check the solid-state drive box (not sure if this is useful).  under network/adapter 1, expand the advanced section and change the adapter type away from the ridiculously slow intel pro/1000 mt desktop to pcnet-fast iii.  everything else should be fine.&lt;br /&gt;
&lt;br /&gt;
once the ubuntu desktop iso has finished downloading, start your virtual machine.  since all it has is a freshly-created virtual hard drive, it will ask for a start-up disk.  select the ubuntu desktop iso and it will load up ubuntu from the iso.  choose the try or install ubuntu option from the text-based menu.&lt;br /&gt;
&lt;br /&gt;
once ubuntu starts up, choose your language and then the install ubuntu option to install to your virtual hard drive.  choose your keyboard layout (i use dvorak).  choose minimal installation because most software i’ll run on windows, just using linux for things that work better there.  tell it to download updates but don’t install third-party software.  i let it do what it wants to with the whole virtual disk (“erase disk and install ubuntu”) — note it can’t access your physical hard drive so it won’t affect your windows install.  click install now.  set your time zone and user and computer name (i usually tack the ubuntu version onto the name of my windows computer for the virtual machine name, something like WinName2204).  i set a username and password that matches what i use on my home server (running command-line linux), but can’t set the uid here so also don’t select log in automatically.  wait for it to finish installing and restart.&lt;br /&gt;
&lt;br /&gt;
== configure ubuntu and install and remove applications ==&lt;br /&gt;
&lt;br /&gt;
after the system reboots it will probably have some updates it wants to install, but before that i want to create my users and group(s) to match my server.  this is done largely the same way as described in the linux server setup, except admin users here should also be part of some additional groups (use with -G in either useradd or usermod).  when logged in as your user, run the groups command in terminal to get the list of groups (ignore the group named the same as your user).  be sure to run passwd to set passwords for the other users, then log in as one of them.  use usermod to change your user’s id, move the home directory, and set the default group.  now you can install all the updates, which might take a while especially if you’re installing months after that version of ubuntu was released.&lt;br /&gt;
&lt;br /&gt;
== remove stuff ==&lt;br /&gt;
i remove some things i don’t like.  the command for that looks like this:&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
sudo apt-get remove packages&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
where packages is at least one package to remove.  to remove more than one package, separate their names with spaces.  here are the packages i remove:&lt;br /&gt;
&lt;br /&gt;
* *rhythmbox* - a music player that doesn’t do all that well with my read-only mp3 share from my file server.  i’ll install audacious instead.&lt;br /&gt;
* *simple-scan* - an oversimplified scanner interface, missing important basic features like preview.  install xsane instead if you have a scanner that works with linux&lt;br /&gt;
* *ubuntuone** - a moderate amount of free online storage.  i have plenty of my own local storage and don’t need this.  there are a number of packages so the wildcard helps find all of them.&lt;br /&gt;
* *unity-lens-shopping* - eff said this has to do with amazon product search results showing up in the dash, but removing it doesn’t seem to change anything.&lt;br /&gt;
&lt;br /&gt;
here’s the full command to remove everything i remove:&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
sudo apt-get remove rhythmbox simple-scan ubuntuone*&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
if you choose the minimal install, these packages won’t be there anyway.&lt;br /&gt;
&lt;br /&gt;
== install stuff ==&lt;br /&gt;
of course there are also a few things i use that aren’t in ubuntu by default.  add them with a command that looks like this:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install &amp;lt;packages&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where packages again is at least one package to install, and multiple packages can be specified separated with spaces.  ubuntu can find most software i want — i’ll discuss those it can’t find or that it finds an older version of than i want later.  here are the packages i install with apt-get:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;avidemux&#039;&#039;&#039; - simple video editor i have used to convert mkv to avi.&lt;br /&gt;
* &#039;&#039;&#039;compizconfig-settings-manager&#039;&#039;&#039; - advanced display effects settings tool, which also configures some unity settings.  unity handles the menu and running programs list.&lt;br /&gt;
* &#039;&#039;&#039;gnome-tweak-tool&#039;&#039;&#039; - gives back some basic display options, like font sizes and themes.&lt;br /&gt;
* &#039;&#039;&#039;handbrake-gtk&#039;&#039;&#039; - dvd ripping program handy for getting movies from disc to an ipad, for example.  it wouldn’t install for me on 12.10 though.&lt;br /&gt;
* &#039;&#039;&#039;konqueror&#039;&#039;&#039; - a khtml-based browser (safari and chrome use webkit, which is based on khtml).  i have installed this in the past to test my web development in it, but it has so few people using it that it’s not worth the trouble.  it adds a bunch of kde stuff to the menus, with konqueror in the &#039;&#039;internet&#039;&#039; section.&lt;br /&gt;
* &#039;&#039;&#039;mixxx&#039;&#039;&#039; - dj software i’m playing around with on my laptop.&lt;br /&gt;
* &#039;&#039;&#039;myunity&#039;&#039;&#039; - some customization options for the unity desktop.  it’s easier to use than compizconfig-settings-manager, but also doesn’t have as many options.  seems to not exist as of 12.10.&lt;br /&gt;
* &#039;&#039;&#039;nfs-common&#039;&#039;&#039; - support for connecting to network filesystems, which is the easiest way to share a disk from one linux machine to another.&lt;br /&gt;
* &#039;&#039;&#039;openshot&#039;&#039;&#039; - video editor i’ve used to fade two video clips together.&lt;br /&gt;
* &#039;&#039;&#039;puddletag&#039;&#039;&#039; - mp3 tag editor.  no longer available through apt since the official release doesn&#039;t support python3 yet.  install instructions later.&lt;br /&gt;
* &#039;&#039;&#039;python-rgain&#039;&#039;&#039; - loudness analyzer for mp3 files.  replaygain attempts to figure out how loud an mp3 file sounds, and then adds gain information to the file so that it sounds like it has the same loudness as the other mp3s (provided you use this on all of them).  it’s a command-line tool so won’t put anything in the applications menu.&lt;br /&gt;
* &#039;&#039;&#039;rpcbind&#039; - not entirely sure what this is or if it needs to be installed explicitly, but it’s for nfs.&lt;br /&gt;
* &#039;&#039;&#039;sound-juicer&#039;&#039;&#039; - cd ripper.  shows up as &#039;&#039;audio cd extractor&#039;&#039; in the menu.&lt;br /&gt;
* &#039;&#039;&#039;soundconverter&#039;&#039;&#039; - just as it sounds like, this program can load up a bunch of sound files and convert them to a different format.  i don’t typically do this, so i wait to install it until i’m about to use it.&lt;br /&gt;
* &#039;&#039;&#039;sux&#039;&#039;&#039; - switch user and forward x context.  handy when i want to run a gui application as a different user.&lt;br /&gt;
* &#039;&#039;&#039;ubuntu-restricted-extras&#039;&#039;&#039; - mp3, flash, java, and dvd playback.  these changes affect browsers and players that are installed (or will be installed later) so nothing is added to the applications menu.&lt;br /&gt;
* &#039;&#039;&#039;virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11&#039;&#039;&#039; - helps ubuntu be a better guest on virtualbox.  mostly for the video driver that lets resizing the virtualbox window set the screen resolution.&lt;br /&gt;
&lt;br /&gt;
here’s the full command to install everything i install:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install handbrake nfs-common puddletag soundconverter virtualbox-guest-utils virtualbox-guest-x11&lt;br /&gt;
&lt;br /&gt;
before i started using ubuntu through a virtual machine i would dual-boot with windows, so i wanted a few other things that make less sense now that i can run the same or similar programs non-virtualized on the windows host.  in case i ever go back, or if you’re a dual-booter looking for useful stuff, here’s that list:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;audacious&#039;&#039;&#039; - sound player derived from xmms (similar to winamp).&lt;br /&gt;
* &#039;&#039;&#039;audacity&#039;&#039;&#039; - sound editor.&lt;br /&gt;
* &#039;&#039;&#039;eclipse&#039;&#039;&#039; - programming environment that i use for building websites with php, mysql, html, css, and javascript.  i need to install more features from within eclipse later on, but this simplifies the core eclipse install at least.&lt;br /&gt;
* &#039;&#039;&#039;filezilla&#039;&#039;&#039; - ftp client.  i use this for transferring files to my website that aren’t managed by subversion.&lt;br /&gt;
* &#039;&#039;&#039;gimp&#039;&#039;&#039; - graphics editor.  this was in the default ubuntu install until 10.04 where they decided that fspot handles all the photo enhancing that most users want, but i want more than that so i install gimp.&lt;br /&gt;
* &#039;&#039;&#039;gnome-gmail&#039;&#039;&#039; - creates a menu entry for gmail which launches it in firefox.  can also be used as a preferred application (sort of).&lt;br /&gt;
* &#039;&#039;&#039;pidgin&#039;&#039;&#039; - instant messaging client with more important features than the default empathy.&lt;br /&gt;
* &#039;&#039;&#039;screenlets&#039;&#039;&#039; - desktop widgets/gadgets/whatever you want to call them.  i used this to get weather and a slideshow of my photos on the desktop.&lt;br /&gt;
* &#039;&#039;&#039;screenlets-pack-all&#039;&#039;&#039; - more screenlets, including the weather one i like.&lt;br /&gt;
* &#039;&#039;&#039;subversion&#039;&#039;&#039; - command-line subversion client.  mostly i use subversion through an eclipse plugin, but sometimes it’s handy to have the svn command available at the command line.  since it’s a command-line utility it doesn’t show up in the applications menu.&lt;br /&gt;
* &#039;&#039;&#039;xsane&#039;&#039;&#039; - scanner interface that works with gimp.  as far as i know my current scanner isn’t supported but my old one is, so sometimes i’ll install it on my laptop in case i want to bring it and the scanner somewhere.&lt;br /&gt;
&lt;br /&gt;
== update settings ==&lt;br /&gt;
&lt;br /&gt;
click the power icon in the upper right and choose the system settings icon in the bottom left of the dropdown.  under privacy, click screen lock and set automatic screen lock to off since the host handles locking.  under power, set blank screen to never since the host handles the screen.  under details &amp;gt; users, click the unlock button at the top and enter your password to unlock, then turn on automatic login for your account.&lt;br /&gt;
&lt;br /&gt;
== enable nfs network shares ==&lt;br /&gt;
for some reason my workstations never see my server, so i have to add it to the hosts file.  in linux this file is at /etc/hosts — add a line to the end that contains the server’s ip address, a tab or space, and the name of the server:&lt;br /&gt;
&lt;br /&gt;
 192.168.1.2 server&lt;br /&gt;
&lt;br /&gt;
only root can edit this file.  you can launch the text editor (gedit) with sudo:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hosts&lt;br /&gt;
&lt;br /&gt;
ubuntu doesn’t support nfs by default, so install it (if you didn’t already — it’s in my default install command) with `sudo apt-get install rpcbind nfs-common`.  edit /etc/fstab as root and add one line for each nfs share in this format:&lt;br /&gt;
&lt;br /&gt;
 server:/nfs_share /local/mount/point nfs noexec 0 0&lt;br /&gt;
&lt;br /&gt;
make sure your local mount point directories exist (create them with `sudo mkdir /local/mount/point`), then reboot or manually mount everything with `sudo mount /local/mount/point`.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--== set favorite folders in nautilus quicklist ==&lt;br /&gt;
the unity launcher (that thing on the left with the icons) has extra options (called the quicklist) for some applications when you right-click them.  for example, firefox has an option to open a new window.  you can add shortcuts to other folders to the home folder (nautilus) item by copying and modifying a file:&lt;br /&gt;
&lt;br /&gt;
[code]cp /usr/share/applications/nautilus-home.desktop ~/.local/share/applications/&lt;br /&gt;
gedit ~/.local/share/applications/nautilus-home.desktop[/code]&lt;br /&gt;
&lt;br /&gt;
add something like this at the end:&lt;br /&gt;
&lt;br /&gt;
[code]X-Ayatana-Desktop-Shortcuts=MyFolder;My Other Folder;Folder3&lt;br /&gt;
[MyFolder Shortcut Group]&lt;br /&gt;
Name=MyFolder&lt;br /&gt;
Exec=nautilus /path/to/my/folder&lt;br /&gt;
&lt;br /&gt;
[My Other Folder Shortcut Group]&lt;br /&gt;
Name=My Other Folder&lt;br /&gt;
Exec=nautilus /path/to/my/other/folder&lt;br /&gt;
&lt;br /&gt;
[Folder3 Shortcut Group]&lt;br /&gt;
Name=Folder3&lt;br /&gt;
Exec=nautilus /path/to/folder3[/code]&lt;br /&gt;
&lt;br /&gt;
next time you log in this will take effect.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== install puddletag ==&lt;br /&gt;
i use puddletag to normalize mp3 and ogg file tags and artwork.  as of ubuntu 20.04 it’s no longer available through apt (because it uses python 2.5 which is outdated) but there’s a github branch that seems to work just fine but needs to be installed manually.  install prerequisites and download puddletag from github with the following commands.&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
sudo apt-get install git python3 python3-mutagen python3-configobj python3-pyparsing python3-pyqt5 python3-pyqt5.qtsvg&lt;br /&gt;
cd /opt/&lt;br /&gt;
sudo git clone https://github.com/sandrotosi/puddletag&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
you can now run it from a command line with `/opt/puddletag/source/puddletag` but that’s not convenient, so add it to the launcher by placing the following text in a new file at `/usr/share/applications/puddletag.desktop` (either create as root or create somewhere else and copy as root):&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Name=puddletag&lt;br /&gt;
GenericName=Audio Tag Editor&lt;br /&gt;
Comment=Edits tags in audio files&lt;br /&gt;
Exec=/opt/puddletag/source/puddletag&lt;br /&gt;
Icon=/opt/puddletag/source/puddletag.xpm&lt;br /&gt;
Terminal=false&lt;br /&gt;
Type=Application&lt;br /&gt;
Category=AudioVideo;Audio;Qt&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
as i set up new ubuntu virtual machines i want to apply my puddletag settings, which are split across two directories:  `~/.config/puddletag/` and `~/.local/shared/puddletag/`.  i keep tarballs of those directories on my server and extract them both after installing puddletag so i don’t have to reconfigure with each new ubuntu version.&lt;br /&gt;
&lt;br /&gt;
== install makemkv ==&lt;br /&gt;
i’ve ran into some trouble ripping some of my dvds so i can put them on a tablet or whatever.  normally i’d use handbrake but it sometimes quits almost right away, so in those cases i run it through makemkv first and then handbrake afterward.  it’s not in the ubuntu repositories so i install it from a ppa:&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
sudo add-apt-repository ppa:heyarje/makemkv-beta&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install makemkv-bin makemkv-oss&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
it’s not available for bionic beaver yet.&lt;br /&gt;
&lt;br /&gt;
== set preferences ==&lt;br /&gt;
there are a couple more settings in system settings i’ll point out:&lt;br /&gt;
&lt;br /&gt;
under *appearance* i set my background image.  the other settings i mess with are under user accounts (under system).  select a user and then you can click the placeholder picture and set a better one.  also any users created with useradd probably won’t show a name unless you click next to the picture and enter one.  to enable auto-login, select the user you want to log in from user accounts and change automatic login to on.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--many of the settings from before, including font sizes and window themes are missing.  we’ll get into those after installing some extra software which adds some of the changes back.&lt;br /&gt;
&lt;br /&gt;
=== tweak default theme titlebars and change font size ===&lt;br /&gt;
while it’s possible to move the min/max/close buttons to the upper right with a single line pasted into the terminal, getting the program icon to show up requires editing the theme.  all the themes are stored in [code]/usr/share/themes/[/code], and the default is named Ambiance.  i start out by copying it to a new directory so i don’t have to change the actual Ambiance theme:&lt;br /&gt;
&lt;br /&gt;
[code]cd /usr/share/themes/&lt;br /&gt;
sudo cp -r Ambiance/ AmbianceIcon[/code]&lt;br /&gt;
&lt;br /&gt;
there are two files that need to be changed — [code]index.theme[/code] to move the buttons and [code]metacity-1/metacity-theme-1.xml[/code] to use the program icon instead of a grey dot.  both files need to be edited as root.  in [code]index.theme[/code], find the line that starts with [code]ButtonLayout=[/code] (probably the last line) and change it to [code]ButtonLayout=menu:minimize,maximize,close[/code] to put the buttons in the right places.  next in [code]metacity-1/metacity-theme-1.xml[/code], you’re better off searching for [i]name=&amp;quot;menu_[/i] to find the 4 draw_ops tags that match since it’s a large file.  each tag has on the next line an image tag referencing a couple png files for that grey dot thing.  on each of the 4 image tags, change image to icon, delete the filename=&amp;quot;...&amp;quot; and change object_width and object_height to mini_icon_width and mini_icon_height.&lt;br /&gt;
&lt;br /&gt;
once both files have been modified, run tweak tool.  under the theme section, set gtk+ theme and current theme to AmbianceIcon.  You should see the icons appear as soon as current theme is changed.  you can also turn on icons for menus and buttons from this screen.  if you still don’t see icons in the upper left and minimize, maximize, and close buttons in the upper right, you may need to also set the titlebar icon string with this:&lt;br /&gt;
&lt;br /&gt;
[code]gsettings set org.gnome.desktop.wm.preferences button-layout &#039;menu:minimize,maximize,close&#039;[/code]&lt;br /&gt;
&lt;br /&gt;
you can change fonts and their sizes in tweak tool’s fonts section.  you can use the scaling factor to scale all font sizes at once, but when i tried that it left the titlebar font size alone.  i don’t actually change any of the font names, but i set all the sizes to 9.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== run puddletag as alternate user ===&lt;br /&gt;
puddletag is an mp3 (and other audio formats) tag editor.  i use it after i rip an audio cd or after i download music to embed cover art and make sure my iphone will sort albums in the correct order.  as of 12.04 it’s available in ubuntu’s standard repositories.  since my music files are owned by a different user, i need to be able to run puddletag as someone else.  copy the following into a file (i put it in my home directory named puddletag-somebody) and replace somebody with the other user account:&lt;br /&gt;
&lt;br /&gt;
 xhost +SI:localuser:somebody&lt;br /&gt;
 gksudo -u somebody puddletag&lt;br /&gt;
&lt;br /&gt;
then make it executable with chmod:&lt;br /&gt;
&lt;br /&gt;
 chmod 755 puddletag-somebody&lt;br /&gt;
&lt;br /&gt;
then add a menu entry to run that script, or just run it from a terminal.  the easiest way i’ve found to add it to the menu is get to `/usr/share/applications/` and copy the existing puddletag.desktop to puddletag-somebody.desktop, then edit the copy and update the name, tryexec, and exec values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--==more tweaks==&lt;br /&gt;
some of the other software i install is so that i get more settings.  here’s what i like to change in each program:&lt;br /&gt;
&lt;br /&gt;
===myunity===&lt;br /&gt;
THERE&#039;S NO MYUNITY ANYMORE&lt;br /&gt;
myunity starts on the launcher tab.  for my laptop i drop size all the way down to 32 px since it has a small display height and i want to fit more.  if you have a really small screen (netbook), you may want to set behavior to hidden to give you more desktop space.&lt;br /&gt;
&lt;br /&gt;
under font i set everything to ubuntu -1 which then displays as 9.&lt;br /&gt;
&lt;br /&gt;
===compizconfig settings manager===&lt;br /&gt;
under general options, go to the desktop size and bump horizontal virtual size and vertical virtual size both down to 1 if you don’t use more than one desktop.  this will also cause the workspace switcher to disappear from the launcher.&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Linux_Virtual_Machine_Setup&amp;diff=1002</id>
		<title>User:Misterhaan/Linux Virtual Machine Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Linux_Virtual_Machine_Setup&amp;diff=1002"/>
		<updated>2022-05-06T18:04:31Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu as my workstation gnu/linux distribution running through virtualbox on the latest version of windows.  this guide is what i did to set up an ubuntu 22.04 virtual machine.&lt;br /&gt;
&lt;br /&gt;
== set up virtualbox and create virtual machine ==&lt;br /&gt;
first off, start downloading the latest 64-bit ubuntu desktop iso from [http://www.ubuntu.com/download/desktop ubuntu.com].  it’ll take a while so leave it going while setting up the virtual machine.  i recommend using the bittorrent download through [http://www.qbittorrent.org/download.php qbittorrent] for faster, easily-resumable downloading.&lt;br /&gt;
&lt;br /&gt;
i use virtualbox to run the virtual machine i install ubuntu on.  get the latest version for windows along with the extension pack from [https://www.virtualbox.org/wiki/Downloads virtualbox.org] and install it.  the installer has options for bridged networking and host-only networking, but bridged doesn’t work and host-only isn’t useful for me, so neither needs to be selected.  after the install is completed, run the extension pack.&lt;br /&gt;
&lt;br /&gt;
create a new virtual machine either from the toolbar or machine menu in virtualbox.  i name mine with the ubuntu version number and name, so Ubuntu 22.04 Jammy Jellyfish.  it should automatically switch type to linux and version to ubuntu (64 bit) when you type ubuntu in the name box, but select them if it doesn’t.  i set the memory size to 4096 mb which seems to be plenty even though i have 32 gb total.  create a virtual hard drive using vdi file type, dynamically allocated, sized 128 gb.&lt;br /&gt;
&lt;br /&gt;
the new machine should now show in the virtualbox manager window and show a powered off status.  select it and choose settings either from the toolbar, the machine menu, or the context menu.  under general/advanced you can enable shared clipboard and drag&#039;n&#039;drop by setting both to bidirectional.  for system/motherboard, uncheck floppy in boot order and check the box to enable efi.  under system/processor you can enable pae/nx an nested vt-x/amd-v if it lets you.  under display/screen crank up video memory to 64 mb and enable 3d acceleration.  if you have a solid-state drive you can select the virtual drive under storage and check the solid-state drive box (not sure if this is useful).  under network/adapter 1, expand the advanced section and change the adapter type away from the ridiculously slow intel pro/1000 mt desktop to pcnet-fast iii.  everything else should be fine.&lt;br /&gt;
&lt;br /&gt;
once the ubuntu desktop iso has finished downloading, start your virtual machine.  since all it has is a freshly-created virtual hard drive, it will ask for a start-up disk.  select the ubuntu desktop iso and it will load up ubuntu from the iso.  choose the try or install ubuntu option from the text-based menu.&lt;br /&gt;
&lt;br /&gt;
once ubuntu starts up, choose your language and then the install ubuntu option to install to your virtual hard drive.  choose your keyboard layout (i use dvorak).  choose minimal installation because most software i’ll run on windows, just using linux for things that work better there.  tell it to download updates but don’t install third-party software.  i let it do what it wants to with the whole virtual disk (“erase disk and install ubuntu”) — note it can’t access your physical hard drive so it won’t affect your windows install.  click install now.  set your time zone and user and computer name (i usually tack the ubuntu version onto the name of my windows computer for the virtual machine name, something like WinName2204).  i set a username and password that matches what i use on my home server (running command-line linux), but can’t set the uid here so also don’t select log in automatically.  wait for it to finish installing and restart.&lt;br /&gt;
&lt;br /&gt;
== configure ubuntu and install and remove applications ==&lt;br /&gt;
&lt;br /&gt;
after the system reboots it will probably have some updates it wants to install, but before that i want to create my users and group(s) to match my server.  this is done largely the same way as described in the linux server setup, except admin users here should also be part of some additional groups (use with -G in either useradd or usermod).  when logged in as your user, run the groups command in terminal to get the list of groups (ignore the group named the same as your user).  be sure to run passwd to set passwords for the other users, then log in as one of them.  use usermod to change your user’s id, move the home directory, and set the default group.  now you can install all the updates, which might take a while especially if you’re installing months after that version of ubuntu was released.&lt;br /&gt;
&lt;br /&gt;
== remove stuff ==&lt;br /&gt;
i remove some things i don’t like.  the command for that looks like this:&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
sudo apt-get remove packages&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
where packages is at least one package to remove.  to remove more than one package, separate their names with spaces.  here are the packages i remove:&lt;br /&gt;
&lt;br /&gt;
* *rhythmbox* - a music player that doesn’t do all that well with my read-only mp3 share from my file server.  i’ll install audacious instead.&lt;br /&gt;
* *simple-scan* - an oversimplified scanner interface, missing important basic features like preview.  install xsane instead if you have a scanner that works with linux&lt;br /&gt;
* *ubuntuone** - a moderate amount of free online storage.  i have plenty of my own local storage and don’t need this.  there are a number of packages so the wildcard helps find all of them.&lt;br /&gt;
* *unity-lens-shopping* - eff said this has to do with amazon product search results showing up in the dash, but removing it doesn’t seem to change anything.&lt;br /&gt;
&lt;br /&gt;
here’s the full command to remove everything i remove:&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
sudo apt-get remove rhythmbox simple-scan ubuntuone*&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
if you choose the minimal install, these packages won’t be there anyway.&lt;br /&gt;
&lt;br /&gt;
== install stuff ==&lt;br /&gt;
of course there are also a few things i use that aren’t in ubuntu by default.  add them with a command that looks like this:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install &amp;lt;packages&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where packages again is at least one package to install, and multiple packages can be specified separated with spaces.  ubuntu can find most software i want — i’ll discuss those it can’t find or that it finds an older version of than i want later.  here are the packages i install with apt-get:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;avidemux&#039;&#039;&#039; - simple video editor i have used to convert mkv to avi.&lt;br /&gt;
* &#039;&#039;&#039;compizconfig-settings-manager&#039;&#039;&#039; - advanced display effects settings tool, which also configures some unity settings.  unity handles the menu and running programs list.&lt;br /&gt;
* &#039;&#039;&#039;gnome-tweak-tool&#039;&#039;&#039; - gives back some basic display options, like font sizes and themes.&lt;br /&gt;
* &#039;&#039;&#039;handbrake-gtk&#039;&#039;&#039; - dvd ripping program handy for getting movies from disc to an ipad, for example.  it wouldn’t install for me on 12.10 though.&lt;br /&gt;
* &#039;&#039;&#039;konqueror&#039;&#039;&#039; - a khtml-based browser (safari and chrome use webkit, which is based on khtml).  i have installed this in the past to test my web development in it, but it has so few people using it that it’s not worth the trouble.  it adds a bunch of kde stuff to the menus, with konqueror in the &#039;&#039;internet&#039;&#039; section.&lt;br /&gt;
* &#039;&#039;&#039;mixxx&#039;&#039;&#039; - dj software i’m playing around with on my laptop.&lt;br /&gt;
* &#039;&#039;&#039;myunity&#039;&#039;&#039; - some customization options for the unity desktop.  it’s easier to use than compizconfig-settings-manager, but also doesn’t have as many options.  seems to not exist as of 12.10.&lt;br /&gt;
* &#039;&#039;&#039;nfs-common&#039;&#039;&#039; - support for connecting to network filesystems, which is the easiest way to share a disk from one linux machine to another.&lt;br /&gt;
* &#039;&#039;&#039;openshot&#039;&#039;&#039; - video editor i’ve used to fade two video clips together.&lt;br /&gt;
* &#039;&#039;&#039;puddletag&#039;&#039;&#039; - mp3 tag editor.  no longer available through apt since the official release doesn&#039;t support python3 yet.  install instructions later.&lt;br /&gt;
* &#039;&#039;&#039;python-rgain&#039;&#039;&#039; - loudness analyzer for mp3 files.  replaygain attempts to figure out how loud an mp3 file sounds, and then adds gain information to the file so that it sounds like it has the same loudness as the other mp3s (provided you use this on all of them).  it’s a command-line tool so won’t put anything in the applications menu.&lt;br /&gt;
* &#039;&#039;&#039;rpcbind&#039; - not entirely sure what this is or if it needs to be installed explicitly, but it’s for nfs.&lt;br /&gt;
* &#039;&#039;&#039;sound-juicer&#039;&#039;&#039; - cd ripper.  shows up as &#039;&#039;audio cd extractor&#039;&#039; in the menu.&lt;br /&gt;
* &#039;&#039;&#039;soundconverter&#039;&#039;&#039; - just as it sounds like, this program can load up a bunch of sound files and convert them to a different format.  i don’t typically do this, so i wait to install it until i’m about to use it.&lt;br /&gt;
* &#039;&#039;&#039;sux&#039;&#039;&#039; - switch user and forward x context.  handy when i want to run a gui application as a different user.&lt;br /&gt;
* &#039;&#039;&#039;ubuntu-restricted-extras&#039;&#039;&#039; - mp3, flash, java, and dvd playback.  these changes affect browsers and players that are installed (or will be installed later) so nothing is added to the applications menu.&lt;br /&gt;
* &#039;&#039;&#039;virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11&#039;&#039;&#039; - helps ubuntu be a better guest on virtualbox.  mostly for the video driver that lets resizing the virtualbox window set the screen resolution.&lt;br /&gt;
&lt;br /&gt;
here’s the full command to install everything i install:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install handbrake nfs-common openshot python-rgain rpcbind soundconverter ubuntu-restricted-extras virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11&lt;br /&gt;
&lt;br /&gt;
before i started using ubuntu through a virtual machine i would dual-boot with windows, so i wanted a few other things that make less sense now that i can run the same or similar programs non-virtualized on the windows host.  in case i ever go back, or if you’re a dual-booter looking for useful stuff, here’s that list:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;audacious&#039;&#039;&#039; - sound player derived from xmms (similar to winamp).&lt;br /&gt;
* &#039;&#039;&#039;audacity&#039;&#039;&#039; - sound editor.&lt;br /&gt;
* &#039;&#039;&#039;eclipse&#039;&#039;&#039; - programming environment that i use for building websites with php, mysql, html, css, and javascript.  i need to install more features from within eclipse later on, but this simplifies the core eclipse install at least.&lt;br /&gt;
* &#039;&#039;&#039;filezilla&#039;&#039;&#039; - ftp client.  i use this for transferring files to my website that aren’t managed by subversion.&lt;br /&gt;
* &#039;&#039;&#039;gimp&#039;&#039;&#039; - graphics editor.  this was in the default ubuntu install until 10.04 where they decided that fspot handles all the photo enhancing that most users want, but i want more than that so i install gimp.&lt;br /&gt;
* &#039;&#039;&#039;gnome-gmail&#039;&#039;&#039; - creates a menu entry for gmail which launches it in firefox.  can also be used as a preferred application (sort of).&lt;br /&gt;
* &#039;&#039;&#039;pidgin&#039;&#039;&#039; - instant messaging client with more important features than the default empathy.&lt;br /&gt;
* &#039;&#039;&#039;screenlets&#039;&#039;&#039; - desktop widgets/gadgets/whatever you want to call them.  i used this to get weather and a slideshow of my photos on the desktop.&lt;br /&gt;
* &#039;&#039;&#039;screenlets-pack-all&#039;&#039;&#039; - more screenlets, including the weather one i like.&lt;br /&gt;
* &#039;&#039;&#039;subversion&#039;&#039;&#039; - command-line subversion client.  mostly i use subversion through an eclipse plugin, but sometimes it’s handy to have the svn command available at the command line.  since it’s a command-line utility it doesn’t show up in the applications menu.&lt;br /&gt;
* &#039;&#039;&#039;xsane&#039;&#039;&#039; - scanner interface that works with gimp.  as far as i know my current scanner isn’t supported but my old one is, so sometimes i’ll install it on my laptop in case i want to bring it and the scanner somewhere.&lt;br /&gt;
&lt;br /&gt;
== update settings ==&lt;br /&gt;
&lt;br /&gt;
click the power icon in the upper right and choose the system settings icon in the bottom left of the dropdown.  under privacy, click screen lock and set automatic screen lock to off since the host handles locking.  under power, set blank screen to never since the host handles the screen.  under details &amp;gt; users, click the unlock button at the top and enter your password to unlock, then turn on automatic login for your account.&lt;br /&gt;
&lt;br /&gt;
== enable nfs network shares ==&lt;br /&gt;
for some reason my workstations never see my server, so i have to add it to the hosts file.  in linux this file is at /etc/hosts — add a line to the end that contains the server’s ip address, a tab or space, and the name of the server:&lt;br /&gt;
&lt;br /&gt;
 192.168.1.2 server&lt;br /&gt;
&lt;br /&gt;
only root can edit this file.  you can launch the text editor (gedit) with sudo:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hosts&lt;br /&gt;
&lt;br /&gt;
ubuntu doesn’t support nfs by default, so install it (if you didn’t already — it’s in my default install command) with `sudo apt-get install rpcbind nfs-common`.  edit /etc/fstab as root and add one line for each nfs share in this format:&lt;br /&gt;
&lt;br /&gt;
 server:/nfs_share /local/mount/point nfs noexec 0 0&lt;br /&gt;
&lt;br /&gt;
make sure your local mount point directories exist (create them with `sudo mkdir /local/mount/point`), then reboot or manually mount everything with `sudo mount /local/mount/point`.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--== set favorite folders in nautilus quicklist ==&lt;br /&gt;
the unity launcher (that thing on the left with the icons) has extra options (called the quicklist) for some applications when you right-click them.  for example, firefox has an option to open a new window.  you can add shortcuts to other folders to the home folder (nautilus) item by copying and modifying a file:&lt;br /&gt;
&lt;br /&gt;
[code]cp /usr/share/applications/nautilus-home.desktop ~/.local/share/applications/&lt;br /&gt;
gedit ~/.local/share/applications/nautilus-home.desktop[/code]&lt;br /&gt;
&lt;br /&gt;
add something like this at the end:&lt;br /&gt;
&lt;br /&gt;
[code]X-Ayatana-Desktop-Shortcuts=MyFolder;My Other Folder;Folder3&lt;br /&gt;
[MyFolder Shortcut Group]&lt;br /&gt;
Name=MyFolder&lt;br /&gt;
Exec=nautilus /path/to/my/folder&lt;br /&gt;
&lt;br /&gt;
[My Other Folder Shortcut Group]&lt;br /&gt;
Name=My Other Folder&lt;br /&gt;
Exec=nautilus /path/to/my/other/folder&lt;br /&gt;
&lt;br /&gt;
[Folder3 Shortcut Group]&lt;br /&gt;
Name=Folder3&lt;br /&gt;
Exec=nautilus /path/to/folder3[/code]&lt;br /&gt;
&lt;br /&gt;
next time you log in this will take effect.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== install puddletag ==&lt;br /&gt;
i use puddletag to normalize mp3 and ogg file tags and artwork.  as of ubuntu 20.04 it’s no longer available through apt (because it uses python 2.5 which is outdated) but there’s a github branch that seems to work just fine but needs to be installed manually.  install prerequisites and download puddletag from github with the following commands.&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
sudo apt-get install git python3 python3-mutagen python3-configobj python3-pyparsing python3-pyqt5 python3-pyqt5.qtsvg&lt;br /&gt;
cd /opt/&lt;br /&gt;
sudo git clone https://github.com/sandrotosi/puddletag&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
you can now run it from a command line with `/opt/puddletag/source/puddletag` but that’s not convenient, so add it to the launcher by placing the following text in a new file at `/usr/share/applications/puddletag.desktop` (either create as root or create somewhere else and copy as root):&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Name=puddletag&lt;br /&gt;
GenericName=Audio Tag Editor&lt;br /&gt;
Comment=Edits tags in audio files&lt;br /&gt;
Exec=/opt/puddletag/source/puddletag&lt;br /&gt;
Icon=/opt/puddletag/source/puddletag.xpm&lt;br /&gt;
Terminal=false&lt;br /&gt;
Type=Application&lt;br /&gt;
Category=AudioVideo;Audio;Qt&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
as i set up new ubuntu virtual machines i want to apply my puddletag settings, which are split across two directories:  `~/.config/puddletag/` and `~/.local/shared/puddletag/`.  i keep tarballs of those directories on my server and extract them both after installing puddletag so i don’t have to reconfigure with each new ubuntu version.&lt;br /&gt;
&lt;br /&gt;
== install makemkv ==&lt;br /&gt;
i’ve ran into some trouble ripping some of my dvds so i can put them on a tablet or whatever.  normally i’d use handbrake but it sometimes quits almost right away, so in those cases i run it through makemkv first and then handbrake afterward.  it’s not in the ubuntu repositories so i install it from a ppa:&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
sudo add-apt-repository ppa:heyarje/makemkv-beta&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install makemkv-bin makemkv-oss&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
it’s not available for bionic beaver yet.&lt;br /&gt;
&lt;br /&gt;
== set preferences ==&lt;br /&gt;
there are a couple more settings in system settings i’ll point out:&lt;br /&gt;
&lt;br /&gt;
under *appearance* i set my background image.  the other settings i mess with are under user accounts (under system).  select a user and then you can click the placeholder picture and set a better one.  also any users created with useradd probably won’t show a name unless you click next to the picture and enter one.  to enable auto-login, select the user you want to log in from user accounts and change automatic login to on.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--many of the settings from before, including font sizes and window themes are missing.  we’ll get into those after installing some extra software which adds some of the changes back.&lt;br /&gt;
&lt;br /&gt;
=== tweak default theme titlebars and change font size ===&lt;br /&gt;
while it’s possible to move the min/max/close buttons to the upper right with a single line pasted into the terminal, getting the program icon to show up requires editing the theme.  all the themes are stored in [code]/usr/share/themes/[/code], and the default is named Ambiance.  i start out by copying it to a new directory so i don’t have to change the actual Ambiance theme:&lt;br /&gt;
&lt;br /&gt;
[code]cd /usr/share/themes/&lt;br /&gt;
sudo cp -r Ambiance/ AmbianceIcon[/code]&lt;br /&gt;
&lt;br /&gt;
there are two files that need to be changed — [code]index.theme[/code] to move the buttons and [code]metacity-1/metacity-theme-1.xml[/code] to use the program icon instead of a grey dot.  both files need to be edited as root.  in [code]index.theme[/code], find the line that starts with [code]ButtonLayout=[/code] (probably the last line) and change it to [code]ButtonLayout=menu:minimize,maximize,close[/code] to put the buttons in the right places.  next in [code]metacity-1/metacity-theme-1.xml[/code], you’re better off searching for [i]name=&amp;quot;menu_[/i] to find the 4 draw_ops tags that match since it’s a large file.  each tag has on the next line an image tag referencing a couple png files for that grey dot thing.  on each of the 4 image tags, change image to icon, delete the filename=&amp;quot;...&amp;quot; and change object_width and object_height to mini_icon_width and mini_icon_height.&lt;br /&gt;
&lt;br /&gt;
once both files have been modified, run tweak tool.  under the theme section, set gtk+ theme and current theme to AmbianceIcon.  You should see the icons appear as soon as current theme is changed.  you can also turn on icons for menus and buttons from this screen.  if you still don’t see icons in the upper left and minimize, maximize, and close buttons in the upper right, you may need to also set the titlebar icon string with this:&lt;br /&gt;
&lt;br /&gt;
[code]gsettings set org.gnome.desktop.wm.preferences button-layout &#039;menu:minimize,maximize,close&#039;[/code]&lt;br /&gt;
&lt;br /&gt;
you can change fonts and their sizes in tweak tool’s fonts section.  you can use the scaling factor to scale all font sizes at once, but when i tried that it left the titlebar font size alone.  i don’t actually change any of the font names, but i set all the sizes to 9.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== run puddletag as alternate user ===&lt;br /&gt;
puddletag is an mp3 (and other audio formats) tag editor.  i use it after i rip an audio cd or after i download music to embed cover art and make sure my iphone will sort albums in the correct order.  as of 12.04 it’s available in ubuntu’s standard repositories.  since my music files are owned by a different user, i need to be able to run puddletag as someone else.  copy the following into a file (i put it in my home directory named puddletag-somebody) and replace somebody with the other user account:&lt;br /&gt;
&lt;br /&gt;
 xhost +SI:localuser:somebody&lt;br /&gt;
 gksudo -u somebody puddletag&lt;br /&gt;
&lt;br /&gt;
then make it executable with chmod:&lt;br /&gt;
&lt;br /&gt;
 chmod 755 puddletag-somebody&lt;br /&gt;
&lt;br /&gt;
then add a menu entry to run that script, or just run it from a terminal.  the easiest way i’ve found to add it to the menu is get to `/usr/share/applications/` and copy the existing puddletag.desktop to puddletag-somebody.desktop, then edit the copy and update the name, tryexec, and exec values.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--==more tweaks==&lt;br /&gt;
some of the other software i install is so that i get more settings.  here’s what i like to change in each program:&lt;br /&gt;
&lt;br /&gt;
===myunity===&lt;br /&gt;
THERE&#039;S NO MYUNITY ANYMORE&lt;br /&gt;
myunity starts on the launcher tab.  for my laptop i drop size all the way down to 32 px since it has a small display height and i want to fit more.  if you have a really small screen (netbook), you may want to set behavior to hidden to give you more desktop space.&lt;br /&gt;
&lt;br /&gt;
under font i set everything to ubuntu -1 which then displays as 9.&lt;br /&gt;
&lt;br /&gt;
===compizconfig settings manager===&lt;br /&gt;
under general options, go to the desktop size and bump horizontal virtual size and vertical virtual size both down to 1 if you don’t use more than one desktop.  this will also cause the workspace switcher to disappear from the launcher.&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.04_Jammy_Jellyfish_Setup&amp;diff=1001</id>
		<title>User:Misterhaan/Ubuntu 22.04 Jammy Jellyfish Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.04_Jammy_Jellyfish_Setup&amp;diff=1001"/>
		<updated>2022-05-05T22:01:09Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: /* configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop.  since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup if i really want to.  mostly i used that to let my son play minecraft bedrock edition before he got his own laptop.  these instructions are what i did when i installed ubuntu 22.04 jammy jellyfish on my laptop galileo.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a virtutal machine on my desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt-get install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, similar to this: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.&lt;br /&gt;
&lt;br /&gt;
remmina is in the default ubuntu install and works well to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  i&#039;m sure setting that is a security risk if someone else got access to my laptop, but as usual convenience and security are opposed and i connect to my desktop enough that i prefer the convenience here.&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to settings &amp;gt; network and add a vpn connection using &amp;quot;Multi-protocol VPN client (openconnect).&amp;quot;  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.&lt;br /&gt;
&lt;br /&gt;
now, just under your wifi line in the system menu it should say &amp;quot;vpn off,&amp;quot; which you can expand and choose connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but i don&#039;t think anyconnect did either.&lt;br /&gt;
&lt;br /&gt;
while connected, there&#039;s a vpn icon next to the wifi icon.  disconnect by expanding the name you gave to the vpn connection in the system menu and choosing &amp;quot;turn off.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
for connecting to my work computer, i use remmina remote desktop client, which comes installed in ubuntu.  create a new connection using the rdp protocol and set the server, username, password, and domain for the connection.  choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work.  save the connection.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences under keyboard i clear the host key i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway.  under rdp, map the caps lock key to insert by entering &amp;lt;code&amp;gt;0x3a=0x52&amp;lt;/code&amp;gt; for keyboard scancode remapping (needs to be done even when it&#039;s already been done for the base machine).&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {	[ Insert	]	};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply when using remmina to rdp though.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
=== background ===&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add picture button to get backgrounds added to settings, then select.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
i set my system appearance to dark style and choose my favorite accent color.  i also turn off show personal folder from desktop icons and turn down the icon size in the dock to 40.&lt;br /&gt;
&lt;br /&gt;
=== sound ===&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  turn this on and the volume can go up above 100%, which is often handy running off built-in speakers.  you can also choose your favorite alert sound at the bottom.&lt;br /&gt;
&lt;br /&gt;
=== power ===&lt;br /&gt;
upgrading to 22.04 seems to have solved the problem i was having with the screen not coming back on waking from sleep, so the only thing i do in power settings is to change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
=== mouse &amp;amp; touchpad ===&lt;br /&gt;
&amp;quot;natural scrolling&amp;quot; has always felt backward to me, so i turn that off under touchpad.  this doesn&#039;t affect mouse wheels or the touch screen, just two-finger touchpad scrolling.&lt;br /&gt;
&lt;br /&gt;
=== printers ===&lt;br /&gt;
my canon mg 3520 all in one printer is detected and easy to add with just a click or two if it doesn&#039;t automatically connect.&lt;br /&gt;
&lt;br /&gt;
=== users ===&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t even found where those come from.  the users section of settings will show the user you&#039;re logged in as by default.  click the circle next to use username and then choose select a file and select your avatar.  you can also enroll fingerprints here if you have a fingerprint reader.  my laptop does but it&#039;s not really functional at matching my fingerprints, so may not be worth it.&lt;br /&gt;
&lt;br /&gt;
== set login screen background ==&lt;br /&gt;
system settings doesn&#039;t give you an option to set the background for the login screen, but if you set a setting for the gdm user it can look to a file.  it seems you need to install &amp;lt;code&amp;gt;machinectl&amp;lt;/code&amp;gt; from the &amp;lt;code&amp;gt;systemd-container&amp;lt;/code&amp;gt; package so you can switch to gdm.  these three commands will set the login screen background (skip the first one if it&#039;s not your first time) -- use the correct path to your background file:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install systemd-container&lt;br /&gt;
 sudo machinectl shell gdm@ /bin/bash&lt;br /&gt;
 gsettings set com.ubuntu.login-screen background-picture-uri &#039;file:///usr/share/backgrounds/login.jpg&#039;&lt;br /&gt;
&lt;br /&gt;
machinectl says you can quit with ^[ 3 times, and that means hold the ctrl key and press the [ key 3 times.&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
== start remmina in tray at login ==&lt;br /&gt;
even though remmina preferences includes a checkbox for start in tray upon user login, it won&#039;t actually start itself just from having that box checked.  run startup applications by searching for it or using the command &amp;lt;code&amp;gt;gnome-session-properties&amp;lt;/code&amp;gt;.  click the add button, give it a name such as remmina tray, and enter &amp;lt;code&amp;gt;remmina -i&amp;lt;/code&amp;gt; as the command.&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s a bunch of software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gimp puddletag steam xsane&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn&#039;t in the default repositories, but these commands add its repository and install from it:&lt;br /&gt;
&lt;br /&gt;
 wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -&lt;br /&gt;
 sudo add-apt-repository &amp;quot;deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main&amp;quot;&lt;br /&gt;
 sudo apt-get install code&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
 wget https://zoom.us/client/latest/zoom_amd64.deb&lt;br /&gt;
 sudo apt install ./zoom_amd64.deb&lt;br /&gt;
 rm zoom_amd64.deb&lt;br /&gt;
&lt;br /&gt;
== apply puddletag settings ==&lt;br /&gt;
i keep a couple tarballs of most of my puddletag settings, since they are stored in two different locations.  extract them with these commands:&lt;br /&gt;
&lt;br /&gt;
 cd ~/.config&lt;br /&gt;
 tar xvf /path/to/puddleconfig.tar&lt;br /&gt;
 cd ~/.local/share&lt;br /&gt;
 tar xvf /path/to/puddlelocal.tar&lt;br /&gt;
&lt;br /&gt;
launch puddletag to set up the window, which is not in any of those settings.  move the tag panel to the right side, close the filter panel from the bottom, turn on artwork and actions from the windows menu, and then move the actions panel up to just left of the tag panel.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt-get remove rhythmbox simple-scan&lt;br /&gt;
 sudo apt-get autoremove&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.04_Jammy_Jellyfish_Setup&amp;diff=1000</id>
		<title>User:Misterhaan/Ubuntu 22.04 Jammy Jellyfish Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.04_Jammy_Jellyfish_Setup&amp;diff=1000"/>
		<updated>2022-04-30T22:33:38Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop.  since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup if i really want to.  mostly i used that to let my son play minecraft bedrock edition before he got his own laptop.  these instructions are what i did when i installed ubuntu 22.04 jammy jellyfish on my laptop galileo.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a virtutal machine on my desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt-get install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, similar to this: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.&lt;br /&gt;
&lt;br /&gt;
remmina is in the default ubuntu install and works well to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  i&#039;m sure setting that is a security risk if someone else got access to my laptop, but as usual convenience and security are opposed and i connect to my desktop enough that i prefer the convenience here.&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to settings &amp;gt; network and add a vpn connection using &amp;quot;Multi-protocol VPN client (openconnect).&amp;quot;  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.&lt;br /&gt;
&lt;br /&gt;
now, just under your wifi line in the system menu it should say &amp;quot;vpn off,&amp;quot; which you can expand and choose connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but i don&#039;t think anyconnect did either.&lt;br /&gt;
&lt;br /&gt;
while connected, there&#039;s a vpn icon next to the wifi icon.  disconnect by expanding the name you gave to the vpn connection in the system menu and choosing &amp;quot;turn off.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
for connecting to my work computer, i use remmina remote desktop client, which comes installed in ubuntu.  create a new connection using the rdp protocol and set the server, username, password, and domain for the connection.  choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work.  save the connection.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences under keyboard i clear the host key i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway.  under rdp, map the caps lock key to insert by entering &amp;lt;code&amp;gt;0x3a=0x52&amp;lt;/code&amp;gt; for keyboard scancode remapping (needs to be done even when it&#039;s already been done for the base machine).&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {	[ Insert	]	};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply when using remmina to rdp though.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
=== background ===&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add picture button to get backgrounds added to settings, then select.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
i set my system appearance to dark style and choose my favorite accent color.  i also turn off show personal folder from desktop icons and turn down the icon size in the dock to 40.&lt;br /&gt;
&lt;br /&gt;
=== sound ===&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  turn this on and the volume can go up above 100%, which is often handy running off built-in speakers.  you can also choose your favorite alert sound at the bottom.&lt;br /&gt;
&lt;br /&gt;
=== power ===&lt;br /&gt;
upgrading to 22.04 seems to have solved the problem i was having with the screen not coming back on waking from sleep, so the only thing i do in power settings is to change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
=== mouse &amp;amp; touchpad ===&lt;br /&gt;
&amp;quot;natural scrolling&amp;quot; has always felt backward to me, so i turn that off under touchpad.  this doesn&#039;t affect mouse wheels or the touch screen, just two-finger touchpad scrolling.&lt;br /&gt;
&lt;br /&gt;
=== printers ===&lt;br /&gt;
my canon mg 3520 all in one printer is detected and easy to add with just a click or two if it doesn&#039;t automatically connect.&lt;br /&gt;
&lt;br /&gt;
=== users ===&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t even found where those come from.  the users section of settings will show the user you&#039;re logged in as by default.  click the circle next to use username and then choose select a file and select your avatar.  you can also enroll fingerprints here if you have a fingerprint reader.  my laptop does but it&#039;s not really functional at matching my fingerprints, so may not be worth it.&lt;br /&gt;
&lt;br /&gt;
== set login screen background ==&lt;br /&gt;
system settings doesn&#039;t give you an option to set the background for the login screen, but if you set a setting for the gdm user it can look to a file.  it seems you need to install &amp;lt;code&amp;gt;machinectl&amp;lt;/code&amp;gt; from the &amp;lt;code&amp;gt;systemd-container&amp;lt;/code&amp;gt; package so you can switch to gdm.  these three commands will set the login screen background (skip the first one if it&#039;s not your first time) -- use the correct path to your background file:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install systemd-container&lt;br /&gt;
 sudo machinectl shell gdm@ /bin/bash&lt;br /&gt;
 gsettings set com.ubuntu.login-screen background-picture-uri &#039;file:///usr/share/backgrounds/login.jpg&#039;&lt;br /&gt;
&lt;br /&gt;
machinectl says you can quit with ^[ 3 times, and that means hold the ctrl key and press the [ key 3 times.&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;br /&gt;
&lt;br /&gt;
= install software =&lt;br /&gt;
here&#039;s a bunch of software i find useful to add:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gimp puddletag steam xsane&lt;br /&gt;
&lt;br /&gt;
== visual studio code ==&lt;br /&gt;
visual studio code isn&#039;t in the default repositories, but these commands add its repository and install from it:&lt;br /&gt;
&lt;br /&gt;
 wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -&lt;br /&gt;
 sudo add-apt-repository &amp;quot;deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main&amp;quot;&lt;br /&gt;
 sudo apt-get install code&lt;br /&gt;
&lt;br /&gt;
== zoom ==&lt;br /&gt;
 wget https://zoom.us/client/latest/zoom_amd64.deb&lt;br /&gt;
 sudo apt install ./zoom_amd64.deb&lt;br /&gt;
 rm zoom_amd64.deb&lt;br /&gt;
&lt;br /&gt;
== apply puddletag settings ==&lt;br /&gt;
i keep a couple tarballs of most of my puddletag settings, since they are stored in two different locations.  extract them with these commands:&lt;br /&gt;
&lt;br /&gt;
 cd ~/.config&lt;br /&gt;
 tar xvf /path/to/puddleconfig.tar&lt;br /&gt;
 cd ~/.local/share&lt;br /&gt;
 tar xvf /path/to/puddlelocal.tar&lt;br /&gt;
&lt;br /&gt;
launch puddletag to set up the window, which is not in any of those settings.  move the tag panel to the right side, close the filter panel from the bottom, turn on artwork and actions from the windows menu, and then move the actions panel up to just left of the tag panel.&lt;br /&gt;
&lt;br /&gt;
= remove software =&lt;br /&gt;
 sudo apt-get remove rhythmbox simple-scan&lt;br /&gt;
 sudo apt-get autoremove&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.04_Jammy_Jellyfish_Setup&amp;diff=999</id>
		<title>User:Misterhaan/Ubuntu 22.04 Jammy Jellyfish Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.04_Jammy_Jellyfish_Setup&amp;diff=999"/>
		<updated>2022-04-30T01:22:23Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: /* firefox touch scroll zoom */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop.  since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup if i really want to.  mostly i used that to let my son play minecraft bedrock edition before he got his own laptop.  these instructions are what i did when i installed ubuntu 22.04 jammy jellyfish on my laptop galileo.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a virtutal machine on my desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt-get install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, similar to this: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.&lt;br /&gt;
&lt;br /&gt;
remmina is in the default ubuntu install and works well to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  i&#039;m sure setting that is a security risk if someone else got access to my laptop, but as usual convenience and security are opposed and i connect to my desktop enough that i prefer the convenience here.&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to settings &amp;gt; network and add a vpn connection using &amp;quot;Multi-protocol VPN client (openconnect).&amp;quot;  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.&lt;br /&gt;
&lt;br /&gt;
now, just under your wifi line in the system menu it should say &amp;quot;vpn off,&amp;quot; which you can expand and choose connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but i don&#039;t think anyconnect did either.&lt;br /&gt;
&lt;br /&gt;
while connected, there&#039;s a vpn icon next to the wifi icon.  disconnect by expanding the name you gave to the vpn connection in the system menu and choosing &amp;quot;turn off.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
for connecting to my work computer, i use remmina remote desktop client, which comes installed in ubuntu.  create a new connection using the rdp protocol and set the server, username, password, and domain for the connection.  choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work.  save the connection.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences under keyboard i clear the host key i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway.  under rdp, map the caps lock key to insert by entering &amp;lt;code&amp;gt;0x3a=0x52&amp;lt;/code&amp;gt; for keyboard scancode remapping (needs to be done even when it&#039;s already been done for the base machine).&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {	[ Insert	]	};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply when using remmina to rdp though.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
=== background ===&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add picture button to get backgrounds added to settings, then select.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
i set my system appearance to dark style and choose my favorite accent color.  i also turn off show personal folder from desktop icons and turn down the icon size in the dock to 40.&lt;br /&gt;
&lt;br /&gt;
=== sound ===&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  turn this on and the volume can go up above 100%, which is often handy running off built-in speakers.  you can also choose your favorite alert sound at the bottom.&lt;br /&gt;
&lt;br /&gt;
=== power ===&lt;br /&gt;
upgrading to 22.04 seems to have solved the problem i was having with the screen not coming back on waking from sleep, so the only thing i do in power settings is to change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
=== mouse &amp;amp; touchpad ===&lt;br /&gt;
&amp;quot;natural scrolling&amp;quot; has always felt backward to me, so i turn that off under touchpad.  this doesn&#039;t affect mouse wheels or the touch screen, just two-finger touchpad scrolling.&lt;br /&gt;
&lt;br /&gt;
=== printers ===&lt;br /&gt;
my canon mg 3520 all in one printer is detected and easy to add with just a click or two if it doesn&#039;t automatically connect.&lt;br /&gt;
&lt;br /&gt;
=== users ===&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t even found where those come from.  the users section of settings will show the user you&#039;re logged in as by default.  click the circle next to use username and then choose select a file and select your avatar.  you can also enroll fingerprints here if you have a fingerprint reader.  my laptop does but it&#039;s not really functional at matching my fingerprints, so may not be worth it.&lt;br /&gt;
&lt;br /&gt;
== set login screen background ==&lt;br /&gt;
system settings doesn&#039;t give you an option to set the background for the login screen, but if you set a setting for the gdm user it can look to a file.  it seems you need to install &amp;lt;code&amp;gt;machinectl&amp;lt;/code&amp;gt; from the &amp;lt;code&amp;gt;systemd-container&amp;lt;/code&amp;gt; package so you can switch to gdm.  these three commands will set the login screen background (skip the first one if it&#039;s not your first time) -- use the correct path to your background file:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install systemd-container&lt;br /&gt;
 sudo machinectl shell gdm@ /bin/bash&lt;br /&gt;
 gsettings set com.ubuntu.login-screen background-picture-uri &#039;file:///usr/share/backgrounds/login.jpg&#039;&lt;br /&gt;
&lt;br /&gt;
machinectl says you can quit with ^[ 3 times, and that means hold the ctrl key and press the [ key 3 times.&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=0       OVERRIDE=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.04_Jammy_Jellyfish_Setup&amp;diff=998</id>
		<title>User:Misterhaan/Ubuntu 22.04 Jammy Jellyfish Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.04_Jammy_Jellyfish_Setup&amp;diff=998"/>
		<updated>2022-04-29T22:38:11Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: /* firefox touch scroll zoom */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop.  since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup if i really want to.  mostly i used that to let my son play minecraft bedrock edition before he got his own laptop.  these instructions are what i did when i installed ubuntu 22.04 jammy jellyfish on my laptop galileo.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a virtutal machine on my desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt-get install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, similar to this: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.&lt;br /&gt;
&lt;br /&gt;
remmina is in the default ubuntu install and works well to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  i&#039;m sure setting that is a security risk if someone else got access to my laptop, but as usual convenience and security are opposed and i connect to my desktop enough that i prefer the convenience here.&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to settings &amp;gt; network and add a vpn connection using &amp;quot;Multi-protocol VPN client (openconnect).&amp;quot;  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.&lt;br /&gt;
&lt;br /&gt;
now, just under your wifi line in the system menu it should say &amp;quot;vpn off,&amp;quot; which you can expand and choose connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but i don&#039;t think anyconnect did either.&lt;br /&gt;
&lt;br /&gt;
while connected, there&#039;s a vpn icon next to the wifi icon.  disconnect by expanding the name you gave to the vpn connection in the system menu and choosing &amp;quot;turn off.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
for connecting to my work computer, i use remmina remote desktop client, which comes installed in ubuntu.  create a new connection using the rdp protocol and set the server, username, password, and domain for the connection.  choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work.  save the connection.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences under keyboard i clear the host key i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway.  under rdp, map the caps lock key to insert by entering &amp;lt;code&amp;gt;0x3a=0x52&amp;lt;/code&amp;gt; for keyboard scancode remapping (needs to be done even when it&#039;s already been done for the base machine).&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {	[ Insert	]	};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply when using remmina to rdp though.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
=== background ===&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add picture button to get backgrounds added to settings, then select.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
i set my system appearance to dark style and choose my favorite accent color.  i also turn off show personal folder from desktop icons and turn down the icon size in the dock to 40.&lt;br /&gt;
&lt;br /&gt;
=== sound ===&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  turn this on and the volume can go up above 100%, which is often handy running off built-in speakers.  you can also choose your favorite alert sound at the bottom.&lt;br /&gt;
&lt;br /&gt;
=== power ===&lt;br /&gt;
upgrading to 22.04 seems to have solved the problem i was having with the screen not coming back on waking from sleep, so the only thing i do in power settings is to change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
=== mouse &amp;amp; touchpad ===&lt;br /&gt;
&amp;quot;natural scrolling&amp;quot; has always felt backward to me, so i turn that off under touchpad.  this doesn&#039;t affect mouse wheels or the touch screen, just two-finger touchpad scrolling.&lt;br /&gt;
&lt;br /&gt;
=== printers ===&lt;br /&gt;
my canon mg 3520 all in one printer is detected and easy to add with just a click or two if it doesn&#039;t automatically connect.&lt;br /&gt;
&lt;br /&gt;
=== users ===&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t even found where those come from.  the users section of settings will show the user you&#039;re logged in as by default.  click the circle next to use username and then choose select a file and select your avatar.  you can also enroll fingerprints here if you have a fingerprint reader.  my laptop does but it&#039;s not really functional at matching my fingerprints, so may not be worth it.&lt;br /&gt;
&lt;br /&gt;
== set login screen background ==&lt;br /&gt;
system settings doesn&#039;t give you an option to set the background for the login screen, but if you set a setting for the gdm user it can look to a file.  it seems you need to install &amp;lt;code&amp;gt;machinectl&amp;lt;/code&amp;gt; from the &amp;lt;code&amp;gt;systemd-container&amp;lt;/code&amp;gt; package so you can switch to gdm.  these three commands will set the login screen background (skip the first one if it&#039;s not your first time) -- use the correct path to your background file:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install systemd-container&lt;br /&gt;
 sudo machinectl shell gdm@ /bin/bash&lt;br /&gt;
 gsettings set com.ubuntu.login-screen background-picture-uri &#039;file:///usr/share/backgrounds/login.jpg&#039;&lt;br /&gt;
&lt;br /&gt;
machinectl says you can quit with ^[ 3 times, and that means hold the ctrl key and press the [ key 3 times.&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=1&amp;lt;/code&amp;gt;.  this should take effect on next login.  TODO:  this didn&#039;t work, but setting that value in terminal and then launching firefox did.&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.04_Jammy_Jellyfish_Setup&amp;diff=997</id>
		<title>User:Misterhaan/Ubuntu 22.04 Jammy Jellyfish Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.04_Jammy_Jellyfish_Setup&amp;diff=997"/>
		<updated>2022-04-29T22:14:15Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop.  since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup if i really want to.  mostly i used that to let my son play minecraft bedrock edition before he got his own laptop.  these instructions are what i did when i installed ubuntu 22.04 jammy jellyfish on my laptop galileo.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a virtutal machine on my desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt-get install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, similar to this: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.&lt;br /&gt;
&lt;br /&gt;
remmina is in the default ubuntu install and works well to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  i&#039;m sure setting that is a security risk if someone else got access to my laptop, but as usual convenience and security are opposed and i connect to my desktop enough that i prefer the convenience here.&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to settings &amp;gt; network and add a vpn connection using &amp;quot;Multi-protocol VPN client (openconnect).&amp;quot;  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.&lt;br /&gt;
&lt;br /&gt;
now, just under your wifi line in the system menu it should say &amp;quot;vpn off,&amp;quot; which you can expand and choose connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but i don&#039;t think anyconnect did either.&lt;br /&gt;
&lt;br /&gt;
while connected, there&#039;s a vpn icon next to the wifi icon.  disconnect by expanding the name you gave to the vpn connection in the system menu and choosing &amp;quot;turn off.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
for connecting to my work computer, i use remmina remote desktop client, which comes installed in ubuntu.  create a new connection using the rdp protocol and set the server, username, password, and domain for the connection.  choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work.  save the connection.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences under keyboard i clear the host key i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway.  under rdp, map the caps lock key to insert by entering &amp;lt;code&amp;gt;0x3a=0x52&amp;lt;/code&amp;gt; for keyboard scancode remapping (needs to be done even when it&#039;s already been done for the base machine).&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {	[ Insert	]	};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply when using remmina to rdp though.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
=== background ===&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add picture button to get backgrounds added to settings, then select.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
i set my system appearance to dark style and choose my favorite accent color.  i also turn off show personal folder from desktop icons and turn down the icon size in the dock to 40.&lt;br /&gt;
&lt;br /&gt;
=== sound ===&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  turn this on and the volume can go up above 100%, which is often handy running off built-in speakers.  you can also choose your favorite alert sound at the bottom.&lt;br /&gt;
&lt;br /&gt;
=== power ===&lt;br /&gt;
upgrading to 22.04 seems to have solved the problem i was having with the screen not coming back on waking from sleep, so the only thing i do in power settings is to change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
=== mouse &amp;amp; touchpad ===&lt;br /&gt;
&amp;quot;natural scrolling&amp;quot; has always felt backward to me, so i turn that off under touchpad.  this doesn&#039;t affect mouse wheels or the touch screen, just two-finger touchpad scrolling.&lt;br /&gt;
&lt;br /&gt;
=== printers ===&lt;br /&gt;
my canon mg 3520 all in one printer is detected and easy to add with just a click or two if it doesn&#039;t automatically connect.&lt;br /&gt;
&lt;br /&gt;
=== users ===&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t even found where those come from.  the users section of settings will show the user you&#039;re logged in as by default.  click the circle next to use username and then choose select a file and select your avatar.  you can also enroll fingerprints here if you have a fingerprint reader.  my laptop does but it&#039;s not really functional at matching my fingerprints, so may not be worth it.&lt;br /&gt;
&lt;br /&gt;
== set login screen background ==&lt;br /&gt;
system settings doesn&#039;t give you an option to set the background for the login screen, but if you set a setting for the gdm user it can look to a file.  it seems you need to install &amp;lt;code&amp;gt;machinectl&amp;lt;/code&amp;gt; from the &amp;lt;code&amp;gt;systemd-container&amp;lt;/code&amp;gt; package so you can switch to gdm.  these three commands will set the login screen background (skip the first one if it&#039;s not your first time) -- use the correct path to your background file:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install systemd-container&lt;br /&gt;
 sudo machinectl shell gdm@ /bin/bash&lt;br /&gt;
 gsettings set com.ubuntu.login-screen background-picture-uri &#039;file:///usr/share/backgrounds/login.jpg&#039;&lt;br /&gt;
&lt;br /&gt;
machinectl says you can quit with ^[ 3 times, and that means hold the ctrl key and press the [ key 3 times.&lt;br /&gt;
&lt;br /&gt;
== firefox touch scroll zoom ==&lt;br /&gt;
while the touch screen makes most windows scroll, firefox selects text by default.  to make a lasting change edit &amp;lt;code&amp;gt;/etc/security/pam_env.conf&amp;lt;/code&amp;gt; and add a line (i add it to the end) with &amp;lt;code&amp;gt;MOZ_USE_XINPUT2 DEFAULT=1&amp;lt;/code&amp;gt;.  this should take effect on next login.&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
	<entry>
		<id>https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.04_Jammy_Jellyfish_Setup&amp;diff=996</id>
		<title>User:Misterhaan/Ubuntu 22.04 Jammy Jellyfish Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.track7.org/wiki/index.php?title=User:Misterhaan/Ubuntu_22.04_Jammy_Jellyfish_Setup&amp;diff=996"/>
		<updated>2022-04-29T21:20:41Z</updated>

		<summary type="html">&lt;p&gt;Misterhaan: /* configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i use ubuntu linux as my main operating system on my laptop.  since the laptop came with windows 10 (which i upgraded to windows 11), i keep that around so i can choose windows on startup if i really want to.  mostly i used that to let my son play minecraft bedrock edition before he got his own laptop.  these instructions are what i did when i installed ubuntu 22.04 jammy jellyfish on my laptop galileo.&lt;br /&gt;
&lt;br /&gt;
= connections to other systems =&lt;br /&gt;
most of what i use my laptop for is connecting to other systems, including my home file shares.  i set those up first so i have access to my files and the ability to connect to my home desktop and work computer right away.&lt;br /&gt;
== home server nfs shares ==&lt;br /&gt;
i have command-line ubuntu installed on a different computer at home that stores my files, so my laptop should mount its shares when i&#039;m on my home network.  i can&#039;t just do a normal mount because if i travel with my laptop, my home server isn&#039;t available and i have to wait for those connections to time out before it will finish booting.  still, the first couple steps are the same as mounting the shares from a virtutal machine on my desktop:&lt;br /&gt;
&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/hosts&amp;lt;/code&amp;gt; and add a line mapping the lan ip of the server to its name.  follow the format of the line that has 127.0.0.1 localhost.  saving this change makes sure the laptop can resolve the name of the server, which sometimes doesn&#039;t work without this setting.&lt;br /&gt;
# install nfs support with &amp;lt;code&amp;gt;sudo apt-get install nfs-common&amp;lt;/code&amp;gt;&lt;br /&gt;
# edit &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt; as root with &amp;lt;code&amp;gt;sudo gedit /etc/fstab&amp;lt;/code&amp;gt; and add a line for each nfs share to mount, similar to this: &amp;lt;code&amp;gt;server:/nfs_share /local/mount/point nfs noexec 0 0&amp;lt;/code&amp;gt;&lt;br /&gt;
# create the local mount points for each share (the second column in fstab) with a command like &amp;lt;code&amp;gt;sudo mkdir /local/mount/point&amp;lt;/code&amp;gt;&lt;br /&gt;
# create a new file as root in &amp;lt;code&amp;gt;/etc/NetworkManager/dispatcher.d/&amp;lt;/code&amp;gt; and enter the following code (make sure to put in your uuid and your actual mount points), then set its permissions to rwxr-xr-x with &amp;lt;code&amp;gt;chmod 755 /etc/NetworkManager/dispatcher.d/nfs-mount&amp;lt;/code&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 SSID=&amp;quot;your-wifi-ssid&amp;quot;&lt;br /&gt;
 INTERFACE=$1&lt;br /&gt;
 ACTION=$2&lt;br /&gt;
 ESSID=`iwconfig $INTERFACE | grep ESSID | cut -d&amp;quot;:&amp;quot; -f2 | sed &#039;s/^[^&amp;quot;]*&amp;quot;\|&amp;quot;[^&amp;quot;]*$//g&#039;`&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$SSID&amp;quot; == &amp;quot;$ESSID&amp;quot; ] &amp;amp;&amp;amp; [ &amp;quot;$ACTION&amp;quot; == &amp;quot;up&amp;quot; ]; then&lt;br /&gt;
 	mount /local/mount/point/one&lt;br /&gt;
 	mount /local/mount/point/two&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
the network shares should be mounted whenever connecting to the wifi SSID.&lt;br /&gt;
&lt;br /&gt;
remmina is in the default ubuntu install and works well to connect to my home desktop using vnc (i use tightvnc server on windows 11 there).  i create two connections for that -- one that uses my lan ip and another that uses the subdomain i keep mapped to my internet ip.  both use remmina vnc plugin for the protocol and specify [ip]:[port] or [subdomain]:[port] since i use a custom vnc port.  username can be left blank, and user password can save my connection password.  i&#039;m sure setting that is a security risk if someone else got access to my laptop, but as usual convenience and security are opposed and i connect to my desktop enough that i prefer the convenience here.&lt;br /&gt;
&lt;br /&gt;
== work vpn ==&lt;br /&gt;
my job provides cisco anyconnect vpn for me to connect remotely, but thankfully it&#039;s compatible with openconnect which is *much* easier to use and integrates with the network manager built into ubuntu.  install openconnect, its network manager integration, and its editor (gnome is the name of the desktop environment ubuntu uses):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install openconnect network-manager-openconnect network-manager-openconnect-gnome&lt;br /&gt;
&lt;br /&gt;
now go to settings &amp;gt; network and add a vpn connection using &amp;quot;Multi-protocol VPN client (openconnect).&amp;quot;  give it a name (i use the company name) and enter the vpn server as the gateway (something like vpn.example.com).  the vpn protocol should already be set to &amp;quot;cisco anyconnect or openconnect&amp;quot; from the earlier choice.&lt;br /&gt;
&lt;br /&gt;
now, just under your wifi line in the system menu it should say &amp;quot;vpn off,&amp;quot; which you can expand and choose connect.  the first time you do this it will prompt for username and password, which you can tell it to remember so it&#039;s even easier next time.  the window stays open for me until i confirm that it&#039;s me connecting through the authenticator app on my phone -- my only real problem with this system is that it doesn&#039;t tell me i need to do that if i&#039;m only looking at my laptop . . . but i don&#039;t think anyconnect did either.&lt;br /&gt;
&lt;br /&gt;
while connected, there&#039;s a vpn icon next to the wifi icon.  disconnect by expanding the name you gave to the vpn connection in the system menu and choosing &amp;quot;turn off.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
for connecting to my work computer, i use remmina remote desktop client, which comes installed in ubuntu.  create a new connection using the rdp protocol and set the server, username, password, and domain for the connection.  choose a custom resolution (i use 2560x1440 since that&#039;s the resolution of the monitor i have at work), then switch to the advanced tab and change audio output mode to local to get both the speakers and microphone to work.  save the connection.&lt;br /&gt;
&lt;br /&gt;
in remmina preferences under keyboard i clear the host key i commonly use the right control key for normal keyboard shortcuts, and i don&#039;t really need to give up another key for remmina shortcuts i don&#039;t remember anyway.  under rdp, map the caps lock key to insert by entering &amp;lt;code&amp;gt;0x3a=0x52&amp;lt;/code&amp;gt; for keyboard scancode remapping (needs to be done even when it&#039;s already been done for the base machine).&lt;br /&gt;
&lt;br /&gt;
= configuration =&lt;br /&gt;
== map caps lock key as insert ==&lt;br /&gt;
to remap capslock to insert for the entire machine, edit &amp;lt;code&amp;gt;/usr/share/X11/xkb/symbols/pc&amp;lt;/code&amp;gt; as root, and set the &amp;lt;code&amp;gt;key &amp;lt;CAPS&amp;gt;&amp;lt;/code&amp;gt; line to:&lt;br /&gt;
&lt;br /&gt;
 key &amp;lt;CAPS&amp;gt; {	[ Insert	]	};&lt;br /&gt;
&lt;br /&gt;
this takes effect on your next login.  it doesn’t apply when using remmina to rdp though.&lt;br /&gt;
&lt;br /&gt;
== system settings ==&lt;br /&gt;
=== background ===&lt;br /&gt;
default background files are &amp;lt;code&amp;gt;/usr/share/backgrounds/&amp;lt;/code&amp;gt;, so that&#039;s where i put my own backgrounds.  this isn&#039;t enough to make them automatically show in settings &amp;gt; background though, so use the add picture button to get backgrounds added to settings, then select.&lt;br /&gt;
&lt;br /&gt;
=== appearance ===&lt;br /&gt;
i set my system appearance to dark style and choose my favorite accent color.  i also turn off show personal folder from desktop icons and turn down the icon size in the dock to 40.&lt;br /&gt;
&lt;br /&gt;
=== sound ===&lt;br /&gt;
one of the reasons i prefer linux on my laptop is the over-amplification setting.  turn this on and the volume can go up above 100%, which is often handy running off built-in speakers.  you can also choose your favorite alert sound at the bottom.&lt;br /&gt;
&lt;br /&gt;
=== power ===&lt;br /&gt;
upgrading to 22.04 seems to have solved the problem i was having with the screen not coming back on waking from sleep, so the only thing i do in power settings is to change power button behavior to nothing.  my laptop&#039;s power button is placed where i can very easily hit it by accident when picking it up so i prefer that it ignores when that happens.&lt;br /&gt;
&lt;br /&gt;
=== mouse &amp;amp; touchpad ===&lt;br /&gt;
&amp;quot;natural scrolling&amp;quot; has always felt backward to me, so i turn that off under touchpad.  this doesn&#039;t affect mouse wheels or the touch screen, just two-finger touchpad scrolling.&lt;br /&gt;
&lt;br /&gt;
=== printers ===&lt;br /&gt;
my canon mg 3520 all in one printer is detected and easy to add with just a click or two if it doesn&#039;t automatically connect.&lt;br /&gt;
&lt;br /&gt;
=== users ===&lt;br /&gt;
similar to background files, i create &amp;lt;code&amp;gt;/usr/share/avatars/&amp;lt;/code&amp;gt; to hold user avatars.  there are some default avatar choices but i haven&#039;t even found where those come from.  the users section of settings will show the user you&#039;re logged in as by default.  click the circle next to use username and then choose select a file and select your avatar.  you can also enroll fingerprints here if you have a fingerprint reader.  my laptop does but it&#039;s not really functional at matching my fingerprints, so may not be worth it.&lt;br /&gt;
&lt;br /&gt;
== set login screen background ==&lt;br /&gt;
system settings doesn&#039;t give you an option to set the background for the login screen, but if you set a setting for the gdm user it can look to a file.  it seems you need to install &amp;lt;code&amp;gt;machinectl&amp;lt;/code&amp;gt; from the &amp;lt;code&amp;gt;systemd-container&amp;lt;/code&amp;gt; package so you can switch to gdm.  these three commands will set the login screen background (skip the first one if it&#039;s not your first time) -- use the correct path to your background file:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install systemd-container&lt;br /&gt;
 sudo machinectl shell gdm@ /bin/bash&lt;br /&gt;
 gsettings set com.ubuntu.login-screen background-picture-uri &#039;file:///usr/share/backgrounds/login.jpg&#039;&lt;br /&gt;
&lt;br /&gt;
machinectl says you can quit with ^[ 3 times, and that means hold the ctrl key and press the [ key 3 times.&lt;/div&gt;</summary>
		<author><name>Misterhaan</name></author>
	</entry>
</feed>