Hi,

it's nice that you want to make the software available for others, but this task is simply way to simple to have a special package for it. The whole thing can be done with a few shell commands, so there is no need for a tool in my opinion.
For example a perl oneliner doing the line substitution:

export myopt='bla'; perl -i -pe 's/^(GRUB_CMDLINE_LINUX_DEFAULT=)\"(.*)\"/$1\"$2 $ENV{myopt}\"/' /tmp/grub

However nobody prevents you for creating a debian package even for a small application or a script, a good starting place probably is the New Maintainer's Guide: https://www.debian.org/doc/manuals/maint-guide/

Best,
Alex

On 10/12/20 2:11 PM, pe pi wrote:
Hello,

im not sure

if you install one linux machine, maybe this tool will be unnecessary.

but if you will install for example 10 linux machines it will be usefull.

i think better solution will be if tools like this be a part of linux
main install.

pe pi


On 12. 10. 2020 13:41, Gard Spreemann wrote:
pe pi <pe...@mail.com> writes:

1) Open Terminal

2) Type: sudo nano /etc/default/grub

3) Find the line starting with GRUB_CMDLINE_LINUX_DEFAULT, and add
video=hyperv_fb:[the resolution you want].
    So my line ends up looking like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1366x768"

4) Write the changes and quit nano

5) Run: sudo update-grub

6) Reboot the virtual machine run: sudo reboot

... and i have developed console application which do it this way ...

sudo hypervscrres --set grub 1366x768 update reboot yes

... and all application variants of use looks like this ...

sudo hypervscrres --help
sudo hypervscrres --get grub
sudo hypervscrres --set grub 1366x768
sudo hypervscrres --set grub 1366x768 update
sudo hypervscrres --set grub 1366x768 update reboot
sudo hypervscrres --set grub 1366x768 update reboot yes
yes | sudo hypervscrres --set grub 1366x768 update reboot
Hello,

Are you sure that potential users of your program will find it easier to
install your program and run it than it is to perform the original task
that your program is meant to replace?


  -- Gard



Reply via email to