Happy birthday, hardware!

I was glancing at my profile recently and realized, it’s been a full six years since I built my desktop computer! I think that calls for a celebration. That’s a pretty long time in computer years.

I love my computer. I open it up about twice a year, to clean it and to adjust the fan speed for the changing seasons, and every time I do I remember why I love it so much. The internal layout is just plain lovely. Aside from needing to replace the monitor, I’ve had no failed hardware. It runs as fast and as smoothly as the day I put it together.

…which makes me so mad! How am I going to have fun buying new parts and upgrading if everything works well and suits my needs? What the crap??

But don’t worry, I still love you. Here’s to another year together, programming and blogging and music and pictures and seeing how many operating systems I can cram onto you. Which reminds me, despite having Arch Linux, Haiku, OpenBSD, and Linux Mint installed, I still have an empty partition… I think I just thought of what to give my computer for a birthday present. You can never have too many operating systems!




WebRTC

I have been waiting oh-so-long for a piece of software to save me from Skype, and today I may have found my savior!

I’ve been reading about WebRTC for years. It’s been a while now since Chrome, Firefox, and Opera announced support for WebRTC. Since then, the implementations have matured and websites have started to pop up with support for it.

The result is that, today, I used talky.io to:

  • Video chat with my family across the country
  • With no registration and instant setup
  • With clear (but occasionally just a tad laggy) video and audio
  • Using nothing but free and open source software
  • Via web browsers that are most likely already installed on many people’s computers

I’d call that a victory for freedom!




Which camera should I get?

My sister-in-law sent me a message recently asking me what I would recommend as a good camera. I love this kind of question. I would say “photography” is one of my big hobbies, but it really isn’t. Instead, my hobby is more, like, “talking about photography”.

Her needs were:

  • Control and quality (in other words, a DSLR as opposed to a point-and-shoot)
  • Shooting people, landscapes, and in low light
  • Under $600

Here was my response:

The main two camera makers are Canon and Nikon. They make a ton of cameras, and the names of them are all really confusing! Fortunately the Wikipedia makes it really easy to see all the different types and what year they came out. Just scroll to the very bottom of the page to look at the tables of camera models:

Nikon:

https://en.wikipedia.org/wiki/Comparison_of_Nikon_DSLR_cameras

Canon:

https://en.wikipedia.org/wiki/Comparison_of_Canon_EOS_digital_cameras

Sony also makes cameras. They’re a little different but still very good:

https://en.wikipedia.org/wiki/Sony_Alpha_58

I recommended the Nikon D3200, which can be bought from Amazon with the only two lenses you’ll ever need (but you can always buy more!) and a bag to carry them in for $547. You can also buy it with only one lens for less money if you like.

Now, as you’ll notice from looking at the table with all the different Nikon cameras on it, the D3200 isn’t the newest model. The D3300 already came out! So why would I recommend the D3200 instead of the D3300? Because they’re almost the exact same camera. But since the D3200 is a little older it’s also a little cheaper.

Another way to think about it is, when the D3200 came out it was a really good camera. Even though the D3300 already came out, the D3200 is still a really good camera. My point is, don’t be fooled by newer models and higher specs!

How do you choose whether to get a Canon or a Nikon camera? They are both really really good. They are the same prices and the same quality and have about the same features. Here are the differences that I know of:

  • The button layout and the menus are a little different. They both have the same basic features, but the locations of the buttons you press to be able to use those features are a little different.
  • They take different lenses. If you have a collection of Nikon lenses then you should buy a Nikon camera. If you have a collection of Canon lenses then you should buy a Canon camera. But you don’t have any lenses, so it doesn’t really matter. If you have a friend that has a bunch of lenses that you can borrow then you could buy a camera that works with them, but you probably don’t know anyone that you want to borrow lenses from anyway.
  • Canon and Nikon cameras do things a little differently, like auto white balance and auto focus. But the only people who care about these things (or can even notice them) are professionals with years of experience. I certainly don’t notice.

