顯示具有 Ubuntu 標籤的文章。 顯示所有文章
顯示具有 Ubuntu 標籤的文章。 顯示所有文章

2012年1月12日 星期四

如何解決 “Enter password to unlock your login keyring”

在Ubuntu中修改密碼後,每次登入都會出現“Enter password to unlock your login keyring”,根據 [1] 所言,其密碼管理系統由另一個套件所管理,但修改登入密碼時,套件中的密碼不會對應修改。
所以也要一起更改,才不會出現此訊息。

Reference:
[1] How to get rid of “Enter password to unlock your login keyring” in Linux Mint Debian Edition (LMDE) | Black God
http://karuppuswamy.com/wordpress/2011/10/24/how-to-get-rid-of-%E2%80%9Center-password-to-unlock-your-login-keyring%E2%80%9D-in-linux-mint-debian-edition-lmde/

2011年12月25日 星期日

變更ubuntu加密系統之密碼

[encrypted device]: for example /dev/sda#
step. 1. 看有那些解密碼 (似乎可以多重密碼解鎖,未測試。)

sudo cryptsetup luksDump [encrypted device]

step. 2. 加新的密碼,會先要求輸入舊的密碼,才能新增新密碼。完成後若重複step1,可看見二組解密碼。

sudo cryptsetup luksAddKey [encrypted device]


step. 3. 移除舊的密碼,。密碼依加入順序以0-index排序。一般情況而言,舊密碼排序號為 0, 新密碼為 1, 下列指令中的 0,代表刪除舊有密碼,會要求輸入新的密碼(待刪密碼之外的密碼),才能刪除,完成後若重複step1,可看見只剩下一組密碼。

sudo cryptsetup luksKillSlot [encrypted device] 0


Reference:
[1]  Change password for encrypted filesystem | eazynet.de
http://www.eazynet.de/change_password_for_encrypted_filesystem
[2] [ubuntu] [SOLVED] encrypted filesystem password change? - Ubuntu Forums
http://ubuntuforums.org/showthread.php?t=972122

2011年10月12日 星期三

如何在Ubuntu系統上之Virtualbox 使用USB裝置

For Natty Narwhal (  Ubuntu 11.04 )

Add yourself to the user group vboxusers, then log out and back in, to make use of available USB devices. To do this via the graphical interface, click System Settings/Users and Groups/Manage Groups. 

Reference:
[1] Mount USB Devices in Virtualbox with Ubuntu - How-To Geek
http://www.howtogeek.com/howto/31726/mount-usb-devices-in-virtualbox-with-ubuntu/
[2] VirtualBox/USB - Community Ubuntu Documentation
https://help.ubuntu.com/community/VirtualBox/USB

2011年7月31日 星期日

[Memo] 加密的ubuntu 不能處理長檔名

可能原因:
Linux filenames are limited to 256 characters in length. When using eCryptfs encrypted filenames, filenames are padded with metadata necessary for decryption. Cleartext filenames which are already very long (> ~200 characters) will not work in eCryptfs.

Reference:
[1] EncryptedPrivateDirectory - Community Ubuntu Documentation
https://help.ubuntu.com/community/EncryptedPrivateDirectory

2011年7月2日 星期六

[How to] Move Window Buttons to the Right in Ubuntu 11.04

1. Press Alt+F2
2. type 「gconf-editor」
3. Enter.
-----In editor------
4. Goto 「app -> metacity -> general」
5. Double-click, type 「menu:minimize,maximize,close」

Save&Done!

Reference:
[1]. Move Window Buttons Back to the Right in Ubuntu 10.04 / 10.10 - How-To Geek
http://www.howtogeek.com/howto/13535/move-window-buttons-back-to-the-right-in-ubuntu-10.04/
[2]. Ubuntu 10.4: How to place the window close button on the right again » Codigo Manso
http://www.codigomanso.com/en/2010/04/ubuntu-10-4-poner-el-boton-de-cerrar-la-ventana-a-la-derecha/

[Bug] Ubuntu 11.04 - error : no video mode activated

Case:
Hp mini 110: Install Ubuntu 11.04 alternate with encrypted partition.

[Fail]
Decomment "#GRUB_GFXMODE=640x480" in "/etc/default/grub"

[Success]

Guido Nickels wrote on 2011-05-16: #24

I was finally able to workaround the problem here.
The script /etc/grub.d/00_header does some font path detection stuff and if that fails it doesn't set any gfxmode (neither the default "auto" nor anything defined manually in /etc/default/grub).

The font path is /usr/share/grub, but I have a separate /boot partition and the script doesn't seem to know how to handle this situation correctly, leaving me without fonts and gfxmode.

So, I just copied /usr/share/grub/*.pf2 to /boot/grub and ran update-grub again. Voila, I got my gfxmode and a working unicode font, too.



Reference:
[1] Bug #699802 in grub2 (Ubuntu): “error:: no video mode activated”
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/699802

2010年2月11日 星期四

ubuntu 下查詢硬體資訊的方法

sysinfo
安裝指令:
$sudo apt-get install sysinfo
===================
hardinfo
安裝指令:

$sudo apt-get install hardinfo
===================
$dmidecode
===================
$lshw
===================
$dmesg
===================
查詢 /proc 下的資訊。
===================

參考資訊:
Nothing is everything: 【Ubuntu】硬體檢視軟體
[Ubuntu] hardinfo 硬體資訊 « Wondering @ Wordpress
在Linux底下如何查詢硬體資訊? - IT邦幫忙::IT知識分享社群
Ubuntu常用命令與技巧 - Unix Like - 酷米資訊筆記

2010年1月18日 星期一

於 HP mini 110-1011TU 安裝 gcin 之 嘸蝦米輸入法

預設的安裝移除程式中,沒有gcin可以安裝,
需要先到自訂設定中,啟用終端機選項,在終端機下鍵入:

sudo apt-get install gcin

安裝後,如果不能馬上使用gcin注音輸入法輸入,
可到語言支援中,安裝中文支援即可。

但嘸蝦米需要另外下載表格檔,否則不能使用。
將noseeing.gtab複製到gcin目錄下即可,指令如下:

sudo cp noseeing.gtab /usr/share/gcin/table/

參考來源:
ddy 狡兔三窟之一: ubuntu gcin 嘸蝦米安裝程序 - yam天空部落
GcinInstallBoshiamy - gcin - Trac
[無啥味] noseeing-11

2007年9月26日 星期三

如何變更grub的預設開機系統?

sudo gedit /boot/grub/menu.lst

更改 ##default num 此行下方附近的

default 0 //預設為第一個開機選項

變更成欲設定的開機選項,從0開始計數

ex:

Ubuntu, kernel 2.6.20-15-generic //0
Ubuntu, kernel 2.6.20-15-generic (recovery mode) //1
Ubuntu, memtest86+ //2
Other operating systems: //3
Microsoft Windows XP Home Edition //4

要改成預設Windows XP開機 就改成

default 4


參考來源:
HowtoRestoreGrub
http://wiki.ubuntu-tw.org/index.php?title=HowtoRestoreGrub