Showing headlines posted by Cypress

( 1 2 ... 3 ) Next »

Take screenshots from the command line in Linux

  • Tips4Linux.com (Posted by Cypress on Nov 28, 2010 8:48 PM EDT)
  • Story Type: Tutorial
There are many Linux applications dedicated to taking screenshots. However, you minght want to use the command line to do this, either because you want to build an automated script, or because you have a terminal screen handy.

Share folders and subfolders with Dropbox in Linux

  • Tips4Linux.com (Posted by Cypress on Oct 1, 2010 10:50 AM EDT)
  • Story Type: Tutorial
Dropbox is a nifty little application that lets you sync and share files on the Internet and between several computers. Want to send a movie to a friend? Use Dropbox. Want to have a common folder for pictures that you and your girlfriend can update on different computers? Use Dropbox. The problem with Dropbox is that you can’t share entire folders. Only individual links. That’s where dropbox-index comes in.

Use MPlayer to record live streams from the Internet

  • Tips4Linux.com (Posted by Cypress on Sep 29, 2010 8:17 PM EDT)
  • Story Type: Tutorial
All you need to record a live stream from the web is MPlayer. Use the -dumpstream argument to capture a MMS, ASF or Live WMV stream to a file called stream.dump.

Convert CHM files to PDF for Nook and Amazon Kindle using Linux

  • Tips4Linux.com (Posted by Cypress on Sep 24, 2010 10:31 AM EDT)
  • Story Type: Tutorial; Groups: Linux
The downside to eReaders is generally the small screen. You open up a PDF file and the fonts are smaller than you’d wish them to be. You can always zoom, but why not prepare your file from the beginning? If you have a CHM file and you want to convert it to a PDF to be later loaded on your eReader, try this:

Remove DRM from Amazon Kindle’s ebooks using Linux

  • Tips4Linux.com (Posted by Cypress on Aug 20, 2010 10:19 AM EDT)
  • Story Type: Tutorial; Groups: Linux
When you buy an ebook using your Kindle, there’s a 99% chance it’s a DRM file. That means you won’t be able to read it anywhere else but on your Kindle. And we won’t accept that. To be able to convert that file and remove its DRM protection, you need a set of Python scripts called MobiDeDRM.

Convert eBooks in Linux

  • Tips4Linux.com (Posted by Cypress on Aug 19, 2010 2:50 PM EDT)
  • Story Type: Tutorial; Groups: Linux
Say you just bought an Amazon Kindle or a Barnes and Noble Nook. You want to convert your eBook collection to .EPUB or .MOBI format. For this, install Calibre. The application not only provides you with a graphical way to manage your eBook collection, but also comes with a set of useful command-line tools. One of these is ebook-convert. This tool can help you convert between tens of standard formats like EPUB, FB2, LIT, LRF, MOBI, OEB, PDB, PDF, PML, RB, RTF, TCR, TXT, HTML and more. Even CBR and CBZ (comic book formats) are supported.

Convert videos to PocketPC format in Linux

  • Tips4Linux.com (Posted by Cypress on Aug 12, 2009 8:31 AM EDT)
  • Story Type: Tutorial
To convert video files to a resolution that is adequate for a PocketPC’s screen, use mencoder. mencoder input.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=200:abitrate=48 -vop scale=320:240 -oac copy -o output.avi This will transform a typical 700MB AVI file into a ~200MB size file with a 320×240 pixel resolution.

Make applications remember their last state in Ubuntu

  • Tips4Linux.com; By T4L (Posted by Cypress on Aug 10, 2009 8:08 AM EDT)
  • Story Type: Tutorial
If you want your most-used applications already opened when you boot up into your Ubuntu box, all you have to do is go to System > Preferences > Startup Applications and in the Options tab check the box next to “Automatically remember running applications when logging out“.

Search Google.com from the Linux command line

  • Tips4Linux.com; By T4L (Posted by Cypress on Aug 8, 2009 9:25 PM EDT)
  • Story Type: Tutorial
You can search Google.com from the Linux command line without using a CLI web browser like lynx or Elinks. All you need is the curl and html2text packages installed. Then you issue the following command: curl -A Mozilla http://www.google.com/search?q=Linux |html2text -width 80 where you can replace Linux with another keyword of your choice. The results will be displayed in your console application with a width of 80.

C’mon Steve…

I read the latest words of our beloved Redmond executive we all like affectionately call “Steve”. From the way mr. Ballmer speaks to us you’d say there’s nothing wrong with paying for software. You’d say that the business model that Microsoft chose is the right one for every firm and company out there. What Steve failed to mention is that if every software firm and company out there would chose that particular business model, Microsoft would have been out of business. Competition is good Steve. Yes - Apple’s business model is radically different from the one Microsoft uses. And guess what? People LIKE it more. What that particular business model provides is exactly what people need. Apart from the fact that they’re using the same “push towards the consumer” tactic that Microsoft so dearly holds, Apple manages to actually deliver good stuff towards the same consumer.

Make MPlayer play h264 video files faster on multicore machines

  • Tips4Linux.com (Posted by Cypress on Jul 26, 2009 5:26 PM EDT)
  • Story Type: Tutorial
You can make MPlayer play h264-encoded video files a lot faster on multicore machines if you graft some libraries from the ffmpeg-mt project into the resulting mplayer binary. We need to recompile for this. First, use Subversion to download the code for MPlayer: svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer Then the code for ff-mpeg svn co svn://svn.mplayerhq.hu/mplayer/trunk ffmpeg-mt Remove the old libavcodec, libavformat and libavutil code from MPlayer

Know when someone accesses your files in GNOME

  • Tips4Linux.com (Posted by Cypress on Jul 25, 2009 2:04 AM EDT)
  • Story Type: Tutorial
Say you want to write a small shell script that locks up your GNOME desktop at specific intervals. What command would you use? In this case, your best bet would be gnome-screensaver-command –lock This has the same effect as you pushing the Lock Screen button in GNOME. You can forge a small shellscript and use this to lock up your desktop when someone launches an application. Or append the line at the end of the Brasero launch command, using the icon’s command line field, so that whenever someone tries to burn something without your knowledge, the screen will lock up immediately afterwards.

See who’s poking your Linux box

  • Tips4Linux.com (Posted by Cypress on Jul 22, 2009 7:28 PM EDT)
  • Story Type: Tutorial
If you’re using SSH and you have your ports wide open to the world, your best bet would be to install fail2ban. If you’re curious though as of whom is trying to get in by bruteforcing your SSH passwords, you might get a clear view with the following command: grep “POSSIBLE BREAK-IN ATTEMPT” /var/log/auth.log This will verbose a list detailing each break-in attempt that has been made, with the exact date, hour, minute and second of it. It will also display the point of origin of these attempts, in a fashion similar to this one:

Find out what RAM type you have in Linux

  • Tips4Linux.com (Posted by Cypress on Jul 16, 2009 5:17 AM EDT)
  • Story Type: Tutorial
To check what RAM memory type yo have installed (and also see other useful information about your system), do a sudo dmidecode. Depending on the version of dmidecode you have installed and the hardware configuration you have, each hardware device will have a certain type number assigned t it. On my machine, the RAM has type 6. So to see what RAM type and speed you have, do a sudo dmidecode –type 6.

Tips4Linux.com - Tips and Tricks for Linux Users

A place dedicated to the Linux user. Learn new Linux tips and tricks every day. Not only for the advanced but also for novice users who wish to learn how easy life with Linux can be and how customizable the operating system is. Learn how to change the color of your Linux prompt, set the clock from the Linux command line or minimize any GNOME application in the system tray.

How to make MPlayer use the correct encoding for Romanian and Greek subtitles

  • Tips4Linux.com (Posted by Cypress on Jul 9, 2009 7:40 PM EDT)
  • Story Type: Tutorial
Open up GMPlayer (or another MPlayer GUI) right-click on it, go to Preferences, click on the Font tab and from the Encoding list chose Slavic/Central European Languages (ISO-8859-2) for Romanian subtitles. Use Modern Greek (ISO-8859-7) for Greek subtitles. Be sure to also pick a font that contains the specific diacritic character sets (Verdana and Arial can be found in the msttfcorefonts package in most Linux distributions and proved to be almost perfect for this task). Even better, be sure you installed the mplayer-fonts package and leave the font field empty for the application to chose it’s own system font.

Turn off or limit the Recent Documents feature in Ubuntu

  • Tips4Linux.com (Posted by Cypress on Jul 8, 2009 2:45 PM EDT)
  • Story Type: Tutorial
If you want to turn off the Recent Documents feature in Ubuntu, all you have to do is create a .gtkrc file in your home directory (if one isn’t already available): touch ~/.gtkrc-2.0 . Now paste this line in there: gtk-recent-files-max-age=0 . The next time you start Gnome and click on files, the respective files won’t appear anymore in Places > Recent Documents. To limit the number of files that appear in Recent Documents, use gtk-recent-files-limit=3 instead (replace 3 with the number of files you wish to show).

How to install OpenTyrian in Ubuntu Jaunty

  • Tips4Linux.com (Posted by Cypress on Jul 5, 2009 9:44 PM EDT)
  • Story Type: Tutorial; Groups:
OpenTyrian is a project aimed at bringing the Tyrian game to other platforms. Since the source code was released and the official Tyrian data files made available in 2004, the game started to show up from Linux to iPhones. Here’s how to compile the source from scratch so you can get OpenTyrian running in Ubuntu Jaunty

Globulation 2 Game Review

  • LinuxForums.org; By Razvan T. Coloja (Posted by Cypress on Apr 28, 2009 2:15 PM EDT)
  • Story Type: Reviews
The game has all the elements you've already encountered in other RTS titles: resource gathering, upgradable buildings, workers, warriors and an enemy to eradicate from a map of your choice. What makes Globulation 2 particularly interesting is the way you'll have to make some sort of order in the total chaos of your units.

Game review - Eschalon: Book I

  • LinuxForums.org; By Razvan T. Coloja (Posted by Cypress on Apr 28, 2009 4:57 AM EDT)
  • Story Type: Reviews
The first thing that strikes you about Eschalon is the music. It's soothing, calm, makes you feel comfortable while playing. And play you will. Alot. This is not the kind of game you can finish in a week then move on to another turn-based game. You'll give up your social life, you'll start arguing with your girlfriend about going to sleep late and in a few more day you'll be calculating everything in turns. I swear to God I was seeing tiles on the street by the third week.

( 1 2 ... 3 ) Next »