One more thing: The most important thing in photography is light, and by extension, the lens. What lens you use is much more important than what camera you use. The reason some cameras cost more than others is for reasons that only professional photographers care about, things like being water proof, or being able to use two SD cards at once, or having more buttons so you can switch modes more quickly. In summary, the lens is more important than the camera, and you’ll get all the features you need with pretty much any DSLR camera.

Your brother and my brother both use Canon cameras. Your aunt and I both use Nikon cameras. My coworker uses a Sony camera. They’re all good.




Setting a background image when using a WM

In order to set the background image for my WM (spectrwm <3) I use hsetroot and point it to ~/.taustakuva [taustakuva means wallpaper in Finnish <3], a symbolic link in my home directory:

  1. $ ln -sf path_to_your_picture ~/.taustakuva
  2. Then I simply add this line to ~/.xinitrc: hsetroot -center ~/.taustakuva

For eyecandy I use compton, a lightweight and advanced X compositor forked out of xcompmgr, which gives a nice transparency effect (among others) to urxvt:
1. Add to ~/.xinitrc: compton -o1 -b
2. If using urxvt (rxvt-unicode-256colors) don’t forget to set either:

  • URxvt*background : [95]#your_color_code_in_hexadecimal
  • URxvt.transparent : true

in ~/.Xdefaults according to your taste.
You will end with something like this:

 

 

Cheers.




Arch rocks! (fanart wallpaper)

Just a fanart wallp I made some time ago that I’m using again as my GRUB background:

 

Arch rocks!
Real size: 2048×1152

 

To set a picture as GRUB’s background open /etc/default/grub and follow these steps:

  1. Uncomment and point GRUB_BACKGROUND= to where your picture lies, i.e. /boot/grub/Arch_Rocks.png. Bear in mind that the directory where your picture reside must be mounted at the time GRUB is loaded so best place usually is /boot/{whatever};
  2. Generate new GRUB menu: # grub-mkconfig -o /boot/grub/grub.cfg

 




Xorg: Using the US International (altgr-intl variant) Keyboard Layout

Source: all praise and glory goes to Shinobu’s Blog

Since I switched to spectrwm I found that I had to explicitly tell X to use the keyboard layout I find most useful.

Let’s say you’re using the US Intl. keyboard layout (the only sane layout if you ask me) and you need to enter special symbols and characters, the altgr-intl layout – aka French/English layout on RH and its siblings distros – is the way to go then as “all of the non-US keys are all hidden behind a single key: the right Alt key.”.

So in order to instruct X to use this useful keyboard layout you could:
1. Add the corresponding section to Xorg’s keyboard settings by creating the appropriate file in /etc/X11/xorg.conf.d – not really recommended as it is somewhat awkward nowadays and the least you fiddle with your admin account the less you probably end up messing it;
2. Just add setxkbmap -rules evdev -model evdev -layout us -variant altgr-int to your ~/.xinitrc file (or any other init script parsed by your WM);

Now writing things like ‘Yo preparo la salsa para los ñoquis, te vas a chupar los dedos” o “Hyvä päivä Suomessa!” is easy again :)

-Martin




The Inofficial Arch Games Collection

Tuxracer screenshot, by linuxblog.dk

Of course there are hundreds (if not thousands) of games in the Arch repositories, including popular classics like The Battle Of Wesnoth, Nexuiz, or Flightgear. But there are some games that go even better with Arch’s KISS philosophy, and that COULD be included with Arch, if Arch came on a big DVD with games included and so on, so, long story short, here’s The Inofficial  Arch Games Collection” ;)

  • Pysolfc – The inevitable collection of solitaire card games, plus a very nice Mahjong
  • Extreme Tux Racer – The classic Tux downhill racer, still loads of fun
  • Pychess - Beginner- friendly chess program with a helpful “Hints” and “Spy” mode. Pychess has its own engine but can also use gnuchess or any other Xboard- compatible engine.
  • Ltris - Lightweight implementation of the popular classic “Tetris” with many features
  • DoomRL LQ - simple and beginner- friendly (at least on level “too young to die”) rogue- like with tile graphics. The LQ version is only 5 MB vs. 80+ MB for the “full” version and has midi music instead of MP3s
  • FreeCiv – Free clone of Civilization 2, single- or multiplayer
  • Dopewars - classic … erm … business simulation that can be played in GTK or on the command line (option -t)
  • Lbreakout - Nice breakout game with a lot of options
  • GzDoom - Nice OpenGL DOOM implementation with pretty good graphics, keyboard playable !! You need additional game data, e.g. FreeDoom / Blasphemer from the AUR or download Harmony from their web page
  • Assault Cube - Lightweight (~50MB) single- / multiplayer FPS, also playable with the touchpad (if you have to)Singularity - Unique (round- based) game about an artificial intelligence called the Singularity
  • Micropolis - The original “Sim City” game, open- sourced and adapted for the OLPCproject
  • OpenTTD - Free clone of the popular classic “Transport Tycoon”
  • Oolite - OpenGL remake of the classic Elite / Frontier game, including the classic vector graphics
  • GL-117 – simple but fun (combat) fligh sim

This is just a small collection of my favorites. More interesting games can be found in the wiki under Netbook Games and List of Applications / Games. All these will of course work in other Arch- based distributions like Manjaro, Archbang or Bridge, too.




Creating Apps In Kivy: The Book

I apologize for my near-silence over the past few months. I’ve packed house and moved twice in that time, started a new job, and, relevant to this post, written a book.

My Creating an application in Kivy blog series has been by far the most popular set of posts on this blog. It garners about 200 views per day, and has been doing so for nearly a year. This taught me a very important lesson: posts with controversial titles, (notably this one, but basically anything that has hit hacker news) are much less valuable than posts with meaningful long-term content. Getting a few thousand hits in one day is pretty satisfying, but when most of your “readers” simply comment on the post without having read the article, that hit-count becomes meaningless.

“Creating an application in Kivy”, on the other hand, has had sixteen thousand visits to part 1, and nearly three thousand of those have made their way all the way to part 9. I could definitely achieve more hits per day by writing a new minimum-content controversial article every day, but these visitors keep coming with no effort on my part. This is lucky, as the focus on writing solid content for my book has taken time away from writing solid content for this blog.

And with that, I’d like to announce that Creating Apps In Kivy is now available. This project started when the aforementioned tutorial caught the eye of an O’Reilly editor. They helped me put together a great book that I am proud of and confident you will enjoy.

Creating Apps in Kivy covers many of the topics discussed in my tutorial, but in more depth and with much more polish. Like the tutorial, it takes you from “new to Kivy” to creating and deploying a complete application to your Android or iOS device. It’s a fun, short read and I’m proud to present it to you today. If you liked the tutorial, buying my book would be a great way to support my work!




Have you ever been afraid to get out of bed?

In my past writings about mental health, I’ve mostly discussed depression and suicide. I’ve been meaning to add ‘anxiety’ to that list of topics, but have been waiting until I could write about it from the first person. One of the peculiar things about my personal struggles with mental illness is that when I’m feeling well, it’s really hard to remember what it’s like to be feeling poorly. The inverse is also true, which is why it’s possible to feel suicidal after just a few hours of depression; I can’t imagine what it felt like yesterday when I’d been feeling fine for months on end.

I’ve got a great handle on what I need to do in my life to deal with, prevent, and accommodate for my depressive, suicidal, and bipolar tendencies. I’ve also made great strides in reducing anxiety levels, but, for me, anxiety is a more difficult beast to tame. The following was written a few days ago when I was in the middle of a high-anxiety experience (not an anxiety attack). I’ve edited it a bit for grammar (typing on a phone is a horrible experience), but it’s mostly straight from the heart. I hope it illustrates what anxiety feels like to those who have not experienced it, so you can support those in your life who are suffering. I would also like it to demonstrate to those who may not be aware that they are dealing with anxiety that their symptoms are treatable, and perhaps you will seek further help. And, as always, I want those of you who deal with anxiety on a regular basis to remember that you are not alone.

From Inside Anxiety

Let me tell you what anxiety feels like. It feels like being on a small rock amidst a boiling vat of lava. I have to type this on a phone because the laptop in the other room is no less inaccessible than if I had to jump a giant ravine. Anxiety is fear, pure simple fear. But it’s not normal fear; anxiety is fear of the normal.

Have you ever experienced an adrenaline rush? Some threatening situation: the grill of an oncoming bus, falling down the stairs, being approached by a thug with knife in hand, slipping on ice, a shove from behind, a car accident?

Anxiety is that same feeling, but all the time. Every step is a slip, every car is going to hit you, all your friends and co-workers are thugs with knives. The worst part is that the brain can see that these sensations are not true. I’m not imagining real lava around the bed. I can see the perfectly safe carpet. But my legs feel like numb jello and I cannot step onto it. I’m not hallucinating that all the people outside my street want to kill me. I’m afraid of them even though I know they have no interest in me at all. I know in my mind that my office is full of people I can trust and rely on, yet my body is reacting as though I will be entering a war zone, every sense alert, every muscle tensed against the next attack.

Once upon a time, I lived the majority of my life’s moments in such a constant state of heightened awareness. Fear. It was exhausting. I am lucky that days like this are now rare. I am lucky that today, my anxiety is not accompanied by depression (it’s hard to feel worthy when you spend all your time hiding in bed.).
Some people look for adrenaline rushes outside their normal state of being. They sky dive, they become immersed in video games or movie thrillers, they join extreme sports. While they do this, I look for quiet rooms, I meditate, I practice yoga. Anything to calm the blood down. I will experience the same thrill climbing into the shower this morning that you feel jumping out of that plane. I will feel the same fear walking into my office today that you feel as you step onto a public stage.

And here’s the kicker: nobody thinks I’m brave. My walk to work today will mirror an Indian Jones escape sequence or Aladdin’s carpet ride out of the Cave Of Wonders. I’ll walk into my office and be surrounded by people who do that kind of thing every day. Anxiety is living your life inside a thriller movie. The music is always loud, rushing your heart beat. Something awful is always going to happen around the next corner. This movie doesn’t end and you can’t walk out of the theater.

The world is going to end if I don’t get out of bed and into the shower. How much is a world worth?

Dealing With Anxiety

I have had less success in defeating anxiety than I have had with depression. There are a few types of treatments to deal with it, and you should consult with a medical professional to work out what the best one is for you. The two things that have had the greatest success in taming (if not controlling, yet) my anxiety have been yoga/meditation, and exposure therapy. The latter isn’t as bad as it sounds, although like many cures, it’s not always pleasant. The heart of exposure therapy is, as you can expect from the name, placing yourself in situations that cause anxiety. However, there are a few caveats. You have to place yourself in such situations until you become comfortable with them. If you exit an anxiety-inducing situation while you still feel afraid, you will have reinforced that this is a fearful situation, and that “fight or flight” is an appropriate response.

Instead, you need to pick situations that only cause a small amount of anxiety. A good way to do this is to make a list of as many situations as you can think of that cause anxiety, and then rank them in order of how frightening they are. Over the course of a year or so, put yourself into the easiest situations and work your way up the chain. It’s slow progress, but it’s measurable, and the feedback you give yourself from one encounter can help you refine your technique in a later one.

I’ve been utilizing this technique for three years. As illustrated above, I still have days with a lot of anxiety. However, I lead a functional life, now. I used to work from home, I now work for a high-profile company and I’m doing well at it. I used to avoid all social situations, I now regularly go out with friends or even strangers and generally have a good time. I used to be especially afraid to interact with single women; I’m now in a stable, loving relationship. There are still a few things on my list, such as presenting at conferences and dealing better with conflict, but for the most part my coping skills are better than many people who are considered not to have psychological disorders. It wasn’t easy, but it was worth it.




