Calculators

I am used to using linux calculators. Whether Suse or Ubuntu, or gnome or mate, in the latest distros the calcs no longer respond the way they used to, meaning I used to

be able to right click on calc and get it to stay on top, or to move it. Now you have to use alt/space bar to select stay on top and alt F/7 to move it. Is there a way to restore the

easier right click options that use to work just fine?

At least on LXDE (which I have open at the moment) which has underlying Gnome Desktop components (but can’t guarantee same functionality always),

On any open window,
You can still

  1. Lft-Click on the icon in the top left of the window’s chrome and select “Layer > Always on top”
  2. Rt-Click on the window’s chrome and select the same “Layer > Always on top”

If you didn’t know, the “chrome” is the part of the window typically across the top that is separate from the actual window and content.

This should work for all windowed applications, calculator or not.

Maybe you need to be more specific about your setup and app?

TSU

Thinking a bit more about your question,

It wouldn’t surprise me that the Display Manager likely provides and enables various graphical features, possibly including what you’ve posted about.

Possible solution:
Change your Display Manager.

TSU

I am using suse 42.1 and gnome calc 3.16.2-2.4. Left click does nothing.

I see display which has to do with your monitor but no display manager. What am I missing?

The Display Manager is the piece of software that is responsible for how various objects are displayed on your screen. It’s independent of everything else including Desktop and OS, and is generally required for seeing anything graphical on your screen.

There are a number of other posts in this Forum which describes how to set your choice of Display Manager,
Here is one
https://forums.opensuse.org/showthread.php/517403-Login-as-IceWM-not-lightdm?highlight=display+manager

BTW - Many Display Managers can be used, but of course any has to first be installed (search in your YAST software manager is one way). You should know that the YAST method described in the above Forum thread may display only a partial list of choices, you may also be able to type a different Display Manager if it’s available.

TSU

I get this far but then do not know what to do?

File: /etc/sysconfig/displaymanager

Possible Values: kdm, xdm, gdm, wdm, entrance, console, lightdm, sddm or any value
Default Value:
Original Value: gdm
Description:

I found a work around. Using Galcutor and Konqueror gives me the tools I am missing in Gnome.

https://alexcabal.com/dear-gnome-devs-please-stop-trashing-gnome/

I installed xfce. In xfce the calculator works the way it is supposed to. Drag it, right click stay on top all work. Now why is that not the case in Gnome,Mate, or Plasma?

Still speculating a bit,
In each Desktop,
Open the /etc/sysconfig editor and inspect the current values for the DISPLAY_MANAGER and WINDOW_MANAGER.

Compare the two and see if there are differences, you can even set the values to be the same as the other Desktop while testing since it looks like the consequence isn’t major.

TSU

I get there but calc is not listed at least under applications or display.

These are system-wide config files.
They don’t change by just using a different desktop.

You are right that this functionality is provided by the window manager (not display manager, that is the login screen).
The setting in /etc/sysconfig/windowmanager is just the default desktop session and doesn’t matter really. It’s more important what the user selected at the login screen…

I don’t know about GNOME, but Plasma5 does offer these options when you right-click on the title bar or left-click on the window icon in the title bar.
You can also reach these options by right-clicking on the entry in the task manager in the bottom panel.

And you can even configure what buttons appear in the title bar, you can add a specific “Always on top” button if you want.
See “Configure Desktop”->“Application Appearance”->“Window Decoration”->“Buttons”.

For GNOME you might take a look at gnome-tweak-tool…

Where exactly is it not listed?
You mean in the YaST “/etc/sysconfig editor”?
That’s normal, why should it list applications?
It is intended to modify certain system settings, you can edit the corresponding files in /etc/sysconfig/ directly as well though.

Also, just out of curiosity, what “calc” are you actually talking about exactly?
In the end it doesn’t matter much though, as mentioned this is a function of your windowmanager/desktop environment and should be the same for every application.

Calculator 3.16.2

and yes I was using Yast etc/sys

Oddly I guess I enjoy using the different desktops Suse 42.1 provides. the only one that works exactly as I would like is xfce, there calc acts the way it used to in Mate Gnome

and Plasma.

So if you can show me the way to change the behavior of calc on other desktops that would be great!

Thanks

That’s GNOME Calculator then I suppose.

and yes I was using Yast etc/sys

Ok, forget about that, it won’t achieve what you want.

the only one that works exactly as I would like is xfce, there calc acts the way it used to in Mate Gnome

I don’t know how GNOME Calculator acts in Mate (this is not Gnome, though it is based on Gnome2) either, but Mate is available in openSUSE too.

So if you can show me the way to change the behavior of calc on other desktops that would be great!

Again, the behavior you are looking for is a function of the desktop (window manager), not the application.
Plasma has not changed in this regard, it still has a right-click menu that allows to set “Always on top” and other things, as I mentioned already.

But, GNOME Calculator is a GNOME/GTK3 application.
They nowadays tend to use Client Side decorations (i.e. they try to disable the “normal” window title bar), this might cause your “problem” because there might not be a menu bar at all.

In Plasma/KWin, you can override a lot of window settings set by the applications via “window rules” though, you should also be able to reenable the standard window title bar if it is disabled/removed.

Or maybe use a different application instead, kcalc e.g.

Yes I know xfce calc works fine… I thought I could find a tweak for calc, but no dice I guess. I quit using gedit same reason, now use pluma.