In this tutorial, I am going to talk about samba and ufw services. If you limit your file share within a dedicated range of ip addresses in your local network, your files are generally secure (from outside access), and still able to share files.
Often, when you browse a torrent site for your favorite Linux distribution, you might ask the question, have I already downloaded this torrent or not? One way to find out is to actually go into your torrent directory and search (by the way, new nautilus is pretty good at searching), but it is always good to have a script (that uses find command) to do that.
The alias command is considered both good and bad. It can sometimes simplify long and complex commands, but on the other hand it can also be misused to hide commands everyone could learn otherwise.
Long time Linux users have been using alias for many commands and scripts. Even the operating system itself uses alias for certain commands e.g ll for ls -alF, la for ls -A and so on. However, this tutorial is not going to be about simplifying existing commands, rather it is going to be about aliasing your reddit subscriptions.
In this tutorial, I will try to list things you can do during Ubuntu LTS installation to make the experience little better. This tutorial will have specific settings for dell laptop, however I will mention when it comes in this tutorial, so that you can differentiate your setup. If you want to play with more cutting edge distro try my Arch Linux Tutorial.
Important things first.
- Before you start, make sure you have created a partition, formatted it and ready to install Arch.
- In this tutorial, I will use internet via wireless. Make sure you have downloaded the latest version of Arch, because I had terrible luck previously.
- Use root as username in multiple terminals
- Copy text from blocks from this tutorial (depending upon context) and use sudo whenever you run commands as normal user. You can use sudo su to switch to root user.
- If you have dual graphics cards (e.g Intel and AMD) and your laptop’s dicrete graphics card is awake and burning the laptop like fire (in this case AMD with radeon drivers) shut the discrete card.
If you have downloaded java development kit (JDK) Linux binary tar.gz file from oracle.com (e.g jdk-7u21-linux-x64.tar.gz), you might probably be thinking how do I install it. On most Linux distributions, you might be able to install java or jdk using official or third party repository, but some people prefer doing it offline. In this tutorial, I will try to explain that.
I found lots of people struggling to get catalyst driver work in Ubuntu 13.04. This issue has been persistent for some laptops, ever since Ubuntu 13.04 came out, specially for Intel, AMD dual graphics setup. For people, who have been looking at catalyst drivers ever since http://ubuntuforums.org/showthread.php?t=1930450 post was published, should not be that hard to find the solution, but for those who are new to Linux, or don’t have time for these kinds of issues, this issue might be a show stopper bug. In this post I will try to reiterate the solution discussed at askubuntu.com.
Sometimes, we have a large collection of files e.g mp3 files that plays fine in a computer, but fails to copy to an external devices like a mobile phone, because of weird file naming. One of such cases happened to me, where all the files in a directory had pipe character (|) on them.
Those files would play fine on a computer, but failed to copy to a phone. Therefor,e I had to create following script to rename all those files, just by removing the pipe character(|). Here is the script (rename.sh).
for file in *.mp3
rename 's/\|//' "$file"
I hope it helps someone.
Why second ?
In this post, I will try to provide enough resources for you to get started on mobile application development using QT Meta Language (QML). Although QML is not Ubuntu specific package, there will be some libraries and convention used in this tutorial that is specific for Ubuntu. However, you could easily use resources mentioned in this post to port your application to the platform of your choice.
Step 1: Install PulseAudio Volume Control and ffmpeg
Search your distribution’s software repository to install them. On a typical Ubuntu like OS the terminal command would be
$ sudo apt-get install pavucontrol ffmpeg
Step 2: Record
Use following command to record your desktop.
ffmpeg -f alsa -i default -f x11grab -s 1366x768 -r 30 -i :0.0 -sameq filename.avi