Firefox Beta och Australis

Vid nästa släpp utav Firefox kommer Australis. Jag tänker att det kommer att ta ett tag att vänja sig, vilket resulterade i att jag laddade ner Firefox Beta för en stund sedan. Classic theme restorer är ett tillägg jag _verkligen_ rekommenderar alla att installera. Jag vet inte vad jag skulle gjort utan det, faktiskt. Firefox såg inte alls vackert ut utan det. Läs på bloggen efter tidigare tips, de går fortfarande att applicera på Australis. Stilmallen och alla tillägg funkar fortfarande.

 




Gör att Firefox blir mer som Safari

Här kommer ett kort tips på hur man går tillväga för att få Mozilla Firefox att bli mer som Safari – en webbläsare jag faktiskt gillar. Förutom det faktum att det är proprietär programvara. Jag gillar dock designen mycket och har ägnat lite tid för att få det att se ut som Safari.

Först, skriv about:support i Firefox, sedan väljer du att öppna i Finder (bredvid Profilmapp). Sedan går du in i din profilmapp och skapar mappen chrome om den inte finns. Väl där skapar du textfilen UserChrome.css och öppnar den. Vad du sedan ska göra är att klistra in följande:
#personal-bookmarks .toolbarbutton-icon {
display: none !important;
}
.tabbrowser-tab[fadein]:not([pinned]) {
max-width: 1000px !important;
min-width: 26px !important;
}
.tabbrowser-tab[fadein][selected]:not([pinned]) {
min-width: 88px !important;
}
#tabbrowser-tabs ~ #alltabs-button {
visibility: visible !important;
}
/* Tabs: no icons */
.tabbrowser-tabs .tab-icon-image { display: none !important; }
/* Move the close button to the left and hide it until the tab is hovered over */

tab .tab-close-button {
-moz-box-ordinal-group: 1 !important;
display: -moz-box !important;
visibility: hidden !important;

}

tab .tab-text { -moz-box-ordinal-group: 2 !important; }
tab:hover .tab-close-button { visibility: visible !important; }
tab[selected="true"][first-tab][last-tab] .tab-close-button { visibility: hidden !important; }

Vad detta gör är att se till att flikarna blir längre, samt att favicons försvinner. Modifiera hur du vill, jag uppskattar minimalism och kommer därför ha det så här – målet är trots allt att det ska efterlikna Safari så gott det går.

Sedan ska vi installera ett par tillägg.
Det första vi ska installera är Omnibar. Gå in i inställningarna och välj att dölja sökmotorns favicon.
Vi ska också installera Status-4-Evar. Gå in i inställningarna och ha denna bild vid “Förlopp”

Det var det, tror jag. Förhoppningsvis har jag inte glömt någonting.

 

Update!
Ha stängknappen till vänster med den uppdaterande CSS-koden.




Vila i frid

Fan. Fick för inte alls länge sedan reda på att en kamrat lämnat oss. Hur vet jag inte, och jag bryr mig inte. Han är borta. Det känns overkligt på många plan. Det är min andra vän som har gått bort på kort tid.

 

Han var en väldigt, väldigt solidarisk människa. Han sa inte bara nej till orättvisor utan agerade faktiskt, något inte många gör idag. Han kämpade, väldigt hårt. Han och jag har kämpat vid barrikaderna för en bättre värld för några år sedan, så jag vet vilken kämpe han var. Nu har jag inte lust att skriva så mycket mer, jag ville främst få ur mig lite utav min sorg. Ett längre inlägg om både två kommer senare. Men de var båda kämpar för en bättre värld.

Vila i frid T och T.




N900 -> N9 -> Jolla

Jag har haft ett mobilintresse i väldigt många år, och har haft mängder med olika modeller. Allt från en av de första med mp3-spelare (även om det var ett annat filformat som användes) i form utav en Nokia 5510. Jag har också haft en utav de första med färgdisplay, Sony Ericsson T300. Två Nokia N-gage och en N-gage QD har jag också haft i mina dagar, bland annat.

