Difference between pages "Subarches" and "Package:Spectrwm"

(Difference between pages)
(amd64-k10)
 
 
Line 1: Line 1:
{{:Install/Header}}
+
{{Ebuild
= Funtoo Linux Sub-Architectures =
+
|Summary=A small, dynamic tiling window manager for X11.
__NOTITLE__
+
|CatPkg=x11-wm/spectrwm
This page provides an overview of Funtoo Linux sub-architectures (also called ''subarches'',) designed for quick and easy reference. While this information is available in other places, such as Wikipedia, it often takes some time to study and cross-reference the various articles to get a good understanding of each type of sub-architecture, and this information generally isn't all collected neatly in one place. That is the purpose of this page. When possible, links to more detailed Wikipedia pages are provided. You are encouraged to help maintain this page as well as the Wikipedia articles referenced here.
+
|Maintainer=
 +
|Homepage=https://opensource.conformal.com/wiki/spectrwm
 +
}}
  
== AMD Processors ==
+
{{Note|Spectrwm was previously known as Scrotwm.}}
  
=== amd64-k10 ===
+
==== Introduction ====
 +
From their page:
 +
spectrwm is a small dynamic tiling window manager for X11. It tries to stay out of the way so that valuable screen real estate can be used for much more important stuff. It has sane defaults and does not require one to learn a language to do any configuration. It was written by hackers for hackers and it strives to be small, compact and fast.
  
