Launching Bluefish: Difference between revisions

From Bluefish Wiki
Jump to navigation Jump to search
DrMartinus (talk | contribs)
Improved the first section and added the Command Line Options section, so there is no need for another page.
DrMartinus (talk | contribs)
Added the hint that Bluefish can be started from the Application menu also on other desktops
 
Line 15: Line 15:


== 1. Launching Bluefish ==
== 1. Launching Bluefish ==
In GNOME, Bluefish can be started from the Applications/Programming menu. From a terminal, simply launch bluefish using the command <tt>'''bluefish'''</tt>.
In GNOME, Bluefish can be started from the Applications/Programming menu. This should also be valid for every other Linux desktop, if bluefish has been installed using the distro's package manager. If Bluefish can not be found in the Applications menu, you can start Bluefish from a terminal: simply launch bluefish using the command <tt>'''bluefish'''</tt>.


{{note|text=In GNOME, bluefish is launched conforming to the system language. If you want to launch it with another language, first rename the directory $HOME/.bluefish to $HOME/.bluefish-xx, where xx is the previous language. This way you will retrieve your previous settings easily. Then use this command in a terminal: <br/><tt>'''export LANGUAGE=fr_FR; export LANG=fr_FR; export LC_ALL=fr_FR; bluefish &'''</tt><br/> if you use a bash-like shell.}}
{{note|text=In GNOME, bluefish is launched conforming to the system language. If you want to launch it with another language, first rename the directory $HOME/.bluefish to $HOME/.bluefish-xx, where xx is the previous language. This way you will retrieve your previous settings easily. Then use this command in a terminal: <br/><tt>'''export LANGUAGE=fr_FR; export LANG=fr_FR; export LC_ALL=fr_FR; bluefish &'''</tt><br/> if you use a bash-like shell.}}
Then use this command in a terminal: <tt>'''export LANGUAGE=fr_FR; export LANG=fr_FR; export LC_ALL=fr_FR; bluefish &'''</tt> if you use a bash-like shell.


== 2. Command Line Options ==
== 2. Command Line Options ==
There are several useful command line options:<br />
There are several useful command line options:<br />
<tt>'''$''' man bluefish</tt> show a list of possible commands.
<tt>'''$''' man bluefish</tt> shows a list of possible commands.


;-c, --curwindow
;-c, --curwindow

Latest revision as of 07:19, 5 March 2023


1. Launching Bluefish

In GNOME, Bluefish can be started from the Applications/Programming menu. This should also be valid for every other Linux desktop, if bluefish has been installed using the distro's package manager. If Bluefish can not be found in the Applications menu, you can start Bluefish from a terminal: simply launch bluefish using the command bluefish.

In GNOME, bluefish is launched conforming to the system language. If you want to launch it with another language, first rename the directory $HOME/.bluefish to $HOME/.bluefish-xx, where xx is the previous language. This way you will retrieve your previous settings easily. Then use this command in a terminal:
export LANGUAGE=fr_FR; export LANG=fr_FR; export LC_ALL=fr_FR; bluefish &
if you use a bash-like shell.

2. Command Line Options

There are several useful command line options:
$ man bluefish shows a list of possible commands.

-c, --curwindow
Open a file in an existing window. This can be used to overwrite the chosen default.
-n, --newwindow
Open a file in a new window. This can be used to overwrite the chosen default.
-?, --help, --help-*, --help-all
Print all or just a group of help options. Some of these options may be documented in gtk-options(7) and gnome-options(7).
--help-gtk
GTK+ Options
--class=CLASS Program class as used by the window manager
--name=NAME Program name as used by the window manager
--display=DISPLAY X display to use
--screen=SCREEN X screen to use
--sync Make X calls synchronous
--gtk-module=MODULES Load additional GTK+ modules
--g-fatal-warnings Make all warnings fatal
--help-gnome
todo


-v, --Version
Print version information.


Many programs like browsers, email clients and file managers can be configured to open files in Bluefish. For example, bluefish '%s' will open a file in the current window, bluefish -n '%s' will open a file in a new window.