LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 07-30-2020, 03:11 PM   #16
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625

I have no idea how smart the OP is. "you're going to write those up for the OP?"

"current KDE " Not sure why you'd do that. I keep saying to find the version/level that is in use. Where did you gather a current KDE was considered?
 
Old 07-30-2020, 04:44 PM   #17
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by jefro View Post
I have no idea how smart the OP is. "you're going to write those up for the OP?"
You're the one suggesting installing KDE from source, or heavily implied it when saying:
Quote:
Originally Posted by jefro
It is possible to do it. The source for all that is still available even if no built in way exists or no add on program to edit exists. I dug into some of the window manager stuff a long time ago. Not easy but it's there.
Since the window manager in question is KDE, that would certainly seem to be what's being discussed.
Quote:
"current KDE " Not sure why you'd do that. I keep saying to find the version/level that is in use. Where did you gather a current KDE was considered?
Again: KDE system settings is where the option in question is. WHERE in the application who knows...OP's question was answered some time ago.

Current KDE comes on a CURRENT OS..which is what has been suggested to the OP, since RHEL 5 is *NOT* something that should be used, for a variety of reasons, many of which have been stated clearly here in this thread. So telling the OP to 'forget about Red Hat' is questionable advice, since that is a HUGE underlying problem for any viability of their code/program/system. Addressing THAT addresses the KDE issue, since you get new features that may let them do BETTER things, like a plasma widget to run the app maybe?? Or be able to exactly tell them where the option is in system settings??
 
Old 07-30-2020, 07:55 PM   #18
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
He stated it was not his call to modify the OS.
 
Old 07-31-2020, 08:40 AM   #19
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by jefro View Post
He stated it was not his call to modify the OS.
Incorrect; they stated:
Quote:
Originally Posted by tom Buug
I developed some special code that works great and the people who want to use it (needed and/or wanted) the same middle mouse button menu option to run it (execute it) as they use on other systems.
...indicating the OP's code 'needs' RHEL 5. The client, in this case, wants the same BEHAVIOR as they get on other systems, which is absent on the old RHEL 5. The only stumbling block here is the OP's code.
 
1 members found this post helpful.
Old 08-01-2020, 09:11 PM   #20
tom Buug
LQ Newbie
 
Registered: Jul 2020
Posts: 6

Original Poster
Rep: Reputation: Disabled
I just wanted to add a simple link to the middle mouse

RH5 KDE - If no one has a procedure for RH5 kde add a mouse button link
Then how about - giving the procedure to add a mouse button link on RH7 or current level. KDE

whatever the current RH version is tell me how to add another a mouse button menu item


BTW . the code they want to run is irrelevant - it runs fine and I have assigned it to a desktop Icon,
but it would be nice to know for future - how to add another item to the mouse menus.
 
Old 08-02-2020, 09:35 AM   #21
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by tom Buug View Post
RH5 KDE - If no one has a procedure for RH5 kde add a mouse button link Then how about - giving the procedure to add a mouse button link on RH7 or current level. KDE whatever the current RH version is tell me how to add another a mouse button menu item

BTW . the code they want to run is irrelevant - it runs fine and I have assigned it to a desktop Icon, but it would be nice to know for future - how to add another item to the mouse menus.
You were told previously. Again:
  • The current version is RHEL 8.x...this can be found on their website.
  • Using RHEL without PAYING FOR IT isn't a good idea
  • Going into "System settings" in KDE lets you assign shortcuts/middle-click options/etc.
And you initially started out by saying they ran a different OS and wanted the same behavior, and indicated that your code was the sticking point. Now it doesn't matter??? Why use RHEL at all, then, and use whatever version/distro of Linux they're already comfortable with???

You still don't tell us anything about this mystery-code you're trying to run, what 'they' are already using that gives them this middle-click functionality, etc. Playing guessing games isn't too much fun.
 
Old 08-02-2020, 11:33 AM   #22
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by tom Buug View Post
Then how about - giving the procedure to add a mouse button link on RH7 or current level.
Quote:
Originally Posted by TB0ne View Post
Going into "System settings" in KDE lets you assign shortcuts/middle-click options/etc.
@tom Buug,

You've asked, and an answer has been given.

Have you tried it?

If so, then did it work?

If not, please do try it and indicate if it worked, or what problems you encountered.
 
1 members found this post helpful.
Old 08-03-2020, 02:08 AM   #23
Geist
Member
 
Registered: Jul 2013
Distribution: Slackware 14 / current
Posts: 442

Rep: Reputation: 196Reputation: 196
Here is a solution that will work for sure, but has the drawback that it needs a hotkey, but that's fine cause hot keys are awesome.
(needs a keyboard tho, which I assume your client has, if not, then well it woulds still work through an on screen virtual keyboard, but that's less awesome)

1.) Install 9menu.
2.) Create a shortcut with the key combination of their/your choice that calls
Code:
9menu -label 'Menu' -teleport -popup -file ~/.9menurc &
3.) Edit ~/.9menurc and add the desired things, as per the formatting 9menu desires there.


And you're done.
It looks kind of crusty and old, but does the trick so well that I have incorporated it into a more complex script that finds out which application is currently focused and loads a custom menu for that, if available, on the fly.

(I use a tablet with a stylus sometimes, and I call that script with a button on the tablet, etc)

Here is an example config file for the 'general' launcher I use.
Code:
mypaint &
gvim &
kcalc &
xvkbd &
geeqie &
opentoonz.sh &
The base requirement is a program or script, spelled as it would be if you were to run it directly. The ampersand is important.

If you want to give the menu items nicer labels, you would put the label in front of the command, with a colon at the end.
Code:
Mypaint painting program:mypaint &
Best Text Editor:gvim &
Make rock think for me:kcalc &
Worst way to use a keyboard:xvkbd &
Ogle pictures:geeqie &
What am I doing with my life please make it stop this is a white elefant and now humanity is cursed:opentoonz.sh &
It's that simple and will work on pretty much anything that has an X server.
 
1 members found this post helpful.
Old 08-04-2020, 12:05 AM   #24
tom Buug
LQ Newbie
 
Registered: Jul 2020
Posts: 6

Original Poster
Rep: Reputation: Disabled
I will check the system settings for adding menu items thank you

Thank you all for your patience and answers.
So system settings is where I will check next time I get over to the testing areas. Many thanks - I will let you know if it has the option.

The mystery code really has nothing to do with (how to add a mouse menu item) question - is an interactive program that grabs essential data from a variety of places - test logs, status csv files counter tracking files, etc etc and prompts the user for a few items - then stores in a db. On the other OS systems they run the code from a middle mouse menu. What used to take 5 or 6 minutes or more now takes about 20 seconds with the code and it totally eliminates errors.

On the RH5 systems they asked me to make a similar feature which runs absolutely fine - I had it working/starting from a 3 letter alias, but I was asked to see if I could add the start mechanism link to the middle mouse menu to be consistent with the other systems. I have since made an Icon launcher on main desktop by the way as a backup to run (in case the menu option doesnt get solved)

The middle mouse menu already has 3 or 4 items but no one could find any literature on how to add another simple item to that menu.

The code works fine on all the systems - I just needed the mouse menu item add directions.
I was asked not to install extra features so I cant do the 9menu option, which I don't really need anyway, since there is already a middle mouse menu with items.

ps What was the comment about Using RHEL without PAYING FOR IT isn't a good idea - mean....????
 
Old 08-04-2020, 03:26 AM   #25
Geist
Member
 
Registered: Jul 2013
Distribution: Slackware 14 / current
Posts: 442

Rep: Reputation: 196Reputation: 196
I see, but just for your information:
This is absolutely retarded.
Running code from the middle mouse button as this kind of a hard constraint is absolutely pants on head retarded. Even if you were to spin me some sad story about disabilities where people have to use headsticks to actuate said middle mouse button, it would still be rather dumb, even if the story were absolutely true and legitimately heart rending, hearing of the fate of the person or people who have to use the computer this way.

But I'm going with: BS.
Even if it's all true, it's BS, and I recommend you telling your client to snoo snoo a hat.
Middle mouse is used for pasting on most Linux distros, and while I have no real experience with this particular instance of RHEL, I did use Fedora before and the middle click pasted there too.

So to even turn the middle mouse button into this kind of launcher is fighting standards to begin with.
Your client is dumb. If you want to help your client fix problems, start with that one.

So yeah, I recommend a strict regiment of percussive maintenance until the issue is resolved.

P.S.:
>What used to take 5 or 6 minutes or more now takes about 20 seconds with the code and it totally eliminates errors

Then bind that damn code to the middle mouse button, and not the menu, and if you were able to bind the menu to the middle mouse button then this menu must be a named command or external process so you could just do a websearch on that since you clearly need to know the name of it in order to bind it.

P.P.S.:
Why am I this gruff? And not friendly.
Because I'm 90% sure that this is just trolling, and in the worst way possible.
Lame, timid, stupid energy vampirism with enough ambiguous vagueness to keep suggestions going while still giving it that little edge of retardedness to subtly, but not even very much anger anyone (hence it being so boring, which, of course, is the real source of anger) who spends about an attosecond thinking about that problem.
Not to mention the "concern trolling" about "Oh I thought Linux was this eassyyyyyyyy just one file to edit" etc.


It has all the tells.

If this guy is legit then the only acceptable answer will be : Oh yeah, for now, I will bind the "code" (which reeks of BS in itself) to the middle mouse button, instead of the menu, since that code is the thing my client ran from the middle mouse button on the other OS.

Anything else = troll.

Last edited by Geist; 08-04-2020 at 05:49 AM.
 
2 members found this post helpful.
Old 08-04-2020, 08:17 AM   #26
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by tom Buug View Post
Thank you all for your patience and answers.
So system settings is where I will check next time I get over to the testing areas. Many thanks - I will let you know if it has the option.

The mystery code really has nothing to do with (how to add a mouse menu item) question - is an interactive program that grabs essential data from a variety of places - test logs, status csv files counter tracking files, etc etc and prompts the user for a few items - then stores in a db. On the other OS systems they run the code from a middle mouse menu. What used to take 5 or 6 minutes or more now takes about 20 seconds with the code and it totally eliminates errors.

On the RH5 systems they asked me to make a similar feature which runs absolutely fine - I had it working/starting from a 3 letter alias, but I was asked to see if I could add the start mechanism link to the middle mouse menu to be consistent with the other systems. I have since made an Icon launcher on main desktop by the way as a backup to run (in case the menu option doesnt get solved)

The middle mouse menu already has 3 or 4 items but no one could find any literature on how to add another simple item to that menu.

The code works fine on all the systems - I just needed the mouse menu item add directions. I was asked not to install extra features so I cant do the 9menu option, which I don't really need anyway, since there is already a middle mouse menu with items.
Not sure why you keep ignoring this: WHY are you using ancient RHEL 5 when (by your own admission), your 'client' **IS ALREADY USING SOMETHING ELSE**??? Why can't you use the exact same system(s) they're already using???
Quote:
ps What was the comment about Using RHEL without PAYING FOR IT isn't a good idea - mean....????
Did you not read or understand what was told to you several times already???

AGAIN: Using RHEL without paying for it means you DO NOT get patches/bugfixes/security updates, or access to the online repositories. Your system will be difficult to maintain and be unstable in a short time, not to mention the fact that you will have to manually download/install EVERY PACKAGE manually to do even the simplest of updates. Again, has been explained before.
 
Old 08-04-2020, 08:25 AM   #27
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
@all,

Let's not forget one of the site guidelines from LQ Rules:
Quote:
Challenge others' points of view and opinions, but do so respectfully and thoughtfully ... without insult and personal attack. Differing opinions is one of the things that make this site great.
 
Old 08-04-2020, 09:49 AM   #28
Geist
Member
 
Registered: Jul 2013
Distribution: Slackware 14 / current
Posts: 442

Rep: Reputation: 196Reputation: 196
Quote:
Originally Posted by rtmistler View Post
@all,

Let's not forget one of the site guidelines from LQ Rules:
Yeah, but...

What if it's not about different opinions but straight up shenanigans?
What if it's about shenanigans but they're 'respectful'?
What if I politely and respectfully waste your time? What if I mislead you with a smile on my face? Deliberately, for a laugh?
What if I undermined and degraded the web of trust and cooperation in any community, on a whim just to pass my time on their expense as long as I am polite about it?

I'm just sick of being lied to, this current age of humanity is quite chafing on the patience, and "leaving well enough alone" is a thing those who partake in the above should look for.
It's ...it's just enough. I've had enough insincerity and BS. I really, really do have enough of it, and I refuse to see "putting up with it" as the way to go anymore.
Putting up with it has been the standard for long enough, I'm fed up with the teasing of a thousand cuts, I want to cut back on the cutting.

If an aura of righteous savagery strikes fear and insecurity into those who degrade and erode basic trustful human communication, then: Good.
If anyone after one of my tirades starts to feel uneasy: Good.

I prefer this a trillion times of them keeping their sardonic faces leering and jeering they are so used to these days.
Oh, let's poke the nerds a bit, let's poke em, gotta be be polite while I pee in their cereal.

OP probably thought he was smart putting it in the newbie corner, then people like me will appear as "assholes" and scare off linux newbies, muahahaha take that! Linux!
They will be disgusted by the anger, the anger after asking for "something simple, a simple edit to a menu" which the 'nerds can't answer'
(but unbeknownst to actual newbies, we could, if it weren't some cockamamie scenario engineered for trolling purposes) and they get cheesed at that! Genius! ... Everyone weill hate Linux users if they're as nasty as Geist is!
(Despite 9menu being an ideal solution to it, which I have given)

Why would someone who has 'Linux clients with specific wishes' and post in the Newbie Corner? I mean, it's not impossible, but then with silly stuff like this?!

Anyway, it is not I who is that muscle, and instead newbies should relish the thought that someone out there has enough, has enough of deception and yet more little cuts like that.
And for a laugh too, that's the lowest of the low.

It's not like the kind of OP are doing it under great duress, no it's literally just for a joke. I...really, really don't like that anymore. I'm full.
Too much, too short of a time. Make saboteurs tremble again.

Last edited by Geist; 08-04-2020 at 10:00 AM.
 
2 members found this post helpful.
Old 08-04-2020, 11:36 AM   #29
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
^ Glorious.
 
2 members found this post helpful.
Old 08-04-2020, 03:43 PM   #30
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
One of those threads that seems to turn into anger. Where does it start????
 
  


Closed Thread



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
LXer: Red Hat powers cloud-scale DevOps with the general availability of Red Hat Cloud Suite and Red Hat OpenStack Platform 8 LXer Syndicated Linux News 0 04-20-2016 04:20 PM
[SOLVED] problem creating KDE menu items that actually show up in the menu SharpyWarpy Linux - Desktop 3 07-03-2012 08:28 PM
Removing KDE menu items from XFCE menu kr4ey Slackware 8 03-14-2011 03:29 AM
Cannot Change GNOME Menu Items to add/change Item for Mozilla 1.3 After Upgrade SForsgren Linux - General 4 03-26-2004 11:43 PM
How to add KDE menu items to Gnome menu... QtCoder Linux - General 4 10-05-2003 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:55 AM.

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