gapan / gtkman Goto Github PK
View Code? Open in Web Editor NEWA simple GTK+3 manual page viewer
License: GNU General Public License v3.0
A simple GTK+3 manual page viewer
License: GNU General Public License v3.0
-> 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'
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)
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".
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:
Here a screenshot of my locale configuration:
Thanks in advance!
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 ~
$
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.'
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?
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!
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.