first
sezanzeb 4 years ago
parent 86ecc3d394
commit ab1aca7939

@ -1,7 +1,4 @@
# setxkbmap-gtk
This in a very early stage. But due to having all my vacation distributed until the end of the year it will probably
be easily finished this year.
# Key Mapper
GUI tool to map input buttons to e.g. change the thumb keys of the razor naga mouse or any keyboard to something
different. It should not be device specific, any input device supported by Linux plug and play will likely

@ -1,22 +1,22 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# setxkbmap-gtk - GTK based GUI for device specific keyboard mappings
# key-mapper - GTK based GUI for device specific keyboard mappings
# Copyright (C) 2020 sezanzeb <proxima@hip70890b.de>
#
# This file is part of setxkbmap-gtk.
# This file is part of key-mapper.
#
# setxkbmap-gtk is free software: you can redistribute it and/or modify
# key-mapper is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# setxkbmap-gtk is distributed in the hope that it will be useful,
# key-mapper is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with setxkbmap-gtk. If not, see <https://www.gnu.org/licenses/>.
# along with key-mapper. If not, see <https://www.gnu.org/licenses/>.
"""User Interface."""
@ -38,7 +38,7 @@ from setxkbmapgtk.logger import logger, update_verbosity, log_info
class Window:
"""User Interface."""
def __init__(self):
gladefile = os.path.join(get_data_path(), 'setxkbmap-gtk.glade')
gladefile = os.path.join(get_data_path(), 'key-mapper.glade')
builder = Gtk.Builder()
builder.add_from_file(gladefile)
builder.connect_signals(self)

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Application
Name=setxkbmap-gtk
Name=key-mapper
Icon=mouse
Exec=setxkbmapgtk-gtk
Terminal=false

@ -1,25 +1,25 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# setxkbmap-gtk - GTK based GUI for device specific keyboard mappings
# key-mapper - GTK based GUI for device specific keyboard mappings
# Copyright (C) 2020 sezanzeb <proxima@hip70890b.de>
#
# This file is part of setxkbmap-gtk.
# This file is part of key-mapper.
#
# setxkbmap-gtk is free software: you can redistribute it and/or modify
# key-mapper is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# setxkbmap-gtk is distributed in the hope that it will be useful,
# key-mapper is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with setxkbmap-gtk. If not, see <https://www.gnu.org/licenses/>.
# along with key-mapper. If not, see <https://www.gnu.org/licenses/>.
"""Logging setup for setxkbmap-gtk."""
"""Logging setup for key-mapper."""
import os

@ -1,22 +1,22 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# setxkbmap-gtk - GTK based GUI for device specific keyboard mappings
# key-mapper - GTK based GUI for device specific keyboard mappings
# Copyright (C) 2020 sezanzeb <proxima@hip70890b.de>
#
# This file is part of setxkbmap-gtk.
# This file is part of key-mapper.
#
# setxkbmap-gtk is free software: you can redistribute it and/or modify
# key-mapper is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# setxkbmap-gtk is distributed in the hope that it will be useful,
# key-mapper is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with setxkbmap-gtk. If not, see <https://www.gnu.org/licenses/>.
# along with key-mapper. If not, see <https://www.gnu.org/licenses/>.
"""Helperfunctions to find device ids, names, and to load configs."""

@ -1,22 +1,22 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# setxkbmap-gtk - GTK based GUI for device specific keyboard mappings
# key-mapper - GTK based GUI for device specific keyboard mappings
# Copyright (C) 2020 sezanzeb <proxima@hip70890b.de>
#
# This file is part of setxkbmap-gtk.
# This file is part of key-mapper.
#
# setxkbmap-gtk is free software: you can redistribute it and/or modify
# key-mapper is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# setxkbmap-gtk is distributed in the hope that it will be useful,
# key-mapper is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with setxkbmap-gtk. If not, see <https://www.gnu.org/licenses/>.
# along with key-mapper. If not, see <https://www.gnu.org/licenses/>.
import DistUtilsExtra.auto

@ -1,25 +1,25 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# setxkbmap-gtk - GTK based GUI for device specific keyboard mappings
# key-mapper - GTK based GUI for device specific keyboard mappings
# Copyright (C) 2020 sezanzeb <proxima@hip70890b.de>
#
# This file is part of setxkbmap-gtk.
# This file is part of key-mapper.
#
# setxkbmap-gtk is free software: you can redistribute it and/or modify
# key-mapper is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# setxkbmap-gtk is distributed in the hope that it will be useful,
# key-mapper is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with setxkbmap-gtk. If not, see <https://www.gnu.org/licenses/>.
# along with key-mapper. If not, see <https://www.gnu.org/licenses/>.
"""Sets up setxkbmap-gtk for the tests and runs them."""
"""Sets up key-mapper for the tests and runs them."""
import sys

@ -1,22 +1,22 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# setxkbmap-gtk - GTK based GUI for device specific keyboard mappings
# key-mapper - GTK based GUI for device specific keyboard mappings
# Copyright (C) 2020 sezanzeb <proxima@hip70890b.de>
#
# This file is part of setxkbmap-gtk.
# This file is part of key-mapper.
#
# setxkbmap-gtk is free software: you can redistribute it and/or modify
# key-mapper is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# setxkbmap-gtk is distributed in the hope that it will be useful,
# key-mapper is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with setxkbmap-gtk. If not, see <https://www.gnu.org/licenses/>.
# along with key-mapper. If not, see <https://www.gnu.org/licenses/>.
import unittest

Loading…
Cancel
Save