Turistens klagan

Klockan är 00:45 och jag sitter i segelbåten som är förtöjd som vanligt i Lungviks hamn. Hamnen som alla stavar fel, av någon anledning verkar alla vilja att den ska heta Lugnvik, men det gör den inte. Fru och söner ligger och snarkar i förpiken. Själv har jag bökat med att få till elsystemet lite snyggare, men fick slut på ljus. Sen blev det mer bök med att få igång WiFi-hotspoten från telefon till nya laptopen. Blev till slut tvungen byta namn på telefonen för att det skulle funka.

När jag nu suttit en hel lördagskväll i båten kan jag inte låta bli att reagera på min omgivning.

Runt kl 22 spreds stanken av bränt gummi runt hela stan. Brinner det någonstans, var det första jag tänkte. Men vilken idiot ställer sig lördag kväll och bränner sopor mitt i stan? Nej, efter nån halvtimme försvann stanken. Därmed kom jag fram till att det är nån ättling till aporna som inte kommit längre i utvecklingen av sin lilla ärthjärna att han/hon (förmodligen han) trots att media varit fullt av information i minst ett årtionde inte lyckats förstå att både Sverige och hela världen befinner sig mitt i en klimatkris och på grund av den bristande insikten bestämt sig för att det är en bra idé att varva upp sin bilmotor så mycket det går och bränna gummidäck genom att få bilen att slira på asfalten. Ascoolt, tyckte han säkert själv. Kan det finnas någon som ser sådant beteende som något annat än idiotiskt i dagens samhälle, undrar jag för mig själv. När jag nu skriver detta hör jag för övrigt fler bilar (och/eller motorcyklar?) som varvar upp på låga växlar genom stan.

Moderaterna säger att svenska medborgare inte ska behöva anpassa sig efter att allt omkring oss håller på att dö. De vill lösa klimatkrisen genom att under några hundra års tid långsamt gå över till ren energi, samtidigt som alla lever vidare som de alltid har gjort. Slår vad om att det går bra för dem i valet, med tanke på vad jag ser omkring mig just nu. Men hur dum får man bli, utan att ställas till svars för det man säger och gör? Klimatkrisen går inte över bara för att Ulf Kristersson vill ha fler röster i valet. Ansvarslöst. Borde förresten gå att åtala med grund i miljöbalken, men vem ska ta på sig att göra sånt? Då får man ju aldrig sluta åtala folk, det blir en heltidssysselsättning för hela advokatkåren.

Silvertärnorna här utanför äter spigg. Finns väl inget annat. Oskars surströmming har konkat. Finns ingen strömming kvar i havet längre, eller i alla fall inte tillräckligt mycket eller tillräckligt stora.

“Örnsköldsvik är Sveriges svar på Hua-Hin i Thailand”, sade jag till frugan tidigare ikväll. För vi är ju en turiststad. Höga Kusten – världsarvet. Natura2000-områden och naturreservat bakom varje kulle. Hur märker man det mitt i semestermånaden på en lördagkväll? Jo, idioter som bränner däck på asfalten. Och lite dunka-dunka från vissa bilar som åker förbi. Tänk vilken skillnad det är på platser som förstår att utnyttja den resurs som turismen kan vara. Dra upp en nattmarknad här på cirkusplatsen bredvid hamnen. Restauranger längs kajen, istället för tom asfalt och en hockey-rink. Nejdå, det är ju socialdemokraterna som styr, och de vill riva både båthamn och cirkusplats och annat för att bygga lyxbostäder åt rikemansfolket. Det är arbetarepartiet det. Bygg så många industrier som möjligt, helst automatiserade så det inte leder till mer än en handfull nya arbetstillfällen, strunta i att ett av Sveriges största Natura2000-områden ödeläggs, för sossarnas polare vill ha ännu mer pengar. Hur mycket stoppar politikerna själva i sina fickor, undrar jag för mig själv, men det får man väl aldrig svar på. Är dom inte lika korkade som däckbrännarna en bit bort från mig så kommer de säkert underfund med sätt att gömma sina mutor. Hoppsan, fick jag ett nytt hus att bo i fastän jag inte har möjlighet att få några lån, hur gick det till, men är man politiker så kallas det väl att vinna på lotto. Nyss var det nån som sade att vi inte har någon korruption i Sverige, för här kallas det att lobba för sina intressen.

