Posts Tagged ‘Windows’

Google Chrome and Kerberos

01/11/2012

Just a short tip for those of you that use Google Chrome and want to
utilize Kerberos to login to sites:
You need to start Chrome with an extra command-line option. Why this
isn’t configurable inside Chrome is a mystery, but anyways – here is
the solution:
1) Make sure you have a kerberos ticket (check with klist or do a new kinit )
2) Start Chrome as this:
google-chrome –auth-server-whitelist=”domain”
domain can f.ex. be *.someplace.com

Voila, Kerberos-login works.

XBMC + Windows + MySQL db backend

04/17/2011

Have been planning for quite a while to change my xbmc-setup at home
to use a MySQL-database as backend for it’s library. This makes it so
that everything is in sync between several xbmc-instances you might
have at home, like which episodes you have watched and so on.

Easy as pie to setup (hint: add a section to advancedsettings.xml –
take a look at the wiki on xbmc.org).

However, there is a bug that really messed it up for me:
http://trac.xbmc.org/ticket/9022

Amazing that this has been there for over a year, and it’s still not
fixed… In short, the way xbmc saves the path in the database doesn’t
work when it contains backslashes like it would in Windows. So, if
you map your network folder with all media content as v: and have the
tv-show 24 in v:tv24 it would not work when this was saved to the
database. The trick is to not use v: but go directly to the
server-share through smb. This rules out using NFS, but oh well…

So in short: don’t use “normal” path’s in your sources in windows, use
smb://… instead. And everything will work 🙂

Wouldn’t it be nice if this was at least documented in the wiki? Or
maybe fix the bug? Took me quite a while of googling and debug-logging
and reinitializing databases and so on before I figured out what was
the problem…

XBMC on an Asrock 330HT BD

12/03/2010

Xbox

I have been using XBMC for quite some years on my classic Xbox, and was extremely satisfied with it.  However, the hardware was getting a bit outdated, and it couldn’t play HD f.ex..  So after a lot of research I bought an Asrock 330HT BD, which is quite nice.

Asrock

I have been testing it for a while using Linux with XBMC, but I have to say it’s a lot of hassle to get everything to work.  Most importantly, the remote control drivers for Linux from Asrock sucks, they only work for specific linux kernels, so you’re screwed over every time you update…

So, I went back to Windows 7 with XBMC, and this is a small Howto on what I did to get it to work as I wanted it to.

1) Install and update Windows (duh)
2) Install the remote control drivers from Asrock: http://www.asrock.com/Nettop/download.asp?Model=ION%20330HT-BD&o=Win7
3) Install XBMC (duh): http://xbmc.org/.  After installation, your settings on Windows are in %AppData%Xbmc.
4) The windows remote control that comes with the Asrock is by default setup to use Windows Media Center.  To switch some keys around to work better with XBMC, do as follows:
 a) Download MSRemote.reg and merge it into your registry: http://mortencb.cx/posterous_files/MSRemote.reg  – If you ever want to go back to the original setup for the remote, download MSDefault.reg and merge it into your registry and reboot: http://mortencb.cx/posterous_files/MSDefault.reg
 b) Download keyboard.xml to %AppData%XbmcUserdata: http://mortencb.cx/posterous_files/keyboard.xml
 c) Right click on the icon for XBMC on the start-meny, click on properties and click in the Shortcut Key box.  Then click on the keys ctrl-shift-w. Then click ok.
 d) Reboot
 e) Thanks to the folks on http://forum.xbmc.org/ and http://xbmcmce.sourceforge.net/ for these files and tips.
5) If you want Windows to start, login to your passwordprotected useraccount (xbmc f.ex), and start up XBMC automatically when you turn on the Asrock, do the following:
 a) Start regedit as admin
 b) Browse to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonAutoAdminLogon
 c) Change it from 0 to 1
 d) Windows-r (run) and type “control userpasswords2”
 e) Check/Uncheck “Users must enter a password…” a few times until you get asked for your password.
 f) Copy the XBMC shortcut on the start menu to the startup folder
 g) Thanks to Sarah Perez on the MSDN blog for this tip.
6) I recommend setting up XBMC to go to sleep after 10 minutes of idle time, and that the off button sends the machine to sleep.  This will make the top right button on the remote make the machine go to sleep or wake up.  Only takes a few seconds.

BlueRay playback will come in a later post.

Good luck with your XBMC on the Asrock 🙂

Xbmc

Nostalgy for Thunderbird

10/13/2010

I just found the best addon ever for Thunderbird: Nostalgy. It’s so
good, I just felt like sharing with the world 🙂

This addon makes is super-easy to copy or move a mail to another
folder, without using the mouse. To do this, you have two main modes:
1) Press s or c to copy a mail. This opens a text-field on the
status-line where you can start to type the folder you want to move or
copy the mail to. You will get auto-completion, and it remembers the
last x number of folders you moved/copied to. Press arrow up/down to
choose a folder and enter to move/copy the mail.

2) Make a rule based on sender and/or subject. When a mail matches
one of these rules, you will see it on the status-line, and you can
press shift-s or shift-c to move it to the folder automatically.

The addon can be configured very much, and is accectly what I feel was
missing in my thunderbird at least.

Great work, Alain Frisch. You will receive a donation from this happy
“customer” 🙂

Now, go get it yourself:
https://addons.mozilla.org/en-US/thunderbird/addon/2487/

Thunderbird: IMAP Mailbox isn’t selectable

06/30/2010

There was a problem with Thunderbird that was bugging me for a long while. If I did a search across all my folders, I would always get a pop-up window with the message “not a selectable mailbox” or something like that.

Finally today I decided to investigate how to solve this and I found this blog entry. I tried it, and it worked! This is what I did:

  • I located the .mailboxlist file that lists all the folders of the offending IMAP account. In my case the file was in my home directory. Easy!
  • In .mailboxlist I deleted the entries to the offending folders.  Apparently they should haven’t been listed there. These folders are meant to be carriers of other folders and therefore they have no messages. Why the file .mailboxlist lists them, I don’t know and I would love to hear if someone knows.
  • In my Thunderbird profile folder I went to the directory ImapMail/my.offending.imap.account. In my case the Thunderbird folder is .thunderbird. This folder has a directory with a strange name and the suffix .default; this is the default profile. In this default profile I found ImapMail.
  • Inside that my.offending.imap.account directory there is a list of files with suffix .msf. I simply deleted the files that corresponded with the offending folders.
  • I restarted Thunderbird… and voilà, now the offending folders are greyed out and in italics. And there were no more errors of this type.

What a relief.

(Shamelessly stolen from http://diegosmusings.blogspot.com/2008/06/thunderbird-imap-mailbox-isnt.html – Thanks Diego )

Windows+VMWare+Ubuntu+Keyboard-problems

06/15/2010

Ubuntu_keyboard

I just got a new laptop, installed Windows and VMWare on it, and then installed Ubuntu as a virtual machine. It worked like a charm, but when I was going to login, the keyboard didn’t work…

After googling a bit, I came across this: http://connect-utb.com/index.php?option=com_content&view=article&id=365:keyboard-not-working-with-ubuntu-1004-in-vmware-fusion&catid=36:technology

This fixed my problem, thank you Edvard Heiberg Holst!

Shamelessly, I include his text here, in case he removes his webpage:

Keyboard not working with Ubuntu 10.04 in VmWare Fusion
Written by Edvard Heiberg Holst
Tuesday, 27 April 2010 03:07

I just downloaded and installed Ubuntu 10.04 LTS with VMWare Fusion 3.
When the login screen appeared I tried to enter the password but to my
great surprise, nothing happened.

After investigating the matter, it seems like this issue is related to
a vmvare setup script issue.

To fix the problem, first use the on-screen keyboard to log in to
Ubuntu.When you come to the login screen click on the “Universal
Access Preferences” (It’s the little guy in the circle) on the bottom
toolbar to the left of the date and time. Then click on the pop-up
that says “Universal Access Preferences”. Then put a check mark next
to “Use on-screen Keyboard”. Reboot and you will have an on-screen
keyboard that works. Once your in to your Gnome desktop the keyboard
works fine.

Then, open up a terminal and type:

sudo dpkg-reconfigure console-setup

Then follow the on-screen instructions, reboot, and you are good to go!

Default sort order in Thunderbird

03/29/2010

If you are like me, you like the newest mail on top. The default in Thunderbird is to sort the mailboxes by date in ascending order. This is just stupid, it makes the newest mail go on the bottom, and on top of that, it will put mail sent by someone with a wrong date on their computer somewhere in the middle of it all, so you don’t notice it easily.

The fix for this, is to choose to sort it by order received, and descending order. But changing it for every and all folders if you have a few, is annoying, and for all new folders it will also be wrong. So what do you do?

Open the options, go to advanced and then Config Editor. Then confirm you’ll be careful, and in the new window that pops up write the following in the text-field on top:
mailnews.default_sort
Then double-click on the sort_order and change it to 2 (the number 2).
Then double-click on the sort_type and change it to 21 (the number 21).
Close the window, and then click on ok in the options window. This will now apply for all your new mailboxes, but for all the existing ones I am afraid you will have to change it manually through the “View -> Sort By” menu.


%d bloggers like this: