Pages

Saturday, March 10, 2012

Creating launcher for Matlab/any application in Linux: Fine and easy


 Hello folks,
In this post we'll a small lesson on
"How to create a launcher for an application".
In few application's we'll find no application launcher will be installed or copied in to the system.
For example here we'll take MATLAB as an example.
To open such type of applications we have run the required binary file in the terminal.









For example to open MATLAB we have to run the following command in terminal


Saturday, December 10, 2011

Installing Matlab on ubuntu 11.10



 Hello,

Here is a small hint in installing matlab in Linux platforms ( of course i used ubuntu11.10).
However coming to the point we can install matlab with sufficient privileges only.
So now just insert the cd of mount the image that consists the setup files. now just type the following command to start the instalation.
sudo /<full_path>/install\ 
then there appears the window which is self explanative.
Just follow the instructions  in that window to fully complete the instalation.
But there won't be any launcher of icon installed.
Though typing matlab in the terminal would be able to run the matlab program.
Totally there are two problems that will arise after installation.
1.NO LAUNCHER
2.AN ERROR SAYING
"MATLAB desktop keyboard shortcuts, such as Ctrl+S, are now customizable.
In addition, many keyboard shortcuts have changed for improved consistency
across the desktop.

To customize keyboard shortcuts, use Preferences. From there, you can also
restore previous default settings by selecting "R2009a UNIX Default Set"
from the active settings drop-down list. For more information, see Help.

Click here if you do not want to see this message again.
Cannot write to preference file "matlab.prf" in "/home/jodiaq/.matlab/R2010a".
Check file permissions."
Now we shall take a look at the solution for these problems.
Solution to problem 1:

Adding New OS(Operating System) to grub

Hello,
"i am having two/three operating systems But grub loader is showing only one of them what do i do now. Please help me in this regard!!!!"
Here is the solution for these sort of questions.
Just we have to do is type a simple command.
sudo grub-update.
in the terminal. It will automatically check the os in your hard drive. This will also work for the new operating systems that have added because of another hard disk connected to your cpu.
this is how it should display in the terminal.

jodiaq@jodiaq-nl:~$ sudo update-grub

[sudo] password for jodiaq:

Generating grub.cfg ...

Found linux image: /boot/vmlinuz-3.0.0-12-generic

Found initrd image: /boot/initrd.img-3.0.0-12-generic

Found memtest86+ image: /boot/memtest86+.bin

Found Microsoft Windows XP Professional on /dev/sda1

Found Windows 7 (loader) on /dev/sdb1

done

jodiaq@jodiaq-nl:~$




We can more help on this grub editing here

Wednesday, June 1, 2011

Instructions to configure this template

http://www.premiumbloggertemplates.com/2011/05/diazo-premium-blogger-template.html