26 grader varmt var det idag, och SMHI’s prognos var såklart 20 grader. De har inte haft många rätt sista året. Men nu mitt i natten blir det kallt. Tur vi har tjocka täcken med oss i båten. Eftersom jag fick för mig att förbättra elsystemet så funkar inte värmen – även fast vi ju har 220 volt från kajen. Å andra sidan kommer mjölken att hålla rätt temperatur till frukosten imorgon trots att jag inte har ström till kylskåpet.

För övrigt var vi ut och seglade idag. Tur jag har en tålmodig fruga, för jag blev lite sint påna stundvis. Det är en eländig känsla som kommer över en, när man inser att man inte klarar sig själv, och den enda man kan förlita sig på inte bryr sig om att förkovra sig. När barnen växer upp blir det nog ännu värre. “Men pappa, jag vill inte segla, jag vill spela Minecraft”.

Nej, nu blir det tack och gonatt. Sent ska syndaren vakna, men har man småbarn blir man väckt i ottan så då gäller det att lägga sig i tid.

Linux for writers

I tried to google for a linux setup used by writers, to find some inspiration on how to set up my work environment. The results I got from my search was quite disappointing. A few results on how to install linux, and a few about which apps to use that didn’t even mention the good ones. So now I’m writing down my own preferences, in case someone else wants to be inspired and stumbles onto this page.

How to install linux

What is linux? Most people buy a computer and just start using it. They never consider that there may be better ways of using the computer than the person who sold it to you had in mind. Think about it like this; let’s say that there were only two car manufacturers in the world. One of the car manufacturers is Ford and the other one is Honda. Most people would just choose between the reliable and high-tech Honda or the easy to repair and cheaper Ford. But regardless of what model you pick, what if there was a custom workshop where you could park your car for a night and next day take it out fully customized for what you want or need? Professional drivers would all have a custom, of that you can be sure. You can also be sure that Honda and Ford both would do what they can to keep custom cars from becoming popular, because competition is never good. Linux is the custom workshop for computers, and it’s all free (except for all the time you spend defining your customizations).

Linux is actually just the operating system. The operating system of Microsoft Windows is DOS, and you only ever see it if you open up the command prompt. Apple MacOS or OSX or whatever they call it these days is a Unix-derivative, similar to linux. Most people never realize that there is an operating system – you are interested in software, or apps, not how they function. On Windows you only have one setup, and at most you may be able to change the color scheme or desktop wallpaper. MacOS is similar in that regard, you don’t have a lot of options. After you install linux, there are lots of options to choose from. If you want your computer screen to look like a Windows environment, you install KDE-plasma desktop. If you want your screen to be more similar to MacOS, then you install Gnome. But there are several other desktop environments that are more or less in between those two options. And this is just the beginning of all the choices you can make; there are tons of different web browsers, file managers, office apps, &c. Since most people want kind of similar setups, all of these choices are bundled in so called distributions. So the first thing you should do is select which distribution to use.

If you want to choose every single thing, then you should go with the Linux-from-scratch distribution, or Gentoo, or Funtoo. You will spend a lot of time reading about all the different software components and how they interact, make a lot of mistakes, and learn from it. In the end of a very long process, you will have a computer screen entirely defined by yourself according to your own preferences, and if you make the right choices it will be the fastest computer you can have within your hardware limitations.

If you just want the easiest thing to start out with as a beginner, and then learn something about how to customize it every now and then, you should choose the Ubuntu distribution (with Gnome which looks like MacOS) or Kubuntu (with KDE-plasma which looks like Windows).

My own preference is to install ubuntu server, which just gives me a functioning computer with a terminal (or command prompt). If I’m on a fairly new computer I then install the KDE-plasma desktop windows-environment like this:

sudo apt install kde-plasma-desktop

If I’m on an older computer that runs slowly with less resources, or for example a Raspberry Pi, then I instead install the LxQt desktop environment like this:

sudo apt install lubuntu-desktop