Jag skaffade mig en Nokia N900, med operativsystemet Maemo 5, en Linuxdistribution baserat på Debian med mitt första abonnemang. Denna telefon hade jag i nästan två år innan jag förlängde och skaffade mig en Samsung Galaxy Note. Denna hade jag ett tag innan jag sålde den och köpte en ny N900 – jag hade sålt min gamla till en vän. Min N900 hade jag ett tag innan jag köpte storebrodern Nokia N9, som använder Meego. Denna hade jag i ungefär 7 månader innan jag köpte den jag nu har, nämligen en Jolla-telefon. Denna använder operativsystemet Sailfish OS, som precis kommit ut i skarp version, och snart ska kunna gå att installera på utvalda Androidtelefoner, det går redan nu men det ska bli enklare. Dessutom är det betydligt roligare att installera något som inte är i beta-stadiet. Kan jag tro, i alla fall.




Firefox, framtiden och nuet

Varför installera ett tillägg till Firefox när lite CSS kan fixa biffen?

#personal-bookmarks .toolbarbutton-icon {
display: none !important;
}
För Windows:
Skriv %appdata% under Kör (Windowsknappen och r, om det inte har förändrats sedan jag övergav Windows) ->leta efter Mozilla-mappen -> hitta <något>.default -> skapa mappen chrome -> skapa filen UserChrome.css. Se till så inte .txt blir filändelsen bara, Windows gillar nog att skapa den. ;) Eller så installerar ni bara tillägget Stylish, då skapar ni en ny style och klistrar in stilmallen ovan.

För Linux:
~/.mozilla/<user>.default -> chrome -> userChrome.css

För Mac:
~/Library/Application Support/

Detta tar bort favicons vid bokmärkesraden. Något som gör Firefox lite finare, enligt mig. Firefox kommer vid version 28 eller 29 använda sig utav “Australis”, nya designen för Firefox. Dessvärre ser det inget vidare ut utan påminner om Chrome för mycket. Dessutom tar nya designen sönder alla teman till Firefox (förutom så kallade Personas), och möjligheterna att skapa teman för den nya designen är svår. Tragiskt, när det finns fina teman till Firefox.

Jag har testat Safari lite på min Mac, och den minimalistiska designen är underbar. ^ är inspiration från Safari, detta och att välja små ikoner gör Firefox något mer likt Safari. Att gå in i about:config och välja browser.snapshots.limit 5 (eller något annat än 0) gör att effekterna när man går bakåt eller framåt med touchpaden är densamma mellan dessa webbläsare. Just det, browser.tabs.onTop ska vara false också.

Ytterligare en sak, installera Omnibar till Firefox, då blir det ännu mer likt Safari.

Jag vet inte riktigt vad jag kommer att göra när den nya designen kommer. Eventuellt kommer jag att stanna kvar, eller börja användare Safari, eller helt enkelt acceptera att läget är som det är. På mina Linuxdatorer kommer jag att acceptera läget, skulle jag tro.




Linux på högskolenivå och lite annat

Det var ett tag sedan jag skrev något här. Anledningen till det är att jag dels har flyttat, börjat studera, och sen att jag inte har mått jättebra.

Jag bor inte längre på fastlandet utan bor på en ö, vilken det kan tänkas vara får ni ta en funderare på. ;) Det gäller enbart under studietiden, sedan kanske det blir flytt tillbaka till min gamla hemstad. Vi får se vart det bär av, jag kommer dock inte att vara här längre än till juni i vart fall.

Jag har alltså börjat studera. Det är en ganska liten kurs, 7.5 högskolepoäng och ska mig veterligen vara under två perioder. I den takt uppgifterna ska vara inne kan man undra om det verkligen är så. Det har dock gått bra än så länge. Kursen heter Introduktionskurs till Linux och små nätverk. Vi har inte kommit långt ännu, utan vi har skrivit hur vi gick tillväga för att installera Debian, och sedan skulle vi skapa ett skript vilket skapar textfiler och mappar (och ett annat skript). Mer om det kommer kanske när kursen är färdig.

