Linux Tutorial Blog

Your regular Linux tutorial source!

Category: Solutions

Solution: Converting flac to mp3 advanced (supports drag 'n drop)

My short solution to convert flac to mp3 caught a lot of attention, and uncovered a demand for a more sophisticated solution. Therefore, after all the scripts posted in the comments, I decided to go on and write an extensive script that should be able to offer all the requested...

Solution: Getting a Gravis GamePad Pro to work on Linux

After a whole afternoon of struggling, I finally found how to get a Gravis GamePad Pro to work correctly (with all ten buttons enabled) on Linux. Because this took me so much effort and the information on it was so scattered and incomplete, I decided to break the frozenness of Linux Tutorial Blog...

Solution: Preventing damage after a system lockup

No matter how stable the Linux kernel is, things like hardware failures can still lock up your system quite effectively. If you ever encounter a case like that, rebooting is pretty much the only option. However, there is rebooting and rebooting. This solution describes a way to reboot your system...

Solution: Creating an mpeg with mencoder that plays on Windows Media Player

This solution contains some options for the mencoder command that will result in an mpeg video file that will play on pretty much all players, even Windows Media Player.  (More)

Solution: Converting flac to mp3

Sometimes you need to convert a load of flac files to mp3's, for example when wanting to listen them on your mp3 player. This solution contains a single line of bash that'll convert all flac files in the current directory to mp3's, keeping the flac files.  (More)

Solution: Resetting your screen resolution with xrandr

I recently discovered a very useful tool: xrandr. This command allows you to reset your screen resolution, which comes in very handy when some buggy app changes you screen resolution and doesn't set it back. It saves logging out and in again or even having to use Ctrl + Alt + Backspace! ...

Solution: Converting line breaks

Linux text files and Windows text files differ from each other in an important aspect. They have a different way to indicate the end of a line. Sometimes, when opening a text file on Linux, you see a ^M here and there. This means that the text file contains Windows-like line breaks. This solution...

Solution: Gently killing a process

Sometimes you somehow can't quit a certain process, but you don't want to lose all unsaved data by killing it. You can then try giving it a SIGQUIT. This solution describes how.   (More)

<><