After that you just restart the computer and login with your username and password. You will then have a package manager or software center or similar where you can install apps. Or you can open a terminal and type the “sudo apt install XXX” where XXX is the name of the software you want to install. If you don’t know the name exactly, you can try to type the first few letters and then press tab once. If there is only one package that matches those letters in the beginning of the name, the terminal will finish typing the name correctly for you. If there are many packages that match the name you can press tab again (twice total) and get a list of all the matches. For example, if I type in the terminal “sudo apt install lubu” and then press tab, the terminal will change the text to “sudo apt install lubuntu-“. The hyphen at the end give me a hint that there are many packages with this name (the hyphen is not always there) so I press tab again and get a list of seven software packages and their names. Finish typing any one of those names to install that software package after you press enter. Or go the easy route and find the software center (on KDE it’s called Discover and looks like a shopping bag icon in the menu).

What software to install

Now this was meant to be for writers. The first writer-related software I install is Falkon, which is a really fast internet browser. After installing Falkon I change the search engine from the default (Duck-duck-go which sucks) to Google.

After Falkon, I install Thunderbird to handle my e-mail. Since I have used Thunderbird for many years, I export my profile with all my old mail from my previous computer (or from my backup if my previous computer is broken) and import it into Thunderbird. Otherwise you will need to setup all your e-mail accounts and other settings.

QGIS is next for me. I use maps in a variety of ways, but as a writer you can for example put layers for your characters to keep track of where they are in the world at what time. If you are working with Game-of-Thrones-like complexity of lots of characters and their whereabouts QGIS certainly makes it easier to check up on who is where in the world. Of course, if your world is not our real world you can’t start with OpenStreetMap as a background so you would have to start by drawing out all your geography first.

LibreOffice is very useful, even if I don’t use it much for writing. It will open word documents, excel sheets, and powerpoint presentations, or let you create such things. Obviously, you can just use LibreOffice Writer for your writing, but then you might as well use Google Documents online or something such.

Since I have my own Nextcloud server, I install the Nextcloud desktop software. This automatically creates backups of all my files as soon as I change something, even if it is as simple of adding a single word and then saving the document.

For my actual writing, I install TeXstudio. This also needs texlive and xetex. Setting up TeXstudio is a bit tricky, and I also have my own classes for the documents I produce (scientific articles, books, letters, &c) and writing those classes takes some time to do. Classes are kind of the same as templates in Word or LibreOffice Writer, but much more powerful. Writing text in TeXstudio is just like using Notepad or KWrite. It’s not formatted while you type, and you have to insert commands to make bold text or chapter headings. When you press F5 to compile your text, it produces a PDF-document which looks perfect and much nicer than what you can do with other word processors.

Gramps is a geneaology software to build your family tree, but can also obviously be used by writers to keep track of fictional family trees and relationships.

Other software to install

Darktable is nice for keeping track of photos and pictures. Krita and Gimp are nice for creating pictures, or Inkscape for vector images. If you want to go advanced with 3D or making your own movies then Blender is the best option. For movie editin Kdenlive is nice. There are many other options that you can find in the software center, but these are my favourites.

I usually install Steam, because it is nice to blow off some steam sometimes with a game. Cities: Skylines is my first choice for a game, but I also play with Prison Architect or RimWorld sometimes, or the occasional Crusader Kings. Trine is good with friends, or Don’t Starve Together. If you are a procrastinator, don’t bother with games because you will never get anything real done. If you don’t have Steam but want some simple relaxation, 0 AD, SuperTux, or KPat are good enough to make you forget the real world for a while.

HomeBank is one of my essentials to keep track of my finances. Again, there are many other options, but I have found HomeBank to work best for my circumstances.

Stellarium is nice, if you have a moment to enjoy the night sky and want to find out what is what up there.

WingIDE is my choice for python development. You may also want PostgreSQL with PostGIS so you can save your data from QGIS in a better way, but I put those on a separate server myself. Or install R if you want to run statistics on your data (with RKward as a GUI).

Audacious or SMplayer for listening to music, or LMMS for making your own music. OBS studio for making content to YouTube or similar services.

Then what?

Start writing. Or procrastinate and spend an infinite amount of time fine-tuning your system and trying out all the apps to find your own favourites. Did I mention all of this is available free of charge? Yes, well, that also makes it very expensive in terms of time since there is nothing stopping you from trying out all of it. Better to ignore the software center once you have your essentials, and just do some work.