LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-12-2014, 02:24 PM   #1
josephw47
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: Reputation: 0
Question 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.
 
Old 03-12-2014, 05:49 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,692

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
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
 
Old 03-13-2014, 07:25 PM   #3
josephw47
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: Reputation: 0
Unfortunately it's gotta go. The goal is to harden the system and the menu needs to be removed for security purposes.
 
Old 03-15-2014, 06:10 AM   #4
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,470
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
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.
 
Old 03-17-2014, 10:24 PM   #5
josephw47
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: Reputation: 0
It's strange that it's not there in 4.3, or it could just be a RHEL thing. I'm honestly not sure.
 
Old 03-17-2014, 10:55 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,692

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
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.
 
Old 03-25-2014, 11:12 AM   #7
josephw47
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: Reputation: 0
Quote:
Originally Posted by Knightron View Post
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
 
Old 03-25-2014, 10:42 PM   #8
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,470
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
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.
 
Old 03-28-2014, 04:13 PM   #9
Germany_chris
Senior Member
 
Registered: Jun 2011
Location: NOVA
Distribution: Debian 12
Posts: 1,077

Rep: Reputation: 502Reputation: 502Reputation: 502Reputation: 502Reputation: 502Reputation: 502
Quote:
Originally Posted by Knightron View Post
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.
Old 04-13-2014, 11:51 PM   #10
the dsc
Member
 
Registered: May 2009
Distribution: Debian
Posts: 175
Blog Entries: 249

Rep: Reputation: 47
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.
 
Old 08-04-2023, 10:33 AM   #11
Zeevik
LQ Newbie
 
Registered: Aug 2023
Posts: 1

Rep: Reputation: 0
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.
 
  


Reply

Tags
desktop environment, kde, menus, plasmadesktop, rhel 6


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I disable Mouse Right Click in KDE? steve_f60 Linux - Software 5 09-11-2017 08:11 PM
Disable Right Click button for user jaredhanks Red Hat 5 11-23-2010 12:03 AM
How to disable a USB memory stick per user basis ? marozsas Linux - Hardware 44 04-01-2009 03:38 PM
Adding an item to the KDE desktop right-click menu jkhg Linux - Desktop 2 11-28-2007 06:28 PM
KDE Gnome Desktop Menu Edits (right click on desktop) jdier Linux - Software 11 08-03-2006 05:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration