aMule Forum

English => Feature requests => Topic started by: eagle on November 04, 2003, 11:06:15 AM

Title: geometry-Option for the GUI
Post by: eagle on November 04, 2003, 11:06:15 AM
Hi,

what IŽm really missing is one typical X11-Option: -geometry :-(
(at least it doesnŽt work for me...)

IŽm using aMule in my router Linux-Box, which is running 24/7.
It hasnŽt a monitor connected to it, so IŽm using VNC, which is working
relativly good, could be faster, but itŽs enough.

The problem is, that I canŽt start amule directly within VNC (1024x768)
so that it should use all the screen space with a single option like
-geometry 1024x768+0+0.
I have to start a separate windowmanager (for this case twm is enough),
but it wastes screenspace and memory.

So please implement this option, IŽm sure many others would find this
also useful :-)

eagle
Title: Re: geometry-Option for the GUI
Post by: Eru on November 05, 2003, 12:44:51 AM
My Vote +1  :wink:

Hey eagle how do you start vnc AND aMule with one command?? That's what I would like to do too....

Gruss
Eru
Title: Re: geometry-Option for the GUI
Post by: Kry on November 05, 2003, 09:25:57 AM
Added to TODO list
Title: Re: geometry-Option for the GUI
Post by: eagle on November 06, 2003, 11:47:34 AM
Hi  Eru,

Quote
Hey eagle how do you start vnc AND aMule with one command??
That's what I would like to do too....


I haven't started them with one command, first I startet Xvnc:
$ Xvnc -geometry 1024x768 -depth 8 -alwaysshared -dontdisconnect :1 &

After that I started the X11-Windowmanager "twm" which isn't very powerfull,
but uses as little memory as possible (VSZ: 3556 kB, RSS: 1084 kB) and
for using only aMule in this case is more than enough...
$ twm -display :1 &

Then I changed to the user "esel" (with su esel) and run the following:
$ export DISPLAY=:1; nohup amule &> /dev/null &

After that I changed back to my normal user-account (exit...)
So you can see, the Xvnc and twm is running all the time, I only restart
aMule from time to time (if it eats to much memory :-) )

Hope this helps you? :-)

So if there would be an -geometry-Option, I could omit the Windowmanager
and would have 1-3 MB more free memory...

eagle
Title: patch for --geometry is ready :-)
Post by: eagle on November 06, 2003, 06:11:00 PM
Hi Developers & all others,

Quote
Original von Kry

Added to TODO list


I got a bit time and looked over the source of aMule, and
finally added this missing option myself :-)

I had to change 3 files: amule.cpp amule.h amuleDlg.cpp
The patch is 2 kB little, and now I'd like to know where to send it?

eagle
Title: Re: geometry-Option for the GUI
Post by: BigBob on November 08, 2003, 11:37:39 AM
Hi,

Already done in the upcoming version ...

A++