Tiny Core Base > TCB Tips & Tricks
mnttool - position in the right up corner for different resolutions
roberts:
mnttool already supports user controlled positioning via the env variable MNTTOOL
Example: MNTTOOL="100 100"
I did not deploy reading command line options as launching mnttool is not normally launched from a shell and in fact with the dynamic nature of Core, it would not be easy specify such. I purposely did not anchor mntttool in any of the four corners, as many users deploy various task bars, pagers, etc along such borders.
roberts:
OK I add the -g suport, but as I said I will not preset a position in any of the corners due to possible conflicts as stated before.
curaga:
The env var position code may conflict?
roberts:
I don't get your point. By the user setting the env variable, they would obviously know their preferred environment, e.,g which taskbar, pager, window manager, or DE. And therefore which would be their preferred location for mnttool. As it was, +0+0, I got complaints to move it. I decided to move it off border.
curaga:
I meant that using only -g and no env var, merely adding that one line may not be enough, as the env var code already had a default position. That default might override the one supplied on the command line.
Navigation
[0] Message Index
[*] Previous page
Go to full version