The '''amd64-k10''' subarch provides support for the [[Wikipedia:AMD10h|AMD Family 10h processors]], which were released in late 2007 as a successor to the AMD K8 series processors.
 
  
Desktop amd64-k10 CPUs include [[Wikipedia:AMD Phenom|AMD Phenom]], [[Wikipedia:AMD_10h#Phenom_II_Models|AMD Phenom II]] and [[Wikipedia:AMD_10h#Athlon_II_Models|AMD Athlon II]]. Server CPUs include Budapest, Barcelona, Suzuka, Shanghai, Istanbul, Lisbon, and Magny-Cours (a full listing of amd64-k10 Opterons  [[Wikipedia:List_of_AMD_Opteron_microprocessors#K10_based_Opterons|can be found here]].)
 
  
=== amd64-bulldozer ===
+
==== Installation ====
 +
<console>
 +
# ##i##emerge x11-wm/spectrwm
 +
</console>
 +
Xlockmore is also needed
 +
<console>
 +
# ##i##emerge x11-misc/xlockmore
 +
</console>
  
The '''amd64-bulldozer''' subarch supports the [[Wikipedia:Bulldozer (microarchitecture)|AMD bulldozer microarchitecture]] CPUs, which were released from late 2011 through the first quarter of 2012 as a replacement for the [[Wikipedia:AMD10h|K10 microarchitecture]] CPUs.
 
Bulldozer CPUs use the [[Wikipedia:Socket_AM3+|AM3+ socket]] and [[Wikipedia:Socket_G34|G34 socket]] for server CPUs.
 
  
Desktop bulldozer CPUs include the '''[[Wikipedia:List_of_AMD_FX_microprocessors#.22Zambezi.22_.2832_nm_SOI.29|Zambezi FX-series CPUs]]'''. Server bulldozer CPUs include '''Zurich''' (Opteron 3200-series), '''Valencia''' (Opteron 4200-series) and '''Interlagos''' (Opteron 6200 series). [[Wikipedia:http://en.wikipedia.org/wiki/Opteron#Opteron_.2832_nm_SOI.29-_First_Generation_Bulldozer_Microarchitecture|More information here.]].
+
==== Setup ====
 +
===== xinitrc =====
 +
Edit ~/.xinitrc:
 +
<pre>
 +
exec spectrwm
 +
</pre>
 +
Copy /etc/spectrwm.conf to your home dir as an hidden file.
 +
<console>
 +
$ ##i## cp /etc/spectrwm.conf ~/.spectrwm.conf
 +
</console>
 +
You can edit spectrwm.conf to suit your needs. The file is thoroughly commented so you won't feel lost.
  
=== amd64-piledriver ===
+
==== Bindings (default) ====
 +
{{Note|Usually the M (Modus) key is either alt or the super key.}}
 +
From the man page:
  
The '''amd64-piledriver''' subarch supports the [[Wikipedia:Piledriver (microarchitecture)|AMD Piledriver microarchitecture]] produced by AMD from mid-2012 through 2015, which is the successor to the [[Wikipedia:Bulldozer (microarchitecture)|AMD bulldozer microarchitecture]].
+
BINDINGS
Piledriver CPUs and APUs are available that use the [[Wikipedia:FM2 Socket|FM2 socket]]. Desktop Piledriver CPUs use the [[Wikipedia:Socket_AM3+|AM3+ socket]]. Server Piledriver CPUs use a variety of sockets, including [[Wikipedia:Socket_AM3+|AM3+]], [[Wikipedia:Socket_C32|C32]] and [[Wikipedia:Socket_G34|G34]].
+
  
Desktop piledriver CPU and APUs include '''Vishera''' (FX-8350, FX-8370),  '''[[Wikipedia:List_of_AMD_accelerated_processing_unit_microprocessors#Virgo:_.22Trinity.22_.282012.2C_32_nm.29|Trinity A-series APUs]]''' (A6-5400K, A10-5800K) and '''[[Wikipedia:http://en.wikipedia.org/wiki/List_of_AMD_accelerated_processing_unit_microprocessors#.22Richland.22_.282013.2C_32_nm.29_2|Richland A-series APUs]]'''.  
+
    spectrwm provides many functions (or actions) accessed via key or mouse
 +
    bindings.
  
Server piledriver CPUs include '''Delhi''' (Opteron 3300-series, [[Wikipedia:Socket_AM3+|AM3+]]), '''Seoul''' (Opteron 4300-series, [[Wikipedia:Socket_C32|C32]])  and '''Abu Dhabi''' (Opteron 6300-series, [[Wikipedia:Socket_G34|G34]]). [[Wikipedia:Opteron#Opteron_.2832_nm_SOI.29_-_Piledriver_Microarchitecture|More information here]].
+
    The current mouse bindings are described below:
 +
{| class="wikitable sortable"
 +
|-
 +
! Mouse binding  !! description
 +
|-
 +
| M1 || Focus window
 +
|-
 +
| M-M1 || Move window
 +
|-
 +
| M-M3|| Resize window
 +
|-
 +
| M-S-M3|| Resize window while maintaining it centered
 +
|}                     
  
Piledriver adds several new instructions over bulldozer, so AMD bulldozer systems cannot run amd64-piledriver-optimized stages. However, this subarch is  instruction-compatible with its successor, the, so amd64-piledriver stages can run on amd64-steamroller systems, and vice versa.
+
    The default key bindings are described below:
  
=== amd64-steamroller ===
+
          M-S-<Return>        term
 +
          M-p                menu
 +
          M-S-q              quit
 +
          M-q                restart
 +
          M-<Space>          cycle_layout
 +
          M-S-<\>            flip_layout
 +
          M-S-<Space>        stack_reset
 +
          M-h                master_shrink
 +
          M-l                master_grow
 +
          M-,                master_add
 +
          M-.                master_del
 +
          M-S-,              stack_inc
 +
          M-S-.              stack_dec
 +
          M-<Return>          swap_main
 +
          M-j, M-<TAB>        focus_next
 +
          M-k, M-S-<TAB>      focus_prev
 +
          M-m                focus_main
 +
          M-S-j              swap_next
 +
          M-S-k              swap_prev
 +
          M-b                bar_toggle
 +
          M-S-b              bar_toggle_ws
 +
          M-x                wind_del
 +
          M-S-x              wind_kill
 +
          M-<1-9,0,F1-F12>    ws_<1-22>
 +
          M-S-<1-9,0,F1-F12>  mvws_<1-22>
 +
          M-<Keypad 1-9>      rg_<1-9>
 +
          M-S-<Keypad 1-9>    mvrg_<1-9>
 +
          M-<Right>          ws_next
 +
          M-<Left>            ws_prev
 +
          M-<Up>              ws_next_all
 +
          M-<Down>            ws_prev_all
 +
          M-a                ws_next_move
 +
          M-S-<Left>          ws_prev_move
 +
          M-S-<Up>            ws_prior
 +
          M-S-<Right>        rg_next
 +
          M-S-<Left>          rg_prev
 +
          M-s                screenshot_all
 +
          M-S-s              screenshot_wind
 +
          M-S-v              version
 +
          M-t                float_toggle
 +
          M-S-<Delete>        lock
 +
          M-S-i              initscr
 +
          M-w                iconify
 +
          M-S-w              uniconify
 +
          M-S-r              always_raise
 +
          M-v                button2
 +
          M--                width_shrink
 +
          M-=                 width_grow
 +
          M-S--              height_shrink
 +
          M-S-=               height_grow
 +
          M-[                move_left
 +
          M-]                move_right
 +
          M-S-[              move_up
 +
          M-S-]              move_down
 +
          M-S-/              name_workspace
 +
          M-/                search_workspace
 +
          M-f                search_win
  
The '''amd64-steamroller''' subarch supports the  [[Wikipedia:Steamroller (microarchitecture)|AMD steamroller microarchitecture]], produced from early 2014. It is the successor to the [[Wikipedia:Piledriver (microarchitecture)|AMD Piledriver microarchitecture]].
+
The action names and descriptions are listed below:
Steamroller APUs are available that use the [[Wikipedia:FM2+ Socket|FM2+ socket]] and  [[Wikipedia:Socket_FP3|FP3 socket]] (mobile.)
+
  
Desktop steamroller APUs include the '''[[Wikipedia:AMD_Accelerated_Processing_Unit#Steamroller_architecture_.282014.29:_Kaveri|Kaveri A-Series APUs]]''', such as the quad-core AMD A10-7850K APU. Steamroller APUs are also available in mobile versions. Server steamroller APUs include the '''Berlin APUs''', which are not yet released.
+
          term              Spawn a new terminal (see PROGRAMS above).
 
+
          menu              Menu (see PROGRAMS above).
Amd64-steamroller subarches are instruction-compatible with amd64-piledriver, but add new instructions over amd64-bulldozer.
+
          quit              Quit spectrwm.
 
+
          restart          Restart spectrwm.
=== amd64-jaguar ===
+
          cycle_layout      Cycle layout.
 
+
          flip_layout      Swap the master and stacking areas.
The '''amd64-jaguar''' (also called AMD Family 16h) subarch supports the  [[Wikipedia:Jaguar (microarchitecture)|AMD jaguar microarchitecture]], which is targeted at low-power devices, including notebooks, tablets and small form-factor desktops and servers. It is perhaps most well-known for being the microarchitecture used for the [[Wikipedia:Playstation 4|Playstation 4]] and [[Wikipedia:Xbox One|Xbox One]], which each use custom 8-core Jaguar APUs.
+
          stack_reset      Reset layout.
Socketed Jaguar APUs use the [[Wikipedia:AM1 Socket|AM1 socket]] and [[Wikipedia:Socket_FT3|FT3 socket]] for mobile devices. G-series [[Wikipedia:System_on_a_chip|"system on a chip" (SoC)]] APUs are available for non-socketed devices such as tablets and embedded system boards.
+
          master_shrink    Shrink master area.
 
+
          master_grow      Grow master area.
Desktop Jaguar APUs include the '''[[Wikipedia:List_of_AMD_accelerated_processing_unit_microprocessors#.22Kabini.22.2C_.22Temash.22_.282013.2C_28_nm.29|Kabini A-series APUs and Temash E-series APUs]]''', Athlon 5150 and 5350 APUs, and Sempron 2650 and 3850.
+
          master_add        Add windows to master area.
 
+
          master_del        Remove windows from master area.
Amd64-jaguar subarches use the MOVBE instruction which is not available on amd64-bulldozer, amd64-piledriver or amd64-steamroller. They are thus not instruction-compatible with any of these subarches.
+
          stack_inc        Add columns/rows to stacking area.
{{:Install/Footer}}
+
          stack_dec        Remove columns/rows from stacking area.
 +
          swap_main        Move current window to master area.
 +
          focus_next        Focus next window in workspace.
 +
          focus_prev        Focus previous window in workspace.
 +
          focus_main        Focus on main window in workspace.
 +
          swap_next        Swap with next window in workspace.
 +
          swap_prev        Swap with previous window in workspace.
 +
          bar_toggle        Toggle overall visibility of status bars.
 +
          bar_toggle_ws    Toggle status bar on current workspace.
 +
          wind_del          Delete current window in workspace.
 +
          wind_kill        Destroy current window in workspace.
 +
          ws_n              Switch to workspace n, where n is 1 through
 +
                            workspace_limit.
 +
          mvws_n            Move current window to workspace n, where n is 1
 +
                            through workspace_limit.
 +
          rg_n              Focus on region n, where n is 1 through 9.
 +
          mvrg_n            Move current window to region n, where n is 1
 +
                            through 9.
 +
          ws_next          Switch to next workspace with a window in it.
 +
          ws_prev          Switch to previous workspace with a window in it.
 +
          ws_next_all      Switch to next workspace.
 +
          ws_prev_all      Switch to previous workspace.
 +
          ws_next_move      Switch to next workspace with the current window.
 +
          ws_prev_move      Switch to previous workspace with the current
 +
                            window.
 +
          ws_prior          Switch to last visited workspace.
 +
          rg_next          Switch to next region.
 +
          rg_prev          Switch to previous region.
 +
          screenshot_all    Take screenshot of entire screen (if enabled)
 +
                            (see PROGRAMS above).
 +
          screenshot_wind  Take screenshot of selected window (if enabled)
 +
                            (see PROGRAMS above).
 +
          version          Toggle version in status bar.
 +
          float_toggle      Toggle focused window between tiled and floating.
 +
          lock              Lock screen (see PROGRAMS above).
 +
          initscr          Reinitialize physical screens (see PROGRAMS
 +
                            above).
 +
          iconify          Minimize (unmap) currently focused window.
 +
          uniconify        Maximize (map) window returned by dmenu
 +
                            selection.
 +
          always_raise      When set tiled windows are allowed to obscure
 +
                            floating windows.
 +
          button2          Fake a middle mouse button click (mouse button
 +
                            2).
 +
          width_shrink      Shrink the width of a floating window.
 +
          width_grow        Grow the width of a floating window.
 +
          height_shrink    Shrink the height of a floating window.
 +
          height_grow      Grow the height of a floating window.
 +
          move_left        Move a floating window a step to the left.
 +
          move_right        Move a floating window a step to the right.
 +
          move_up          Move a floating window a step upwards.
 +
          move_down        Move a floating window a step downwards.
 +
          name_workspace    Name the current workspace.
 +
          search_workspace  Search for a workspace.
 +
          search_win        Search the windows in the current workspace.
 +
{{EbuildFooter}}

Revision as of 02:54, November 17, 2014

x11-wm/spectrwm


Source Repository:Gentoo Portage Tree
Homepage

Summary: A small, dynamic tiling window manager for X11.

Spectrwm


Note

Spectrwm was previously known as Scrotwm.

Introduction

From their page: spectrwm is a small dynamic tiling window manager for X11. It tries to stay out of the way so that valuable screen real estate can be used for much more important stuff. It has sane defaults and does not require one to learn a language to do any configuration. It was written by hackers for hackers and it strives to be small, compact and fast.


Installation

# emerge x11-wm/spectrwm 

Xlockmore is also needed

# emerge x11-misc/xlockmore


Setup

xinitrc

Edit ~/.xinitrc:

exec spectrwm

Copy /etc/spectrwm.conf to your home dir as an hidden file.

 $  cp /etc/spectrwm.conf ~/.spectrwm.conf

You can edit spectrwm.conf to suit your needs. The file is thoroughly commented so you won't feel lost.

Bindings (default)

Note

Usually the M (Modus) key is either alt or the super key.

From the man page:

BINDINGS

    spectrwm provides many functions (or actions) accessed via key or mouse
    bindings.
    The current mouse bindings are described below:
Mouse binding description
M1 Focus window
M-M1 Move window
M-M3 Resize window
M-S-M3 Resize window while maintaining it centered
    The default key bindings are described below:
          M-S-<Return>        term
          M-p                 menu
          M-S-q               quit
          M-q                 restart
          M-<Space>           cycle_layout
          M-S-<\>             flip_layout
          M-S-<Space>         stack_reset
          M-h                 master_shrink
          M-l                 master_grow
          M-,                 master_add
          M-.                 master_del
          M-S-,               stack_inc
          M-S-.               stack_dec
          M-<Return>          swap_main
          M-j, M-<TAB>        focus_next
          M-k, M-S-<TAB>      focus_prev
          M-m                 focus_main
          M-S-j               swap_next
          M-S-k               swap_prev
          M-b                 bar_toggle
          M-S-b               bar_toggle_ws
          M-x                 wind_del
          M-S-x               wind_kill
          M-<1-9,0,F1-F12>    ws_<1-22>
          M-S-<1-9,0,F1-F12>  mvws_<1-22>
          M-<Keypad 1-9>      rg_<1-9>
          M-S-<Keypad 1-9>    mvrg_<1-9>
          M-<Right>           ws_next
          M-<Left>            ws_prev
          M-<Up>              ws_next_all
          M-<Down>            ws_prev_all
          M-a                 ws_next_move
          M-S-<Left>          ws_prev_move
          M-S-<Up>            ws_prior
          M-S-<Right>         rg_next
          M-S-<Left>          rg_prev
          M-s                 screenshot_all
          M-S-s               screenshot_wind
          M-S-v               version
          M-t                 float_toggle
          M-S-<Delete>        lock
          M-S-i               initscr
          M-w                 iconify
          M-S-w               uniconify
          M-S-r               always_raise
          M-v                 button2
          M--                 width_shrink
          M-=                 width_grow
          M-S--               height_shrink
          M-S-=               height_grow
          M-[                 move_left
          M-]                 move_right
          M-S-[               move_up
          M-S-]               move_down
          M-S-/               name_workspace
          M-/                 search_workspace
          M-f                 search_win

The action names and descriptions are listed below:

          term              Spawn a new terminal (see PROGRAMS above).
          menu              Menu (see PROGRAMS above).
          quit              Quit spectrwm.
          restart           Restart spectrwm.
          cycle_layout      Cycle layout.
          flip_layout       Swap the master and stacking areas.
          stack_reset       Reset layout.
          master_shrink     Shrink master area.
          master_grow       Grow master area.
          master_add        Add windows to master area.
          master_del        Remove windows from master area.
          stack_inc         Add columns/rows to stacking area.
          stack_dec         Remove columns/rows from stacking area.
          swap_main         Move current window to master area.
          focus_next        Focus next window in workspace.
          focus_prev        Focus previous window in workspace.
          focus_main        Focus on main window in workspace.
          swap_next         Swap with next window in workspace.
          swap_prev         Swap with previous window in workspace.
          bar_toggle        Toggle overall visibility of status bars.
          bar_toggle_ws     Toggle status bar on current workspace.
          wind_del          Delete current window in workspace.
          wind_kill         Destroy current window in workspace.
          ws_n              Switch to workspace n, where n is 1 through
                            workspace_limit.
          mvws_n            Move current window to workspace n, where n is 1
                            through workspace_limit.
          rg_n              Focus on region n, where n is 1 through 9.
          mvrg_n            Move current window to region n, where n is 1
                            through 9.
          ws_next           Switch to next workspace with a window in it.
          ws_prev           Switch to previous workspace with a window in it.
          ws_next_all       Switch to next workspace.
          ws_prev_all       Switch to previous workspace.
          ws_next_move      Switch to next workspace with the current window.
          ws_prev_move      Switch to previous workspace with the current
                            window.
          ws_prior          Switch to last visited workspace.
          rg_next           Switch to next region.
          rg_prev           Switch to previous region.
          screenshot_all    Take screenshot of entire screen (if enabled)
                            (see PROGRAMS above).
          screenshot_wind   Take screenshot of selected window (if enabled)
                            (see PROGRAMS above).
          version           Toggle version in status bar.
          float_toggle      Toggle focused window between tiled and floating.
          lock              Lock screen (see PROGRAMS above).
          initscr           Reinitialize physical screens (see PROGRAMS
                            above).
          iconify           Minimize (unmap) currently focused window.
          uniconify         Maximize (map) window returned by dmenu
                            selection.
          always_raise      When set tiled windows are allowed to obscure
                            floating windows.
          button2           Fake a middle mouse button click (mouse button
                            2).
          width_shrink      Shrink the width of a floating window.
          width_grow        Grow the width of a floating window.
          height_shrink     Shrink the height of a floating window.
          height_grow       Grow the height of a floating window.
          move_left         Move a floating window a step to the left.
          move_right        Move a floating window a step to the right.
          move_up           Move a floating window a step upwards.
          move_down         Move a floating window a step downwards.
          name_workspace    Name the current workspace.
          search_workspace  Search for a workspace.
          search_win        Search the windows in the current workspace.