Angående mitt mående, jag tänker inte gå in på det här. :) Det är ingen större fara. Är mest trött på mig själv.

 

Over and out.




egtk, tap och lite annat

Denna post var först tänkt att publiceras på min Facebook, men jag ångrade mig och klistra in texten här istället. Ganska basic grejer tas upp, så för den erfarna kommer inget direkt nytt upp.

 

Använder du GNU/Linux och använder tillägget Stylish till Firefox? Det finaste temat till GNU/Linux är elementary, som tillsammans med sitt ikontema ligger till grund för ett helt eget operativsystem (elementary OS). Ett OS jag kan rekommendera nybörjare som vill ha det vackert men ändå komma åt en massa fina program, då det är baserat på Ubuntu.

Använder du Debian, som använder äldre programvara för att det är stabilt och så vidare, ladda bara ner elementarytemat från deviantart eller från Launchpad. Använder du ett operativsystem som använder nyare programvara, ladda då ner version 4.x som stödjer senare versioner utav GTK. Installara bzr om du inte redan har det installerat och kör följande kommando:
bzr branch lp:egtk
Flytta sedan innehållet till /home/användarnamn/.themes eller /usr/share/themes om alla ska få ta del av temat.

Det finns ett fint tema till Firefox också.
Och för att återgå till Stylish, vill du istället använda standardtemat till Firefox och använda lite CSS, använd då denna.
Men strunta i flikarna på toppen. In in about:config och ändra browser.tabs.onTop till false.

Snygga ikoner är viktigt också, använder du elementary OS kan du enkelt installera ett tema som heter Tap. Du hittar det om du lägger till elementaryupdates egna förråd. Använder du ett annat OS, se till att ha elementarys ikoner, sedan laddar du ner Tap. Sedan laddar du ner följande.
Ladda ner och klistra in in tapmappen. Det är fint om du använder en dock (docky eller helst plank) och har de program Tap för tillfället har stöd för där.

Använder du Greasemonkey till Firefox så kan jag rekommendera följande skript. Användbart om du som mig brukar ha Facebook som “fäst flik”.




Två nya program

Jag testade idag att installera ett program jag gillade mycket när jag använde Windows. Det är foobar2000. Det funkade väldigt bra över wine, faktiskt. Då jag använder MATE kan jag använda gamla skripts till Caja. Jag tänkte dela med mig utav ett guldkorn här. Det är proprietär programvara, vilket jag i vanliga fall försöker hålla mig borta ifrån. Men jag kommer ge det en chans.

Installera först wine, sedan laddar du ner foobar2000 och installerar det. Efter det går du in i /home/USERNAME/.config/caja/scripts och skapar en fil, i mitt fall heter filen Add to foobar. Ha följande innehåll i den nyskapande filen:
#!/bin/bash
#
# Enqueue in Foobar
wine /home/USERNAME/.wine/drive_c/Program\ Files\ \(x86\)/foobar2000/foobar2000.exe /add “$@”

Ersätt USERNAME med ditt användarnamn.Se till att du kan köra skriptet också. Testad på 64bit, i annat fall får du själv modifiera. Men du förstår principen.
Det andra program jag testade var Firefox Nightly. Det var inte jättelätt att få det att funka på Fedora då det mig veterligen inte finns någon som bistår med ett förråd över programmet. Jag tänkte inte skriva hur man går tillväga för att få det installerat, men om någon frågar efter hur man gör kan jag dela med mig. Annars finns det på Google. Här finns en bild på programmen.

 

God jul!




Debian och plank

Här kommer ett kort tips hur du kan få plank att fungera med Debian utan att behöva kompilera från källkoden.

Öppna upp /etc/apt/sources.list med utökade rättigheter.
Skriv in deb http://people.ubuntu.com/~ricotz/debian-plank wheezy main
Sedan installerar du plank apt-get install plank




Elementary Dark och Firefox

