기본 콘텐츠로 건너뛰기

라벨이 Windows인 게시물 표시

OneDrive version 삭제

꽁자 5TB OenDrive 파일 버전 관리로 인해 용량이 줄어들때 일일히 버전 파일을 삭제 하기란 매우 힘든일이다. PowerShell  에서 아래와 같이 한다. SharePoint Online Client Components SDK 를 먼저 설치한다. https://www.microsoft.com/en-us/download/details.aspx?id=42038 아래와 같이 PowerShell 스크립트를 실행하면 모든 버전 파일이 for loop 을 돌면서 삭제된다. Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"     #Config Parameters $SiteURL= "https://yoursharepont-my.sharepoint.com/personal/yourid_domain_com/" $LibraryName="Documents" #Setup Credentials to connect $Cred = Get-Credential $Cred = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Cred.UserName,$Cred.Password)        #Setup the context     $Ctx = New-Object Microsoft.SharePoint.Client.ClientContext($SiteURL)     $Ctx.Credentials = $Cred ...

ubuntu 데스크탑을 Windows 원격 데스크톱 으로 접속하기

sudo apt install xrdp 그렇지만 Windows 원격 데스크톱으로 로그온 하면 "색상 프로파일을 만들려면 인증이 필요합니다" 메시지가 무한 반복된다. 아래와 같이 권한을 넣어준후 xrdp 데몬 재시작 하면 해결됨 vi /etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla [Allow Colord all Users] Identity=unix-user:* Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile ResultAny=no ResultInactive=no ResultActive=yes

OEM PC에서 Windows Pro 버전

OEM PC나 노트북에 Windows10 Home 이 내장된 경우엔 아무리 Pro 로 설치를 하려고 해도 Pro 버전 선택이 되질 않습니다. 설치 USB 스틱에 /sources 디렉토리에 ei.cfg 파일을 만들어 넣으면 됩니다. ei.cfg 파일 내용은 아래와 같습니다. [EditionID] [Channel] Volume [VL] 1 텍스트에디터로 위에 내용을 ei.cfg 로 저장해서 /sources 디렉토리에 넣으시면 됩니다. 

Windows 10 Linux Bash 에서 XWindow manager 쓰기 (xfce4 manager 활용)

앞서 한글입력 부분에 대한것은 저의 블로그를 참조하시면 됩니다. https://comhack.blogspot.kr/2017/12/windows-10-linux-bash-x-window.html 1. 한글 환경 만들기  한글 환경을 한글 관련 언어팩 및 로케일 설정합니다. sudo apt install language-pack-ko sudo dpkg-reconfigure locales ko_KR.UTF-8 UTF-8 선택후 로케일 생성후 기본 랭귀지로 선택 Generating locales (this might take a while)...   ko_KR.UTF-8... done Generation complete. 2. 윈도우매니저 선택  gnome-session 등을 시도해봤지만 잘되지 않아 제대로 되는건 xfce4 였습니다. xfce4 를 설치합니다. sudo apt install xfce4 Xming 및 Xcxsrv 를 이용하여 미리 xorg 서버를 실행한후 (한글이 필요하면 입력기 미리 실행) xfce4-session 을 실행합니다. 앞서 아래와 같은 환경변수가 필요합니다. export DISPLAY=:0 xfce4-session 저는 xcsrv xorg 서버를 "Multi windows mode" 를 이용했는데요 아래와 같습니다. fcitx를 이용한 한글입력기 필요시엔 아래와 같인 설정후 실행합니다. https://comhack.blogspot.kr/2017/12/windows-10-linux-bash-x-window.html  참조 export DISPLAY=:0 export XMODIFIERS=@im=fcitx export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx fcitx 실행 xfce4-session 실행 실행하고 firefox등에 자율롭게 한글을 입력할수 있습니다.

Windows 10 Linux Bash 에서 X-Window 한글입력하기

Windows 10 에서 Linux Bash 가 지원된다는것은 잘알고 계시죠? 1703 빌드부터는 Microsoft Store 에서 앱 형태로 다운받을 수 있습니다. 다만 X-Window 를 사용하는 방법에 대한 블로그나 글은 많은데 X-Window 에서 한글입력기를 완벽히 사용하는 방법에 대해서 블로그를 찾지 못해서 직접 작성하게 되었습니다. 아래 블로그를 찾았지만 잘 안되더군요. https://medium.com/@rkttu/windows-10%EC%97%90%EC%84%9C-%EB%A6%AC%EB%88%85%EC%8A%A4%EC%9A%A9-%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%A8-%EC%84%A4%EC%B9%98%ED%95%98%EA%B3%A0-%EC%8B%A4%ED%96%89%ED%95%98%EA%B8%B0-2cb0d7892d12 직접 테스트한 결과는 아래와 같습니다. 1. xorg 서버 설치하기 우선 X-Window 를 위해서 xorg 서버 어플리케이션이 필요한데 아래 두가지를 선택할수 있습니다. Xming https://sourceforge.net/projects/xming/ Vcxsrv https://sourceforge.net/projects/vcxsrv/ 저는 Vcxsrv 를 선호합니다. 특별한 이유는 없습니다. 2. 한글 폰트 설치하기  우선 한글을 잘나오게 위해서 한글 폰트를 설치합니다. sudo apt install fonts-baekmuk fonts-nanum 3. 한글 입력기 설치하기 한글입력기는 여러가지 입력기를 시도해보았지만 fcitx 만 제대로 동작되었습니다. sudo apt install fcitx-hangul dbus-x11 에 의존적 이므로 아래를 설치해야합니다. sudo apt install dbus-x11 4. 환경설정  Windows에서 Xming 또는 VcXsrv를 먼저 시작하고 아래 환경변수를 줍니다. expo...

Windows 10 에서 최근 사용된 파일 표시 없애기

Windows 10 에서 최신 사용된 파일이나 폴더가 계속 있으면 편리하나 가끔 보안상 좋지 않는 경우가 발생한다. 아래와 같은 항목을 체크 해제 해주면 된다. 파일탐색기에서 마우스 우클릭 하여 옵션 클릭 그림1 참조 [그림1] 아래 그림2 에 항목제거 빠른 실행에 최근에 사용된 파일 표시 체크해제 빠른 실행에 최근에 사용된 폴더 표시 체크해제 [그림2] 또한 최근 사용된 어플리케이션에 나오는 최근 열어본 항목들은 (최근 문서) 설정 => 개인설정 => 시작 으로 들어가서 그림 3과 같이 그면 된다. [그림3]

이 기종간 키보드 마우스 공유하기

Synergy - http://synergy2.sourceforge.net/ Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It's intended for users with multiple computers on their desk since each system uses its own monitor(s). Redirecting the mouse and keyboard is as simple as moving the mouse off the edge of your screen. Synergy also merges the clipboards of all the systems into one, allowing cut-and-paste between systems. Furthermore, it synchronizes screen savers so they all start and stop together and, if screen locking is enabled, only one screen requires a password to unlock them all. Learn more about how it works. Synergy is open source and released under the GNU Public License (GPL) . System Requirements Microsoft Windows 95, Windows 98, Windows Me (the Windows 95 family) Microsoft Windows NT, Windows 2000, Windows XP (the Windows NT family) Mac OS X 10.2 or higher Uni...