Launcher command line options

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

MeinAccount

New Member
Jul 29, 2019
4
0
0
I'm currently working on some .desktop files for the Unity Dash. I would like to add a shortcut for every modpack I've installed.
Would it be possible (or did I miss them?) to add command line options for starting an modpack directly?
 

JaySee

New Member
Jul 29, 2019
1
0
0
I'm in the exact same situation. Have you gotten it to pin to the launcher properly at all, even to just run the ftb-launcher?
 

MeinAccount

New Member
Jul 29, 2019
4
0
0
Create the file "~/.local/share/applications/FTB Launcher.desktop" with the following content. (Of course you have to change the paths.) I would recomend to import the packs into MultiMC which works great on Ubuntu.

Code:
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Name=FTB Launcher
Exec=java -jar FTB_Launcher.jar -Xmx2000M -Xms1800M
Path=/***********/ftb/
Icon=/***********/.ftblauncher/ModPacks/Ultimate/logo_ftb.png
Categories=Game;