Hello,
so far most thing are pretty well on my Via thin client with antiX 13.1 base Openbox session. But there are few minor issues.
1) When I try to set text hinting with lxappearance to 'slight' the setting is reverted to 'full' when I open lxappearance again. I followed this guide to improve font rendering
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.manjaro.org/index.php?title=Improve_Font_Rendering"
linktext was:"https://wiki.manjaro.org/index.php?titl ... _Rendering"
====================================
It works usually...
2) I installed evince-gtk but it doesn't show the behaviour which I like so much on this PDF viewer, it doesn't go to the last state before it was closed, neither the last window size (usually maximized) nor the last page before closing are shown. Am I missing some packages which enable the prefered behaviour?
I guess the issues are rathe specific, so I don't expect too much. __{{emoticon}}__
-
Posts: 307
- Joined: 23 Aug 2015
#1
Last edited by eugen-b on 03 Dec 2015, 17:22, edited 1 time in total.
-
Posts: 1,444
- Joined: 09 Feb 2012
#2
lxappearance presents categorized settings across various tabs but, IIRC, after making any change(s)
before closing, you must return to the leftmost tab (?theme chooser) and click the"Apply" button.
evince-gtk isn't an app that I use. I checked and can't find any indication the"remember last view state" feature has been removed
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://metadata.ftp-master.debian.org/changelogs//main/e/evince/evince_3.14.1-2_changelog"
linktext was:"http://metadata.ftp-master.debian.org/c ... _changelog"
====================================
so double, triple, check that you've explored all of its"preferences" settings dialogs
before closing, you must return to the leftmost tab (?theme chooser) and click the"Apply" button.
evince-gtk isn't an app that I use. I checked and can't find any indication the"remember last view state" feature has been removed
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://metadata.ftp-master.debian.org/changelogs//main/e/evince/evince_3.14.1-2_changelog"
linktext was:"http://metadata.ftp-master.debian.org/c ... _changelog"
====================================
so double, triple, check that you've explored all of its"preferences" settings dialogs
-
Posts: 307
- Joined: 23 Aug 2015
#3
Thanks for taking time, skidoo!
I could have mentioned that I press 'Apply' in lxppearance before I quit, this time I changed even to the first tab and did it there (but it usually makes no difference which tab you are on), but the changes didn't apply. A new launch of lxappearanche shows hinting 'full'.
evince doesn't have explicit settings, you can 'save the settings as standard', but it doesn't make any change. The problem is with both evince and evince-gtk. The issue isn't present on MX 14, where I have an Openbox session as well. I could log in to Fluxbox and see how it is there...
Would it help to install the package xsettingsd? And then make it autostart with Openbox?
Update: In Fluxbox and JWM it is all the same with both bugs. Installing xsettingsd abd autostarting it does not have any effect on the issues. Perhaps, I need to apply some settings on xsettingsd, but I don't know which.
I could have mentioned that I press 'Apply' in lxppearance before I quit, this time I changed even to the first tab and did it there (but it usually makes no difference which tab you are on), but the changes didn't apply. A new launch of lxappearanche shows hinting 'full'.
evince doesn't have explicit settings, you can 'save the settings as standard', but it doesn't make any change. The problem is with both evince and evince-gtk. The issue isn't present on MX 14, where I have an Openbox session as well. I could log in to Fluxbox and see how it is there...
Would it help to install the package xsettingsd? And then make it autostart with Openbox?
Update: In Fluxbox and JWM it is all the same with both bugs. Installing xsettingsd abd autostarting it does not have any effect on the issues. Perhaps, I need to apply some settings on xsettingsd, but I don't know which.
-
Posts: 307
- Joined: 23 Aug 2015
#4
I tried it with atril (evince for MATE), but no joy.
I installed antix 13.2 on the CF card, but it's the same there with evince and atril.
I installed antix 13.2 on the CF card, but it's the same there with evince and atril.
-
Posts: 2,238
- Joined: 16 Dec 2007
#5
evince supposedly uses gvfs for storage of metadata. mx uses gvfs, but antix does not.
as to lxappearnce, the configuration tab defaults to full even if another hinting option is chose. To confirm your current configuration, look in ~/.gtkrc-2.0 and look for lines similar to this:
as to lxappearnce, the configuration tab defaults to full even if another hinting option is chose. To confirm your current configuration, look in ~/.gtkrc-2.0 and look for lines similar to this:
-
Posts: 1,444
- Joined: 09 Feb 2012
#6
toward finding a means to fully save the"state" of evince, I found these (but haven't yet tried using xsm)
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://packages.debian.org/jessie/x11-session-utils"
linktext was:"https://packages.debian.org/jessie/x11-session-utils"
====================================
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://linux.die.net/man/1/xsm"
linktext was:"http://linux.die.net/man/1/xsm"
====================================
"Session aware applications are also encouraged to save their checkpoint files in the SM_SAVE_DIR directory"
(IDK whether evince does this, or only saves to gvfs datastore)
lxappearance
Wow, that's a longstanding bug -- present in the lxappearance version shipped in antix13,
and still present in the version of lxappearance shipped with antix15.
I checked, no newer version availble in debian sid repo. It's still lxappearance v0.6.1-1, same as in antix15
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://packages.debian.org/jessie/x11-session-utils"
linktext was:"https://packages.debian.org/jessie/x11-session-utils"
====================================
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://linux.die.net/man/1/xsm"
linktext was:"http://linux.die.net/man/1/xsm"
====================================
"Session aware applications are also encouraged to save their checkpoint files in the SM_SAVE_DIR directory"
(IDK whether evince does this, or only saves to gvfs datastore)
lxappearance
Wow, that's a longstanding bug -- present in the lxappearance version shipped in antix13,
and still present in the version of lxappearance shipped with antix15.
I checked, no newer version availble in debian sid repo. It's still lxappearance v0.6.1-1, same as in antix15
- Posts: 307 eugen-b
- Joined: 23 Aug 2015
#7
Wow, thanks for both replies!
About font hinting: I do have 'hintslight' in gtkrc-2.0 and gtkrc-2.0.mine, so I guess there is nothing to worry about. I also have the same behaviour on Manjaro LXQt unstable branch, BTW. So, they're also cooking with water. __{{emoticon}}__
evince, atril: I installed gvfs, but there is no change. I installed Debian 7.9 LXDE on my CF card and there it is working for atril, the document opens on the last read page. You know what I suspect: It is the file manager which matters. SpaceFM might not be capable to provide this feature, but PCManFM and Thunar are.
About font hinting: I do have 'hintslight' in gtkrc-2.0 and gtkrc-2.0.mine, so I guess there is nothing to worry about. I also have the same behaviour on Manjaro LXQt unstable branch, BTW. So, they're also cooking with water. __{{emoticon}}__
evince, atril: I installed gvfs, but there is no change. I installed Debian 7.9 LXDE on my CF card and there it is working for atril, the document opens on the last read page. You know what I suspect: It is the file manager which matters. SpaceFM might not be capable to provide this feature, but PCManFM and Thunar are.
-
Posts: 2,238
- Joined: 16 Dec 2007
#8
the absence of a session-manager in antiX probably has more to do with things than the file manager.
do a google search on"evince gvfs". I think you'll find some good info.eugen-b wrote:Wow, thanks for both replies!
About font hinting: I do have 'hintslight' in gtkrc-2.0 and gtkrc-2.0.mine, so I guess there is nothing to worry about. I also have the same behaviour on Manjaro LXQt unstable branch, BTW. So, they're also cooking with water. __{{emoticon}}__
evince, atril: I installed gvfs, but there is no change. I installed Debian 7.9 LXDE on my CF card and there it is working for atril, the document opens on the last read page. You know what I suspect: It is the file manager which matters. SpaceFM might not be capable to provide this feature, but PCManFM and Thunar are.
the absence of a session-manager in antiX probably has more to do with things than the file manager.
-
Posts: 18
- Joined: 02 Feb 2014
#9
$ xrdb -query | grep Xft
Xft.antialias: 1
Xft.hintstyle: hintslight
Xft.rgba: rgb
Sorry Dolphin, us old CLI junkies can't resist an opportunity ya know?! __{{emoticon}}__
cheers,
greywolf.
or just type this command at a terminal prompt:....... To confirm your current configuration, look in ~/.gtkrc-2.0 and look for lines similar to this:......
$ xrdb -query | grep Xft
Xft.antialias: 1
Xft.hintstyle: hintslight
Xft.rgba: rgb
Sorry Dolphin, us old CLI junkies can't resist an opportunity ya know?! __{{emoticon}}__
cheers,
greywolf.
-
Posts: 307
- Joined: 23 Aug 2015
#10
Thanks, @greywolf! But the command doesn't show any output...
About gvfs: I found a hint here
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://askubuntu.com/questions/13738/how-do-i-query-the-gvfs-metadata-for-a-specific-attribute"
linktext was:"http://askubuntu.com/questions/13738/ho ... -attribute"
====================================
that evince stores its metadata at ~/.local/share/gvfs-metadata like here on Debian LXDE:
I also looked at Debian LXDE's lxtask that several gvfs processes are running at autostart as well as some udev processes. On my antiX they aren't running at autostart, although installed. The folder ~/.local/share/gvfs-metadata also doesn't exist on antiX.
How do I make them running? Search engine gave no straightforward results.
Didn't try skidoo's suggestions yet - didn't digest all the information yet.
Here is what I get on MX-14
About gvfs: I found a hint here
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://askubuntu.com/questions/13738/how-do-i-query-the-gvfs-metadata-for-a-specific-attribute"
linktext was:"http://askubuntu.com/questions/13738/ho ... -attribute"
====================================
that evince stores its metadata at ~/.local/share/gvfs-metadata like here on Debian LXDE:
Code: Select all
eugen@antiX13:~
$ ls /mnt/home/eugen/.local/share/gvfs-metadata
home home-8ba054b7.log root root-9acc07c9.log
How do I make them running? Search engine gave no straightforward results.
Didn't try skidoo's suggestions yet - didn't digest all the information yet.
Here is what I get on MX-14
Code: Select all
ls /mnt/@home/eugen/.local/share/gvfs-metadata
home
home-8bad2af5.log
root
root-a15423f0.log
uuid-0C2D-80BD
uuid-0C2D-80BD-58ebd14a.log
uuid-1234-5678
uuid-1234-5678-d2d9e74f.log
uuid-1db798a6-9aaf-4742-8514-74bb6ebd68a8
uuid-1db798a6-9aaf-4742-8514-74bb6ebd68a8-89cce7b2.log
uuid-690F-16E3
uuid-690F-16E3-e09fcd00.log
uuid-818A-51BF
uuid-818A-51BF-2a2ad686.log
uuid-8ce786a6-94bd-4e0b-9ddd-4b9071cba983
uuid-8ce786a6-94bd-4e0b-9ddd-4b9071cba983-d9d7e845.log
uuid-9016-4EF8
uuid-9016-4EF8-e67c6753.log
uuid-DD6A-2F86
uuid-DD6A-2F86-a081745c.log
-
Posts: 307
- Joined: 23 Aug 2015
#11
I tried to capture as many processes in top output on Debian LXDE as possible. The otput is attached. gvfs processes are run by the user, but I don't know how to start them. O the Openbox session also atril (which seems technically equvalent to evince, only gtk2 with mate dependencies) opens a document on the last page which was open. What is peculiar that it did bot open the file on the last page which was open on the LXDE session.
@skidoo, I started to read the man page of xsm, but it is a bit complicated for me to understand I mus confirm. It also seems to have a different application, like saving the session on Xfce to have the application windows open which were not closed when you shut down the PC.
@skidoo, I started to read the man page of xsm, but it is a bit complicated for me to understand I mus confirm. It also seems to have a different application, like saving the session on Xfce to have the application windows open which were not closed when you shut down the PC.
-
Posts: 307
- Joined: 23 Aug 2015
#12
I tried to start gvfs services this way
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://forum.lxde.org/viewtopic.php?f=22&t=1422"
linktext was:"http://forum.lxde.org/viewtopic.php?f=22&t=1422"
====================================
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://forum.lxde.org/viewtopic.php?f=22&t=1422"
linktext was:"http://forum.lxde.org/viewtopic.php?f=22&t=1422"
====================================
But it didn't help. Now I'm gonna try the direct and stupid way, editing Openbox autostart file.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://forum.lxde.org/viewtopic.php?f=22&t=1422"
linktext was:"http://forum.lxde.org/viewtopic.php?f=22&t=1422"
====================================
to my .xinitrc, I'm guessing GVFS has something to do with dbus.Code: Select all
if which dbus-launch >/dev/null && test -z"$DBUS_SESSION_BUS_ADDRESS"; then eval"$(dbus-launch --sh-syntax --exit-with-session)" fi
Anyway, that made it start:
-
Posts: 1,444
- Joined: 09 Feb 2012
#13
Since running gvfs-services didn't help, test whether absence of session manager is the key.
sudo apt install lightdm
sudo dpkg-reconfigure lightdm
Following logout or restart, you'll be entering desktop environment via lightdm (which provides session management functionality) instead of slim.
Bear in mind that under lightdm, other antix features will be broken...
(unable to use"desktop switcher" provided in the menu)
(autostarts, like conky etc, not applied until/unless you tweak your existing config(s))
(F1 chooser for custom desktop environments {icewm+rox,flux+spacefm,etc} absent from lightdm login screen)
...but you'll be able to test evince's"restore state" behavior. If it's behaving as desired, it's probably worth your time to learn/install/use xsm
After testing, you can revert the changes via
sudo dpkg-reconfigure slim, followed by logout/restart, then
sudo apt purge lightdm
(at that point, 2 other pkgs can be purged as well: lightdm-gtk-greeter and lightdm-gobject-1-0)
sudo apt install lightdm
sudo dpkg-reconfigure lightdm
Following logout or restart, you'll be entering desktop environment via lightdm (which provides session management functionality) instead of slim.
Bear in mind that under lightdm, other antix features will be broken...
(unable to use"desktop switcher" provided in the menu)
(autostarts, like conky etc, not applied until/unless you tweak your existing config(s))
(F1 chooser for custom desktop environments {icewm+rox,flux+spacefm,etc} absent from lightdm login screen)
...but you'll be able to test evince's"restore state" behavior. If it's behaving as desired, it's probably worth your time to learn/install/use xsm
After testing, you can revert the changes via
sudo dpkg-reconfigure slim, followed by logout/restart, then
sudo apt purge lightdm
(at that point, 2 other pkgs can be purged as well: lightdm-gtk-greeter and lightdm-gobject-1-0)
- Posts: 307 eugen-b
- Joined: 23 Aug 2015
#14
Thanks, skidoo! I'll give it a try. On Debian LXDE it is LightDM, too.
(Also thanks for helping finding a solution for the Asian user base in the other thread!)
(Also thanks for helping finding a solution for the Asian user base in the other thread!)
-
Posts: 307
- Joined: 23 Aug 2015
#15
@skidoo, you made my day! After installing lightdm (with some recomended packages like accountservice and desktop-base) gvfs processes are running (without autostart file) and both evince and atril are opening a document on last opened page. The document needs to be closed once, but then it opens and shows the last state before having been closed. Thank you so much!
PS: And Debian is having its usual issues on my machine, breaking apt packages database leading to hours of rebuilding it, mouse cursor lags - it's most probably kernel 4.x series fault. And antiX kicks ass again! (If this is not a reason for a donation?)
PS: And Debian is having its usual issues on my machine, breaking apt packages database leading to hours of rebuilding it, mouse cursor lags - it's most probably kernel 4.x series fault. And antiX kicks ass again! (If this is not a reason for a donation?)