8000 GitHub - jtheoof/nicotine: A high performance Eve Online multiboxing and client management tool for Linux + Windows systems | Join the Discord -> https://discord.gg/N82KJcS47f · GitHub
[go: up one dir, main page]

Skip to content
jtheoofPublic
forked from isomerc/nicotine

About

A high performance Eve Online multiboxing and client management tool for Linux + Windows systems | Join the Discord -> https://discord.gg/N82KJcS47f

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Nicotine Logo

Nicotine 🚬

High-performance EVE Online multiboxing tool for Linux (X11 & Wayland) and Windows.

Illuminated is recruiting!

Features

  • Instant client cycling with mouse buttons (forward/backward) or targeted switching (jump to client N)
  • Live preview windows per EVE client — XComposite + XRender on Linux, DWM thumbnails on Windows
  • List display mode — compact roster window as an alternative to per-client previews
  • Config panel for character order, per-character jump hotkeys, preview sizing, and display mode
  • Daemon architecture for near-zero-latency window switching
  • Auto-stack windows to perfectly center multiple EVE clients
  • Drag-to-position with snap-to-dock on previews and the list window; lockable layout for play
  • Multi-compositor support — X11, KDE Plasma (Wayland), Sway, Hyprland, GNOME (Wayland; auto-stack excepted)
  • Minimize inactive clients — optional, reduces resource usage when cycling away
  • System tray — optional: closing the panel keeps Nicotine running behind a tray icon (Open, show/hide previews, restack, quit)
  • Settings sync — copy a main character's EVE settings to its alts (keeping each alt's own ship and drone setup), and graphics between launcher settings profiles
  • Local threats — watches every client's Local member list, even in the background, and sends a desktop notification when a hostile or neutral pilot is in a character's system; the region is a box you drag over the member list (Wayland, notify-only)

Roadmap

  • Comprehensive documentation
  • More configuration options

Quick Install

One-Line Installer (Recommended)

curl -sSL https://raw.githubusercontent.com/isomerc/nicotine/master/install-github.sh | bash

Then restart your terminal and run:

nicotine start    # Automatically runs in background

From Source

git clone https://github.com/isomerc/nicotine
cd nicotine
./install-local.sh

Then restart your terminal and run:

nicotine start    # Automatically runs in background

Usage

Basic Commands

nicotine start          # Start everything (daemon + overlay)
nicotine stop           # Stop all Nicotine processes
nicotine stack          # Stack all EVE windows
nicotine forward        # Cycle to next client
nicotine backward       # Cycle to previous client
nicotine 1              # Jump to client 1
nicotine 2              # Jump to client 2

Targeted Cycling

By default, nicotine 1, nicotine 2, etc. use window detection order. To define your own order, create ~/.config/nicotine/characters.txt:

Main Character
Alt One
Alt Two

Each line is a character name (without "EVE - " prefix). Line 1 = target 1, line 2 = target 2, etc. Bind these commands to hotkeys in your desktop environment for quick access.

Mouse Bindings

Native Support (Works on X11 & Wayland):

Nicotine has built-in mouse button detection that works universally across all display servers and compositors

Quick Setup:

  1. Add your user to the input group:
    sudo usermod -a -G input $USER
  2. Log out and log back in (required for group membership to take effect)
  3. Start Nicotine - mouse buttons work automatically!

Configuration: Edit ~/.config/nicotine/config.toml to customize:

enable_mouse_buttons = true
forward_button = 276   # Button 9 (forward/side button)
backward_button = 275  # Button 8 (backward button)
mouse_device_name = "" # Optional takes priority over mouse_device_path, use evtest to find name of the device
mouse_device_path = "/dev/input/event3" # Optional and not created on first run, find the correct device with evtest

If using mouse_device_name the string must be na exact match, you can list your devices with evtest.

$ sudo evtest
...
/dev/input/event16:     Logitech PRO X
...

In ~/.config/nicotine/config.toml set

mouse_device_name = "Logitech PRO X"

Device is configuration priority order is:

  1. Name
  2. Path
  3. Autodetect

Common button codes:

  • 275 = BTN_EXTRA (button 8, backward)
  • 276 = BTN_SIDE (button 9, forward)
  • 277 = BTN_FORWARD
  • 278 = BTN_BACK

Find your button codes:

sudo evtest  # Select your mouse, then click buttons to see their codes

Troubleshooting:

  • Verify group membership: groups | grep input
  • Check permissions: ls -l /dev/input/event*
  • Disable if needed: enable_mouse_buttons = false in config

Keyboard Bindings

Quick Setup:

  1. Add your user to the input group:
    sudo usermod -a -G input $USER
  2. Log out and log back in (required for group membership to take effect)

Configuration: Edit ~/.config/nicotine/config.toml to customize:

enable_keyboard_buttons = true
forward_key = 15        # TAB key
backward_key = 15       # TAB key
backward_modifier = 42  # held with backward_key, so Shift+Tab cycles backward
# forward_modifier = 56 # optional modifier for forward_key
hotkeys_eve_focus_only = true # keyboard hotkeys do nothing while another app has focus
# keyboard_device_path = "/dev/input/eventX" # optional; set it if keybinds don't work

Common button codes:

  • 15 = KEY_TAB (TAB Key)
  • 42 = LEFT_SHIFT, 29 = LEFT_CTRL, 56 = LEFT_ALT (the right-hand keys work too)

Find your button codes:

sudo evtest  # Select your keyboard, then click buttons to see their codes

Troubleshooting:

  • Make sure you've enabled keyboard buttons: enable_keyboard_buttons = true in config
  • Check for other device events, sometimes keyboards will have multiple events but only one is handling inputs
cat /proc/bus/input/devices | grep -B 5 "kbd" | grep -E "Name|Handlers"
sudo evtest /dev/input/eventX # Replace X with the correct event number i.e event11

Config Panel & Previews

nicotine start opens the config panel and spawns one preview window per running EVE client. The panel has five tabs: Display (display mode, preview windows, system tray), Characters (cycle order, per-character jump hotkeys, the main character), Hotkeys, Sync (settings sync between characters, see below) and Local (Local threats, see below). Changes apply live; saves debounce to disk.

Previews and the list window:

  • Left-click-drag to reposition; edges snap to adjacent windows
  • Click without drag on a preview to foreground that EVE client
  • Lock positions in the panel to freeze the layout during play

With Keep running in the tray on (Display tab → System Tray), closing the panel leaves Nicotine running behind a tray icon; click the icon to reopen the panel, or right-click it to show/hide previews, restack or quit. Start hidden in the tray skips the panel at launch, which suits autostart. On Linux the icon needs a StatusNotifierItem tray: KDE Plasma, waybar's tray module (Hyprland, Sway), or GNOME with the AppIndicator extension. Without one, closing the panel quits as usual.

Settings sync

Tick main on a character in the Characters tab, then use the Sync tab to copy its settings to the other characters in the cycle list:

  • Character settings (core_char_<id>.dat: windows, overview, UI layout) go to each character; account settings (core_user_<id>.dat: keybinds, general settings, overview presets) go to each account, shared by its characters.
  • Each account runs with a launcher settings profile (a settings_<profile> folder with its own copy of both files and its own graphics). Accounts, their characters and profiles are listed under Accounts: EVE's files can't tell which account a character is on, so Detect account watches one client session to find out (or add characters by hand).
  • Each target keeps what belongs to the character rather than to the layout, unless Copy everything is ticked: its ships' HUD module positions, weapon groups, drone groups, module auto-repeat and auto-reload (they hold item IDs of its own ships and modules), its default orbit, keep-at-range and warp-to distances, its inventory state ("new" item markers, expanded and last open containers), the selected tab of each chat, intel and inventory window stack, autopilot route, fleet to rejoin, read notifications and mail, cached asset and market values, industry jobs and tracked agency opportunities. The ship HUD options, overview, camera, d-scan and windows are synced. Fix overview filter names first unescapes names EVE saved with escaped tags (&lt;color=…&gt; shown as text) in the main's own files.
  • Graphics Profiles copies the graphics settings (the device section of core_public__.yaml) from one profile to another, e.g. full graphics for the main and a low-graphics profile for alts.

Preview shows every change before anything is written. With Sync after Stop EVE clients ticked, the tray's Stop EVE clients (or the Sync tab's button) syncs on its own once every client has closed, with the choices last made in the Sync tab and no preview, and reports the result in a desktop notification (Linux). Apply is disabled while any EVE client runs (EVE rewrites its settings when it exits). Replaced files are backed up under ~/.local/state/nicotine/settings-backups/<time>/ (%LOCALAPPDATA%\nicotine\settings-backups on Windows), and Undo puts them back. The settings are found in the Steam Proton prefix on Linux and under %LOCALAPPDATA%\CCP\EVE on Windows; another folder can be set in the Sync tab.

Local threats

The Local tab watches the Local member list of every EVE system you have a client in, about 3 times a second, also for clients in the background or on another workspace (not minimized ones). Clients in the same system see the same Local, so they take turns: one of them is captured each time. A system's count is the highest seen over the last 2 seconds, so blinking flags count even though they are too dim to see in their dark phase. It counts the hostile flags of EVE's default colortags: red, orange, yellow and teal (war targets, bad and terrible standing, criminals, suspects, retribution and kill rights, low security status, no standing, limited engagement), but not neutral standing, which is white (give it a colour in the overview settings to count neutrals) and sends a critical "Danger in local" notification when the count goes up: once per system when several clients share it (the system comes from the Local chat logs, so keep EVE's "Log chat to file" on), again when more threats show up, and separately for each system. A flag must look like one (a small square with straight edges and a white symbol), so the space or station behind the translucent Local window doesn't count. Each alert saves the frame with the most flags it saw, flags outlined, to ~/.local/state/nicotine/local-scan/alert-<character>.png. It only reads pixels: nothing is sent to the game.

Set region… opens a box over the focused EVE client: drag it (by its title strip or from inside) over the standing flags of the Local member list and resize it by its edges. While it is open it outlines the flags it counts and shows the count, so you can check it catches them, blinking ones included. Apply saves it; every client is then watched at the same place in its window (they share one layout, see Settings sync), scaled to its size. The tab lists what each client sees. Save snapshot saves every client's next frame to ~/.local/state/nicotine/local-scan/<character>.png, and the region with the counted flags boxed to <character>-region.png (also nicotine local-scan-snapshot).

Wayland only for now, on compositors with ext-image-copy-capture (Hyprland; the region box needs Hyprland). In config.toml:

[local_scan]
enabled = true
region = { x = 230, y = 610, width = 24, height = 420, client = [2560, 1440] }

# A character whose layout differs gets its own region.
[local_scan.regions]
"Other Character" = { x = 40, y = 380, width = 24, height = 600, client = [2560, 1440] }

Configuration

Config file: ~/.config/nicotine/config.toml

Auto-generated on first run. Key settings:

display_width = 1920
display_height = 1080
panel_height = 0           # Set this if you have a taskbar/panel
eve_width = 1037           # ~54% of display width
eve_height = 1080
show_previews = true       # Spawn preview windows (false = daemon-only)
preview_width = 320        # Preview window width in px
preview_height = 180       # Preview window height in px
display_mode = "Previews"  # "Previews" or "List"
positions_locked = false   # Disable drag on previews + list
enable_mouse_buttons = true
forward_button = 276       # Button 9
backward_button = 275      # Button 8
minimize_inactive = false  # Minimize clients when cycling away (saves resources)
close_to_tray = false      # Closing the panel keeps Nicotine running in the tray
start_in_tray = false      # With close_to_tray: launch to the tray, no panel

Per-character jump hotkeys live under [character_hotkeys."Name"] with vk and optional modifier; the config panel writes them for you.

Architecture

  • Daemon mode: Maintains window manager connection and state in memory for instant cycling
  • Unix socket IPC: ~2ms command latency (vs ~50-100ms process spawning)
  • Non-blocking activation: Fire-and-forget window switching
  • Native mouse support: Direct evdev access for universal mouse button detection

Requirements

Display Server Support

Nicotine supports both X11 and Wayland (compositor-dependent):

  • X11 - Full support (all features)
  • Wayland - KDE Plasma - Full support via wmctrl (XWayland)
  • Wayland - Sway - Full support via swaymsg
  • Wayland - Hyprland - Full support via hyprctl
  • Wayland - GNOME - Cycling + preview windows work (via XWayland/EWMH); auto-stack is disabled because Mutter blocks applications from positioning windows. GNOME-on-Xorg supports everything.

Dependencies

Required:

  • wmctrl - Window management on X11 and KDE Plasma Wayland

Wayland-specific (compositor tools):

  • KDE Plasma: wmctrl (uses XWayland compatibility)
  • Sway: swaymsg (included with sway)
  • Hyprland: hyprctl (included with hyprland)

Install:

# Arch
sudo pacman -S wmctrl

# Ubuntu/Debian
sudo apt install wmctrl

# Fedora
sudo dnf install wmctrl

For mouse button support, add yourself to the input group (see Mouse Bindings section).

Wayland Support & Known Limitations

What works:

  • Mouse buttons (native evdev support, no external tools needed)
  • Window detection and cycling (all supported compositors)
  • Window stacking (KDE/Sway/Hyprland; not GNOME Wayland)
  • Preview windows (XComposite + XRender via XWayland)
  • Auto-detection of display server and compositor

Limitations:

  • GNOME (Wayland): auto-stacking is unavailable. Mutter does not let applications position windows, and there is no extension-free way around it. Client cycling and preview windows work normally via XWayland, and the Restack button is hidden on this session. GNOME-on-Xorg supports everything (including stacking), but note the GNOME Xorg session is being removed upstream (GNOME 49+/Fedora 43).

Building from Source

# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Build
cargo build --release

# Binary at: target/release/nicotine

License

See LICENSE

About

A high performance Eve Online multiboxing and client management tool for Linux + Windows systems | Join the Discord -> https://discord.gg/N82KJcS47f

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0