You are not logged in.

#1 2019-05-12 21:08:04

rado84
Banned
From: Sofia, Bulgaria
Registered: 2019-05-12
Posts: 135

[SOLVED] Gpicview - always start maximized?

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

#2 2019-05-12 21:17:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,776

Re: [SOLVED] Gpicview - always start maximized?

~/.config/gpicview/gpicview.conf

…
open_maximized=1
…

Offline

#3 2019-05-12 21:31:24

rado84
Banned
From: Sofia, Bulgaria
Registered: 2019-05-12
Posts: 135

Re: [SOLVED] Gpicview - always start maximized?

seth wrote:

~/.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. sad


Core i7-4770, GTX 1660 Ti, 32 GB RAM, Arch 6.x LTS, Cinnamon 5.2.7, GDM

Offline

#4 2019-05-12 21:38:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,776

Re: [SOLVED] Gpicview - always start maximized?

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

#5 2019-05-12 22:45:59

rado84
Banned
From: Sofia, Bulgaria
Registered: 2019-05-12
Posts: 135

Re: [SOLVED] Gpicview - always start maximized?

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

#6 2019-05-13 05:50:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,776

Re: [SOLVED] Gpicview - always start maximized?

Define "so small".
Did you try to swap out the WM?

Offline

#7 2019-05-13 11:02:55

rado84
Banned
From: Sofia, Bulgaria
Registered: 2019-05-12
Posts: 135

Re: [SOLVED] Gpicview - always start maximized?

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

#8 2019-05-13 11:26:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,776

Re: [SOLVED] Gpicview - always start maximized?

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

#9 2019-05-13 12:40:56

rado84
Banned
From: Sofia, Bulgaria
Registered: 2019-05-12
Posts: 135

Re: [SOLVED] Gpicview - always start maximized?

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

#10 2019-05-13 12:49:52

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,776

Re: [SOLVED] Gpicview - always start maximized?

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

#11 2019-05-14 02:48:47

rado84
Banned
From: Sofia, Bulgaria
Registered: 2019-05-12
Posts: 135

Re: [SOLVED] Gpicview - always start maximized?

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

Board footer

Powered by FluxBB