Category: Linux

[ 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 ]

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 ]

Video Thumbnails on Fedora XFCE

Kirsle
kirsle
Posted by Kirsle on Friday, Feb 10 2012 @ 11:29 AM
This post is mostly for my own reference but if Google sends anybody here, hopefully it'll help them too.

tl;dr version: it seems that the gstreamer-ffmpeg package is required for Thunar (or tumblerd, specifically) to render thumbnails of video files on the XFCE desktop for Fedora 16. This package is provided by RPM Fusion yum repository (rpmfusion-free-updates specifically).

It seems to be pretty hard to find this information online. None of my Fedora XFCE systems were able to render thumbnails of videos, and this caused me some headaches with removable drives (when I'd be done with the drive and want to unmount it, I wouldn't be able to because "the device is still busy"... and lsof /media/Cyro would show that tumblerd was the culprit... it was trying to render thumbnails of any video files I may have seen while browsing in Thunar and wasn't having much luck with it).

The usual set of packages that provide all the video codecs for me didn't do the job (vlc, smplayer, gstreamer-plugins-{good,bad,ugly}), I even tried installing ffmpegthumbnailer and no luck. Finally I installed gstreamer-ffmpeg, and after doing a killall thumblerd and then visiting a folder full of videos in Thunar, it finally worked and started making thumbnails.

Categories: Linux , Fedora , Xfce

[ 0 comments | Add comment | Permalink ]

Xfce for Gnome 2 Refugees

Kirsle
kirsle
Posted by Kirsle on Sunday, Nov 13 2011 @ 8:42 PM
Ever since I jumped ship from Gnome to Xfce a few years ago when Gnome 3/Shell was first announced, I've configured my Xfce desktops to strongly resemble the standard Gnome 2 panel layout.

Screenshot - click for bigger version
Click the screenshot for the full size version.

Along the top panel I have my Applications and Places menus, app launchers for my commonly used programs, my CPU usage graph, notification area and clock. On the bottom panel are my task bar and workspace switcher. These are all standard Xfce panel applets.

The details for anyone who's interested (the only panel applet options shown are the ones that differ from the default options):

So, any Gnome 2 refugees who can't stand Gnome 3... Xfce 4.8 is a very good option and you can configure it to look and feel just like Gnome 2. :)

Categories: Gnome 3 , Gnome 2 , Xfce , Linux

[ 5 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: 740
> Unique: 501
-= All Time =-
> Total hits: 283567
> Unique: 33078
» Traffic History
» Referrers