解像度を縮小したことによって当然といえば当然ですが、JWMや各種アプリケーションが画面上では大きく表示されるようになりました。元のサイズに戻すために今回はJWMを弄りました。
/etc/xdg/templates/_root_.jwmrc
コード: 全て選択
<?xml version="1.0"?>
<JWM>
<!-- version flag for rc.update -->
<!-- When updating change number here and in rc.update -->
<!-- XDG_JWMRC_VERSION_003 -->
<!-- IMPORTANT, ONLY EDIT /etc/xdg/templates/_root_.jwmrc -->
<!-- jwm menus for puppy Linux -->
<RootMenu label="Menu" labeled="false" height="14" onroot="9">
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-favorites.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-desktop.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-system.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-setup.menu
<Separator/>
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-utility.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-filesystem.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-graphic.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-document.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-calculate.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-personal.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-network.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-internet.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-multimedia.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-fun.menu
<Separator/>
<Program label="ヘルプ" icon="help48.png">/usr/sbin/puppyhelp</Program>
<Program label="Notes" icon="help48.png">/usr/bin/show_scpup_notes.sh</Program>
<Program label="シャットダウン" icon="shutdown48.png">/usr/sbin/logout_gui</Program>
</RootMenu>
<!-- General classes -->
<Group>
<Class>splashwindow</Class>
<Option>nolist</Option>
<Option>layer:above</Option>
<Option>nopager</Option>
<Option>nofocus</Option>
</Group>
<Group>
<Class>applet</Class>
<Option>layer:below</Option>
<Option>noborder</Option>
<Option>notitle</Option>
<Option>sticky</Option>
<Option>nolist</Option>
<Option>nopager</Option>
</Group>
<Group>
<Class>ontop</Class>
<Option>layer:above</Option>
</Group>
<Group>
<Class>maximized</Class>
<Option>maximized</Option>
</Group>
<Group>
<Class>fullscreen</Class>
<Option>fullscreen</Option>
</Group>
<Group>
<Class>nolist</Class>
<Option>nolist</Option>
</Group>
<Group>
<Class>noborder</Class>
<Option>noborder</Option>
</Group>
<Group>
<Class>notitle</Class>
<Option>notitle</Option>
</Group>
<Group>
<Class>sticky</Class>
<Option>sticky</Option>
</Group>
<!-- 130630 joe added support disable flashing in tray, all apps -->
<Group>
<Option>noturgent</Option>
</Group>
<Group>
<Class>gtkdialog-splash</Class>
<Option>nolist</Option>
<!-- <Option>layer:above</Option> -->
<Option>nofocus</Option>
</Group>
<!-- Styles -->
<WindowStyle>
<Font>Sans-10</Font>
<Width>3</Width>
<Height>22</Height>
<Foreground>#aaaaaa</Foreground>
<Background>#fffa71:#ffda51</Background>
<Corner>4</Corner>
<Outline>gray70</Outline>
<Active>
<Foreground>black</Foreground>
<Background>#ffda51:#ffa100</Background>
<Outline>black</Outline>
</Active>
</WindowStyle>
<PagerStyle>
<Outline>black</Outline>
<Foreground>#ffc100</Foreground>
<Background>#ffc100</Background>
<Active>
<Foreground>#ff8100</Foreground>
<Background>#ffa100</Background>
</Active>
</PagerStyle>
<MenuStyle>
<Font>Sans-10</Font>
<Foreground>black</Foreground>
<Background>#ffda51</Background>
<Active>
<Foreground>black</Foreground>
<Background>#ffda51:#ffa100</Background>
</Active>
</MenuStyle>
<PopupStyle>
<Font>Sans-10</Font>
<Outline>black</Outline>
<Foreground>black</Foreground>
<Background>yellow</Background>
</PopupStyle>
<!-- <Icons> -->
<IconPath>/usr/share/pixmaps</IconPath>
<IconPath>/usr/share/icons/hicolor/48x48/apps</IconPath>
<IconPath>/usr/share/icons/hicolor/32x32/apps</IconPath>
<IconPath>/usr/share/icons/hicolor/64x64/apps</IconPath>
<IconPath>/usr/local/lib/X11/pixmaps</IconPath>
<IconPath>/usr/local/share/pixmaps</IconPath>
<IconPath>/usr/share/pixmaps/puppy</IconPath>
<IconPath>/usr/share/icons/hicolor/scalable/apps</IconPath>
<IconPath>/usr/local/lib/X11/mini-icons</IconPath>
<IconPath>/var/lib/flatpak/exports/share/icons/hicolor/48x48/apps</IconPath>
<IconPath>/var/lib/flatpak/exports/share/icons/hicolor/scalable/apps</IconPath>
<!-- </Icons> -->
<StartupCommand>xdg_autostart.sh</StartupCommand>
<!-- Virtual Desktops -->
<!-- Name tags can be contained within Desktops for desktop names. BK: syntax change with jwm 500... -->
<Desktops width="3" height="1"/>
<!-- Double click speed (in milliseconds) -->
<DoubleClickSpeed>400</DoubleClickSpeed>
<!-- Double click delta (in pixels) -->
<DoubleClickDelta>3</DoubleClickDelta>
<!-- The focus model (sloppy or click) -->
<FocusModel>click</FocusModel>
<!-- The snap mode (none, screen, or border) -->
<SnapMode distance="10">border</SnapMode>
<!-- The move mode (outline or opaque) -->
<MoveMode>opaque</MoveMode>
<!-- The resize mode (outline or opaque) -->
<ResizeMode>opaque</ResizeMode>
<!-- Key bindings -->
<Key key="Up">up</Key>
<Key key="Down">down</Key>
<Key key="Right">right</Key>
<Key key="Left">left</Key>
<Key key="h">left</Key>
<Key key="j">down</Key>
<Key key="k">up</Key>
<Key key="l">right</Key>
<Key key="Return">select</Key>
<Key key="Escape">escape</Key>
<Key mask="4" key="Up">maximize</Key>
<Key mask="4" key="Down">minimize</Key>
<Key mask="4" key="Left">maxleft</Key>
<Key mask="4" key="Right">maxright</Key>
<Key mask="A" key="equal">maximize</Key>
<Key mask="A" key="minus">minimize</Key>
<Key mask="A" key="bracketleft">maxleft</Key>
<Key mask="A" key="bracketright">maxright</Key>
<Key mask="A" key="Tab">nextstacked</Key>
<Key mask="AS" key="Tab">prevstacked</Key>
<Key mask="A" key="F4">close</Key>
<Key mask="CA" key="Right">rdesktop</Key>
<Key mask="CA" key="Left">ldesktop</Key>
<Key mask="CA" key="Up">udesktop</Key>
<Key mask="CA" key="Down">ddesktop</Key>
<Key mask="A" key="F1">root:9</Key>
<Key mask="A" key="F2">exec:gexec</Key>
<Key mask="A" key="F3">window</Key>
<Key mask="CA" key="t">exec:defaultterminal</Key>
<!-- Include external rc files -->
<Include>/root/.jwm/jwmrc-tray1</Include>
<Include>/root/.jwm/jwmrc-tray2</Include>
<Include>/root/.jwm/jwmrc-tray3</Include>
<Include>/root/.jwm/jwmrc-tray4</Include>
<Include>/root/.jwm/jwmrc-tray5</Include>
<Include>/root/.jwm/jwmrc-tray6</Include>
<Include>/root/.jwm/jwmrc-tray7</Include>
<Include>/root/.jwm/jwmrc-tray8</Include>
<Include>/root/.jwm/jwmrc-corners</Include>
<Include>/root/.jwm/jwmrc-theme</Include>
<Include>/root/.jwm/jwmrc-personal</Include>
</JWM>
コード: 全て選択
<?xml version="1.0"?>
<!-- Personally configurable options for JWM: these override default settings and theme settings -->
<JWM>
<!-- Number of virtual desktops -->
<Desktops width="3" height="1"/>
<!-- Double click speed (in milliseconds) -->
<DoubleClickSpeed>400</DoubleClickSpeed>
<!-- Double click delta (in pixels) -->
<DoubleClickDelta>3</DoubleClickDelta>
<!-- The focus model (sloppy or click) -->
<FocusModel>click</FocusModel>
<!-- The snap mode (none, screen, or border) -->
<SnapMode distance="10">none</SnapMode>
<!-- The move mode (outline or opaque) -->
<MoveMode coordinates="off" delay="0">outline</MoveMode>
<!-- The resize mode (outline or opaque) -->
<ResizeMode coordinates="off">outline</ResizeMode>
<!-- group options set for all windows -->
<Group>
<!-- disable flashing in tray for urgent windows -->
<Option>noturgent</Option>
<!-- placement for new window (default is cascaded) -->
<!-- <Option>tiled</Option> -->
<!-- auto-maximization when moving window to top/side of desktop -->
<!-- <Option>aerosnap</Option> -->
<Class>Savebox</Class>
<Option>width:500</Option>
</Group>
<!-- Key bindings -->
<Key key="Up">up</Key>
<Key key="Down">down</Key>
<Key key="Right">right</Key>
<Key key="Left">left</Key>
<Key key="h">left</Key>
<Key key="j">down</Key>
<Key key="k">up</Key>
<Key key="l">right</Key>
<Key key="Return">select</Key>
<Key key="Escape">escape</Key>
<Key key="F12">root:9</Key>
<Key mask="CA" key="Right">rdesktop</Key>
<Key mask="CA" key="Left">ldesktop</Key>
<Key mask="CA" key="Up">udesktop</Key>
<Key mask="CA" key="Down">ddesktop</Key>
<Key mask="A" key="Tab">nextstacked</Key>
<Key mask="AS" key="Tab">prevstacked</Key>
<Key mask="A" key="F4">close</Key>
<Key mask="A" key="F10">maximize</Key>
<Key mask="A" key="F6">minimize</Key>
<Key mask="CA" key="Right">rdesktop</Key>
<Key mask="CA" key="Left">ldesktop</Key>
<Key mask="CA" key="Up">udesktop</Key>
<Key mask="CA" key="Down">ddesktop</Key>
<Key mask="A" key="F1">root:9</Key>
<Key mask="A" key="F3">window</Key>
<Key mask="A" key="space">window</Key>
<Key mask="CA" key="Delete">exec:defaultprocessmanager</Key>
<Key mask="CS" key="Escape">exec:defaultprocessmanager</Key>
<!-- http://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols -->
<Key key="XF86AudioMute">exec:wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle || pactl set-sink-mute @DEFAULT_SINK@ toggle || amixer sset Master toggle</Key>
<Key key="XF86AudioRaiseVolume">exec:wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+ || pactl set-sink-volume @DEFAULT_SINK@ +1% || amixer sset Master 1+,1+</Key>
<Key key="XF86AudioLowerVolume">exec:wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%- || pactl set-sink-volume @DEFAULT_SINK@ -1% || amixer sset Master 1-,1-</Key>
<Key key="XF86WWW">exec:defaultbrowser</Key>
<Key key="XF86HomePage">exec:defaultbrowser</Key>
<Key key="XF86MonBrightnessUp">exec:brightnessctl set +10%</Key>
<Key key="XF86MonBrightnessDown">exec:brightnessctl set 10%-</Key>
<Key key="Print">exec:defaultscreenshot</Key>
<!-- mod4 Super_L Super_R Hyper_L -->
<Key mask="4" key="e">exec:defaultfilemanager</Key>
<Key mask="4" key="r">exec:defaultrun</Key>
<Key mask="4" key="f">exec:pfind</Key>
<Key mask="4" key="F7">exec:defaultterminal</Key>
<Key mask="4" key="#">desktop#</Key>
<Key mask="4" key="d">showdesktop</Key>
<Key mask="4" key="m">showdesktop</Key>
<Key mask="4" key="l">exec:puplock</Key>
<Key mask="4" key="k">exec:keymap-set</Key>
<Key key="Super_R">root:9</Key>
<Key mask="C" key="Super_L">root:9</Key>
<DefaultIcon>/usr/share/pixmaps/puppy/execute.svg</DefaultIcon>
<ButtonClose>/root/.jwm/window_buttons/close.png</ButtonClose>
<ButtonMax>/root/.jwm/window_buttons/max.png</ButtonMax>
<ButtonMaxActive>/root/.jwm/window_buttons/maxact.png</ButtonMaxActive>
<ButtonMin>/root/.jwm/window_buttons/min.png</ButtonMin>
</JWM>
コード: 全て選択
<?xml version="1.0"?>
<JWM>
<WindowStyle>
<Font>Sans-11:bold</Font>
<Width>3</Width>
<Height>13</Height>
<Active>
<Foreground>white</Foreground>
<Background>#393F96:#30528D</Background>
<Outline>black</Outline>
</Active>
<Foreground>white</Foreground>
<Background>#84CFF1:#393F96</Background>
<Outline>gray30</Outline>
</WindowStyle>
<TaskListStyle>
<Font>Sans-11:bold</Font>
<Active>
<Foreground>white</Foreground>
<Background>#84CFF1:#393F96</Background>
</Active>
<Background>#393F96:#30528D</Background>
</TaskListStyle>
<TrayStyle>
<Font>Sans-11:bold</Font>
<Foreground>white</Foreground>
<Background>#00225E</Background>
</TrayStyle>
<PagerStyle>
<Outline>black</Outline>
<Foreground>#DCDAD5</Foreground>
<Background>#888888</Background>
<Active>
<Foreground>#8899AA</Foreground>
<Background>#3A4956</Background>
</Active>
</PagerStyle>
<PopupStyle>
<Font>Sans-11:bold</Font>
<Outline>black</Outline>
<Foreground>white</Foreground>
<Background>darkblue</Background>
</PopupStyle>
<MenuStyle>
<Font>Sans-11:bold</Font>
<Foreground>black</Foreground>
<Background>#E7EBF7</Background>
<Active>
<Foreground>white</Foreground>
<Background>#393F96:#30528D</Background>
</Active>
</MenuStyle>
</JWM>
コード: 全て選択
<?xml version="1.0"?>
<JWM>
<!--<Include>/root/.jwm/jwmrc-tray1_hybrid</Include>-->
<Tray autohide="top" insert="right" layer="above" halign="center" valign="top" height="28" layout="horizontal">
<TrayButton popup="ファイルマネージャ" icon="/usr/local/lib/X11/pixmaps/home48.png">exec:defaultfilemanager</TrayButton>
<TrayButton popup="ブラウザ" icon="/usr/local/lib/X11/pixmaps/www48.png">exec:defaultbrowser</TrayButton>
<TrayButton popup="チャット" icon="/usr/local/lib/X11/pixmaps/chat48.png">exec:defaultchat</TrayButton>
<TrayButton popup="端末" icon="/usr/local/lib/X11/pixmaps/console48.png">exec:defaultterminal</TrayButton>
<TrayButton popup="タスクマネージャ" icon="/usr/local/lib/X11/pixmaps/pc48.png">exec:defaultprocessmanager</TrayButton>
<TrayButton popup="ワープロ" icon="/usr/local/lib/X11/pixmaps/word48.png">exec:defaultwordprocessor</TrayButton>
<TrayButton popup="表計算" icon="/usr/local/lib/X11/pixmaps/spread48.png">exec:defaultspreadsheet</TrayButton>
<TrayButton popup="ペイント" icon="/usr/local/lib/X11/pixmaps/paint48.png">exec:defaultpaint</TrayButton>
<TrayButton popup="テキストエディタ" icon="/usr/local/lib/X11/pixmaps/edit48.png">exec:defaulttexteditor</TrayButton>
<Spacer width="15" height="15"/>
<TrayButton popup="セットアップ" icon="/usr/local/lib/X11/pixmaps/configuration48.png">exec:wizardwizard</TrayButton>
<TrayButton popup="インストール" icon="/usr/local/lib/X11/pixmaps/pet48.png">exec:dotpup</TrayButton>
<TrayButton popup="トレイの編集" icon="/usr/local/lib/X11/pixmaps/utility48.png">exec:/usr/local/jwm_config/tray</TrayButton>
<TrayButton popup="終了" icon="/usr/local/lib/X11/pixmaps/shutdown48.png">exec:/usr/sbin/logout_gui</TrayButton>
</Tray>
</JWM>
コード: 全て選択
<?xml version="1.0"?>
<JWM>
<Tray autohide="off" insert="right" layer="above" halign="left" valign="bottom" height="16" layout="horizontal" >
<TrayButton label="App" border="false">root:9</TrayButton>
<TrayButton popup="デスクトップを表示" icon="desktop.svg">showdesktop</TrayButton>
<Pager/>
<TaskList/>
<Dock/>
<Clock format="%m/%d %a %H:%M">root:7</Clock>
</Tray>
</JWM>