<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>johna's blog</title>
<link>https://johna.compoutpost.com/</link>
<description>...mostly about web development and programming, with a little bit of anything else related to the Internet, computers and technology.</description>
<item>
<title>Moving from Linux to Windows - little annoying issues</title>
<link>https://johna.compoutpost.com/blog/1340/moving-from-linux-to-windows-little-annoying-issues/</link>
<description>So far in the move from Windows to Ubuntu things are going okay, but there have been several small annoying issues.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;Problem:&lt;/b&gt; An external hard drive used on the previous Windows PC, worked once or twice in Ubuntu and then failed to mount with the following error.&lt;br&gt;&quot;&lt;i&gt;Error mounting /dev/sdb1 at /media/user/disk name: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error&lt;/i&gt;&quot;&lt;br&gt;&lt;br&gt;&lt;b&gt;Solution:&lt;/b&gt; Open up the &lt;i&gt;Disks&lt;/i&gt; app, select the device from the list of disks, click the cog icon, and then click &lt;i&gt;Edit Mount Options&lt;/i&gt; from the pop-up menu. Then turn &lt;i&gt;User Session Defaults&lt;/i&gt; to off and press &lt;i&gt;OK&lt;/i&gt;.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;text-center&quot;&gt;&lt;a href=&quot;/blog/uploads/img1340_ubuntu-disks.png&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Ubuntu disks&quot; src=&quot;/blog/thumb/img1340_ubuntu-disks_md.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;Problem:&lt;/b&gt; An external hard drive used on the previous Windows PC, will not mount after having been incorrectly removed, and showing error &quot;&lt;em&gt;Failed to Mount... Error mounting system-managed device... Unknown error when mounting...&lt;/em&gt;&quot;.&lt;br&gt;&lt;br&gt;&lt;b&gt;Solution:&lt;/b&gt; Make note of the device shown in the error message, for example &quot;sdb1&quot; and open up a terminal and type the following (replace sdb1 with your device name/partition number) and then press enter. Enter your password if requested.&lt;br&gt;&lt;em&gt;sudo ntfsfix /dev/sdb1&lt;/em&gt;&lt;br&gt;If this doesn't work you could also try running &quot;Repair File System&quot; from the &quot;Disks&quot; application (follow the instructions in the previous problem to find the app and access the device settings).&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;Problem:&lt;/b&gt; Folders in &lt;i&gt;Home&lt;/i&gt; folder became locked as indicated by a red padlock symbol at the top right corner of each folder. This may have happened as a result of copying some folders from another storage device into the &lt;i&gt;Home&lt;/i&gt; folder.&lt;br&gt;&lt;br&gt;&lt;b&gt;Solution:&lt;/b&gt; Right-click each folder and then click &lt;i&gt;Properties&lt;/i&gt;. In the next window click &lt;i&gt;Permissions&lt;/i&gt; at the bottom. In each section (&lt;i&gt;Owner&lt;/i&gt;, &lt;i&gt;Group&lt;/i&gt; and &lt;i&gt;Others&lt;/i&gt;), if &lt;i&gt;access&lt;/i&gt; has changed to &lt;i&gt;Access Files&lt;/i&gt;, change it to &lt;i&gt;Create and Delete Files&lt;/i&gt;. The change is immediate so you can close the window. This applies to the &lt;i&gt;Documents&lt;/i&gt;, &lt;i&gt;Photos&lt;/i&gt;, &lt;i&gt;Music&lt;/i&gt; and &lt;i&gt;Video&lt;/i&gt; folders. &lt;i&gt;Desktop&lt;/i&gt; only has the &lt;i&gt;Create and Delete Files&lt;/i&gt; access as Access Files by default for the first section, &lt;i&gt;Owner&lt;/i&gt;.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;Problem:&lt;/b&gt; Ubuntu does not allow selection of the monitor's native resolution of 1920x1080.&lt;br&gt;&lt;br&gt;&lt;b&gt;Solution:&lt;/b&gt; Currently unsolved. The PC will show 1920x1080 on other monitors but not one specific monitor. I have tried suggestions found online but none worked so far.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;Problem:&lt;/b&gt; Skype has two icons on the dash. When first installed, the Skype icon on the dash was correct and worked normally. After a Skype update, a second but incorrect icon appeared for Skype. The original icon still opens Skype when clicked but does not indicate when Skype is open. The second cog-style icon now indicates when Skype is open.&lt;br&gt;&lt;br&gt;&lt;b&gt;Solution:&lt;/b&gt; Currently unsolved.</description>
<comments>https://johna.compoutpost.com/blog/1340/moving-from-linux-to-windows-little-annoying-issues/#comments</comments>
<pubDate>2024-11-06T12:00:00+10:00</pubDate>
<category>Linux</category>
<image>https://johna.compoutpost.com/blog/uploads/img1340_ubuntu-disks.png</image>
<guid>https://johna.compoutpost.com/blog/1340</guid>
</item>
<item>
<title>Moving from Windows to Linux - Outlook email on Ubuntu Desktop</title>
<link>https://johna.compoutpost.com/blog/1339/moving-from-windows-to-linux-outlook-email-on-ubuntu-desktop/</link>
<description>I have been trying to transition all of the family computers from Windows to Linux and the latest issue was with transitioning one computer running Outlook 2003.&lt;br&gt;&lt;br&gt;I planned to replace Outlook with Thunderbird as I found resources online that indicated that Outlook PST files could be imported into it, but this must apply to a past version of Thunderbird, and techniques for the current version involve using mail file converters and add-ons.&lt;br&gt;&lt;br&gt;I had a few failed attempts and then discovered a mail client called Evolution. My next plan was to import the PST file into Evolution and then export to a MBOX file that could be imported into Thunderbird.&lt;br&gt;&lt;br&gt;Unfortunately I couldn't find Evolution in the &lt;em&gt;App Center&lt;/em&gt; unless I changed the filter to Debian packages instead of Snap packages, but the Evolution Debian package failed top install. I then found Evolution could successfully be installed through the terminal.&lt;br&gt;&lt;br&gt;&lt;kbd&gt;sudo apt install evolution -y&lt;/kbd&gt;&lt;br&gt;&lt;br&gt;After installation it appeared in the &lt;em&gt;Show Apps&lt;/em&gt; menu and could be pinned to the Dash.&lt;br&gt;&lt;br&gt;The PST file imported easily into Evolution but exporting to MBOX didn't go smoothly so I thought if Evolution is good enough to import PST files then it's good enough to use as the mail client. So I have now switched to Evolution.&lt;br&gt;&lt;br&gt;Problem solved.&lt;br&gt;&lt;br&gt;&lt;img alt=&quot;Evolution for Linux&quot; src=&quot;/blog/uploads/img1339_evolution-for-linux.png&quot; class=&quot;img-fluid&quot; /&gt;</description>
<comments>https://johna.compoutpost.com/blog/1339/moving-from-windows-to-linux-outlook-email-on-ubuntu-desktop/#comments</comments>
<pubDate>2024-11-01T12:00:00+10:00</pubDate>
<category>Linux</category>
<image>https://johna.compoutpost.com/blog/uploads/img1339_evolution-for-linux.png</image>
<guid>https://johna.compoutpost.com/blog/1339</guid>
</item>
<item>
<title>Simplest file sharing for Ubuntu Desktop 24.04 for non-Linux users</title>
<link>https://johna.compoutpost.com/blog/1336/simplest-file-sharing-for-ubuntu-desktop-24-04-for-non-linux-users/</link>
<description>&lt;img alt=&quot;File sharing in Ubuntu Desktop 24.04&quot; src=&quot;/blog/uploads/img1336_file-sharing-in-ubuntu-desktop-24-04.JPG&quot; class=&quot;img-fluid&quot; /&gt;&lt;br&gt;&lt;br&gt;With Windows 10 coming to an end in 2025, Linux has its best opportunity yet to capture a more significant share of the desktop market.&lt;br&gt;&lt;br&gt;However, Linux makes some things difficult that are so easy to do in Windows.&lt;br&gt;&lt;br&gt;For example, file sharing. In Windows, you can just right-click on a folder and share it without ever having to leave the GUI (graphic user interface).&lt;br&gt;&lt;br&gt;I have tried a few flavours of Linux, those particularly aimed at Windows users such as Linux Mint and Ubuntu desktop, and so far I haven't found any that make file sharing easy.&lt;br&gt;&lt;br&gt;For this post, I will look at Ubuntu Desktop 24.04. It appears to have some file sharing out of the box, but I couldn't make these work.&lt;br&gt;&lt;br&gt;In &lt;em&gt;Settings&lt;/em&gt; there is &lt;em&gt;Sharing&lt;/em&gt; options. Well just one option: &lt;em&gt;Media Sharing&lt;/em&gt; because &lt;em&gt;File Sharing&lt;/em&gt; is not installed by default.&lt;br&gt;&lt;br&gt;On Ask Ubuntu people told me I could use &lt;em&gt;Media Sharing&lt;/em&gt; to share a folder and access through Windows. I tried this, and although easy to set up, I could only access the shared folders through Media Player on a Windows PC. Not so useful for non-media files.&lt;br&gt;&lt;br&gt;So on to &lt;em&gt;File Sharing&lt;/em&gt;. The installed help page told me to click to install the necessary &lt;em&gt;gnome-user-share&lt;/em&gt; package but no matter how many times I clicked there was no action and no message indicating why. Some searching later I found I could install using the terminal with &lt;em&gt;sudo apt install gnome-user-share&lt;/em&gt;.&lt;br&gt;&lt;br&gt;This got me the &lt;em&gt;File Sharing&lt;/em&gt; option in &lt;em&gt;Settings&lt;/em&gt; and I was able to enable file sharing of one special &lt;em&gt;Public&lt;/em&gt; folder. But I had no success finding or accessing the folder from my Windows PC. The settings page mentions a &lt;em&gt;dav://computer-name&lt;/em&gt; address that I was to use but I had no luck with that or any of the usual Windows conventions for accessing shared folders.&lt;br&gt;&lt;br&gt;I searched the forums and asked questions hoping to find a simple equivalent to Windows file sharing but I mostly got long-winded instructions on installing Samba and configuring via the terminal, or outdated information on &lt;em&gt;Local Network Share&lt;/em&gt; that I assume was available on earlier versions of Ubuntu.&lt;br&gt;&lt;br&gt;But eventually I came across &lt;a href=&quot;https://thelinuxforum.com/articles/954-how-to-enable-and-use-nautilus-samba-cifs-windows-file-sharing-feature-on-ubuntu-24-04-lts&quot; target=&quot;_blank&quot;&gt;this article&lt;/a&gt; on using Nautilus Samba on Ubuntu 24.04. This apparently adds the nice &lt;em&gt;Sharing Options&lt;/em&gt; option to the right-click menu of folders.&lt;br&gt;&lt;br&gt;I followed the instructions to the letter &amp;ndash; which unfortunately involve a few entries in the terminal &amp;ndash; and saw and tried to access the newly shared folder on Windows and amazingly it appeared on the local network so I double-clicked and... &quot;Windows cannot access&quot;!&lt;br&gt;&lt;br&gt;So close, yet so far. More searching and I found this &lt;a href=&quot;https://askubuntu.com/a/1464882/1987542&quot; target=&quot;_blank&quot;&gt;Stack Exchange question and answer&lt;/a&gt; that suggested an edit to the &lt;em&gt;/etc/samba/smb.conf&lt;/em&gt; file might fix this. Not great that I have to make this change but at least I could do it using the GUI.&lt;br&gt;&lt;br&gt;Much to my amazement, it worked! I could access the shared folder finally.&lt;br&gt;&lt;br&gt;I am no Linux expert (far, far from it), and I'm sure somebody out there knows easier ways to do this or another Linux distribution that does this out of the box so don't take my advice on this being the best method. But if you are here because you have become as frustrated about this as I was then give those two resources a try.&lt;br&gt;&lt;hr&gt;&lt;br&gt;Following is a brief summary of the instructions, but see the links above for more information.&lt;br&gt;&lt;br&gt;1. Open a terminal window. You can press Ctrl+Alt+T to do this or access through the menu.&lt;br&gt;&lt;br&gt;2. Update the APT package database cache:&lt;br&gt;&lt;kbd&gt;sudo apt update&lt;/kbd&gt;&lt;br&gt;&lt;br&gt;3. Install Nautilus file sharing plugin:&lt;br&gt;&lt;kbd&gt;sudo apt install nautilus-share&lt;/kbd&gt;&lt;br&gt;Press &lt;kbd&gt;y&lt;/kbd&gt; when asked to confirm installation.&lt;br&gt;&lt;br&gt;4. Add the user to the sambashare group:&lt;br&gt;&lt;kbd&gt;sudo usermod -aG sambashare $(whoami)&lt;/kbd&gt;&lt;br&gt;&lt;br&gt;5. Restart the computer either through the normal menu or from the terminal:&lt;br&gt;&lt;kbd&gt;sudo reboot&lt;/kbd&gt;&lt;br&gt;&lt;br&gt;6. Set a password for the Samba share:&lt;br&gt;&lt;kbd&gt;sudo smbpasswd -a $(whoami)&lt;/kbd&gt;&lt;br&gt;Enter your current password and choose a password for the share.&lt;br&gt;&lt;br&gt;7. You should now have &lt;em&gt;Sharing Options&lt;/em&gt; available when right-clicking on a folder where you can control sharing and who has access.&lt;br&gt;&lt;br&gt;8. To access from a windows device open a file explorer window and navigate to the Linux PC using the computer name or IP address, eg:&lt;br&gt;&lt;kbd&gt;\\192.168.0.99&lt;/kbd&gt; or &lt;kbd&gt;\\MyLinuxPc&lt;/kbd&gt;&lt;br&gt;&lt;br&gt;If you don't know the IP address you can find it by typing &lt;kbd&gt;hostname -I&lt;/kbd&gt; into the terminal.&lt;br&gt;&lt;br&gt;If you didn't chose to enable guest access then you will be prompted for your user name and the password you set in step 6.&lt;br&gt;&lt;br&gt;9. If this didn't work, like it didn't for me, then you need one more step. Open a File window find your way to the folder &lt;em&gt;/etc/samba/&lt;/em&gt; (you can start by going to &lt;em&gt;Other Locations&lt;/em&gt;) and open the file &lt;em&gt;smb.conf&lt;/em&gt; in the text editor just by double-clicking.&lt;br&gt;&lt;br&gt;Find the line &lt;em&gt;workgroup = WORKGROUP&lt;/em&gt; and add a few line below it:&lt;br&gt;&lt;kbd&gt;force user = John&lt;/kbd&gt; (replace &lt;em&gt;John&lt;/em&gt; with your username)&lt;br&gt;&lt;br&gt;Then restart Samba with:&lt;br&gt;&lt;kbd&gt;sudo service smbd restart&lt;/kbd&gt;&lt;br&gt;&lt;br&gt;You should now be able to access the shared folder.&lt;br&gt;</description>
<comments>https://johna.compoutpost.com/blog/1336/simplest-file-sharing-for-ubuntu-desktop-24-04-for-non-linux-users/#comments</comments>
<pubDate>2024-10-26T12:00:00+10:00</pubDate>
<category>Linux</category>
<image>https://johna.compoutpost.com/blog/uploads/img1336_file-sharing-in-ubuntu-desktop-24-04.JPG</image>
<guid>https://johna.compoutpost.com/blog/1336</guid>
</item>
</channel>
</rss>
