Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-12-2014, 02:24 PM
|
#1
|
LQ Newbie
Registered: Sep 2010
Location: North Carolina
Distribution: centOS 5, RHEL 5/6, SLES10/11, VMWare, Backtrack 4, Ubuntu 10.04
Posts: 20
Rep:
|
Disable desktop right click in KDE 4.3 on RHEL 6.5 on a per user basis
Hi all...
Does anyone know how to disable the right-click menu in the KDE desktop on RHEL 6.5? I need to do this on a per-user basis.
So far I've tried hacking on ~/.kde/share/config/plasma-desktop-appletsrc with no success. I'm not sure I'm even remotely close at this point.
|
|
|
03-12-2014, 05:49 PM
|
#2
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,692
|
that r-click menu on KDE like in Gnome and even on Windows 3 to 8.1 and Mac is NEEDED
and that user can edit what is in there own home folder to undo what ever you try
|
|
|
03-13-2014, 07:25 PM
|
#3
|
LQ Newbie
Registered: Sep 2010
Location: North Carolina
Distribution: centOS 5, RHEL 5/6, SLES10/11, VMWare, Backtrack 4, Ubuntu 10.04
Posts: 20
Original Poster
Rep:
|
Unfortunately it's gotta go. The goal is to harden the system and the menu needs to be removed for security purposes.
|
|
|
03-15-2014, 06:10 AM
|
#4
|
Senior Member
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,470
|
You can remove the right click context menu on plasma-desktop, by right clicking the desktop (lol at the irony), selecting desktop settings, and then in the window that appears, select mouse actions. You wil see a 'right-button' option with the standard menu set next to it. Next to that there's a red cross, if you press that and then apply/ok, you will remove the right click behaviour on the plasma desktop.
I have never used kde 4.3. The lowest i've used is 4.4.5, and it had menus and options set differently to modern kde. The instructions may not be 100% accurate for 4.3. Either way, settings should still be possible to configure from systemsettings.
Lastly, i'd like to add that this only removed the right click context menu from the desktop. In other programs, eg Firefox, Dolphin, Konsole, Clementine, ect; the right click menu will remain and i don't think it's possible to remove that.
Maybe you could buy a mac mouse with only the one click option for all your computers. I know this is a terrible compromise in regards to security, but it's the only possible option i can think of.
|
|
|
03-17-2014, 10:24 PM
|
#5
|
LQ Newbie
Registered: Sep 2010
Location: North Carolina
Distribution: centOS 5, RHEL 5/6, SLES10/11, VMWare, Backtrack 4, Ubuntu 10.04
Posts: 20
Original Poster
Rep:
|
It's strange that it's not there in 4.3, or it could just be a RHEL thing. I'm honestly not sure.
|
|
|
03-17-2014, 10:55 PM
|
#6
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,692
|
however all someone has to do is rename ~/.kde4
logout and back in again
and the the mouse actions will be reset to the default
you could try to set xorg.conf to emulate a 1 button mouse
Last edited by John VV; 03-17-2014 at 10:57 PM.
|
|
|
03-25-2014, 11:12 AM
|
#7
|
LQ Newbie
Registered: Sep 2010
Location: North Carolina
Distribution: centOS 5, RHEL 5/6, SLES10/11, VMWare, Backtrack 4, Ubuntu 10.04
Posts: 20
Original Poster
Rep:
|
Quote:
Originally Posted by Knightron
You can remove the right click context menu on plasma-desktop, by right clicking the desktop (lol at the irony), selecting desktop settings, and then in the window that appears, select mouse actions. You wil see a 'right-button' option with the standard menu set next to it. .
|
Menu isn't there in RHEL 6.5
|
|
|
03-25-2014, 10:42 PM
|
#8
|
Senior Member
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,470
|
In systemsettings there will be a mouse option somewhere, sorry i don't have that version of kde, so i don't know where it is, but it will likely be somewhere in systemsettings. The menus have been changed around and organized better since that release, so i'm not certain of it's location.
|
|
|
03-28-2014, 04:13 PM
|
#9
|
Senior Member
Registered: Jun 2011
Location: NOVA
Distribution: Debian 12
Posts: 1,077
|
Quote:
Originally Posted by Knightron
You can remove the right click context menu on plasma-desktop, by right clicking the desktop (lol at the irony), selecting desktop settings, and then in the window that appears, select mouse actions. You wil see a 'right-button' option with the standard menu set next to it. Next to that there's a red cross, if you press that and then apply/ok, you will remove the right click behaviour on the plasma desktop.
I have never used kde 4.3. The lowest i've used is 4.4.5, and it had menus and options set differently to modern kde. The instructions may not be 100% accurate for 4.3. Either way, settings should still be possible to configure from systemsettings.
Lastly, i'd like to add that this only removed the right click context menu from the desktop. In other programs, eg Firefox, Dolphin, Konsole, Clementine, ect; the right click menu will remain and i don't think it's possible to remove that.
Maybe you could buy a mac mouse with only the one click option for all your computers. I know this is a terrible compromise in regards to security, but it's the only possible option i can think of.
|
The mouse is touch/gesture based if you want to right click you just do that just because there is no button there doesn't mean it doesn't exist. The mighty mouse and pro mouse I don't thing are available anymore even then I'll bet it you fn plus click you'll get the contextual menu.
There are single button mice out there, I do think that will be the end solution though I can't figure out why anyone would want someone not to be able to use the contextual menu's nor can I understand why you'd not want your users setting up the computer how they want it a normal user can only do so much.
|
|
1 members found this post helpful.
|
04-13-2014, 11:51 PM
|
#10
|
Member
Registered: May 2009
Distribution: Debian
Posts: 175
Rep:
|
I don't understand it. It seems that the goal is some form of security/"hardening", but I think that's not the best way (or barely useful way) to go about trying to achieve it. One can probably still do anything that is on that menu, if one has the permissions to do so, doesn't matter if there's the menu or not. If there are no permissions, though, then doesn't matter that the menu options are there.
But maybe I'm missing something.
|
|
|
08-04-2023, 10:33 AM
|
#11
|
LQ Newbie
Registered: Aug 2023
Posts: 1
Rep:
|
Disable desktop right click in KDE 4.3 on RHEL 6.5 on a per user basis
Hi,
I had the same problem hardening the system for security purposes, but on RHEL7.9 and KDE Plasma 5.
In order to disable the Right&Mid&Letft mouse buttons menus, the $HOME/.kde/share/config/plasma-desktop-appletsrc file must be modified.
Instead of the default:
[ActionPlugins]
MidButton;NoModifier=paste
RightButton;NoModifier=contextmenu
wheel:Vertical;NoModifier=switchdesktop
The following settings are applied:
[ActionPlugins]
MidButton;NoModifier=switchwindow
RightButton;NoModifier=switchwindow
wheel:Vertical;NoModifier=switchwindow
I hope that this solution will function on RHEL6.5 KDE Plasma 4,3 as well.
|
|
|
All times are GMT -5. The time now is 01:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|