You are not logged in.
Hi again, guys.
In Mint I was using Gpicview and somehow there it was always starting maximized - whether with an image to view or no image. But in Arch there doesn't seem to be a way to make it remember I want it to start always maximized. Any ideas?
I have a way of doing that for gnome-terminal but not for gpicview.
For gnome-terminal this is how it works. I'm posting it in case this can be used to do the same for gpicview. I tried editing it on my own but it didn't work (naturally) cuz I was merely shooting in the dark.
/.local/share/applications/gnome-terminal.desktop
[Desktop Entry]
Name=Terminal
Comment=Use the command line
TryExec=gnome-terminal
Exec=gnome-terminal --window --maximize
Icon=utilities-terminal
Type=Application
X-GNOME-DocPath=gnome-terminal/index.html
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-terminal
X-GNOME-Bugzilla-Component=BugBuddyBugs
X-GNOME-Bugzilla-Version=2.32.0
Categories=GNOME;GTK;TerminalEmulator;
StartupNotify=true
OnlyShowIn=GNOME;
X-Ubuntu-Gettext-Domain=gnome-terminal Last edited by rado84 (2019-05-14 02:49:00)
Core i7-4770, GTX 1660 Ti, 32 GB RAM, Arch 6.x LTS, Cinnamon 5.2.7, GDM
Offline
~/.config/gpicview/gpicview.conf
…
open_maximized=1
…Offline
~/.config/gpicview/gpicview.conf
… open_maximized=1 …
That works only once. The first image I open runs maximized and then every next image runs not minimized. Somehow gpicview rewrites its own settings. ![]()
Core i7-4770, GTX 1660 Ti, 32 GB RAM, Arch 6.x LTS, Cinnamon 5.2.7, GDM
Offline
Works for me - does the content of the file actually change?
Edit: it seems to remember the last state. If you don't unmaximize the window, maybe your WM interferes?
Last edited by seth (2019-05-12 21:40:29)
Offline
No, the content doesn't change but when gpicview starts it's so small that you can only see a fragment of the whole image.
Core i7-4770, GTX 1660 Ti, 32 GB RAM, Arch 6.x LTS, Cinnamon 5.2.7, GDM
Offline
Define "so small".
Did you try to swap out the WM?
Offline
Defining "so small": https://i.postimg.cc/fT5mTB4r/defining-small.png
If you mean installing another WM, I can try that.
Core i7-4770, GTX 1660 Ti, 32 GB RAM, Arch 6.x LTS, Cinnamon 5.2.7, GDM
Offline
That's what I meant.
Looks like the minimum window size (limited by the titlebar buttons) - does this also happen if you invoke "gpicview /path/to/image.jpg" from a textshell?
Offline
I just tried that. The image appears normal (not small) altough gpicview still won't come maximized.
When I installed Arch I decided to install lightdm bc that's what Mint had. Is there any WM that is recommended for Arch or I can use any other WM?
Core i7-4770, GTX 1660 Ti, 32 GB RAM, Arch 6.x LTS, Cinnamon 5.2.7, GDM
Offline
lightdm is a "DM" (desktop manager), not a window manager. It's not related here.
Also the other finding (did you ensure the setting in the config is correct) would rather point the file manager you seem to use to invoke gpicview…
You can try pretty much every WM you want. Openbox, fluxbox and icewm (not strictly a WM) should be carry little baggage and be familiar to use (unlike tiling WMs which will bring their own issues itr)
Offline
Problem solved. Turned out gpicview-gtk3 which I had installed has a bug. I removed it and installed the gtk2 version (whose package name is just gpicview in the repo) and now it remembers the window size.
Core i7-4770, GTX 1660 Ti, 32 GB RAM, Arch 6.x LTS, Cinnamon 5.2.7, GDM
Offline