Package Details: i3-gnome-flashback 3.28.1-1

Git Clone URL: https://aur.archlinux.org/i3-gnome-flashback.git (read-only)
Package Base: i3-gnome-flashback
Description: Starts i3 inside a GNOME-Flashback session.
Upstream URL: https://github.com/deuill/i3-gnome-flashback
Keywords: gnome i3wm
Licenses: MIT
Submitter: deuill
Maintainer: deuill
Last Packager: deuill
Votes: 1
Popularity: 0.000020
First Submitted: 2017-08-25 21:40
Last Updated: 2018-03-25 18:09

Latest Comments

stas-t commented on 2018-07-22 11:41

How do I prevent gnome-flashback from capturing Mod1+letter or Mod4+letter key combinations? What I observed is after starting i3-gnome-flashback session ModX-arrow and ModX+Enter work, but ModX+letter are processed by gnome-flashback: if I have e.g. a terminal window open - pressing Mod4+d will result in letter "d" appearing in terminal.

geyslan commented on 2018-05-01 13:15

deuill: Thank you, your approach works nicely. What I did was:

~/.config/i3/bin/hidpi_scale

#!/bin/bash

# This workaround is due using gnome-flashback as a fancy i3wm backend

# gnome has dpi hardcoded as 96
enforced=96
factor=$1
dpi=$(echo "($enforced * $factor) / 1" | bc)

# gsettings must be called first since it reconfigures Xresources
gsettings set org.gnome.desktop.interface text-scaling-factor $factor

sleep 1
printf "Xft.dpi: $dpi" | xrdb -merge
xrandr --dpi $dpi
echo $dpi

~/.config/i3/config

exec_always --no-startup-id ~/.config/i3/bin/hidpi_scale 1.4

deuill commented on 2018-04-30 09:30

geyslan: The DPI setting enforced by GNOME is based on the 'org.gnome.desktop.interface text-scaling-factor' gsettings key (which is a factor multiplied by 96, the base DPI).

In general, you need something like this for a base DPI:

gsettings set org.gnome.desktop.interface text-scaling-factor 1
printf '*dpi: 96' | xrdb -merge
xrandr --dpi 96

For HiDPI screens where 2x is too much (i.e. anything I've used), you can try something like this:

gsettings set org.gnome.desktop.interface text-scaling-factor 1.4
printf '*dpi: 134' | xrdb -merge
xrandr --dpi 134

(96 * 1.4 is approximately 134)

Put this in your .xprofile file, and GNOME-Flashback will set the DPI correctly.

geyslan commented on 2018-04-28 13:29

@deuill, do you know how dpi settings of gnome-flashback can be overrided? I've tried xrandr --dpi 163 in i3/config but nothing. It only works when I run it in terminal and restart i3 inplace.

geyslan commented on 2017-11-01 17:59

@deuill, it worked. tks.

deuill commented on 2017-11-01 02:07

I've updated the package for GNOME 3.26 compatibility, and should no longer require a downgrade to gnome-settings-daemon 3.24.

geyslan commented on 2017-10-17 20:03

It worked. I have downgraded to gnome-settings-daemon-3.24.3-2-x86_64 and I'm using IgnorePkg=gnome-settings-daemon until gnome solve it. Tks @deuill.

deuill commented on 2017-10-10 12:13

The 'gnome-flashback' package is still at version 3.24, while GNOME was recently updated to 3.26 in the main repositories.

To fix your issues, either downgrade all gnome-related packages that are on version 3.26 to their 3.24-versioned variants (you can find the packages with `pacman -Q | grep gnome`) or just downgrade 'gnome-settings-daemon' to its 3.24 version.

This doesn't seem to be related to this package since the core GNOME-Flashback session also fails to start.

geyslan commented on 2017-10-10 11:43

It stopped working. Lightdm just restart.

/var/log/lightdm/lightdm.log

[+24.50s] DEBUG: Greeter start authentication for ggb
[+24.50s] DEBUG: Session pid=3975: Started with service 'lightdm', username 'ggb'
[+24.50s] DEBUG: Session pid=3975: Got 1 message(s) from PAM
[+24.50s] DEBUG: Prompt greeter with 1 message(s)
[+25.89s] DEBUG: Continue authentication
[+25.90s] DEBUG: Session pid=3975: Authentication complete with return value 0: Success
[+25.90s] DEBUG: Authenticate result for user ggb: Success
[+25.90s] DEBUG: User ggb authorized
[+26.90s] DEBUG: Greeter requests session i3
[+26.90s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+26.90s] DEBUG: Terminating login1 session c1
[+26.91s] DEBUG: Session pid=3812: Sending SIGTERM
[+26.93s] DEBUG: Greeter closed communication channel
[+26.93s] DEBUG: Session pid=3812: Exited with return value 0
[+26.93s] DEBUG: Seat seat0: Session stopped
[+26.93s] DEBUG: Seat seat0: Greeter stopped, running session
[+26.93s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+26.93s] CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

geyslan commented on 2017-09-04 16:34

It works like a charm. I'm so glad. Thank you. :D