Commit Graph

64 Commits

Author SHA1 Message Date
Nuc1eoN d9cb597348 Fix NEOQWERTZ layout
Signed-off-by: Ulli Kehrle <ulli.kehrle@rwth-aachen.de>
2021-02-23 01:45:19 +01:00
Jonathan Vetter 716ce0a947
added layout NEOQWERTZ
Signed-off-by: Ulli Kehrle <ulli.kehrle@rwth-aachen.de>
2021-02-03 02:30:18 +01:00
Ulli Kehrle 2e357d57e5
Added Bone. 2021-02-03 01:30:42 +01:00
Olaf Schulz a9faf4d710 Add command line actions and fix DBus-issue
A second instance of the app now waits until
it sends it's messages to the primary one.
This fixes issue #12 .

New command line options:
 --version --layer --hide --show --toggle
 --move --pos and --quit
 They can be used to send commands to the primary
 instance of the app.
2020-06-14 00:05:43 +02:00
Olaf Schulz 88f719dc91 Use ADNW/KOY icons in Gnome 3.x indicator 2020-06-10 09:06:19 +02:00
Olaf Schulz aebe6ffe19 Integration of ADNW und KOY:
• Renaming of Optionvalue from NEO_2 to NEO2.
• Code cleanup (Tab indentation and redundant switch cases)
• Add Jonathan Vetter to Authors
2020-06-08 20:57:27 +02:00
Jonathan Vetter 231e9b582d Added ADNW and KOY layout to NeoLayoutViewer
Made some changes in README to show how to select the layout.
2020-06-07 23:34:22 +02:00
Olaf Schulz c660404b3e Minor changes and svg source for layer added. 2019-11-13 11:38:37 +01:00
Olaf Schulz c7d3cb0ca8 Normalize code syntax 2019-11-12 16:12:00 +01:00
Olaf Schulz 5c468bf2b1 Save window size for each monitor. 2019-11-12 15:32:35 +01:00
Olaf Schulz 24ae37e874 Fix issue which prevents window from downscaling
Replace Fixed-Container by Layout-Container to
disconnects the window size from the content size.
Otherwise the window size can be increased but not
decreased.
2019-11-12 12:45:16 +01:00
Olaf Schulz 6d347d1729 Update about dialog text and change my mail address.
Adds new shortcut for monitor switching to about dialog.
2019-11-12 10:41:39 +01:00
Olaf Schulz 02188f4d4c Allow manual re-sizing of window.
Changes in config-manager:
  Add 'color_event_box' option for debugging.

Changes in main window:
  The Gtk.Images was replaced by ScalingImage-objects. They reacts
  on window size changes.

Changes in key overlay:
  The combination of 1 VBox + 6 Hboxes was replaced by one Gtk.Layout
  element. A signal handler connects the element with window size changes.
2019-11-12 10:05:58 +01:00
Olaf Schulz fb41c192d2 First version with support of multiple monitors. Problems given if resolutions of monitors differs... 2019-11-06 21:04:59 +01:00
Olaf Schulz 5eb0bff042 Fix display of version number in about dialog. 2019-01-28 01:08:31 +01:00
Olaf Schulz 8e99b6f5f5 Avoid valac warning and add test target 'deb-packages_as_user' 2019-01-25 14:07:55 +01:00
Olaf Schulz 264804d174 Remove libunique dependency
libunique-3.0 should not be used in Gtk3 application anymore.
Its functionality was replaced by Gtk.Application.
Moreover, the argument 1-5 now looks the displayed layer
again changes by key events.
2019-01-25 03:22:18 +01:00
Olaf Schulz 0869faeaf8 Fix version string display in info popup. 2018-12-18 23:37:52 +01:00
Olaf Schulz 6258f8461d Merge branch 'make-src-package' into unstable 2018-12-18 21:34:11 +01:00
Olaf Schulz 8e2795c045 Add release version string to Makefile
The VERSION variable (relevant for  debian package system) now
depends on the new variable RELEASE_VERSION.
2018-12-18 21:27:59 +01:00
Olaf Schulz be7e5cf7e1 Refactoring comments and README. No further changes 2018-12-18 20:43:23 +01:00
Olaf Schulz 329d621bf8 Correct license mismatch in Readme (issue 4) 2018-09-16 17:57:12 +02:00
Olaf Schulz 7cf5e02407 Fix issue in keysend (c function).
The issue was: Keys like XK_Backspace and XK_Enter sends the wrong keys.
Reason: gdk_keymap_get_entries_for_keyval return multiple combinations
of keycodes, i.e XK_Enter returns
(key=36, modifier=0) [Enter], [Mod4]+p,
(key=55, modifier=32) [Mod4]+p,
(key=55, modifier=33) [Mod4]+[Shift]+p

The latest version is returned, but collides with this 'bugfix':
'if( keymod.modifiers == 33 ) keymod.modifiers = 0;'

Solution:
Return first version (36, 0). Moreover the 'bugfix' is commented out,
but this had to recheck on several systems.
2017-11-17 17:19:25 +01:00
Olaf Schulz 077fc067d7 Add build target for windows. (This only build a very striped version\!) 2017-11-17 16:56:34 +01:00
Olaf Schulz 40bc020add Propagate shared asset folder from Makefile
and fix error in automatic search of asset folder.
2017-11-12 17:55:30 +01:00
Olaf Schulz f1719e90fe Replace deprecated usages of Gtk.Stock and Gtk.ImageMenuItem 2017-11-12 17:18:57 +01:00
Olaf Schulz 5d49593858 Bugfixes and remove of deprecated warnings.
- Makefile: Do not rebuild app for install target
- Show/Hide-Bug: Prevent window position at screen center in i3-wm.
- Set parent window option of about dialog.
- Switch from Gtk.VBox to Gtk.Box.
- Switch from Gdk.x11_get_default_xdisplay() to Gdk.X11.get_default_xdisplay()
- Switch from Gdk.x11_get_default_root_xwindow() to Gdk.X11.get_default_root_xwindow()
2017-11-12 12:59:17 +01:00
Olaf Schulz 93636f251e Update 2017
• Änderung des Namens der Konfigurationsdatei:
  .neo_layout_viewer.conf => neo_layout_viewer.conf
  (Da sie standardmäßig im '.config'-Verzeichnis erstellt wird, braucht
  sie nicht „doppelt“ versteckt werden.)
• Bugfix Icon-Pfad von Indicator-Applet war irrtümlich fixiert und wird
  nun aus dem Asset-Pfad abgeleitet.
• Neben ./asset wird nun auch ../asset als möglicher Standort für die
  Grafiken angenommen.
• Info-Popup: Zeigt nun an, welche Config-Datei geladen wurde.
• Makefile baut neues Binary nur noch bei geänderten Sourcen oder geänderten
  Umgebungsvariablen.
• Info-Popup: Zeigt git-commit id an.
2017-11-12 02:52:38 +01:00
Olaf Schulz 246bd2457b Add gtk window hint. This info is useful for tiling window managers. 2015-01-10 22:06:24 +01:00
Olaf Schulz 3ba5117e83 Bugfixes:
• Die virtuelle Tastatur funktioniert jetzt wieder für alle Ebenen.
 Vorher gab es ein Problem auf der ersten Ebene, bei dem als
 Modifier-Maske 33 ausgewählt wird, obwohl sie 0 sein müsste. Dieser
 Fehler tritt aber nur auf, wenn das Neo-Layout aktiviert war. Als
 Workaround wird nun die Maske 33 auf 0 gemappt.
• Die Konfigurationsdatei wurde jetzt nicht mehr mehrfach angelegt. Es gibt drei
Standardpfade unter denen die Konfiguration gesucht wird. Durch Wahl der
falschen Vergleichsvariable wurde die Konfigurationsdatei
.neo_layout_viewer.conf aber nur im aktuellen Verzeichnis gesucht.
2014-06-08 17:36:56 +02:00
Olaf Schulz 68b1d82a21 Merge branch 'master' into refactoring
Conflicts:
	src/config-manager.vala
	src/main.vala
	src/neo-window.vala
	src/unique.vala
2013-12-09 14:26:02 +01:00
Olaf Schulz 99c33107d2 Anpassung des READMEs 2013-12-09 02:00:01 +01:00
Olaf Schulz 95b8c9a708 Add install and unistall option to Makefile 2013-12-09 00:32:12 +01:00
Olaf Schulz ce2b307cae Add system wide search for config file and asset folder. This is
a preparation for the install option in Makefile.
2013-12-08 02:35:03 +01:00
Olaf Schulz 883b24176d • Change startup beheaviour of the application:
If a second instance will be started the window of the first instance
	will be toggled (and not shown). Now, it's possible to map the
	toggle-window shortcut on the same key binding as the
	(external) application start.
• Add new config file option: show_on_startup
2013-12-08 01:09:00 +01:00
Olaf Schulz 012c3277fc Change some annotations 2013-12-07 14:19:54 +01:00
rixx da8a5a20ca formatting all the way 2013-09-18 20:32:40 +02:00
rixx 59bf6188b7 removed unused code 2013-09-18 00:16:37 +02:00
Olaf Schulz e0b870e32f Update README and install instructions. Fix compiling error for older vala versions <0.16 2013-09-17 22:59:44 +02:00
rixx 5325595aa4 removed commented code from neo-window.vala 2013-09-13 20:22:53 +02:00
Olaf Schulz 54971f58ab Add missing file. 2012-11-02 18:56:29 +01:00
Olaf Schulz 7c2aa5d4ef Add indicator menu for gnome 3. The Makefile contains now
a flag to select the desired icon type: none, tray (for gnome 2.x) or
indicator (for gnome 3.x).
2012-11-02 18:53:56 +01:00
Olaf Schulz c0e4b6c1f8 Switch to Gdk-3.0. Virtual keyboard functionality does not work anymore. 2012-11-01 22:40:54 +01:00
Olaf Schulz 8d4e988f39 Fix KeybindingManager issues after update on gdk 3.0 2012-11-01 20:41:15 +01:00
Olaf Schulz 7b836018c5 Update to gtk 3.0. 2012-11-01 13:57:52 +01:00
Olaf Schulz c1de4f1e16 Fix bugs for new vala version (not finished). 2012-08-14 15:29:57 +02:00
Olaf Schulz 64620df692 Limit number of application instances to one. Show first application window, if second instance is started. 2011-10-23 03:48:20 +02:00
Olaf Schulz ee96bb89cf Send key event twice: To the focused window and the root window (for global shortcuts) 2011-10-22 18:09:25 +02:00
Olaf Schulz 863683e249 Remove layer selection with keys 1-6. 2011-10-22 13:34:01 +02:00
Olaf Schulz 884558f4e9 Remove image loading error, if executeable not called from bin dir 2011-10-21 13:47:35 +02:00