LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-04-2021, 04:32 PM   #1
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,303
Blog Entries: 4

Rep: Reputation: 193Reputation: 193
Raise/Lower option in various window manager


I had installed icewm on a raspberry pi for a specific reason and noticed it had a raise/lower window function which reminded me of my old Amige workbench 1.3. I'm wondering if there are other window managers which have the specific function that can be enabled? Anyone else see it before?
 
Old 04-04-2021, 09:07 PM   #2
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,303

Original Poster
Blog Entries: 4

Rep: Reputation: 193Reputation: 193
SO it looks like thats a basic function of X windows. XFCE for example has Alt Shift PgDn keyboard shortcut mapped to lower.
 
Old 04-04-2021, 10:28 PM   #3
BradReed
Member
 
Registered: Apr 2015
Location: Earth
Distribution: Slackware-current
Posts: 86

Rep: Reputation: 37
I use e16 (old version of enlightenment) and it has the raise lower enabled.
Right-click on title bar offers:
Close
Annihilate
Iconify
Leave alone
Raise
Lower
Shade/Unshade
Stick/Unstick
and much more, including options to change size, stacking, border style, window grouping, opacity, and focus settings.
 
Old 04-05-2021, 10:11 AM   #4
chemfire
Member
 
Registered: Sep 2012
Posts: 293

Rep: Reputation: Disabled
You might have a look at devilspie as well; if you want to automate some of these actions
 
Old 04-05-2021, 05:28 PM   #5
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,303

Original Poster
Blog Entries: 4

Rep: Reputation: 193Reputation: 193
Thanks, so what I'm trying to do is get the buttons for those on the title bar of each window.
 
Old 04-05-2021, 07:04 PM   #6
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Brú na Bóinne, IE
Distribution: Slackware, NetBSD
Posts: 1,857

Rep: Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334
Of the window managers I have a passing familiarity with, I know that Openbox, JWM and Fluxbox support keybindings / window menu entries for Raise and Lower. I would be surprised if Fvwm didn't have it. Plasma5's kwin_x11 has it.

Some of these can be used to replace the default window manager. I use kwin_x11 with Xfce4, for example, and occasionally with Mate. Openbox can also replace the default window manager.

Last edited by Gerard Lally; 04-05-2021 at 07:10 PM.
 
Old 04-05-2021, 08:29 PM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,582

Rep: Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158
I make use of the Windowmaker feature of a double left click on the title bar to hide or display the window contents.
 
Old 04-05-2021, 09:12 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,220
Blog Entries: 27

Rep: Reputation: 5327Reputation: 5327Reputation: 5327Reputation: 5327Reputation: 5327Reputation: 5327Reputation: 5327Reputation: 5327Reputation: 5327Reputation: 5327Reputation: 5327
These days, most desktop environments seem to default "double-click on the title bar" to "maximize."

However, in the settings, you can usually find a way to change that to "shade" or "roll up." Where the setting is located depends on the DE, but it's usually under mouse, window, or desktop settings.

Last edited by frankbell; 04-05-2021 at 09:16 PM.
 
Old 04-06-2021, 05:22 AM   #9
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Brú na Bóinne, IE
Distribution: Slackware, NetBSD
Posts: 1,857

Rep: Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334
Quote:
Originally Posted by allend View Post
I make use of the Windowmaker feature of a double left click on the title bar to hide or display the window contents.
That's Shading. I think the OP means raising and lowering windows in the stack. You can set up your WM, for example, with Click to Focus and with Raise, so that the window is brought to the foreground when you click on it. Some window managers allow you to focus a window and receive input without raising it in the stack. Without bringing it to the front, in other words.
 
Old 04-06-2021, 05:24 AM   #10
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Brú na Bóinne, IE
Distribution: Slackware, NetBSD
Posts: 1,857

Rep: Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334
Quote:
Originally Posted by enine View Post
Thanks, so what I'm trying to do is get the buttons for those on the title bar of each window.
That depends on the window manager you're using, if not IceWM.
 
Old 04-06-2021, 08:49 AM   #11
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,582

Rep: Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158
Quote:
Originally Posted by Gerard Lally View Post
That's Shading. I think the OP means raising and lowering windows in the stack. You can set up your WM, for example, with Click to Focus and with Raise, so that the window is brought to the foreground when you click on it. Some window managers allow you to focus a window and receive input without raising it in the stack. Without bringing it to the front, in other words.
In Windowmaker, I use Ctrl-Alt-Right or Ctrl-Alt-Left for raising and lowering windows in the stack. I do not have a use case for a window receiving input without being brought to the front.
 
Old 04-07-2021, 08:16 PM   #12
notzed
LQ Newbie
 
Registered: Dec 2020
Location: South Australia
Distribution: slackware64-current
Posts: 16

Rep: Reputation: Disabled
Quote:
Originally Posted by Gerard Lally View Post
That's Shading. I think the OP means raising and lowering windows in the stack. You can set up your WM, for example, with Click to Focus and with Raise, so that the window is brought to the foreground when you click on it. Some window managers allow you to focus a window and receive input without raising it in the stack. Without bringing it to the front, in other words.
When you get used to it it's incredibly handy (and extremely frustrating when the wm doesn't support it), for example if you have a shell window bottom-left and an editor/ide/documentation that is mostly overlapping it but leaves room to see the full command line. Rather than swap windows around continuously you just flick the mouse there (focus follows mouse) and run your related commands, and can always bring it to the front if you need to see all the output. Lots of other cases where you don't need to see everything but might want keyboard input to change something it's doing.

Also an Amiga veteran here. The xfce settings window doesn't have the buttons for raise/lower unfortunately so i just mapped the toggle-depth button on my Amiga theme to iconise although i almost never use it, and rely on shift-click-window or click-title to raise them which is usually more convenient anyway.

(as an aside, wouldn't it have been nice to have amiga menu's (global, but are hidden until you press the RMB) rather than the horrid hamburger menu or giant CSD borders to gain extra vertical work area).
 
Old 04-08-2021, 02:02 AM   #13
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Brú na Bóinne, IE
Distribution: Slackware, NetBSD
Posts: 1,857

Rep: Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334Reputation: 1334
Quote:
Originally Posted by notzed View Post
When you get used to it it's incredibly handy (and extremely frustrating when the wm doesn't support it), for example if you have a shell window bottom-left and an editor/ide/documentation that is mostly overlapping it but leaves room to see the full command line. Rather than swap windows around continuously you just flick the mouse there (focus follows mouse) and run your related commands
Indeed. All of these intelligent ideas no longer welcome in the millennial world of eye candy.
 
Old 04-08-2021, 11:16 AM   #14
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,303

Original Poster
Blog Entries: 4

Rep: Reputation: 193Reputation: 193
Quote:
Originally Posted by notzed View Post
When you get used to it it's incredibly handy (and extremely frustrating when the wm doesn't support it), for example if you have a shell window bottom-left and an editor/ide/documentation that is mostly overlapping it but leaves room to see the full command line. Rather than swap windows around continuously you just flick the mouse there (focus follows mouse) and run your related commands, and can always bring it to the front if you need to see all the output. Lots of other cases where you don't need to see everything but might want keyboard input to change something it's doing.

Also an Amiga veteran here. The xfce settings window doesn't have the buttons for raise/lower unfortunately so i just mapped the toggle-depth button on my Amiga theme to iconise although i almost never use it, and rely on shift-click-window or click-title to raise them which is usually more convenient anyway.

(as an aside, wouldn't it have been nice to have amiga menu's (global, but are hidden until you press the RMB) rather than the horrid hamburger menu or giant CSD borders to gain extra vertical work area).
I would really love to get Amiwm working but I can't get the 1.3patch to apply so I was going to try and see if I could make another WM similar. It seems there are a bunch of config files to xfce themes so I'm looking to see if I can enable those buttons on the titlebar. It looks like it should

Code:
# button_layout :
#    O = Option menu
#    T = Stick
#    H = hide
#    S = shade
#    M = maximize
#    C = close
#    | = title
button_layout=OTS|HMC
from https://wiki.xfce.org/howto/xfwm4_theme
 
Old 04-08-2021, 09:07 PM   #15
notzed
LQ Newbie
 
Registered: Dec 2020
Location: South Australia
Distribution: slackware64-current
Posts: 16

Rep: Reputation: Disabled
Quote:
Originally Posted by enine View Post
I would really love to get Amiwm working but I can't get the 1.3patch to apply so I was going to try and see if I could make another WM similar. It seems there are a bunch of config files to xfce themes so I'm looking to see if I can enable those buttons on the titlebar. It looks like it should

Code:
# button_layout :
#    O = Option menu
#    T = Stick
#    H = hide
#    S = shade
#    M = maximize
#    C = close
#    | = title
button_layout=OTS|HMC
from https://wiki.xfce.org/howto/xfwm4_theme
But that matches the windowmanager settings window and still doesn't have raise or lower - but at least you can put the close button in a sane location. Also there's gtk3 csd which are an unholy mess, assuming you haven't just disabled those (it is possible to fix the button positions at least using css).

Anyway if you're interested in the look as well as behaviour, this is what I use as my theme: http://www.zedzone.space/software/workbench-2.0.html but it includes widgets too (a slightly ugly mix, gtk2 -> wb2, gtk3 -> wb3). The gtk3 handles CSD windows as best it can including a fat bottom border so you actually resize windows. The git version is required for slackware-current and i'm still sometimes fiddling with it.

I had to finally give up on AmiWM a while ago, I can't remember why - probably multi-monitor support and perhaps 64-bit breakage.
 
  


Reply


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
[SOLVED] Regular expression needed to write [[:lower:]] to [[:lower:]] and [[:upper:]] rgdacosta Programming 13 04-05-2012 12:50 PM
Hotkey to raise/lower specific application/window mike11 Linux - Newbie 6 09-05-2010 10:23 PM
Window focus: where is click-titlebar-to-raise? TristanDee Debian 2 01-17-2008 09:00 AM
compiz fusion How to raise window off the cube? dv502 Linux - General 2 11-18-2007 07:10 AM
Command line to raise a window? joely2k Linux - General 2 11-25-2005 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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