All the latest changes.

This commit is contained in:
ikolokolnikov committed 2026-09-15 16:19:34 -07:00
1 parent 9632256e1b
commit cef83f1278
20 files changed
+438 -136

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
GIMP Palette
Name: Xournal Default Palette
#
0 0 0 Black
0 128 0 Green
0 192 255 Light Blue
0 255 0 Light Green
51 51 204 Blue
128 128 128 Gray
255 0 0 Red
255 0 255 Magenta
255 128 0 Orange
255 255 0 Yellow
255 255 255 White
+14
View File
@@ -0,0 +1,14 @@
GIMP Palette
Name: My Custom Pallete
#
13 17 23 Bunker
16 133 255 Dodger Blue
152 195 121 Olivine
233 209 108 Rob Roy
215 78 66 Valencia
209 154 102 Whiskey
181 126 220 Lavender
95 102 114 Shuttle Gray
198 204 215 Ghost
229 192 123 Harvest Ghost
86 182 194 Fountain Blue
+282
View File
@@ -0,0 +1,282 @@
-- Things I might want to add:
-- -ACTION_TOOL_DRAW_COORDINATE_SYSTEM (currently no way to turn it off!)
-- -ACTION_TOOL_DRAW_LINE currently doesn't exist!
-- Register all Toolbar actions and intialize all UI stuff
function initUi()
app.registerUi({["menu"] = "Pen", ["callback"] = "pen", ["accelerator"] = "b"});
app.registerUi({["menu"] = "Select Region", ["callback"] = "lasso", ["accelerator"] = "g"});
-- app.registerUi({["menu"] = "Blue Pen", ["callback"] = "blue_pen", ["accelerator"] = "f"});
-- app.registerUi({["menu"] = "Red Pen", ["callback"] = "red_pen", ["accelerator"] = "c"});
-- app.registerUi({["menu"] = "Green Pen", ["callback"] = "green_pen", ["accelerator"] = "s"});
-- app.registerUi({["menu"] = "Orange Pen", ["callback"] = "orange_pen", ["accelerator"] = "a"});
-- app.registerUi({["menu"] = "Cyan Pen", ["callback"] = "cyan_pen", ["accelerator"] = "z"});
-- app.registerUi({["menu"] = "Magenta Pen", ["callback"] = "magenta_pen", ["accelerator"] = "d"});
-- app.registerUi({["menu"] = "Lime Pen", ["callback"] = "lime_pen", ["accelerator"] = "x"});
-- app.registerUi({["menu"] = "Black Pen", ["callback"] = "black_pen", ["accelerator"] = "v"});
app.registerUi({["menu"] = "Highlighter", ["callback"] = "yellow_hl", ["accelerator"] = "f"});
-- app.registerUi({["menu"] = "Blue Highlighter", ["callback"] = "blue_hl", ["accelerator"] = "<Shift>f"});
-- app.registerUi({["menu"] = "Red Highlighter", ["callback"] = "red_hl", ["accelerator"] = "<Shift>d"});
-- app.registerUi({["menu"] = "Green Highlighter", ["callback"] = "green_hl", ["accelerator"] = "<Shift>s"});
-- app.registerUi({["menu"] = "Yellow Highlighter", ["callback"] = "yellow_hl", ["accelerator"] = "<Shift>a"});
app.registerUi({["menu"] = "Undo", ["callback"] = "undo", ["accelerator"] = "r"});
app.registerUi({["menu"] = "Redo", ["callback"] = "redo", ["accelerator"] = "<Shift>r"});
app.registerUi({["menu"] = "Copy", ["callback"] = "copy", ["accelerator"] = "<Control>Insert"});
app.registerUi({["menu"] = "Paste", ["callback"] = "paste", ["accelerator"] = "<Shift>Insert"});
app.registerUi({["menu"] = "Cut", ["callback"] = "cut", ["accelerator"] = "<Control>x"});
app.registerUi({["menu"] = "Delete", ["callback"] = "delete", ["accelerator"] = "BackSpace"});
app.registerUi({["menu"] = "Eraser", ["callback"] = "eraser", ["accelerator"] = "e"});
app.registerUi({["menu"] = "Select Object", ["callback"] = "select_object", ["accelerator"] = "<Shift>g"});
-- app.registerUi({["menu"] = "Draw Coordinates", ["callback"] = "draw_coords", ["accelerator"] = "q"});
app.registerUi({["menu"] = "Ruler", ["callback"] = "ruler", ["accelerator"] = "w"});
app.registerUi({["menu"] = "Ruler Arrow", ["callback"] = "ruler_arrow", ["accelerator"] = "<Shift>w"});
app.registerUi({["menu"] = "Ruler Double Arrow", ["callback"] = "ruler_arrow_double", ["accelerator"] = "<Alt>w"});
app.registerUi({["menu"] = "Style Plain", ["callback"] = "pen_plain", ["accelerator"] = "<Alt>1"});
app.registerUi({["menu"] = "Style Dash", ["callback"] = "pen_dash", ["accelerator"] = "<Alt>2"});
app.registerUi({["menu"] = "Style Dot", ["callback"] = "pen_dot", ["accelerator"] = "<Alt>3"});
app.registerUi({["menu"] = "Style Dash Dot", ["callback"] = "pen_dash_dot", ["accelerator"] = "<Alt>4"});
app.registerUi({["menu"] = "Size Fine", ["callback"] = "size_fine", ["accelerator"] = "<Shift>exclam"});
app.registerUi({["menu"] = "Size Medium", ["callback"] = "size_medium", ["accelerator"] = "<Shift>at"});
app.registerUi({["menu"] = "Size Thick", ["callback"] = "size_thick", ["accelerator"] = "<Shift>numbersign"});
app.registerUi({["menu"] = "Clear", ["callback"] = "delete", ["accelerator"] = "q"});
app.registerUi({["menu"] = "Clear", ["callback"] = "delete_all", ["accelerator"] = "<Shift>q"});
app.registerUi({["menu"] = "Hand", ["callback"] = "hand", ["accelerator"] = "v"});
end
-- "pen" or "highlighter";
-- local currentTool = "pen"
function hand()
app.uiAction({["action"] = "ACTION_TOOL_HAND"})
end
function pen()
app.uiAction({["action"] = "ACTION_TOOL_PEN"})
app.uiAction({["action"] = "ACTION_TOOL_DRAW_COORDINATE_SYSTEM", ["enabled"] = false})
app.uiAction({["action"] = "ACTION_TOOL_RULER", ["enabled"] = false})
app.uiAction({["action"] = "ACTION_TOOL_LINE_STYLE_PLAIN"})
-- currentTool = "pen"
end
function pen_plain()
app.uiAction({["action"] = "ACTION_TOOL_LINE_STYLE_PLAIN"})
end
function pen_dash()
app.uiAction({["action"] = "ACTION_TOOL_LINE_STYLE_DASH"})
end
function pen_dash_dot()
app.uiAction({["action"] = "ACTION_TOOL_LINE_STYLE_DASH_DOT"})
end
function pen_dot()
app.uiAction({["action"] = "ACTION_TOOL_LINE_STYLE_DOT"})
end
--function highlighter()
-- app.uiAction({["action"] = "ACTION_TOOL_HIGHLIGHTER"})
-- app.uiAction({["action"] = "ACTION_TOOL_DRAW_COORDINATE_SYSTEM", ["enabled"] = false})
-- app.uiAction({["action"] = "ACTION_TOOL_RULER", ["enabled"] = false})
-- currentTool = "highlighter"
--end
-- Notes: Changing selected strokes is not working. If there are no selected strokes,
-- or the current tool is not a pen/HL, then app.changeToolColor throws an error.
-- To make it work, we need some way of programatically testing if there is a selection.
function blue_pen()
app.uiAction({["action"] = "ACTION_TOOL_PEN"})
-- This changes the color of currently selected strokes
-- app.changeToolColor({["color"] = 0x3333CC, ["selection"] = true})
app.uiAction({["action"] = "ACTION_TOOL_DRAW_COORDINATE_SYSTEM", ["enabled"] = false})
app.uiAction({["action"] = "ACTION_TOOL_RULER", ["enabled"] = false})
-- This changes the color of the pen
app.changeToolColor({["color"] = 0x1313CC, ["tool"] = "pen"})
end
function blue_hl()
app.changeToolColor({["color"] = 0x20D0FF, ["tool"] = "highlighter"})
app.uiAction({["action"] = "ACTION_TOOL_HIGHLIGHTER"})
app.uiAction({["action"] = "ACTION_TOOL_DRAW_COORDINATE_SYSTEM", ["enabled"] = false})
app.uiAction({["action"] = "ACTION_TOOL_RULER", ["enabled"] = false})
end
function green_pen()
-- This changes the color of currently selected strokes
-- app.changeToolColor({["color"] = 0x008000, ["selection"] = true})
app.uiAction({["action"] = "ACTION_TOOL_PEN"})
app.uiAction({["action"] = "ACTION_TOOL_DRAW_COORDINATE_SYSTEM", ["enabled"] = false})
app.uiAction({["action"] = "ACTION_TOOL_RULER", ["enabled"] = false})
-- This changes the color of the pen
app.changeToolColor({["color"] = 0x00A000, ["tool"] = "pen"})
end
function green_hl()
app.changeToolColor({["color"] = 0x00FF00, ["tool"] = "highlighter"})
app.uiAction({["action"] = "ACTION_TOOL_HIGHLIGHTER"})
app.uiAction({["action"] = "ACTION_TOOL_DRAW_COORDINATE_SYSTEM", ["enabled"] = false})
app.uiAction({["action"] = "ACTION_TOOL_RULER", ["enabled"] = false})
end
function red_pen()
-- This changes the color of currently selected strokes
-- app.changeToolColor({["color"] = 0xEF0044, ["selection"] = true})
app.uiAction({["action"] = "ACTION_TOOL_PEN"})
app.uiAction({["action"] = "ACTION_TOOL_DRAW_COORDINATE_SYSTEM", ["enabled"] = false})
app.uiAction({["action"] = "ACTION_TOOL_RULER", ["enabled"] = false})
-- This changes the color of the pen
app.changeToolColor({["color"] = 0xEF0044, ["tool"] = "pen"})
end
function red_hl()
app.changeToolColor({["color"] = 0xFF55FF, ["tool"] = "highlighter"})
app.uiAction({["action"] = "ACTION_TOOL_HIGHLIGHTER"})
app.uiAction({["action"] = "ACTION_TOOL_DRAW_COORDINATE_SYSTEM", ["enabled"] = false})
app.uiAction({["action"] = "ACTION_TOOL_RULER", ["enabled"] = false})
end
function orange_pen()
-- This changes the color of currently selected strokes
-- app.changeToolColor({["color"] = 0xEF7000, ["selection"] = true})
app.uiAction({["action"] = "ACTION_TOOL_PEN"})
app.uiAction({["action"] = "ACTION_TOOL_DRAW_COORDINATE_SYSTEM", ["enabled"] = false})
app.uiAction({["action"] = "ACTION_TOOL_RULER", ["enabled"] = false})
-- This changes the color of the pen
app.changeToolColor({["color"] = 0xEF7000, ["tool"] = "pen"})
end
function yellow_hl()
app.changeToolColor({["color"] = 0xEEFF00, ["tool"] = "highlighter"})
app.uiAction({["action"] = "ACTION_TOOL_HIGHLIGHTER"})
app.uiAction({["action"] = "ACTION_TOOL_DRAW_COORDINATE_SYSTEM", ["enabled"] = false})
app.uiAction({["action"] = "ACTION_TOOL_RULER", ["enabled"] = false})
end
function cyan_pen()
-- This changes the color of currently selected strokes
-- app.changeToolColor({["color"] = 0x00BFE6, ["selection"] = true})
app.uiAction({["action"] = "ACTION_TOOL_PEN"})
app.uiAction({["action"] = "ACTION_TOOL_DRAW_COORDINATE_SYSTEM", ["enabled"] = false})
app.uiAction({["action"] = "ACTION_TOOL_RULER", ["enabled"] = false})
-- This changes the color of the pen
app.changeToolColor({["color"] = 0x00BFE6, ["tool"] = "pen"})
end
function magenta_pen()
-- This changes the color of currently selected strokes
-- app.changeToolColor({["color"] = 0xCC00CC, ["selection"] = true})
app.uiAction({["action"] = "ACTION_TOOL_PEN"})
app.uiAction({["action"] = "ACTION_TOOL_DRAW_COORDINATE_SYSTEM", ["enabled"] = false})
app.uiAction({["action"] = "ACTION_TOOL_RULER", ["enabled"] = false})
-- This changes the color of the pen
app.changeToolColor({["color"] = 0xCC00CC, ["tool"] = "pen"})
end
function lime_pen()
-- This changes the color of currently selected strokes
-- app.changeToolColor({["color"] = 0xBFE600, ["selection"] = true})
app.uiAction({["action"] = "ACTION_TOOL_PEN"})
app.uiAction({["action"] = "ACTION_TOOL_DRAW_COORDINATE_SYSTEM", ["enabled"] = false})
app.uiAction({["action"] = "ACTION_TOOL_RULER", ["enabled"] = false})
-- This changes the color of the pen
app.changeToolColor({["color"] = 0xBFE600, ["tool"] = "pen"})
end
function black_pen()
-- This changes the color of currently selected strokes
-- app.changeToolColor({["color"] = 0x000000, ["selection"] = true})
app.uiAction({["action"] = "ACTION_TOOL_PEN"})
app.uiAction({["action"] = "ACTION_TOOL_DRAW_COORDINATE_SYSTEM", ["enabled"] = false})
app.uiAction({["action"] = "ACTION_TOOL_RULER", ["enabled"] = false})
-- This changes the color of the pen
app.changeToolColor({["color"] = 0x000000, ["tool"] = "pen"})
end
function lasso()
app.uiAction({["action"] = "ACTION_TOOL_SELECT_REGION"})
end
function undo()
app.uiAction({["action"] = "ACTION_UNDO"})
end
function redo()
app.uiAction({["action"] = "ACTION_REDO"})
end
function copy()
app.uiAction({["action"] = "ACTION_COPY"})
end
function cut()
app.uiAction({["action"] = "ACTION_CUT"})
end
function paste()
app.uiAction({["action"] = "ACTION_PASTE"})
end
function delete()
app.uiAction({["action"] = "ACTION_DELETE"})
end
function delete_all()
select_all()
app.uiAction({["action"] = "ACTION_DELETE"})
end
function eraser()
app.uiAction({["action"] = "ACTION_TOOL_ERASER"})
end
function select_all()
app.uiAction({["action"] = "ACTION_SELECT_ALL"})
end
function select_object()
app.uiAction({["action"] = "ACTION_TOOL_SELECT_OBJECT"})
end
function ruler()
app.uiAction({["action"] = "ACTION_TOOL_PEN"})
app.uiAction({["action"] = "ACTION_RULER"})
-- currentTool = "pen"
end
function ruler_arrow()
app.uiAction({["action"] = "ACTION_TOOL_PEN"})
app.uiAction({["action"] = "ACTION_TOOL_DRAW_ARROW"})
-- currentTool = "pen"
end
function ruler_arrow_double()
app.uiAction({["action"] = "ACTION_TOOL_PEN"})
app.uiAction({["action"] = "ACTION_TOOL_DRAW_DOUBLE_ARROW"})
-- currentTool = "pen"
end
function draw_coords()
app.uiAction({["action"] = "ACTION_TOOL_PEN"})
app.uiAction({["action"] = "ACTION_TOOL_DRAW_COORDINATE_SYSTEM"})
-- currentTool = "pen"
end
function size_fine()
app.uiAction({["action"] = "ACTION_SIZE_FINE"})
end
function size_medium()
app.uiAction({["action"] = "ACTION_SIZE_MEDIUM"})
end
function size_thick()
app.uiAction({["action"] = "ACTION_SIZE_THICK"})
end
+15
View File
@@ -0,0 +1,15 @@
[about]
## Author / Copyright notice
author=Ben Smith
description=Creates some useful key bindings.
## If the plugin is packed with Xournal++, use
## <xournalpp> then it gets the same version number
version=0.1
[default]
enabled=true
[plugin]
mainfile=main.lua
+284
View File
@@ -0,0 +1,284 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--The Xournal++ settings file. Do not edit this file! Most settings are available in the Settings dialog, the others are commented in this file, but handle with care!-->
<settings>
<property name="pressureSensitivity" value="false"/>
<property name="minimumPressure" value="0.05"/>
<property name="pressureMultiplier" value="1"/>
<property name="zoomGesturesEnabled" value="true"/>
<property name="selectedToolbar" value="Xournal++"/>
<property name="lastSavePath" value="/home/igor/Desktop"/>
<property name="lastOpenPath" value="/home/igor/Desktop"/>
<property name="lastImagePath" value=""/>
<property name="edgePanSpeed" value="20"/>
<property name="edgePanMaxMult" value="5"/>
<property name="zoomStep" value="10"/>
<property name="zoomStepScroll" value="2"/>
<property name="displayDpi" value="-1"/>
<property name="mainWndWidth" value="800"/>
<property name="mainWndHeight" value="600"/>
<property name="maximized" value="true"/>
<property name="showToolbar" value="true"/>
<property name="showSidebar" value="false"/>
<property name="sidebarWidth" value="50"/>
<property name="sidebarNumberingStyle" value="1"/>
<property name="sidebarOnRight" value="false"/>
<property name="scrollbarOnLeft" value="false"/>
<property name="menubarVisible" value="true"/>
<property name="filepathShownInTitlebar" value="false"/>
<property name="pageNumberShownInTitlebar" value="false"/>
<property name="numColumns" value="1"/>
<property name="numRows" value="1"/>
<property name="viewFixedRows" value="false"/>
<property name="showPairedPages" value="false"/>
<property name="layoutVertical" value="false"/>
<property name="layoutRightToLeft" value="false"/>
<property name="layoutBottomToTop" value="false"/>
<property name="numPairsOffset" value="1"/>
<!--The icon theme, allowed values are "disabled", "onDrawOfLastPage", and "onScrollOfLastPage"-->
<property name="emptyLastPageAppend" value="disabled"/>
<property name="presentationMode" value="false"/>
<!--Which GUI elements are shown in default view mode, separated by a colon (,)-->
<property name="defaultViewModeAttributes" value="showMenubar,showToolbar"/>
<!--Which GUI elements are shown in fullscreen view mode, separated by a colon (,)-->
<property name="fullscreenViewModeAttributes" value="goFullscren,showToolbar,showSidebar"/>
<!--Which GUI elements are shown in presentation view mode, separated by a colon (,)-->
<property name="presentationViewModeAttributes" value="goFullscren,showToolbar"/>
<!--The cursor icon used with a stylus, allowed values are "none", "dot", "big", "arrow"-->
<property name="stylusCursorType" value="dot"/>
<!--The eraser cursor visibility used with a stylus, allowed values are "never", "always", "hover", "touch"-->
<property name="eraserVisibility" value="always"/>
<!--The icon theme, allowed values are "iconsColor", "iconsLucide"-->
<property name="iconTheme" value="iconsColor"/>
<!--Dark/light mode, allowed values are "useSystem", "forceLight", "forceDark"-->
<property name="themeVariant" value="useSystem"/>
<property name="highlightPosition" value="false"/>
<property name="cursorHighlightColor" value="2164260608"/>
<property name="cursorHighlightBorderColor" value="2147483903"/>
<property name="cursorHighlightRadius" value="30"/>
<property name="cursorHighlightBorderWidth" value="0"/>
<property name="useStockIcons" value="false"/>
<property name="disableScrollbarFadeout" value="false"/>
<property name="disableAudio" value="false"/>
<!--Hides scroolbars in the main window, allowed values: "none", "horizontal", "vertical", "both"-->
<property name="scrollbarHideType" value="none"/>
<property name="autoloadMostRecent" value="false"/>
<property name="autoloadPdfXoj" value="true"/>
<property name="defaultSaveName" value="%F-Note-%H-%M"/>
<property name="defaultPdfExportName" value="%{name}_annotated"/>
<property name="autosaveEnabled" value="true"/>
<property name="autosaveTimeout" value="3"/>
<property name="addHorizontalSpace" value="false"/>
<property name="addHorizontalSpaceAmountRight" value="150"/>
<property name="addHorizontalSpaceAmountLeft" value="150"/>
<property name="addVerticalSpace" value="false"/>
<property name="addVerticalSpaceAmountAbove" value="150"/>
<property name="addVerticalSpaceAmountBelow" value="150"/>
<property name="unlimitedScrolling" value="false"/>
<property name="drawDirModsEnabled" value="false"/>
<property name="drawDirModsRadius" value="50"/>
<property name="snapRotation" value="true"/>
<property name="snapRotationTolerance" value="0.3"/>
<property name="snapGrid" value="true"/>
<property name="snapGridTolerance" value="0.5"/>
<property name="snapGridSize" value="14.17"/>
<property name="strokeRecognizerMinSize" value="40"/>
<property name="touchDrawing" value="false"/>
<property name="gtkTouchInertialScrolling" value="true"/>
<property name="pressureGuessing" value="false"/>
<property name="recolor.enabled" value="false"/>
<property name="recolor.sidebar" value="false"/>
<property name="recolor.dark" value="4281349190"/>
<property name="recolor.light" value="4291219701"/>
<property name="selectionBorderColor" value="4294901760"/>
<property name="backgroundColor" value="4292664021"/>
<property name="selectionMarkerColor" value="4285702095"/>
<property name="activeSelectionColor" value="4286381056"/>
<property name="touchZoomStartThreshold" value="0"/>
<property name="pageRerenderThreshold" value="5"/>
<!--The count of rendered PDF pages which will be cached.-->
<property name="pdfPageCacheSize" value="10"/>
<property name="preloadPagesBefore" value="3"/>
<property name="preloadPagesAfter" value="5"/>
<property name="eagerPageCleanup" value="true"/>
<!--Config for new pages-->
<property name="pageTemplate" value="xoj/template&#10;copyLastPageSettings=true&#10;size=595.275591x841.889764&#10;backgroundType=lined&#10;backgroundColor=#ffffff&#10;"/>
<property name="sizeUnit" value=""/>
<property name="audioFolder" value=""/>
<property name="audioInputDevice" value="-1"/>
<property name="audioOutputDevice" value="-1"/>
<property name="audioSampleRate" value="44100"/>
<property name="audioGain" value="1"/>
<property name="defaultSeekTime" value="5"/>
<property name="pluginEnabled" value=""/>
<property name="pluginDisabled" value=""/>
<property name="strokeFilterIgnoreTime" value="150"/>
<property name="strokeFilterIgnoreLength" value="1"/>
<property name="strokeFilterSuccessiveTime" value="500"/>
<property name="strokeFilterEnabled" value="false"/>
<property name="doActionOnStrokeFiltered" value="false"/>
<property name="trySelectOnStrokeFiltered" value="false"/>
<property name="snapRecognizedShapesEnabled" value="false"/>
<property name="restoreLineWidthEnabled" value="false"/>
<property name="numIgnoredStylusEvents" value="0"/>
<property name="inputSystemTPCButton" value="false"/>
<property name="inputSystemDrawOutsideWindow" value="true"/>
<property name="preferredLocale" value=""/>
<property name="useSpacesForTab" value="false"/>
<property name="numberOfSpacesForTab" value="4"/>
<property name="laserPointerFadeOutTime" value="500"/>
<property name="stabilizerAveragingMethod" value="0"/>
<property name="stabilizerPreprocessor" value="0"/>
<property name="stabilizerBuffersize" value="2"/>
<property name="stabilizerSigma" value="0.5"/>
<property name="stabilizerDeadzoneRadius" value="1.2"/>
<property name="stabilizerDrag" value="0.4"/>
<property name="stabilizerMass" value="5"/>
<property name="stabilizerCuspDetection" value="true"/>
<property name="stabilizerFinalizeStroke" value="true"/>
<property name="colorPalette" value="/usr/share/xournalpp/palettes/xournal.gpl"/>
<property name="latexSettings.autoCheckDependencies" value="true"/>
<property name="latexSettings.defaultText" value="x^2"/>
<property name="latexSettings.globalTemplatePath" value="/usr/share/xournalpp/resources/default_template.tex"/>
<property name="latexSettings.genCmd" value="pdflatex -halt-on-error -interaction=nonstopmode '{}'"/>
<property name="latexSettings.sourceViewThemeId" value="classic"/>
<property name="latexSettings.editorFont" value="Monospace 12"/>
<property name="latexSettings.useCustomEditorFont" value="false"/>
<property name="latexSettings.editorWordWrap" value="true"/>
<property name="latexSettings.sourceViewAutoIndent" value="true"/>
<property name="latexSettings.sourceViewSyntaxHighlight" value="true"/>
<property name="latexSettings.sourceViewShowLineNumbers" value="false"/>
<property name="latexSettings.useExternalEditor" value="false"/>
<property name="latexSettings.externalEditorAutoConfirm" value="false"/>
<property name="latexSettings.externalEditorCmd" value=""/>
<property name="latexSettings.temporaryFileExt" value="tex"/>
<property name="font" font="Sans" size="12"/>
<data name="buttonConfig">
<data name="default">
<attribute name="color" type="hex" value="ff000000"/>
<attribute name="drawingType" type="string" value="default"/>
<attribute name="size" type="string" value="thin"/>
<attribute name="strokeType" type="string" value="none"/>
<attribute name="tool" type="string" value="pen"/>
</data>
<data name="eraser">
<attribute name="eraserMode" type="string" value="none"/>
<attribute name="size" type="string" value="none"/>
<attribute name="tool" type="string" value="eraser"/>
</data>
<data name="left">
<attribute name="tool" type="string" value="none"/>
</data>
<data name="middle">
<attribute name="tool" type="string" value="hand"/>
</data>
<data name="right">
<attribute name="tool" type="string" value="none"/>
</data>
<data name="stylus">
<attribute name="color" type="hex" value="ff000000"/>
<attribute name="drawingType" type="string" value="default"/>
<attribute name="size" type="string" value="none"/>
<attribute name="tool" type="string" value="highlighter"/>
</data>
<data name="stylus2">
<attribute name="tool" type="string" value="none"/>
</data>
<data name="touch">
<attribute name="device" type="string" value=""/>
<attribute name="disableDrawing" type="boolean" value="false"/>
<attribute name="tool" type="string" value="none"/>
</data>
</data>
<data name="deviceClasses">
<data name="">
<attribute name="deviceClass" type="int" value="0"/>
<attribute name="deviceSource" type="int" value="0"/>
</data>
<data name="Wacom Intuos BT S Pen">
<attribute name="deviceClass" type="int" value="2"/>
<attribute name="deviceSource" type="int" value="1"/>
</data>
<data name="Wacom Intuos BT S Pen Pen (0x18803b7e)">
<attribute name="deviceClass" type="int" value="2"/>
<attribute name="deviceSource" type="int" value="1"/>
</data>
<data name="Wayland Finger Scrolling">
<attribute name="deviceClass" type="int" value="1"/>
<attribute name="deviceSource" type="int" value="6"/>
</data>
<data name="Wayland Pointer">
<attribute name="deviceClass" type="int" value="1"/>
<attribute name="deviceSource" type="int" value="0"/>
</data>
<data name="Wayland Wheel Scrolling">
<attribute name="deviceClass" type="int" value="1"/>
<attribute name="deviceSource" type="int" value="0"/>
</data>
<data name="YJX-CHIP MCHOSE G3 V2 Mouse">
<attribute name="deviceClass" type="int" value="1"/>
<attribute name="deviceSource" type="int" value="0"/>
</data>
</data>
<data name="tools">
<attribute name="current" type="string" value="selectRegion"/>
<data name="drawArrow"/>
<data name="drawCoordinateSystem"/>
<data name="drawDoubleArrow"/>
<data name="drawEllipse"/>
<data name="drawRect"/>
<data name="drawSpline"/>
<data name="eraser">
<attribute name="size" type="string" value="THIN"/>
<attribute name="type" type="string" value="deleteStroke"/>
</data>
<data name="hand"/>
<data name="highlighter">
<attribute name="color" type="hex" value="ffeeff00"/>
<attribute name="drawingType" type="string" value="default"/>
<attribute name="fill" type="int" value="0"/>
<attribute name="fillAlpha" type="int" value="128"/>
<attribute name="size" type="string" value="MEDIUM"/>
</data>
<data name="image"/>
<data name="laserPointerHighlighter">
<attribute name="color" type="hex" value="ffff0000"/>
<attribute name="size" type="string" value="MEDIUM"/>
</data>
<data name="laserPointerPen">
<attribute name="color" type="hex" value="ffff0000"/>
<attribute name="size" type="string" value="MEDIUM"/>
</data>
<data name="pen">
<attribute name="color" type="hex" value="ff000000"/>
<attribute name="drawingType" type="string" value="default"/>
<attribute name="fill" type="int" value="0"/>
<attribute name="fillAlpha" type="int" value="128"/>
<attribute name="size" type="string" value="MEDIUM"/>
<attribute name="style" type="string" value="plain"/>
</data>
<data name="playObject"/>
<data name="selectMultiLayerRect"/>
<data name="selectMultiLayerRegion"/>
<data name="selectObject"/>
<data name="selectPdfTextLinear">
<attribute name="color" type="hex" value="ff000000"/>
</data>
<data name="selectPdfTextRect">
<attribute name="color" type="hex" value="ff000000"/>
</data>
<data name="selectRect"/>
<data name="selectRegion"/>
<data name="showFloatingToolbox"/>
<data name="text">
<attribute name="color" type="hex" value="ff000000"/>
</data>
<data name="verticalSpace"/>
</data>
<data name="touch">
<attribute name="cmdDisable" type="string" value=""/>
<attribute name="cmdEnable" type="string" value=""/>
<attribute name="disableTouch" type="boolean" value="false"/>
<attribute name="method" type="string" value="auto"/>
<attribute name="timeout" type="int" value="1000"/>
</data>
</settings>
+44
View File
@@ -0,0 +1,44 @@
## Xournal++ Toolbar configuration
## Here you can customize the Toolbars
# Delete this file to generate a new config file with default values
#
# Available buttons:
# File: NEW,OPEN,SAVE,SAVEPDF,PRINT
#
# Edit: UNDO,REDO,CUT,COPY,PASTE,SEARCH,DELETE,ROTATION_SNAPPING,GRID_SNAPPING
#
# View: PAIRED_PAGES,PRESENTATION_MODE,FULLSCREEN,MANAGE_TOOLBAR,CUSTOMIZE_TOOLBAR,ZOOM_OUT,ZOOM_IN,ZOOM_FIT,ZOOM_100
#
# Navigation: GOTO_FIRST,GOTO_BACK,GOTO_PAGE,GOTO_NEXT,GOTO_LAST,GOTO_PREVIOUS_LAYER,GOTO_NEXT_LAYER,GOTO_TOP_LAYER,
# GOTO_NEXT_ANNOTATED_PAGE
#
# Journal: INSERT_NEW_PAGE,DELETE_CURRENT_PAGE
#
# Tool: PEN,PLAIN,DASHED,DASH-/ DOTTED,DOTTED,ERASER,HIGHLIGHTER,TEXT,MATH_TEX,IMAGE,DEFAULT_TOOL,SHAPE_RECOGNIZER,SELECT_PDF_TEXT_LINEAR,
# SELECT_PDF_TEXT_RECT,DRAW_RECTANGLE,DRAW_ELLIPSE,DRAW_ARROW,DRAW_DOUBLE_ARROW,DRAW_COORDINATE_SYSTEM,RULER,DRAW_SPLINE,
# SELECT_REGION,SELECT_RECTANGLE,SELECT_MULTILAYER_REGION,SELECT_MULTILAYER_RECTANGLE,SELECT_OBJECT,VERTICAL_SPACE,PLAY_OBJECT,
# HAND,SETSQUARE,COMPASS,SELECT_FONT,AUDIO_RECORDING,AUDIO_PAUSE_PLAYBACK,AUDIO_STOP_PLAYBACK,AUDIO_SEEK_FORWARDS,AUDIO_SEEK_BACKWARDS
# Notice: ERASER and PEN also have drop down menus to select the type, SELECT are all selection tools, with drop down menu
#
# Footer tools: PAGE_SPIN,ZOOM_SLIDER,LAYER,TOOL_FILL,PEN_FILL_OPACITY
# PAGE_SPIN: The page spiner, incl. current page label
# ZOOM_SLIDER: The zoom slider
# LAYER: The layer dropdown menu
#
# Color: COLOR(0),COLOR(1),COLOR(2),COLOR(3),COLOR(4),COLOR(5),COLOR(6),COLOR(7),COLOR(8),COLOR(9),COLOR(10),COLOR_SELECT
# Notice: The colors reference the respective color in the palette.gpl file.
# For backwards compatibility the hex representation, e.g. COLOR(0xff8000), is still permitted. However, the hex value
# will be IGNORED in favour of the "next" palette color. They will be automatically migrated when the user customizes
# the respective toolbar configuration.
#
# Non-menu items: SELECT,DRAW,PDF_TOOL
#
# Tool configuration: VERY_FINE,FINE,MEDIUM,THICK,VERY_THICK
#
# Item separation: SEPARATOR,SPACER
#
#
[Xournal++ Copy]
toolbarTop1=SAVE,NEW,OPEN,SEPARATOR,SAVEPDF,PRINT,SEPARATOR,SEPARATOR,SEPARATOR,PEN,ERASER,HIGHLIGHTER,PLAIN,DASHED,DOTTED,IMAGE,TEXT,MATH_TEX,DRAW,SEPARATOR,SELECT,VERTICAL_SPACE,HAND,SEPARATOR,FINE,MEDIUM,THICK,SEPARATOR,TOOL_FILL,SEPARATOR,COLOR(0),COLOR(1),COLOR(2),COLOR(3),COLOR(4),COLOR(5),COLOR(6),COLOR(7),COLOR(8),COLOR(9),COLOR(10),COLOR_SELECT,SEPARATOR,SELECT_FONT
toolbarBottom1=PAGE_SPIN,SEPARATOR,LAYER,GOTO_FIRST,GOTO_NEXT_ANNOTATED_PAGE,GOTO_LAST,INSERT_NEW_PAGE,DELETE_CURRENT_PAGE,SPACER,PAIRED_PAGES,PRESENTATION_MODE,ZOOM_100,ZOOM_FIT,ZOOM_OUT,ZOOM_SLIDER,ZOOM_IN,SEPARATOR,FULLSCREEN
name=Xournal++ Copy