gvim is required to edit timelog.txt

Bug #592560 reported by Federico Ceratto
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

As long as there is no specific need of gvim as an editor for timelog.txt, by default gtimelog should instead run the default editor.
It can be achieved by running sensible-editor on Debian and Ubuntu systems.

Revision history for this message
Marius Gedminas (mgedmin) wrote :

What do you thing about using xdg-open instead? It runs gedit for me and should be distro-independent.

Changed in gtimelog:
status: New → Confirmed
status: Confirmed → Fix Committed
Revision history for this message
Marius Gedminas (mgedmin) wrote :

Committed a fix to use xdg-open by default.

Note: if you've used gtimelog before, you'll have to manually edit ~/.gtimelog/gtimelogrc and change

    editor = gvim
    spreadhsheet = oocalc %s


    editor = xdg-open
    spreadsheet = xdg-open %s

Changed in gtimelog:
status: Fix Committed → Fix Released
Revision history for this message
Federico Ceratto (federico-ceratto) wrote :

Plus, xgd-open is designed to be used only in desktop sessions, so most likely it will fire up graphical editors instead of text-mode ones. Good choice, thanks!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers