LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-18-2022, 07:20 PM   #1
yelirt5
LQ Newbie
 
Registered: Jan 2019
Posts: 29

Rep: Reputation: Disabled
RHEL8 - disable context menu


Does anyone know of way that right-click can be disabled on RHEL8? Or at least remove the options from the context menu?
 
Old 05-19-2022, 01:37 PM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by yelirt5 View Post
Does anyone know of way that right-click can be disabled on RHEL8? Or at least remove the options from the context menu?
Assuming, you have GNMONE, have you already tried one of these methods mentioned in articles below:
https://askubuntu.com/questions/1185...op-right-click
https://coderwall.com/p/gvkvcw/how-t...-gnome-desktop
 
Old 05-21-2022, 07:36 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by yelirt5 View Post
Does anyone know of way that right-click can be disabled on RHEL8? Or at least remove the options from the context menu?
Question is, why? I suspect that there's something else behind it, maybe you want to restrict users?
 
Old 05-22-2022, 07:33 PM   #4
yelirt5
LQ Newbie
 
Registered: Jan 2019
Posts: 29

Original Poster
Rep: Reputation: Disabled
Because it's a mil system and yes, we need to severely restrict users from doing anything except run/operate the software that they're allowed to. We shouldn't even allow a right-click menu but we gave up trying to find a way to do that on Rhel8/ We can't use kiosk mode for too many reasons to get into here. We did figure out that we can protect the terminal with a username/password prompt, otherwise the terminal just closes. Cyber said they can live with that.
 
Old 05-23-2022, 12:02 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Just as I thought.
I'm not trying to be snarky or anything, just help you with your actual problem, which has nothing to do with context menus per se, just some of the things it typically allows (all of which can usually also be achieved some other way).

If your users are only allowed to operate a specific set of software (commands), you have to make everything else unavailable for the user. There are several ways to achieve that; look into "kiosk" systems, that would be "linux kiosk" or even "rhel kiosk".

Elaborate, show us what you got, we can help more.

What's a "mil system"?

Quote:
Originally Posted by yelirt5 View Post
Because it's a mil system and yes, we need to severely restrict users from doing anything except run/operate the software that they're allowed to. We shouldn't even allow a right-click menu but we gave up trying to find a way to do that on Rhel8/ We can't use kiosk mode for too many reasons to get into here. We did figure out that we can protect the terminal with a username/password prompt, otherwise the terminal just closes. Cyber said they can live with that.
edit: I see that you brought this up earlier. You should've added some context to your OP; I can see most of your questions are lacking it. Anyhow, assuming this already is a changed OS I wonder what changes you implemented and why exactly they aren't sufficient.

Last edited by ondoho; 05-23-2022 at 12:10 AM.
 
Old 05-23-2022, 03:05 AM   #6
yelirt5
LQ Newbie
 
Registered: Jan 2019
Posts: 29

Original Poster
Rep: Reputation: Disabled
a military system. There are just quite a few cyber security requirements - STIG, app whitelisting, firewall, SELinux, etc. The software we run is really not a big deal. But we need to lock the system down as much as possible in order to keep the user (military personnel) from playing around and changing something that would cause the need for a system reload. They're not trained to do it so a team gets dispatched to them and that gets expensive.

I'll look into kiosk mode. But I thought you were restricted to just running one app in kiosk mode? Our software is actually multiple applications running at once, mostly java apps.
 
Old 05-23-2022, 12:05 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
You didn't really add much information.

I can only re-iterate that whatever you access from the context menu can also be accomplished some other way, so you need to think about that - the what, not the how.
If you want to share these requirements - and what you did so far to accomplish them - we might be able to help you.
 
Old 05-27-2022, 03:06 AM   #8
yelirt5
LQ Newbie
 
Registered: Jan 2019
Posts: 29

Original Poster
Rep: Reputation: Disabled
I will certainly share what I'm able to do but so far we haven't.

So when you right-click on our RHEL8 desktop a menu comes up with only two choices - Terminal and Help Center. We figured out how to prompt for a username and a password for the terminal, which our cyber folks are ok with that (as opposed to removing the option for terminal altogether). Now I'm just trying to figure out a way to remove Help Center as an option from that menu.

We figured out how to remove everything else from the desktop. There's no Activities button or anything so I'm not sure the users could get to something we've removed by another way. But even if they did, say through the terminal, they don't have root acccess.
 
Old 05-27-2022, 11:49 PM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
That still doesn't tell us the What I requested but I concede that you don't have a choice in this matter, basically somebody else told you to "Remove the Help Center from the context menu"?

Which brings us back to post #2, assuming you use GNOME because that's RHEL's default DE.
I am looking at both links right now, the askubuntu offers a gnome extension that does what you want (and both answer and the question itself hint at some dconf magic you can try).
 
Old 05-28-2022, 10:25 AM   #10
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
I definitely won't use gnome in that case. Just a simple X server with the required icons/apps on the desktop and that's all.
 
Old 06-02-2022, 03:41 AM   #11
yelirt5
LQ Newbie
 
Registered: Jan 2019
Posts: 29

Original Poster
Rep: Reputation: Disabled
Thanks for the replies everyone. I will check out what's been suggested below.
 
Old 06-03-2022, 12:39 AM   #12
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by pan64 View Post
I definitely won't use gnome in that case. Just a simple X server with the required icons/apps on the desktop and that's all.
Very true.
Instead of installing everything & the kitchen sink, then having to hobble it all again, why not start with a clean slate and configure everything as desired.
 
1 members found this post helpful.
  


Reply



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
Create launcher, menu config etc. not working from right click context menu on Mint 19.1 ubiquity Linux Mint 1 09-24-2021 07:53 PM
LXer: RHEL8 Brings the Hybrid Cloud to DevOps LXer Syndicated Linux News 0 05-13-2019 11:24 PM
x11vnc: clipboard and right click menu(context menu) "Paste" item not in sync Vilius Linux - Desktop 0 11-17-2017 11:46 PM
When right/left clicking for a context menu to appear, it display a pitch black menu pupuela Linux - Newbie 4 08-07-2014 06:54 AM
increasing the number of file descriptors on RHEL8 mingram27 Fedora 1 02-21-2007 12:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:52 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