Skip to content

Commit

Permalink
Add a simple Geany portable variant to the FAQ (#52)
Browse files Browse the repository at this point in the history
Co-authored-by: Colomban Wendling <[email protected]>
  • Loading branch information
eht16 and b4n authored Nov 9, 2024
1 parent 0ba557b commit 38dd804
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions page_content/documentation/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,29 @@ indent settings - i.e. you might want one document indented with tabs whilst
another is open with spaces indentation. See the [manual][8] for details.


## How to install a portable version of Geany on Windows (e.g. for USB drives)?

You can use the official installer to install Geany and copy its files to a portable device:

- install Geany from the official installer to any path on a local disk
- copy the whole directory to the portable device
- then uninstall Geany from your local system
- create a new file in the installation directory and name it `GeanyPortable.bat` (or any other name you like)
- copy the following contents into the file:
```
@ECHO OFF
SET XDG_CONFIG_HOME=./config
REM Optionally set the language you prefer, a list of available translations can be found on https://www.geany.org/contribute/translation/statistics/
SET LANG=en
start /b bin\geany.exe --config=./config/geany
```
- if you want to change the GTK theme for another look and feel, see [How to change the GTK theme?][12] below and use the directory `config` for creating the `gtk-3.0` and `themes` directories
- to install Geany-Plugins proceed like above with the Geany-Plugins installer

There is also a third party package for a portable Geany version, see [Geany Portable for Windows (portableapps.com)][13]. Please keep in mind this package is not maintained by the Geany team and it is each user's own decision of its trustworthiness.

## How to change the GTK theme?

The GTK theme defines the look and feel of Geany.
Expand Down Expand Up @@ -265,3 +288,5 @@ If that doesn't answer your question, the quickest and best way is to ask on the
[9]: /support/mailing-lists/
[10]: https://plugins.geany.org/geanylua/geanylua-index.html
[11]: https://plugins.geany.org/geanypy.html
[12]: #how-to-change-the-gtk-theme
[13]: /download/third-party/#geany-portable-for-windows-portableappscom
2 changes: 1 addition & 1 deletion static_docs/templates/pages/i18n.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h2>Geany translation statistics</h2>
<tbody>
{% for language_data in i18n_statistics.catalog_statistics|dictsort:"language_name" %}
<tr>
<td class="col-md-4"><a href="{{ static_docs_geany_destination_url }}/{{ language_data.filename }}">{{ language_data.language_name }}</a> ({{ language_data.last_translator }})</td>
<td class="col-md-4"><a href="{{ static_docs_geany_destination_url }}/{{ language_data.filename }}">{{ language_data.language_name }}</a> [{{ language_data.language_code }}] ({{ language_data.last_translator }})</td>
<td class="col-md-1">{{ language_data.statistics.translated }} ({{ language_data.statistics.percentage_translated|floatformat:1 }} %)</td>
<td class="col-md-1">{{ language_data.statistics.fuzzy }} ({{ language_data.statistics.percentage_fuzzy|floatformat:1 }} %)</td>
<td class="col-md-1">{{ language_data.statistics.untranslated }} ({{ language_data.statistics.percentage_untranslated|floatformat:1 }} %)</td>
Expand Down

0 comments on commit 38dd804

Please sign in to comment.