Git Product home page Git Product logo

gtkman's People

Contributors

eworm-de avatar gapan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gtkman's Issues

package problems

-> invoking gtkman after the most recent update:

gtkman
Traceback (most recent call last):
File "/usr/local/bin/gtkman", line 13, in
import ConfigParser
ModuleNotFoundError: No module named 'ConfigParser'

--> changing import ConfigParser to import configparser:

(2/1)~$ gtkman
/usr/local/bin/gtkman:18: DeprecationWarning: Gdk.threads_init is deprecated
Gdk.threads_init()
Traceback (most recent call last):
File "/usr/local/bin/gtkman", line 48, in
class GTKMan:
File "/usr/local/bin/gtkman", line 49, in GTKMan
config = ConfigParser.RawConfigParser()
NameError: name 'ConfigParser' is not defined

--> sed'ing all occurences of ConfigParser to configparser:

(2/1)~$ gtkman
/usr/local/bin/gtkman:18: DeprecationWarning: Gdk.threads_init is deprecated
Gdk.threads_init()
Traceback (most recent call last):
File "/usr/local/bin/gtkman", line 48, in
class GTKMan:
File "/usr/local/bin/gtkman", line 49, in GTKMan
config = configparser.Rawconfigparser()
AttributeError: module 'configparser' has no attribute 'Rawconfigparser'

Part of Japanese man lacks

The Slint project members and I were promoting the adoption of Japanese man for Slint.
As one of them, I attempted to display Japanese man with GTKMan.
However, some of them are missing.

(The display below is indicated by Salix)
_2016-12-06_11-39-19.md.jpg

Normal display of that man:
slint-man-konqueror.md.jpg

Probably GTKMan seems to be malfunctioning with multibyte code processing tags around.

I confirm this setting: #2

In order to display Japanese manual correctly, "man" command is replaced with "man-db".

UTF-8 support

Hi!

I don't know whether GTKMan has support for UTF-8 strings but in my case some characters are not displayed correctly, that is, the accented characters are displayed incorrectly (example: "á", "é", "í", "ó" and "ú" as well as their representations in uppercase). My system is configured and using es_MX locale.

I enclose a screenshot where such errors are shown:

GTKMan

Here a screenshot of my locale configuration:

Locale

Thanks in advance!

Using pip to install

I can't seem to find gtkman using pip? Did I do something wrong? If not could we get gtkman pip packaged?

bash ~                                   
$ pip3 search gtkman
bash ~
$ pip2 search gtkman
bash ~
$ 

DEPRECATION: Python 2.x

Fedora31 users install python2; replace python by python2 at line 1 of gtkman.
However this will 'fix' the problem only temporarily, as:

'DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.'

[Feature Request] Tabs

It'd be really handy if we could have more than one manpage open and switch back and forth between them really easily. Also after tabs maybe split views?

V2.0: Minor depreciation warnings

When opening gtkman:


/usr/bin/gtkman:16: DeprecationWarning: Gdk.threads_init is deprecated
  Gdk.threads_init()
/usr/bin/gtkman:577: DeprecationWarning: Gtk.Widget.modify_font is deprecated
  self.textview_manpage.modify_font(Pango.FontDescription('monospace'))

When clicking on the 'index' button:


/usr/bin/gtkman:415: DeprecationWarning: Gdk.threads_enter is deprecated
  Gdk.threads_enter()
/usr/bin/gtkman:417: DeprecationWarning: Gdk.threads_leave is deprecated
  Gdk.threads_leave()

Other than that, looking good!

[Feature Request] Links

Manpages will reference other manpages, typically using some text like otherprogram(3). It'd be neat if we could click on the link and have it take us there.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.