Welcome to Kirsle.net!

Welcome to Kirsle.net! This is my personal homepage where I upload my software projects and other creative works, and it's where my web blog lives.

[ Older > ]
Unix Permissions on Folders

Kirsle
kirsle
Posted by Kirsle on Friday, May 04 2012 @ 4:09 PM
Unix permissions become somewhat of a tricky thing when they're applied to directories instead of files. This post should hopefully clear up any confusion about them (they had me pretty confused so I figured them out by trial-and-error).

On normal files, the permissions are pretty straightforward:

On directories, the permissions get a bit trickier. So here's a breakdown of the different permission combinations and what they do for you:

Categories: Linux

[ 0 comments | Add comment | Permalink ]

Firefox Nightly

Kirsle
kirsle
Posted by Kirsle on Sunday, Apr 22 2012 @ 7:01 PM
If anyone's interested, I wrote a Perl script that downloads and installs Firefox Nightly on a Unix-like operating system.

By default, it installs the application into /opt/firefox-nightly, with a link to run it at /usr/bin/firefox-nightly. This way, it doesn't conflict with your already-installed version of Firefox. Furthermore, it will put a launcher item in your Applications/Internet menu.

You can get it from here: http://sh.kirsle.net/ffnightly

$ mkdir ~/bin
$ wget http://sh.kirsle.net/ffnightly -O bin/ffnightly
$ chmod +x bin/ffnightly
$ ffnightly

Categories: General , Perl

[ 0 comments | Add comment | Permalink ]

Gnome Predictions

Kirsle
kirsle
Posted by Kirsle on Friday, Apr 13 2012 @ 4:39 PM
I have a couple of rather cynical predictions about what new problems Gnome 3 could bring to Linux (or Fedora, in particular) that I feel like writing down here just so I can say "I told you so!" as I begrudgingly look into installing Arch Linux on all my computers at some point in the future. ;)

So, there they are. Obsoleting the sound applet? Very likely. The NetworkManager? I really don't know how likely they are to do this, but this would probably be the thing that finally pushes me to abandon Fedora entirely.

Categories: Gnome 3

[ 0 comments | Add comment | Permalink ]

Turn off monitor from Linux CLI

Kirsle
kirsle
Posted by Kirsle on Wednesday, Mar 21 2012 @ 10:31 AM
I keep looking up this information and then losing track of it, so I'm posting it here for my own reference.

This command will turn off the monitor on a Linux box from the command line (sorta like what happens when you have your power saving options configured to do this automatically after a length of time):

xset dpms force off
The monitor turns off until you hit a keyboard button or move the mouse. With this info you could set up a keyboard shortcut to run this command and have something like a "lock screen button" on your netbook, to turn off the display on command and conserve battery life for a little bit longer than usual.

For a "lock screen button" that also locks the screen in addition to turning it off, a pair of commands like this may be handy:

xset dpms force off; xscreensaver-command --lock

Categories: Genera , Linux

[ 0 comments | Add comment | Permalink ]

Install Chromium OS Lime

Kirsle
kirsle
Posted by Kirsle on Monday, Mar 05 2012 @ 9:06 PM
This information is ridiculously hard to find on the Internet.

I was playing with Chromium OS using the Lime build provided by Hexxeh. The Lime build is the same as the Vanilla build (i.e. upstream Chromium source code built daily), but it has more driver support, and it's the only build that works with the wifi on my Dell Mini 9.

Getting it onto a flash drive and booting from it was easy enough just following the directions on Hexxeh's site, but actually installing it to the hard drive was a bit more difficult. It was hard to find any up-to-date information online; most bloggers were talking about Hexxeh's old "Flow" builds, so the instructions were outdated. When I specifically googled how to install the Lime build, I was still finding outdated instructions.

Everyone was saying that you just hit Ctrl-Alt-T to get a shell prompt, and run the install command. Not that easy. The only way I could get into any form of text mode was by hitting Ctrl-Alt-F2 (which I only knew to try because I'm a Linux user). But this got me into a text mode login prompt and it took me a while to figure out the right username/password combination.

The username is chronos and the password is facepunch. After that, I was stuck in a really primitive shell that doesn't support anything I'm used to (not even ls), so I went out on a limb and tried running the command bash (which got me into a more familiar Bash shell).

But the install command was no good in Bash -- it was running the GNU install command instead of the one to install Chromium to the disk. After some more tinkering, I found that if I ran crosh (Chrome shell) and then run the install command from there, it did what I want. So, I was finally able to install it to disk.

It didn't end up working out though. The system doesn't boot after installation. Oh well. But hopefully this blog post will help others find out how to install the darn thing.

tl;dr: here's how I figured out to install Chromium OS to disk:

  1. Boot it from the USB drive.
  2. Push Ctrl-Alt-F2 to get to the text mode login.
  3. Log in as chronos / facepunch
  4. Type crosh, hit enter.
  5. Type install, hit enter.
Update (Mar 6): It turns out Dell has their own semi-official builds of Chromium OS for the Dell Mini 9 and 10v laptops. They can be downloaded from Dell's site here. I downloaded the Jan 3 2012 image. Following their instructions was easy enough, but I found a few differences that I'll note here: The install from Dell's image did the trick too, and I now have Chromium installed on the internal hard drive on my Dell Mini 9. :)

Interestingly, the UI of Dell's image looks different to the Lime and Vanilla builds. The Lime and Vanilla builds had what looked like a sort of primitive desktop (complete with a wallpaper), and the Chromium browser windows could be resized and moved around the screen. Where you'd expect the task bar to be on a Windows system, was what looked more like the Mac dock, with icons representing all your opened Chromium windows (plus a couple other icons, one that brings up a menu and one that has the Chromium icon and didn't appear to do anything).

Screenshots of UI differences:

Chromium Lime
Chromium Lime (and Vanilla)

Chromium Dell
Dell's Chromium build

Dell's build looks more like the Chrome OS I've always seen screenshots of, so I think maybe the Lime and Vanilla builds are customized a bit (or else it's just a super new UI change and Dell's January image isn't up-to-date enough).

Categories: Linux , HowTo , Chromium

[ 15 comments | Add comment | Permalink ]

[ Older > ]

Kirsle
» Homepage
» About Me
» Photo Albums
» Guestbook
» Contact Me
Channels
» General (41)
» Linux (39)
» Perl (28)
» Rant (17)
» Software (15)
» RiveScript (9)
» Design (6)
» Gnome 3 (6)
» HTML (6)
» Siikir (6)
» Windows (6)
» Android (5)
» Blackhat (4)
» Gay (4)
» Java (4)
» Reviews (4)
» Tk (4)
» Curiosity (3)
» DOS (3)
» HowTo (3)
» KAGE (3)
» Licensing (3)
» Photos (3)
» VirtualBox (3)
Creativity
» 3D Renderings
» Flash Animation
» JavaScript
» Fonts
» Metacity
» Tutorials
Software
» RiveScript
» Error Generator
» Tk Calculator
» Terminal Apps
» CyanChat Client
Web Tools
» TTF to EOT
» Text Fader
» Favicons
» Distance Calc
» Azulian Encoder
» XBM Masks
Subdomains
» Subversion
» Shell Scripts
» Linux RPMs
Miscellany
¤ Pokemon Fuchsia City
¤ DOS and Windows
Links
¤ Google+
¤ Github
¤ CPAN
Fan Club
» Log In
» Sign Up

Stats
-= Today =-
> Total hits: 122
> Unique: 96
-= All Time =-
> Total hits: 284938
> Unique: 33656
» Traffic History
» Referrers