1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-10-30 23:47:19 -04:00

[Debug] Add a '-log' flag.

This commit is contained in:
Dave Davenport 2022-07-08 22:53:07 +02:00
parent f3634d4ff3
commit 96027decd9
4 changed files with 53 additions and 4 deletions

View file

@ -128,7 +128,16 @@ environment variable. At the time of creation of this page, the following debug
For full list see `man rofi`.
Example: ```G_MESSAGES_DEBUG=Dialogs.DRun rofi -show drun``` To get specific output from the Desktop file run dialog.
Example: `G_MESSAGES_DEBUG=Dialogs.DRun rofi -show drun` To get specific output from the Desktop file run dialog.
To redirect the debug output to a file (`~/rofi.log`) add:
```
rofi -show drun -log ~/rofi.log
```
Specifying the logfile automatically enabled all log domains.
This can be useful when rofi is launched from a window manager.
## Creating a backtrace.