Launching Bluefish: Difference between revisions

From Bluefish Wiki
Jump to navigation Jump to search
mNo edit summary
(Added the hint that Bluefish can be started from the Application menu also on other desktops)
 
(2 intermediate revisions by 2 users not shown)
Line 13: Line 13:
*[[Man 2 ch03s02|2. Command line options]]  
*[[Man 2 ch03s02|2. Command line options]]  
</div>
</div>
Here are the various ways of starting Bluefish.


== 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.}}
{{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 ==
There are several useful command line options:<br />
<tt>'''$''' man bluefish</tt> shows a list of possible commands.


For French users, if you want to get the custom menu in French language, launch it with the same command as above. If you run bluefish in GNOME, launch it with this command the first time after installation, thereafter you may launch it via the Applications/Programming menu.
;-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.





Latest revision as of 08:19, 5 March 2023


1. Launching Bluefish[edit]

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.

Man2 note.gif 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[edit]

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.