Här kommer ett litet tips på hur man kan ladda Firefox med ett annat gtk-tema än det man vanligtvis använder. Problemet med Firefox och Linux är att en del element blir mörka och andra ljusa. Jag kan exempelvis inte se texten när jag skriver i textfält för att det är vitt.

Öppna /usr/share/applications/firefox.desktop med valfritt program med utökade rättigheter.

Leta upp Exec= och modifiera till följande:
Exec=bash -c ‘GTK2_RC_FILES=/usr/share/themes/Clearlooks/gtk-2.0/gtkrc firefox %u’ eller till valfritt tema. Starta om Firefox och du kan se texten igen. HÄR kan ni se att jag använder ett annat tema.

 

 




OpenBSD

I had a new experience last week: I installed OpenBSD. And wow, what an experience it was!

As a fan of trying new operating systems, I’ve been wanting to “learn BSD” for many years now. I had decided a while back to try out FreeBSD because it has the largest user base, and assumed it would be the “best BSD experience” for me. Well, my experience with FreeBSD was that documentation was sorely lacking (despite hearing the contrary) and the things I was most interested in seemed to be in a state of flux, namely package management and compilers. That and the fact that there doesn’t seem to be “one right way” to do almost anything in FreeBSD caused me to never really understand what I was doing, no matter how hard I tried. Or maybe I’m just an idiot. I don’t know.

Well, OpenBSD 5.4 just came out, and after reading a comment on OSNews from a fan absolutely gushing over it, I became really excited to try it out.

Now, I only knew a few things about OpenBSD:

  • It’s secure. Like, VERY secure.
  • The documentation is vast and superb.
  • It’s not very popular, even in the list of not-very-popular operating systems.
  • The mascot is cute.

I downloaded the latest release and read a bit of the installation guide. I was very impressed with the documentation, but not nearly as impressed as I was going to be after installing everything. One thing in particular stood out to me in the installation guide: the advice to install OpenBSD on an empty hard drive if it’s your first time. Pshhh, I’ve installed a million operating systems. How hard could it be?

Well, it wasn’t hard, but it was very different from what I was used to. At one point near the end of the installation after configuring the partitions, I had no idea whether or not all my personal files were still on my hard drive. After wiping my sweaty palms together and rebooting my computer, it turns out I’d done everything correctly and didn’t erase anything. Well, I guess I should say OpenBSD did everything correctly. For all the power it provides, the installer really is pretty automatic and smart. Anyway, as a responsible computer user I of course have a recent backup too, but it’s still nice to not have to need it.

Success!

Success!

And it’s at this point that the documentation really impressed me. I finish the installation and reboot. I login and it tells me I have a new email that I can read with the “mail” command. The email gives a welcome and a ton of information, including the suggestion to read “man afterboot”. That man page gives even more instructions on how to do things people often want to do after an installation. Every command has a manual. Ever configuration file has a manual. The documentation just kept going and going! And it’s all both high quality and current.

I installed a few applications with ease using the built in package manager. Although the X server is not “part of” the operating system, it was included in the install and was automatically configured.

I started X and had to laugh. OpenBSD is very much UNIX, and if ever I saw a GUI that screamed “UNIX” it’s the default in OpenBSD.

I can almost TASTE the 1970s.

I can almost TASTE the 1970s.

I decided to keep it, just because it makes me feel all hardcore UNIXy.

Also, OpenBSD feels fast. I don’t know if it’s just in my head or what, but the Internet connection in particular just feels so smooth compared to Arch Linux.

And that was pretty much it. The Internet, video (including 3D Radeon drivers), and audio were all configured automatically. I’m incredibly impressed with what I’ve seen. I haven’t decided where to go with OpenBSD from here, besides just “learn it more”, which I look forward to doing.

…posted from OpenBSD!




Get Blog Updates Delivered to your Inbox!
Enter your email address:

Delivered by FeedBurner

Add to Google Reader or Homepage

Subscribe in NewsGator Online

Add to My AOL

Add to netvibes

Add to Excite MIX