YOU ARE THE REASON
Stranger Things
Cosmic Funnies
official daine visual archive

tannertan36
ojovivo
2025 on Tumblr: Trends That Defined the Year
🩵 avery cochrane 🩵

ellievsbear

pixel skylines

izzy's playlists!
Misplaced Lens Cap

Product Placement

JVL

shark vs the universe
occasionally subtle
Jules of Nature

bliss lane
todays bird
seen from Türkiye

seen from United States

seen from Türkiye

seen from United States

seen from United States
seen from United States
seen from Uzbekistan
seen from United States
seen from Malaysia
seen from Netherlands
seen from Malaysia
seen from Türkiye

seen from Singapore
seen from Italy
seen from Malaysia

seen from Brazil

seen from United States

seen from Canada

seen from Romania
seen from United States
@computerkunst-blog

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
like-st-valentine:
So easy
GPG Error on Ubuntu
$ sudo apt-key adv --keyserver keyserver.Ubuntu.com --recv-keys ***** (***** = enter your keys GPG error)
Ultimate Ubuntu Dapper Look Like OSX
iMovie ’08: Burn your movie to DVD
Summary
If you’ve created a movie in iMovie, you can burn a DVD disc so it can be played on another computer or DVD player. This is done by sending your movie to the media browser then burning it in iDVD.
Products Affected
iMovie '08 (7.x)
Follow these steps to burn your movie to a DVD disc:
In iMovie, go to the Share menu and choose Media Browser.
Note: Sharing your movie to the Media Browser makes it available in other applications such as iDVD and iWeb.
When you choose Media Browser, a window will appear with file size options. Select the Large option for the highest quality movie to burn in iDVD.
Click Publish to add your movie to the Media Browser. A progress indicator (a moving bar) appears on the screen.
Open iDVD and click the Create a New Project button.
Note: If you had previously created an iDVD project, iDVD will open it. Once your old project opens, go to the File menu and choose New to open a new project.
Enter a title and choose a location, then select an aspect ratio (for either standard or widescreen TV). Click Create.
Once in project mode, click the Media button (1), then click the “Movies” tab (2).
Click the iMovie icon located within the Media Browser.
Select the movie project you created in iMovie. The Media Browser provides a a list of all the sizes you exported from iMovie, if you exported more than one size.
Drag your movie to the iDVD project window.
Make sure you have added media (photo, movie, or slideshow) to the drop zone(s) before you start the burn process or you will get a warning message. As shown here, drop zones are labeled in the theme window.
When you’ve finished your project in iDVD, click the Burn button:
Insert a recordable DVD disc or click Cancel if you’ve decided not to burn a DVD.
A progress indicator appears so you can monitor the burn process.
Note: The amount of time required to process and burn your DVD can vary. The time it takes is related to the complexity and length of your project and the speed of your computer. Be sure to read the “Tips for burning a DVD” section at the end of this document.
When the burn is complete, a message appears asking you whether you want to burn another copy of your slideshow. If you want another copy you must insert another blank DVD disc. Otherwise, click Done. Your DVD is ready to use.
Additional Information
For more information on how to customize your iDVD projects like adding menus and changing themes, go to the iDVD Help files and Apple's online iLife tutorials.
Tips for burning a DVD:
Do not use other applications that place heavy demands on the computer while you are encoding and burning a disc.
If you’re burning a disc on a portable computer, be sure the computer is plugged into a power outlet.
Do not press the Media Eject key while burning is in progress. Doing so may eject the disc and result in incomplete data on your disc.
You can burn DVDs and CDs directly from the Finder in Mac OS X. However, using this feature while iDVD is running is not recommended.
Moving your computer or using the keyboard while the disc is burning could interrupt the burn process and may

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
(via Apple - iTunes - Inside iTunes - Customizing Your Album Artwork In iTunes)
How to convert file WMA to MP3 in Ubuntu 11.04
There are many ways to convert files WMA to MP3, but here I will show for you using ffmpeg. It is simple and follows the same concept in How to convert YouTube video to mpeg.
Before continue you need to have mp3 codec enabled in ffmpeg. Case you haven’t, access this post How to compile and install ffmpeg in Ubuntu 11.04 to enable it.
Open a terminal and type: ffmpeg -i [file.wma] -acodec libmp3lame -ab 128k [file.mp3] Where:
file.wma: it is the file you want to convert.
-ab: audio bitrate in kbit/s. The default value is 64k.
-acodec: it sets the codec to be used. In this case mp3.
file.mp3: File name will be created.
For example: ffmpeg -i music.wma -acodec libmp3lame -ab 128k music.mp3
That’s it.
Change the default text for pretty much anything in OS X
By tweaking one file within the System folder, it is possible to change almost any string of text that appears in Mac OS X. Amongst the endless possibilities are things like the default new folder name and the suffix added to duplicates and aliases. You can customize things like the categories in the iTunes and Finder sidebars or the System Preferences categories, or, for a bit of fun, you can change the the message you get when an application crashes.
Change the default new folder name
When you create a new folder in the Finder, it is automatically named "untitled folder". This annoyingly buries deep within a list when sorted alphabetically, rather than at the top or the bottom where it is easy to find. Luckily, it is surprisingly simple to change it. First, navigate to Macintosh HD/System/Library/CoreServices. In here, locate the Finder application. Right-click (Control-click) on it, and choose "Show Package Contents" from the contextual menu. In the window that appears, navigate through to Contents/Resources/English.lproj. A quick way of navigating here (you might end up doing it a few times) is to use the "Go to Folder" option in the Go menu. In the box that appears, paste the following line: /System/Library/CoreServices/Finder.app/Contents/Resources/English.lproj/ Find the file named "Localizable.strings" and drag it to the Desktop to make a copy. We are going to edit this copy on the desktop, and then copy it back into the English.lproj folder to replace the original version. You might want to make an additional copy of the file as a backup, just in case anything goes wrong. Open up the desktop version of the localizable.strings file using TextEdit. Scroll down to the line that starts with N2. it should say the following: "N2" = "untitled folder"; Now you can change the words "untitled folder" to anything you want. For something at the start of the alphabet, you could simply put "*untitled folder*". Once you are done, save the file on the desktop and quit TextEdit. Finally, drag the file back to the English.lproj folder that you copied it from. Click Authenticate and type in your administrator password. For changes to take place, you will have to relaunch the Finder, which can be done by holding down Control and Option, clicking the Finder icon in the Dock, and choosing Relaunch from the menu.
Suffixes for duplicates and aliases
These are done in exactly the same way as the new folder tip above. Only this time, change line N3 for aliases, or N4 for duplicates. In these cases, "^0" takes the place of the original file name. So, for a duplicate, the default is "^0 copy", meaning the duplicate of "file.doc" is "file copy.doc". As above, you can change this to anything you want. "copy of ^0" would mean the duplicate would work better with file extensions, giving "copy of file.doc". However, it wouldn't be next to the original file alphabetically. Remember to relaunch the Finder when you are done.
Shorten the Finder's 'Show Item Info' text
One of the features I like about Mac OS X is the "Show item info" check box located in the View Options of the Finder. This works for all windows in icon view, and is therefore especially useful on the desktop. However, one problem with it is the text for Hard Drives is too long, unless you make the text size really small. You can solve this problem by editing the same localizable.strings file as above. Carry out the steps exactly the same, but search for the line "IV9" = "^0 free";. The best way to change this is to get rid of the word free, just leaving "IV9" = "^0";. You can see the result below.
Remove default Genres in iTunes
iTunes comes with a long list of genres, some of which many people will never use. Occasionally this may become annoying, for example when using the autofill feature. To remove some of the genres, you have to edit the localizable.strings file within iTunes, rather than within the Finder. You can find this by going to iTunes in the applications folder, right-clicking and choosing "Show Package Contents". In here, navigate to Contents/Resources/Englihs.lproj where you will find the localizable.strings file. As before, you will have to copy it to your desktop before editing. Open up the file in TextEdit. You'll find the list of genres under the line /* ===== Genres ===== */. To remove a genre, don't bother deleting it, just in case you ever want it back. Simply "comment" out the line, by putting a /* at the start, and a */ at the end. For example, to remove Techno, you will simply replace the line with /* "9200.019" = "Techno"; */. As always, quit and reopen iTunes for changes to take effect.
Change the iTunes sidebar labels
The most obvious reason for wanting to do this is if you would prefer the labels to be lowercase. Using the same localizable.strings file as in the genre tip above, find the following lines: "135.011" = "LIBRARY"; "135.012" = "DEVICES"; "135.013" = "STORE"; "135.014" = "PLAYLISTS"; You can change these to anything you want, or simply remove the capitalization.
Change the Finder's sidebar labels
You can do exactly the same thing in the Finder's sidebar. The file you need to edit is localizableCore.strings, located in exactly the same place as the localizable.strings file inside the Finder application. The lines you want to change are the following: "SD5" = "DEVICES"; "SD6" = "SHARED"; "SD7" = "SEARCH FOR"; "SD8" = "PLACES";
Customize System Preferences
All the System Preferences panes are grouped into five categories - Personal, Hardware, Internet and Network, System and Other. It is quite easy to change these category names by going inside the System Preferences package, which is in the Applications folder. Inside it, navigate to the English.lproj folder inside the Resources folder. In here, find a file named NSPrefPaneGroups.strings and drag it to your desktop. Now open this file up in TextEdit and you'll see the following lines: "personal" = "Personal"; "digitalHub" = "Digital Hub"; "hardware" = "Hardware"; "net" = "Internet & Network"; "system" = "System"; "addons" = "Other"; Don't change the words on the left, these are the ones used by System Preferences. You can change the words on the right. These are the ones displayed in the System Preferences window. Just make sure you don't delete any quotes or semicolons. Also, ignore the "Digital Hub" entry. This isn't used anymore and is probably just left over from a previous version of the operating system. Now save the file and drag it back to the English.lproj folder from the Desktop. You will have to Authenticate this action with your administrator password.
Dock Menu items
For a bit of fun (I can't see why else) you can change the items in the menus you get when right-clicking on icons in the Dock. The Dock application is located in /System/Library/CoreServices. Right-click on it and choose "Show Package Contents". In the window that appears, navigate to Contents/Resources/English.lproj where you will find DockMenus.strings. Copy this file to the desktop to edit it. Some of the lines you might want to edit are the "Application Not Responding" and "Force Quit" lines to something more reflective of the feeling you get when you see them.
Change Unexpectedly Quit message
With some tinkering it is possible to customize Mac OS X alert messages and dialog box text. For a bit of fun, you can change the message that appears when an application crashes to something more humorous. Open up your hard drive and navigate to /System/Library/CoreServices. Find the Crash Reporter package and open it by right-clicking and choosing Show Package Contents. In the window that appears, navigate to Contents/Resources/English.lproj and find Localizable.strings. Copy it to your Desktop and open it up in TextEdit. Near the bottom of the file you will see the line - /* Unexpectedly quit dialog */ In the lines that follow this it is fairly obvious how to change the message. The symbol "%@" will make the message display the crashed Application's name, and "\n" will make a line break. Save the file and then copy it back to the package to replace the old version. You will have to enter your administrator password.
Top 15 Terminal Commands for Hidden Settings in Snow Leopard
Every time Apple brings out a new version of OS X, we compile a list of our favourite Terminal commands for enabling hidden features and changing hidden settings (here are the lists for Tiger and Leopard).
For those who are new to Terminal Commands, here's a quick run down of how to use them. Don't worry, it's really easy. Start by opening up Terminal, located in the Utilities folder in the Applications folder. In the window that appears, paste in one of the lines provided below, and then hit Return. For the changes to take effect, you need to restart the application concerned. For applications like the Dock or Finder, it is easiest to just type killall Dock or killall Finder into the Terminal to restart them. To reverse the changes, you just need to change the last word of the command and run it again. If the last word is YES, change it to NO, change 1 to 0, and change TRUE to FALSE and vice versa for all.
1. Folder previews in Quick Look
This is my favourite hidden feature in Snow Leopard. When enabled, using Quick Look (hit the space bar) on a folder will show you a preview of the folder's contents inside a translucent folder icon. The previews of the files inside the folder also cycle through so you can see all of them. Just use the following command:
<code>defaults write com.apple.finder QLEnableXRayFolders 1</code>
You will need to restart the Finder, either by typing killall Finder into the Terminal or by Control-Option-clicking on the Finder in the Dock and choosing Relaunch.
2. Globally enable Text Substitutions
You may have realised that the new text substitutions feature in Snow Leopard isn't enabled in all applications by default, most noticeably in Safari. To enable it , you need to right-click on a text box and choose Substitutions then Show Substitutions. To globally enable text substitutions, use the following three commands one at a time. The first one will enable substitutions, while the second will enable dash replacement and the third will enable spell checking.
defaults write -g WebAutomaticTextReplacementEnabled -bool true defaults write -g WebAutomaticDashSubstitutionEnabled -bool true defaults write -g WebContinuousSpellCheckingEnabled -bool true
If you decide there are some specific applications where you want to disable these again, you can do it in the normal way. As always you will need to restart each application for the changes to take effect.
3. Bring back AppleScript Studio palette
As of Snow Leopard, AppleScript Studio has be deprecated in favour of AppleScriptObjC. You can still work on AppleScript Studio projects, but you can't create new ones, and the AppleScript Studio palette in Interface Builder is gone. To bring it back, use the following command:
defaults write com.apple.InterfaceBuilder3 IBEnableAppleScriptStudioSupport -bool YES
4. Disable "focus follows mouse" in Terminal
In Leopard there was a Terminal command to make the Terminal's window focus change with mouse movement. If you had previously enabled this, you will find things don't work quite right in Snow Leopard when you use Command-Tab to switch between applications in different spaces. To fix this, you will need to disable the focus follows mouse behaviour using the following command:
defaults write com.apple.Terminal FocusFollowsMouse -string NO
5. Force Dictionary to only use one window
If you aren't a fan of using Command-Control-D to quickly look up definitions, you might use the "Look up in Dictionary" contextual menu item or Services menu item. In Snow Leopard, each word you look up using these methods opens in a new Dictionary window, which gets a bit annoying. To make each word you look up open in the same window, just use the following command:
defaults write com.apple.Dictionary ProhibitNewWindowForRequest -bool TRUE
6. Change the behaviour of the green zoom button in iTunes
With the release of iTunes 9, Apple messed around a bit with the behaviour of the green zoom button in iTunes. Things are back to normal as of iTunes 9.01, but briefly the green button maximised the window instead of switching to the mini-player. If you liked the temporary change, you can bring it back using the following command:
defaults write com.apple.iTunes zoom-to-window -bool YES
Of course, you can always get the alternative behaviour by holding the Option key and clicking in the green button.
7. Debug menu in Address Book
The debug menu has been available in Address Book for some time, but there are some new additions in Snow Leopard. If you don't already have it enabled, the command is:
defaults write com.apple.AddressBook ABShowDebugMenu -bool true
Restart Address Book, and then click Debug in the menu bar to see the new options. You can enable reflections under contacts pictures, get to the "People Picker Panel" and enable a debug panel called "Ye Olde Debug Settings”.
8. Autoplay movies in QuickTime X
One of the weird things about the new version of QuickTime is that it has no Preferences. Luckily you can still change things using the Terminal. To make a movie automatically start playing when you open it, use the following command:
defaults write com.apple.QuickTimePlayerX MGPlayMovieOnOpen 1
9. Keep QuickTime in full screen when switching applications
If you are watching a movie in full screen in QuickTime and you use Command-Tab to switch to another application then the movie will automatically exit full screen. To make it stay full screen in the background, use the following command:
defaults write com.apple.QuickTimePlayerX MGFullScreenExitOnAppSwitch 0
10. Disable Rounded corners in QuickTime
If the slightly rounded corners of movies in QuickTime bug you, use the following command to disable them:
defaults write com.apple.QuickTimePlayerX MGCinematicWindowDebugForceNoRoundedCorners 1
11. Always or Never show titlebar and Controller in QuickTime
The following two commands either permanently enable or disable the titlebar and controller that pop up when you mouse over a movie in QuickTime:
defaults write com.apple.QuickTimePlayerX MGUIVisibilityNeverAutoshow 1 defaults write com.apple.QuickTimePlayerX MGUIVisibilityNeverAutohide 1
12. Automatically show closed captioning and subtitles on opening
This turns on subtitles and closed captioning automatically when you open a movie that supports them.
defaults write com.apple.QuickTimePlayerX MGEnableCCAndSubtitlesOnOpen 1
13. Make list view stacks work like grid view Stacks
This command slightly changes the behaviour in Stacks in list view. Once enabled, they act more like grid view Stacks, but with a single list of files and icons on the left. The main difference is when "drilling-down" through folders within the Stack.
defaults write com.apple.dock use-new-list-stack -bool YES
You will need to restart the Dock for changes to take effect. The easiest way is to use killall Dock in the Terminal.
14. Enable mouseover highlight in stacks
If you want items in grid view stacks to highlight when you move the mouse over them, use the following command. It's slightly different from the equivalent in Leopard. Also, note that you can get the highlight behaviour in Snow Leopard without using this command by using the arrow keys to select items in a stack, or by clicking and holding on a stack before dragging the mouse up onto the grid.
defaults write com.apple.dock mouse-over-hilite-stack -boolean YES
You will need to restart the Dock for changes to take effect. The easiest way is to use killall Dock in the Terminal.
15. Set a precise screensaver password delay
A useful new feature of Snow Leopard is the ability to set how long your Mac is asleep or how long the screen saver is on before it requires a password to wake up again. You can access this from the Security section of System Preferences. However, you have to choose a time period from a drop-down menu, and you can't enter your own custom time period. To do this, use the following command. The number at the end is the time in seconds. For example 1800 is 30 minutes, which bizarrely isn't an option in the drop-down menu.
defaults -currentHost write com.apple.screensaver askForPasswordDelay -int 1800
Get iTunes track notifications in your Dock
In Lion there is a cool hidden setting to enable “Now playing” notifications that appear from the iTunes icon in the Dock. Every time a new song starts, a small popup containing the artist and the song name appears and then slowly fades out after a few seconds.
To enable this, start by opening Terminal (located in Applications/Utilities), then paste in the following line and press Return.
defaults write com.apple.dock itunes-notifications -bool YES
For the changes to take effect, the Dock has to be restarted. The easiest way to do this is to type killall Dock into the Terminal and press Return. If you change your mind and want to disable the notifications, repeat the above commands, but replace YES with NO.
For those of you who have your Dock set to hide when not in use, you’ll notice that when the Dock is hidden the iTunes icon is added to the notification. If you want the icon to show even when the Dock is not hidden, just use the following command in the same way as above:
defaults write com.apple.dock notification-always-show-image -bool YES
As before, remember to restart the Dock with killall Dock for changes to take effect.
It’s not entirely clear why this setting isn’t present in the iTunes preferences. It might still be under development — there is still room for improvement. For example it would be better if it included the album artwork like Bowtie, Growl and DockArt already do. It could also be a sneak peak of future plans Apple has for a notifications framework for all apps in Mac OS X, much like Growl provides at the moment.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
9 Tips for iTunes 9
iTunes 9 has been out for a little while now, so here is a collection of tips and tricks that are new in this version.
1. Nested rules for smart playlists
As well as the plus and minus buttons for adding multiple rules to a smart playlist, there is now an ellipsis button for adding nested rules. Whereas before you could only set it to match any or all of the rules, now you can make more complex rule combinations.
For example, you could set the first rule, then add two rules at the first nested level by clicking the ellipsis button and then the nested plus button. By then setting the top level to match all rules, and the nested level to match any rules, it will find songs that match both the first rule and either of the two nested rules.
2. Automatically Add to iTunes folder
iTunes stores all of your music inside the iTunes Music (or iTunes Media if you haven't had a previous version of iTunes) located inside the Music folder in your user folder. There is a new addition inside the iTunes Music folder called "Automatically Add to iTunes". Anything that you drop into this folder will be added to iTunes next time it opens, or instantly if it is already open.
This folder isn't in a very convenient place, so to use it properly you will want to drag it to the Dock or Finder sidebar, or create an alias on the desktop by holding Command and Option and dragging it.
Another great use for this is for copying music across a network to another Mac. Instead of having to go over to the receiving Mac and opening up iTunes to import the music, you can just drop the files in this folder directly from the sending Mac.
3. Organise the iTunes Media folder
The disorganisation of the iTunes Music folder really shows how iTunes has far outgrown its original purpose. Every time Apple has added a new feature, things have become more muddled. Up until now, Movies, TV Shows, Audiobooks and Ringtones etc. have been added as subfolders of the Music folder, which doesn't really make sense.
To fix this, you can choose “Organize Library” under “Library” in the File menu. In the window that appears, click “Upgrade to iTunes Media organization” and when you click OK, iTunes will sort out the mess in your iTunes Music folder. You will now have an iTunes Media folder, with subfolders for Music, Movies, Apps, TV Shows etc.
There is one reason you might want to avoid doing this however. Your next Time Machine Backup will probably take a long time, depending on the size of your media library.
4. Customize the column browser
The column browser in iTunes 9 is better than ever. You can enable it by choosing Show Column Browser from the View menu or by pressing Command-B. The new features that allow you to customise it are located in the Column Browser submenu of the View menu. You can position it to the top or to the side of the main music list, and you can choose which columns appear from Genre, Artist, Album, Composers, and Groupings.
Each playlist can also have its own browser. Apple have demonstrated this by adding a "Classical Music" playlist which has the Composer and Grouping columns, for those who group their music by Composer or Symphony rather than by Artist and Album.
5. Edit your iPhone's app screen
There is a new page for managing which Apps you want to sync to your iPhone and how you want to position them on your iPhone. When you have your iPhone or iPod Touch plugged in, just click on it in the sidebar and then go to the Applications tab.
It's fairly basic, but it's still loads quicker than organising your apps on the iPhone device. There are two major benefits: Firstly, you can drag and entire screen of apps in the list on the right to change the ordering on the screen. Secondly, you can hold Command when clicking apps to select more than one at a time and move them all together.
6. Different way to access the mini player
When you first download iTunes 9, you might think that the mini player is gone. Clicking the green zoom button in the top left now just changes the size of the itunes window instead of changing to the mini player. Now you have to hold Option when clicking the green button to get the old behaviour back.
Update: This appears to have changed back to normal with the iTunes 9.01 upgrade. If you liked the new 9.0 behaviour, simply use the following Terminal command to change it back:
defaults write com.apple.iTunes zoom-to-window -bool YES
7. Make Genius Mixes appear
One of the best new features in iTunes 9 is Genius mixes, a collection of ready made playlists that iTunes creates by analysing your music library. Unfortunately, it doesn't always appear right away. If you can't find Genius Mixes in the sidebar, choose "Update Genius" from the Store menu and it should appear.
8. The shopping cart is gone
If you had the iTunes store set up to add items to a shopping cart instead of buying straight away, unfortunately the shopping cart is now gone. It has been replaced by a Wish List, which works in pretty much the same way. Just click the arrow to the right of "Buy Now" and select "Add to Wish List". Also, in theory, all the items from your shopping cart should have moved over into your wish list.
9. Home sharing
The new home sharing feature allows you to actually share your music between computers, rather than just stream it across the network. This makes it a lot more easier to transfer your purchases between computers without having to use flash drives or email attachments.
When iTunes is open on other computers on the network, they will show up in the sidebar. Simply click on them, then choose any songs to transfer to your computer. This works with any media type including Movies and TV Shows, and it doesn't matter if the media was purchased from iTunes or not. On top of that, you can filter the list to only songs that you don't already have in your library, and you can set iTunes to automatically copy across any new songs that are purchased on the other computer.
However, things become a bit more complicated if you use multiple iTunes Store accounts (i.e. a different one for each computer). The iTunes Store doesn't have to be logged into the same account on both, but Home Sharing does have to be set up with the same account. If you find it isn't working, turn Home Sharing off and then on again from the Advanced menu. Then re-enter the iTunes Store account username and password, making sure you use the same account on each computer. Even though you only use one account for home sharing, you should be able to share songs purchased with either account, as long as both computers are authorised to play them.
“The original Macintosh took the the world by storm with its small form factor, and above standard speeds. This project aims to show you how to upgrade your original 1984 macintosh to the specification of a modern day machine.”
Cuuuuuute!
Customising Colours in Leopard Terminal
I upgraded to Leopard a couple of days ago, and was reminded how hard it is to read the default blue colour in Terminal on a black background. Mike Solomon’s TerminalColors was written for Tiger’s Terminal and so doesn’t work with Leopard, so here is my SIMBL hack for Leopard’s Terminal – it allows customisation of ANSI colours on a per-profile basis
Make sure you have SIMBL installed – follow Allan’s instructions for Input Manager support on Leopard
Download
Extract to ~/Library/Application Support/SIMBL/Plugins
Restart Terminal and click the More… button in the Text tab of Settings
Change font and font size in Fluxbox
In Fluxbox 1.1 a font and a font size can be changed by editing a overlay file, usually located in ~/.fluxbox/. So just add the following lines to this file and restart fluxbox
menu.title.font: sans-12:bold menu.frame.font: sans-12:bold toolbar.clock.font: sans-10:bold toolbar.workspace.font: sans-12:bold *font: sans-12
course you have to select the font you like or the size.
If you wish to install Ubuntu via the Internet instead of downloading the entire 680 plus MB ISO image before installing, you can choose todownload the initial 13MB of Ubuntu 10.04 Lucid Minimum CD to boot your system, and then install other packages you want.
This tutorial will show you how to install Ubuntu via the Internet and help you save bandwidth by installing only the packages you want.
Getting Started:
To get started, download Ubuntu Minimum CD image from here and burn onto a blank CD/DVD disc, then boot from the CD/DVD.
Select Install and continue
Choose your language and press enter to continue.
Choose your country or territory and continue
Select No here and continue
Choose your keyboard layout and continue.
Enter the hostname for your system. This can be what you want to name your computer.
Choose your mirror location and continue. Mirrors are where Ubuntu packages are stored.
Accept the mirror location and continue.
If you don’t have proxy configure on your system, leave blank and continue
Wait for all packages to be downloaded.
Next, select Guided partition method for easy configuration.
Select the drive and continue
Select Yes to format your drive and continue. This will completely erase your hard drive.
Wait for Ubuntu base system to install. This is where you’ll select you desktop, and packages to install.
Choose kernel to install on your system and continue. Install ‘linux-generic’ kernel for most systems.
Choose targeted drivers only, instead of install all available drivers
Next, enter your full name and continue
Create a username and password, and continue
Choose to enable automatically update or not
Next, select only the packages you want installed. For Ubuntu system, select Ubuntu desktop and continue
Wait for Ubuntu desktop packages to be downloaded and installed.
Select Yes to install the boot loader to the mast boot record and continue
Select Continue and finish the installation and restart your computer.
Boot Ubuntu desktop
Welcome to Ubuntu Desktop
Enjoy and hope to see you soon.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Find Us @ http://www.facebook.com/pages/Macundlinux/203986786305132
Tutorial: The best tips & tricks for bash, explained
The bash shell is just amazing. There are so many tasks that can be simplified using its handy features. This tutorial tells about some of those features, explains what exactly they do and learns you how to use them.
Difficulty: Basic - Medium
Running a command from your history
Sometimes you know that you ran a command a while ago and you want to run it again. You know a bit of the command, but you don't exactly know all options, or when you executed the command. Of course, you could just keep pressing the Up Arrow until you encounter the command again, but there is a better way. You can search the bash history in an interactive mode by pressing Ctrl + r. This will put bash in history mode, allowing you to type a part of the command you're looking for. In the meanwhile, it will show the most recent occasion where the string you're typing was used. If it is showing you a too recent command, you can go further back in history by pressing Ctrl + r again and again. Once you found the command you were looking for, press enter to run it. If you can't find what you're looking for and you want to try it again or if you want to get out of history mode for an other reason, just press Ctrl + c. By the way, Ctrl + c can be used in many other cases to cancel the current operation and/or start with a fresh new line.
Repeating an argument
You can repeat the last argument of the previous command in multiple ways. Have a look at this example:
[rechosen@localhost ~]$ mkdir /path/to/exampledir [rechosen@localhost ~]$ cd !$
The second command might look a little strange, but it will just cd to /path/to/exampledir. The "!$" syntax repeats the last argument of the previous command. You can also insert the last argument of the previous command on the fly, which enables you to edit it before executing the command. The keyboard shortcut for this functionality is Esc + . (a period). You can also repeatedly press these keys to get the last argument of commands before the previous one.
Some keyboard shortcuts for editing
There are some pretty useful keyboard shortcuts for editing in bash. They might appear familiar to Emacs users:
Ctrl + a => Return to the start of the command you're typing
Ctrl + e => Go to the end of the command you're typing
Ctrl + u => Cut everything before the cursor to a special clipboard
Ctrl + k => Cut everything after the cursor to a special clipboard
Ctrl + y => Paste from the special clipboard that Ctrl + u and Ctrl + k save their data to
Ctrl + t => Swap the two characters before the cursor (you can actually use this to transport a character from the left to the right, try it!)
Ctrl + w => Delete the word / argument left of the cursor
Ctrl + l => Clear the screen
Dealing with jobs
If you've just started a huge process (like backupping a lot of files) using an ssh terminal and you suddenly remember that you need to do something else on the same server, you might want to get the huge process to the background. You can do this by pressing Ctrl + z, which will suspend the process, and then executing the bg command:
[rechosen@localhost ~]$ bg [1]+ hugeprocess &
This will make the huge process continue happily in the background, allowing you to do what you need to do. If you want to background another process with the huge one still running, just use the same steps. And if you want to get a process back to the foreground again, execute fg:
[rechosen@localhost ~]$ fg hugeprocess
But what if you want to foreground an older process that's still running? In a case like that, use the jobs command to see which processes bash is managing:
[rechosen@localhost ~]$ jobs [1]- Running hugeprocess & [2]+ Running anotherprocess &
Note: A "+" after the job id means that that job is the 'current job', the one that will be affected if bg or fg is executed without any arguments. A "-" after the job id means that that job is the 'previous job'. You can refer to the previous job with "%-".
Use the job id (the number on the left), preceded by a "%", to specify which process to foreground / background, like this:
[rechosen@localhost ~]$ fg %3
And:
[rechosen@localhost ~]$ bg %7
The above snippets would foreground job [3] and background job [7].
Using several ways of substitution
There are multiple ways to embed a command in an other one. You could use the following way (which is called command substitution):
[rechosen@localhost ~]$ du -h -a -c $(find . -name *.conf 2>&-)
The above command is quite a mouthful of options and syntax, so I'll explain it.
The du command calculates the actual size of files. The -h option makes du print the sizes in human-readable format, the -a tells du to calculate the size of all files, and the -c option tells du to produce a grand total. So, "du -h -a -c" will show the sizes of all files passed to it in a human-readable form and it will produce a grand total.
As you might have guessed, "$(find . -name *.conf 2>&-)" takes care of giving du some files to calculate the sizes of. This part is wrapped between "$(" and ")" to tell bash that it should run the command and return the command's output (in this case as an argument for du). The find command searches for files named <can be anything>.conf in the current directory and all accessible subdirectories. The "." indicates the current directory, the -name option allows to specify the filename of the file to search for, and "*.conf" is an expression that matches any string ending with the character sequence ".conf".
The only thing left to explain is the "2>&-". This part of the syntax makes bash discard the errors that find produces, so du won't get any non-filename input. There is a huge amount of explanation about this syntax near the end of the tutorial (look for "2>&1" and further).
And there's another way to substitute, called process substitution:
[rechosen@localhost ~]$ diff <(ps axo comm) <(ssh user@host ps axo comm)
The command in the snippet above will compare the running processes on the local system and a remote system with an ssh server. Let's have a closer look at it:
First of all, diff. The diff command can be used to compare two files. I won't tell much about it here, as there is an extensive tutorial about diff and patch on this site.
Next, the "<(" and ")". These strings indicate that bash should substitute the command between them as a process. This will create a named pipe (usually in /dev/fd) that, in our case, will be given to diff as a file to compare.
Now the "ps axo comm". The ps command is used to list processes currently running on the system. The "a" option tells ps to list all processes with a tty, the "x" tells ps to list processes without a tty, too, and "o comm" tells ps to list the commands only ("o" indicates the starting of a user-defined output declaration, and "comm" indicates that ps should print the COMMAND column).
The "ssh user@host ps axo comm" will run "ps axo comm" on a remote system with an ssh server. For more detailed information about ssh, see this site's tutorial about ssh and scp.
Let's have a look at the whole snippet now:
After interpreting the line, bash will run "ps axo comm" and redirect the output to a named pipe,
then it will execute "ssh user@host ps axo comm" and redirect the output to another named pipe,
and then it will execute diff with the filenames of the named pipes as argument.
The diff command will read the output from the pipes and compare them, and return the differences to the terminal so you can quickly see what differences there are in running processes (if you're familiar with diff's output, that is).
This way, you have done in one line what would normally require at least two: comparing the outputs of two processes.
And there even is another way, called xargs. This command can feed arguments, usually imported through a pipe, to a command. See the next chapter for more information about pipes. We'll now focus on xargs itself. Have a look at this example:
[rechosen@localhost ~]$ find . -name *.conf -print0 | xargs -0 grep -l -Z mem_limit | xargs -0 -i cp {} {}.bak
Note: the "-l" after grep is an L, not an i.
The command in the snippet above will make a backup of all .conf files in the current directory and accessible subdirectories that contain the string "mem_limit".
The find command is used to find all files in the current directory (the ".") and accessible subdirectories with a filename (the "-name" option) that ends with ".conf" ("*.conf" means "<anything>.conf"). It returns a list of them, with null characters as separators ("-print0" tells find to do so).
The output of find is piped (the "|" operator, see the next chapter for more information) to xargs. The "-0" option tells xargs that the names are separated by null characters, and "grep -l -Z mem_limit" is the command that the list of files will be feeded to as arguments. The grep command will search the files it gets from xargs for the string "mem_limit", returning a list of files (the -l option tells grep not to return the contents of the files, but just the filenames), again separated by null characters (the "-Z" option causes grep to do this).
The output of grep is also piped, to "xargs -0 -i cp {} {}.bak". We know what xargs does, except for the "-i" option. The "-i" option tells xargs to replace every occasion of the specified string with the argument it gets through the pipe. If no string is specified (as in our case), xargs will assume that it should replace the string "{}". Next, the "cp {} {}.bak". The "{}" will be replaced by xargs with the argument, so, if xargs got the file "sample.conf" through the pipe, cp will copy the file "sample.conf" to the file "sample.conf.bak", effectively making a backup of it.
These substitutions can, once mastered, provide short and quick solutions for complicated problems.
Piping data through commands
One of the most powerful features is the ability to pipe data through commands. You could see this as letting bash take the output of a command, then feed it to an other command, take the output of that, feed it to another and so on. This is a simple example of using a pipe:
[rechosen@localhost ~]$ ps aux | grep init
If you don't know the commands yet: "ps aux" lists all processes executed by a valid user that are currently running on your system (the "a" means that processes of other users than the current user should also be listed, the "u" means that only processes executed by a valid user should be shown, and the "x" means that background processes (without a tty) should also be listed). The "grep init" searches the output of "ps aux" for the string "init". It does so because bash pipes the output of "ps aux" to "grep init", and bash does that because of the "|" operator.
The "|" operator makes bash redirect all data that the command left of it returns to the stdout (more about that later) to the stdin of the command right of it. There are a lot of commands that support taking data from the stdin, and almost every program supports returning data using the stdout.
The stdin and stdout are part of the standard streams; they were introduced with UNIX and are channels over which data can be transported. There are three standard streams (the third one is stderr, which should be used to report errors over). The stdin channel can be used by other programs to feed data to a running process, and the stdout channel can be used by a program to export data. Usually, stdout output (and stderr output, too) is received by the terminal environment in which the program is running, in our case bash. By default, bash will show you the output by echoing it onto the terminal screen, but now that we pipe it to an other command, we are not shown the data.
Please note that, as in a pipe only the stdout of the command on the left is passed on to the next one, the stderr output will still go to the terminal. I will explain how to alter this further on in this tutorial.
If you want to see the data that's passed on between programs in a pipe, you can insert the "tee" command between it. This program receives data from the stdin and then writes it to a file, while also passing it on again through the stdout. This way, if something is going wrong in a pipe sequence, you can see what data was passing through the pipes. The "tee" command is used like this:
[rechosen@localhost ~]$ ps aux | tee filename | grep init
The "grep" command will still receive the output of "ps aux", as tee just passes the data on, but you will be able to read the output of "ps aux" in the file <filename> after the commands have been executed. Note that "tee" tries to replace the file <filename> if you specify the command like this. If you don't want "tee" to replace the file but to append the data to it instead, use the -a option, like this:
[rechosen@localhost ~]$ ps aux | tee -a filename | grep init
As you have been able to see in the above command, you can place a lot of command with pipes after each other. This is not infinite, though. There is a maximum command-line length, which is usually determined by the kernel. However, this value usually is so big that you are very unlikely to hit the limit. If you do, you can always save the stdout output to a file somewhere inbetween and then use that file to continue operation. And that introduces the next subject: saving the stdout output to a file.
Saving the stdout output to a file
You can save the stdout output of a command to a file like this:
[rechosen@localhost ~]$ ps aux > filename
The above syntax will make bash write the stdout output of "ps aux" to the file filename. If filename already exists, bash will try to overwrite it. If you don't want bash to do so, but to append the output of "ps aux" to filename, you could do that this way:
[rechosen@localhost ~]$ ps aux >> filename
You can use this feature of bash to split a long line of pipes into multiple lines:
[rechosen@localhost ~]$ command1 | command2 | ... | commandN > tempfile1
[rechosen@localhost ~]$ cat tempfile1 | command1 | command2 | ... | commandN > tempfile2
And so on. Note that the above use of cat is, in most cases, a useless one. In many cases, you can let command1 in the second snippet read the file, like this:
[rechosen@localhost ~]$ command1 tempfile1 | command2 | ... | commandN > tempfile2
And in other cases, you can use a redirect to feed a file to command1:
[rechosen@localhost ~]$ command1 < tempfile1 | command2 | ... | commandN > tempfile2
To be honest, I mainly included this to avoid getting the Useless Use of Cat Award =).
Anyway, you can also use bash's ability to write streams to file for logging the output of script commands, for example. By the way, did you know that bash can also write the stderr output to a file, or both the stdout and the stderr streams?
Playing with standard streams: redirecting and combining
The bash shell allows us to redirect streams to other streams or to files. This is quite a complicated feature, so I'll try to explain it as clearly as possible. Redirecting a stream is done like this:
[rechosen@localhost ~]$ ps aux 2>&1 | grep init
In the snippet above, "grep init" will not only search the stdout output of "ps aux", but also the stderr output. The stderr and the stdout streams are combined. This is caused by that strange "2>&1" after "ps aux". Let's have a closer look at that.
First, the "2". As said, there are three standard streams (stin, stdout and stderr).These standard streams also have default numbers:
0: stdin
1: stdout
2: sterr
As you can see, "2" is the stream number of stderr. And ">", we already know that from making bash write to a file. The actual meaning of this symbol is "redirect the stream on the left to the stream on the right". If there is no stream on the left, bash will assume you're trying to redirect stdout. If there's a filename on the right, bash will redirect the stream on the left to that file, so that everything passing through the pipe is written to the file.
Note: the ">" symbol is used with and without a space behind it in this tutorial. This is only to keep it clear whether we're redirecting to a file or to a stream: in reality, when dealing with streams, it doesn't matter whether a space is behind it or not. When substituting processes, you shouldn't use any spaces.
Back to our "2>&1". As explained, "2" is the stream number of stderr, ">" redirects the stream somewhere, but what is "&1"? You might have guessed, as the "grep init" command mentioned above searches both the stdout and stderr stream, that "&1" is the stdout stream. The "&" in front of it tells bash that you don't mean a file with filename "1". The streams are sent to the same destination, and to the command receiving them it will seem like they are combined.
If you'd want to write to a file with the name "&1", you'd have to escape the "&", like this:
[rechosen@localhost ~]$ ps aux > \&1
Or you could put "&1" between single quotes, like this:
[rechosen@localhost ~]$ ps aux > '&1'
Wrapping a filename containing problematic characters between single quotes generally is a good way to stop bash from messing with it (unless there are single quotes in the string, then you'd have have escape them by putting a \ in front of them).
Back again to the "2>&1". Now that we know what it means, we can also apply it in other ways, like this:
[rechosen@localhost ~]$ ps aux > filename 2>&1
The stdout output of ps aux will be sent to the file filename, and the stderr output, too. Now, this might seem unlogical. If bash would interpret it from the left to the right (and it does), you might think that it should be like:
[rechosen@localhost ~]$ ps aux 2>&1 > filename
Well, it shouldn't. If you'd execute the above syntax, the stderr output would just be echoed to the terminal. Why? Because bash does not redirect to a stream, but to the current final destination of the stream. Let me explain it:
First, we're telling bash to run the command "ps" with "aux" as an argument.
Then, we're telling to redirect stderr to stdout. At the moment, stdout is still going to the terminal, so the stderr output of "ps aux" is sent to the terminal.
After that, we're telling bash to redirect the stdout output to the file filename. The stdout output of "ps aux" is sent to this file indeed, but the stderr output isn't: it is not affected by stream 1.
If we put the redirections the other way around ("> filename" first), it does work. I'll explain that, too:
First, we're telling bash to run the command "ps" with "aux" as an argument (again).
Then, we're redirecting the stdout to the file filename. This causes the stdout output of "ps aux" to be written to that file.
After that, we're redirecting the stderr stream to the stdout stream. The stdout stream is still pointing to the file filename because of the former statement. Therefore, stderr output is also written to the file.
Get it? The redirects cause a stream to go to the same final destination as the specified one. It does not actually merge the streams, however.
Now that we know how to redirect, we can use it in many ways. For example, we could pipe the stderr output instead of the stdout output:
[rechosen@localhost ~]$ ps aux 2>&1 > /dev/null | grep init
The syntax in this snippet will send the stderr output of "ps aux" to "grep init", while the stdout output is sent to /dev/null and therefore discarded. Note that "grep init" will probably not find anything in this case as "ps aux" is unlikely to report any errors.
When looking more closely to the snippet above, a problem arises. As bash reads the command statements from the left to the right, nothing should go through the pipe, you might say. At the moment that "2>&1" is specified, stdout should still point to the terminal, shouldn't it? Well, here's a thing you should remember: bash reads command statements from the left to the right, but, before that, determines if there are multiple command statements and in which way they are separated. Therefore, bash already read and applied the "|" pipe symbol and stdout is already pointing to the pipe. Note that this also means that stream redirections must be specified before the pipe operator. If you, for example, would move "2>&1" to the end of the command, after "grep init", it would not affect ps aux anymore.
We can also swap the stdout and the stderr stream. This allows to let the stderr stream pass through a pipe while the stdout is printed to the terminal. This will require a 3rd stream. Let's have a look at this example:
[rechosen@localhost ~]$ ps aux 3>&1 1>&2 2>&3 | grep init
That stuff seems to be quite complicated, right? Let's analyze what we're doing here:
"3>&1" => We're redirecting stream 3 to the same final destination as stream 1 (stdout). Stream 3 is a non-standard stream, but it is pretty much always available in bash. This way, we're effectively making a backup of the destination of stdout, which is, in this case, the pipe.
"1>&2" => We're redirecting stream 1 (stdout) to the same final destination as stream 2 (stderr). This destination is the terminal.
"2>&3" => We're redirecting stream 2 (stderr) to the final destination of stream 3. In the first step of these three ones, we set stream 3 to the same final destination as stream 1 (stdout), which was the pipe at that moment, and after that, we redirected stream 1 (stdout) to the final destination of stream 2 at that moment, the terminal. If we wouldn't have made a backup of stream 1's final destination in the beginning, we would not be able to refer to it now.
So, by using a backup stream, we can swap the stdout and stderr stream. This backup stream does not belong to the standard streams, but it is pretty much always available in bash. If you're using it in a script, make sure you aren't breaking an earlier command by playing with the 3rd stream. You can also use stream 4, 5, 6 7 and so on if you need more streams. The highest stream number usually is 1023 (there are 1024 streams, but the first stream is stream 0, stdin). This may be different on other linux systems. Your mileage may vary. If you try to use a non-existing stream, you will get an error like this:
bash: 1: Bad file descriptor
If you want to return a non-standard stream to it's default state, redirect it to "&-", like this:
[rechosen@localhost ~]$ ps aux 3>&1 1>&2 2>&3 3>&- | grep init
Note that the stream redirections are always reset to their initial state if you're using them in a command. You'll only need to do this manually if you made a redirect using, for example, exec, as redirects made this way will last until changed manually.
Final words
Well, I hope you learned a lot from this tutorial. If the things you read here were new for you, don't worry if you can't apply them immediately. It already is useful if you just know what a statement means if you stumble upon it sometime. If you liked this, please help spreading the word about this blog by posting a link to it here and there. Thank you for reading, and good luck working with bash!