use joe‘s window manager(a.k.a jwm) on linux mint

get start

sudo apt install xfce4-appfinder xfdesktop4 plank mate-terminal

how to configure jwm

  1. use .jwmrc file in HOME directory
  2. use lightdm to manage wm or de(I am using mate)

provide a sample of .jwmrc

also SEE this post and user
https://blog.csdn.net/weixin_41328687/article/details/127142907

I am a freshman to jwm so


<JWM>
   
    <RootMenu>  
    
      
      <Program label="Terminal">mate-terminalProgram>
      <Program label="APPfinder">xfce4-appfinderProgram>
      <Program label="Xkill">xkillProgram>
      <Program label="Web">microsoft-edgeProgram>
<Separator/>
      
      <Menu label="Xfcedesktop">
        <Program label="On">xfdesktopProgram>
        <Program label="Off">killall xfdesktopProgram>
      Menu>
      
      <Menu label="Dock">
        <Program label="On">plankProgram>
        <Program label="Off">killall plankProgram>
      Menu>
 <Separator/>
        <Program label="Shutdown">shutdown nowProgram>
        <Program label="Reboot">rebootProgram>
        <Exit label="Logout" confirm="true" icon="system-log-out.png"/>
    RootMenu>
    

     
    <Tray x="0" y="1" height="30" autohide="on">

        <TrayButton icon="/usr/share/jwm/jwm-blue.svg">root:1TrayButton>
	
        
	
        <Pager labeled="true"/>

        <TaskList maxwidth="256"/>

        <Dock/>

        <Clock format="%b%_d日星期%a%H:%M">
	  <Button mask="123">exec:xclockButton>
	Clock>

    Tray>

    
    <WindowStyle>
        <Font>LiHei Pro,STHeiti K-18:boldFont>
        <Width>4Width>
        <Height>28Height>
        <Corner>3Corner>
        <Foreground>#FFFFFFForeground>
        <Background>#FFFFFFBackground>
        <Outline>#000000Outline>
        <Opacity>0.5Opacity>
        <Active>
            <Foreground>#FFFFFFForeground>
            <Background>#0877CCBackground>
            <Outline>#000000Outline>
            <Opacity>1.0Opacity>
        Active>
    WindowStyle>
    <TrayStyle group="true" list="all">
        <Font>LiHei Pro,STHeiti K-18Font>
        <Background>#333333Background>
        <Foreground>#FFFFFFForeground>
        <Outline>#000000Outline>
        <Opacity>0.75Opacity>
    TrayStyle>
    <TaskListStyle>
      <Font>LiHei Pro,STHeiti K-18Font>
      <Active>
        <Foreground>#FFFFFFForeground>
        <Background>#555555Background>
      Active>
      <Foreground>#FFFFFFForeground>
      <Background>#333333Background>
    TaskListStyle>
    <PagerStyle>
        <Outline>#000000Outline>
        <Foreground>#555555Foreground>
        <Background>#333333Background>
        <Text>#FFFFFFText>
        <Active>
            <Foreground>#00c073Foreground>
            <Background>#004488Background>
        Active>
    PagerStyle>
    <MenuStyle>
        <Font>LiHei Pro,STHeiti K-18Font>
        <Foreground>#FFFFFFForeground>
        <Background>#333333Background>
        <Outline>#000000Outline>
        <Active>
            <Foreground>#FFFFFFForeground>
            <Background>#0077CCBackground>
        Active>
        <Opacity>0.85Opacity>
    MenuStyle>
    <PopupStyle>
        <Font>LiHei Pro,STHeiti K-18Font>
        <Foreground>#000000Foreground>
        <Background>#5bc8a8Background>
    PopupStyle>

    
    

    
    
<Desktops width="4" height="1">
        
      
Desktops>

    
    <DoubleClickSpeed>1500DoubleClickSpeed>

    
    <DoubleClickDelta>10DoubleClickDelta>

    
    <FocusModel>sloppyFocusModel>

    
    <SnapMode distance="10">borderSnapMode>

    
    <MoveMode>opaqueMoveMode>

    
    <ResizeMode>opaqueResizeMode>

    
    <Key key="Up">upKey>
    <Key key="Down">downKey>
    <Key key="Right">rightKey>
    <Key key="Left">leftKey>
    <Key key="Return">selectKey>
    <Key key="Escape">escapeKey>
    
    
    <Key mask="S" key="F1">exec:xfce4-appfinderKey>
    <Key mask="S" key="u">exec:cajaKey>
    
    <Key mask="S" key="Delete">exec:xkillKey>
    

    <Key mask="A" key="h">maxhKey>
    <Key mask="A" key="v">maxvKey>
    <Key mask="A" key="Up">maxtopKey>
    <Key mask="A" key="Down">maxbottomKey>
    <Key mask="A" key="Left">maxleftKey>
    <Key mask="A" key="Right">maxrightKey>
    <Key mask="A" key="f">maximizeKey>
    <Key mask="A" key="m">minimizeKey>
    <Key mask="A" key="r">resizeKey>
    <Key mask="A" key="w">windowKey>
    <Key mask="A" key="F4">closeKey>
    <Key mask="A" key="d">showdesktopKey>

    <Key mask="A" key="Tab">nextstackedKey>
    
    <Key mask="C" key="Right">rdesktopKey>
    <Key mask="C" key="Left">ldesktopKey>
    <Key mask="CA" key="Right">sendrKey>
    <Key mask="CA" key="Left">sendlKey>

  
    <StartupCommand>pulseaudio --start --daemonize=yesStartupCommand>
    <StartupCommand>xset s 3600StartupCommand>
    <StartupCommand>xset -dpmsStartupCommand>
    <StartupCommand>redshiftStartupCommand>
JWM>

你可能感兴趣的:(window体验,linux)