### Install LaTeX and pstoedit on Ubuntu Source: https://inkscape.org/learn/tutorials/latex Install necessary helper programs for Inkscape's LaTeX integration on Ubuntu systems. ```bash sudo apt-get install texlive pstoedit ``` -------------------------------- ### Move X11 Window with wmctrl Source: https://inkscape.org/learn/faq Use `wmctrl` to move a specific X11 window to a desired screen position. Replace the window ID and coordinates as needed for your setup. ```bash wmctrl -i -r 0x40001c -e 0,2400,400,0,0 ``` -------------------------------- ### Configure IceWM Mouse Window Movement Source: https://inkscape.org/learn/faq Edit the local IceWM preferences file to change mouse bindings for window movement and raising. This example sets Alt+Pointer_Button2 for moving and Ctrl+Alt+Pointer_Button2 for raising. ```ini MouseWinMove="Alt+Pointer_Button2" ``` ```ini MouseWinRaise="Ctrl+Alt+Pointer_Button2" ``` -------------------------------- ### Configure Fluxbox ModKey Source: https://inkscape.org/learn/faq Modify the fluxbox init file to use the Windows logo key (Mod4) as the modifier key for window manipulation, starting from version 1.0rc2. ```bash session.modKey: Mod4 ``` -------------------------------- ### Create .Xmodmap file for X11 Source: https://inkscape.org/learn/faq Create an empty .Xmodmap file in the home directory to configure keyboard mappings for X11 applications. This is a prerequisite for further customization. ```bash cd ~ ``` ```bash touch .Xmodmap ``` -------------------------------- ### List X11 Windows with xwininfo Source: https://inkscape.org/learn/faq Use `xwininfo` to list all X11-managed windows and their properties. This is useful for identifying window IDs needed for utilities like `wmctrl`. ```bash xwininfo -root -children ``` -------------------------------- ### Remap Control and Command Keys in X11 Source: https://inkscape.org/learn/faq Use this configuration in the .Xmodmap file to swap the behavior of Control and Command keys in X11 applications. Ensure 'Enable key equivalents in X11' is unchecked in X11 preferences. ```xmodmap ! Switch meta and control keycode 67 = Meta_L keycode 63 = Control_L keycode 71 = Control_R clear mod2 clear control add mod2 = Meta_L add control = Control_L Control_R ``` -------------------------------- ### Map Left Option Key to Alt_L in X11 Source: https://inkscape.org/learn/faq Paste this content into the .Xmodmap file to define the left Option key as Alt_L for all X11 applications. Restart X11 for changes to take effect. ```xmodmap keycode 66 = Alt_L ``` -------------------------------- ### Configure LyX for PDF+LaTeX Output Source: https://inkscape.org/learn/tutorials/latex Add LaTeX preamble commands in LyX to enable PDF+LaTeX output, including graphics and color support. ```latex \usepackage{graphicx} \usepackage{xcolor} \definecolor{darkblue}{rgb}{0,0,0.5} \usepackage{transparent} \usepackage[adobe-utopia]{mathdesign} ``` -------------------------------- ### Include Inkscape EPS in LaTeX Source: https://inkscape.org/learn/tutorials/latex Use the \includegraphics command in LaTeX to embed an Inkscape drawing saved as an Encapsulated PostScript (EPS) file. ```latex \includegraphics{filename.eps} ``` -------------------------------- ### Configure GNOME Mouse Button Modifier Source: https://inkscape.org/learn/faq Use this command in a GNOME Terminal to set the 'Super' key as the default mouse button modifier for window manipulation in older GNOME versions (before 3.5). ```bash dconf write /org/gnome/desktop/wm/preferences/mouse-button-modifier "'Super'" ``` -------------------------------- ### Insert Inkscape PDF+LaTeX Graphic in LyX Source: https://inkscape.org/learn/tutorials/latex Insert an Inkscape graphic exported as PDF+LaTeX into a LyX document using the \input command within a \figure environment. ```latex \centering \def\svgwidth{\columnwidth} \input{exampleIFS.pdf_tex} ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.