Tag Archive for windows

Linux Desktop experiences

DRAFT

A long-long years ago (til 2007) I used linux as desktop (Gentoo exactly).

After, the windows 7 and the 10 also will be a very-very good PC OSs.

BUT I tried the Ubuntu 20.04, and it seems work wine from 1 month at my 2in1 PC with WWAN card (DELL 7390).

I would like to collect some useful programs which I found very userful, fast and maintined (actually).

Program typeLinux programWindows alternative
(what I liked to use)
Screenshot maker and editorFlameshotGreenshot
Clipboard managerCopyQDitto
LauncherULauncherLaunchy
File managerDouble CommanderTotal Commander
SSH session managerRemminaKitty
VNC session managerRemminaUltraVNC
RDP session managerRemminaRDCman (discontinued)

Win 10 set default editor

1. Start the registry editor (regedit.exe) and select HKEY_CLASSES_ROOT.

2. Press Ctrl + F to open the Find dialog.

Image

3. Type systemfileassociations, enable “Keys” and deselect “Values” and “Data” check boxes.

4. Press ENTER.

You’ll now be taken to the HKEY_CLASSES_ROOT\SystemFileAssociations branch.

Expand the “SystemFileAssociations” branch by double-clicking on it
Scroll down until you see a subkey named “image”
Double-click “image”

Double-click “shell”

Double-click “edit”

Double-click “command”

src: https://answers.microsoft.com/en-us/windows/forum/windows_10-files-winpc/change-default-image-editor/4b01b777-338f-49c1-8300-9bcd7f60c160

Ubuntu/Debian (linux) WSL and Docker

If you would like to use docker on windows Ubuntu/Debain WSL you have to modify the .bashrc file in your home directory.

vi ~/.bashrc

and add this line to the end:

export DOCKER_HOST=tcp://localhost:2375

reload the modifications:

source ~/.bashrc

That’s all folks 😀

Ubuntu WSL add git brach name to promt

you have to mofify ~/.basrc from that:

 

if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt

to

if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[01;31m\]$(parse_git_branch)\[\033[00m\]\$ '
else
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w$(parse_git_branch)\$ '
fi
#unset color_prompt force_color_prompt

Modification details:

  • add $(parse_git_branch)\[\033[00m\] 
  • and COMMENT the unset color_prompt force_color_prompt line

src: https://askubuntu.com/questions/730754/how-do-i-show-the-git-branch-with-colours-in-bash-prompt

Pidgin facebook usage

Most useful solution:

Download, install (copy ddl-s), then restart. Done.

Thanks!

DLL-s:

https://github.com/dequis/purple-facebook/wiki/Installing-on-Windows

pidgin, language set on windows

Hard to change language of Piding to english…

The way is, add an environment variable with:

PIDGINLANG : en

Restrat pidgin

voila…

So tricky… not funny…

Forticlient disable autostart

  • cmd.exe -> “Run as Administrator”
  • msconfig
  • Services tab
  • uncheck FortiClient Service Scheduler

Do NOT restart the PC now!

  • Windows+R
  • services.msc
  • change “FortiClient Service Scheduler” to Manual

OpenVPN windows automatikus indítása Windows-on

regedit

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

Majd az alábbi kulcs hozzádása:

openvpn

“C:\Program Files\OpenVPN\bin\openvpn-gui.exe” –connect housemaster.ovpn

Példa:

openvpn_regedit

 

Windows boot partition készítése

Windows CMD alatt a particio kezelo:

diskpart

majd

list disk

a valtoztatando lenmez kivalasztasa:

select disk #

particio torlese

clean

boot particio letrehozasa

create primary partition

majd annak a kivalasztasa

select partition 1

formazas

format fs=fat32/ntfs quick

mountolas

assign

vege

exit

VAGY:

miután már mindenfleképpen próbálkoztunk:

IKiválasztjuk az USB sticket

cd /boot

majd kiadjuk a

bootsect.exe /NT60 <flash_drive_letter>

parancsot.

NTLDR missing / hiányzik csodálatos windows hiba

 

Aki a windows boot szekvenciáját kitalálta, kaphatna egy taslát…

Ha a tárgyan szereplő csoda hibát kapjuk, orvosolni így tudjuk (automatik repair-t meg se próbáljuk, úgy se megy :D):

boot DVD-ről, command prompt, majd:

#bootrec /fixmbr

#bootrec /fixboot

#bootrec /rebuildbcd