Setting priority to tasks in Ubuntu / Linux
Giving priorities to a task in Ubuntu/Linux
Using “nice” command.
-10 is highest priority
+9 is the lowest priority
0 is the normal priory at which all your tasks will be running; system level tasks run at high priority such as -5
Eg:
nice -n -4 ffmpeg_audio -ss $start_time -t $duration -i $infile -vn -acodec libfaac -ar $SAMPLINGRATE -ab $ABITRATE -ac $CHANNELS -f adts -y ->audiofifo${core} &
Learn Linux, Share Linux
“|” unrecognised error with QProcess in Qt – Solved
In Qt, QProcess does not recognise the “|” ( pipe ) symbol when the
process is started. We can solve this by doing like this in linux.
In windows, i am sorry i do not have an answer.
Before starting the QProcess ( say for example proc ) ;
proc->start(“your process name here”), open a file and send the
whole command string to that file ( for example open a file called cmd.sh
and send the command string to cmd.sh) and then start your process as
proc->start(“bash cmd.sh”). This will not produce an error “|” unrecognised
and complete the process because it is a shell script.
*( Normally we use system when | does not work with QProcess, but the problem
here is using system, we can not connect a slot for ProgressBar or Progress-
Bar dialog. So by doing running the process as a script now we can connect
the slot of progress bar.
).
** If any better solutions than the above, please mail to ramvvs@gmail.com.
Vim – auto-completion feature
For all the C programmers using vim – editor,
On highlight syntax using the command ” :syntax on “.
and also auto-completion can be found using “ctags”. ubuntu users can install it using the command ” sudo apt-get install ctags”.
and while programming, type “Ctrl+N” to on the auto-completion where ever it is necessary.
Happy Programming.
Learn Linux, Share Linux
Everything about “Makefile”
A good article on makefile HowTo’s
http://www.d.umn.edu/~gshute/make/home.html
Learn Linux, Share Linux
For Kubuntu Fans…
K-Jaunty 9.04 is out in the wild now… ![]()
www.kubuntu.org
Learn Linux, Share Linux
Be a App Creator with Zembly
zembly is a new kind of application development environment that lends the power of the crowd to you, so you can do more, faster. It’s kind of like a wiki, but for applications. Here’s how it works:
http://zembly.com/ui/about#what
zembly is from Sun Microsystems

Sun Microsystems, Inc. is a pioneer and key innovator in just about everything related to the Internet and the modern computer. Over two decades ago, Sun’s motto, “The Network is the Computer”, foreshadowed the advent of today’s cloud computing movement.
We like to say that zembly is the development environment for Sun’s bold vision—an application development environment that not only targets the web as its native platform, but uses cutting-edge web innovations such as web services, social networking, and Web 2.0, to change the way applications are built, deployed, scaled, and delivered to where users congregate.
GUI with OpenCV and Qt
A small tutorial on how to design GUI for OpenCV projects with QtCreator.
http://sites.google.com/site/techgeekorg/opencv_qt
Learn Linux, Share Linux
From my Pages
A lot to convey about terminal !!
There is no subsitute for commandline... they get you what you want exactly! Share Linux, Learn Linux![]()
Ubuntu-restricted-extras offline installer
Cool Link for downloading the restricted packages in ubunutu.
Download and install
http://hacktolive.org/wiki/Ureoi
Share Linux, Learn Linux

