Skip to main content

Posts

Showing posts from November, 2015

Desktop Launcher : Create a .desktop file to create the laucher

Add the following as a .desktop file : [Desktop Entry] Type=Application Encoding=UTF-8 Name=Sample Application Name Comment=A sample application Exec=application Icon=application.png Terminal=false Explanation : Line Description [Desktop Entry] The first line of every desktop file and the section header to identify the block of key value pairs associated with the desktop. Necessary for the desktop to recognize the file correctly. Type=Application Tells the desktop that this desktop file pertains to an application. Other valid values for this key are  Link  and  Directory . Encoding=UTF-8 Describes the encoding of the entries in this desktop file. Name=Sample Application Name Names of your application for the main menu and any launchers. Comment=A sample application Describes the application. Used as a tooltip. Exec=application The command that starts this application from a shell. I...

Linix task list

$ps -o pid,sess,cmd afx This provides the task list on the linux server. Example : root     17232  0.0  1.0 357420 19260 ?        Ss   Nov02   0:27 /usr/sbin/httpd apache    5036  0.0  4.3 416592 84080 ?        S    Nov08   0:01  \_ /usr/sbin/httpd apache    5037  0.0  2.1 367960 40716 ?        S    Nov08   0:01  \_ /usr/sbin/httpd