[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to add small console application to debian linux distribution?



Hello,

Personally I would find it much simpler to do 'set gfxmode=1024x600' in grub.cfg (I run a separate grub partition with a manually maintained config). 

Regards, 

John

On Mon., 12 Oct. 2020, 23:12 pe pi, <pe.pi@mail.com> 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.pi@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 to: