- FULL SCREEN WITHOUT TASKBAR INSTALL
- FULL SCREEN WITHOUT TASKBAR PATCH
- FULL SCREEN WITHOUT TASKBAR PLUS
To the end of the definition of ev_window_view_cmd_toggle_toolbar in shell/ev-window.c and change: gtk_application_window_set_show_menubar (GTK_APPLICATION_WINDOW (window), !presentation) In addition to the above patch, you would need to add: gtk_application_window_set_show_menubar (GTK_APPLICATION_WINDOW (ev_window), !toolbar) The menu-bar will not be hidden, which may or may not be what you want. The patched evince will have the option of hiding the toolbar with Ctrl+h. configure -prefix=/full/path/to/alternative/location/.
FULL SCREEN WITHOUT TASKBAR INSTALL
To install elsewhere, for example to avoid having to use sudo, use. configure make sudo make install to install the patched evince to /usr/local/.
FULL SCREEN WITHOUT TASKBAR PATCH
With patch -p1 < name_of_patch_file.patch or using quilt (and ideally read the patch before/after applying it - it's actually quite comprehensible, especially in context).įinally, compile evince with the standard. + GAction *gaction = g_action_map_lookup_action (action_map, "toggle-toolbar") Įv_application_startup (GApplication *gapplication)Ĭonst GActionEntry app_menu_actions = , + GActionMap *action_map = G_ACTION_MAP (window) + EvWindow *window = EV_WINDOW (gtk_application_get_active_window (GTK_APPLICATION (application))) + EvApplication *application = user_data +app_toggle_toolbar_cb (GSimpleAction *action, If this doesn't work, uncomment the deb-src lines in /etc/apt/sources.list.Īpply the following patch (adapted from the ones provided by Reinis Danne, linked above and provided here for completeness): - a/shell/ev-application.c 23:00:00.502095551 +0100 Applying them directly with patch appears not to work, probably due to slight changes in the surrounding code. Luckily, these patches can still be manually applied (copy-pasting the code) to evince 3.18, as found in Ubuntu 16.04. Direct links for 3.12, the contemporary master branch and 3.14.
Working patches were provided (by Reinis Danne) in the GNOME bug report, but they were not accepted. The relevant bugs (ubuntu-specific and upstream) are here: It seems that the (otherwise very useful) Ubuntu-specific patches returning a normal menu-bar and normal location of the toolbar, break the auto-hiding behaviour, exacerbating the problem. Unfortunately, for evince as packaged in Ubuntu (14.04 and 16.04), even that is not possible.
FULL SCREEN WITHOUT TASKBAR PLUS
In vanilla evince, in full-screen mode, the toolbar autohides, which is somewhat helpful, if not entirely sufficient (semi-intelligent behaviour never does exactly what you desire, plus it would be very convenient to be able to hide the toolbar not in full-screen mode as well - arguably that is when the screen-space savings are particularly important). Hiding the toolbar is not possible in evince either in Ubuntu 14.04 or 16.04, nor in upstream/vanilla evince (unmodified by Ubuntu), though if you're desperate, you can patch the source and recompile.