Linux Programmer | RHCE | RHCSA

Search This Blog

Monday, 9 January 2017

Disable right click on Lxpanel

Download Source code of LXpanel

cd /opt
https://drive.google.com/open?id=0BwPBGrPmbppATGw4X193OTdvUVk

Now, Extract downloaded .tar file

tar -xf lxpanel-0.9.2.tar.xz

cd lxpanel-0.9.2

open README file and Follow The instructions to Download dependency packages
                              OR
Download the dependency packages List from below link,
https://drive.google.com/open?id=0BwPBGrPmbppAQmJ3SUZ3T1lHY3c

cp lxpanel_dependency.tar /tmp

cd /tmp
tar -xf lxpanel_dependency.tar
( This .tar file contains the .deb files, install .deb files  )
dpkg -i *.deb


cd /opt/lxpanel-0.9.2/src

nano input-button.c

search for "on_button_press_event"

{
// comment code inside this function
}

nano plugin.c

search "lxpanel_plugin_button_press_event"
{
// comment code inside the function
}
 OR
Download the source files and replace it
input-button.c
https://drive.google.com/open?id=0BwPBGrPmbppAYW1pandEUHZac1k

plugin.c
https://drive.google.com/open?id=0BwPBGrPmbppAdmNsWC1UTWpqUUU



cd /opt/lxpanel-0.9.1/

(Configure the source code of lxpanel)
./configure --prefix=/usr

make 

make install
lxpanelctl restart



No comments:

Post a Comment

MIG - NVIDIA

The new Multi-Instance GPU (MIG) feature allows GPUs (starting with NVIDIA Ampere architecture) to be securely partitioned into up to seven ...