在桌面新增一個空白文件,並增加內容如下:
[Desktop Entry]
Name=File Name
Type=Application
Exec=File Path
Terminal=false
Icon=Icon Path
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=File Name
紅字部分依照需求變更
2015/04/25
2015/02/11
[Ubuntu] 隱藏ibus輸入時的工具列
(1) 在終端機輸入 ibus-setup
(2) 將「顯示屬性面版」欄位改成「不要顯示」
Reference:
http://hcycomputernote.blogspot.tw/2014/04/ubuntu-1404.html
(2) 將「顯示屬性面版」欄位改成「不要顯示」
Reference:
http://hcycomputernote.blogspot.tw/2014/04/ubuntu-1404.html
2014/12/27
Ubuntu Install Oracle Java via PPA
sudo add-apt-repository ppa:webup8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
You can find the latest version available from the website:
http://www.ubuntuupdates.org/ppa/webupd8_java
sudo apt-get update
sudo apt-get install oracle-java7-installer
You can find the latest version available from the website:
http://www.ubuntuupdates.org/ppa/webupd8_java
2014/12/23
Installing Virtualbox Guest Additions in Ubuntu
Take VirtualBox 4.3.20.96996 for example:
sudo -i
cd /media/username/VBOXADDITIONS_4.3.20_96996/
./VBoxLinuxAdditions.run
p.s
Change the username to yours, and make sure of the version.
2012/05/26
install oracle-java on Ubuntu via PPA
找到比較方便的作法
利用PPA來源
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
完成後用java-version來看看java是否已經替換成oracle java 7了
2012/02/04
Ubuntu/Linux Mint安裝jdownloader
紀錄如何在Ubuntu/Linux Mint安裝jdownloader並啟用自動關機功能
首先,藉由ppa來源安裝jdownloader
sudo add-apt-repository ppa:jd-team/jdownloader
首先,藉由ppa來源安裝jdownloader
sudo add-apt-repository ppa:jd-team/jdownloader
sudo apt-get update
sudo apt-get install jdownloader
安裝後如果要啟用jdownloader的自動關機
必須要讓使用者具有root權限來做關機的動作
所以接著要把使用者加入到sudoer文件中
為了防止出錯
先把sudoer這個檔案做備份
sudo cp /etc/sudoer /etc/sudoer.bak
接著用文字編輯器(這裡用的是vim)打開sudoer
sudo vim /etc/sudoer
在sudoer的最後加入
使用者名稱 ALL= NOPASSWD: /sbin/shutdown
存檔離開之後就可以正確執行jdownloader的自動關機功能
P.S如果所有步驟做完仍然不能執行,請先把sudoer回復
sudo cp /etc/sudoer.bak /etc/sudoer
2011/09/17
Jdownloader在Ubuntu下載完成自動關機
一直忙到今天才發現
hepha前輩在小弟提問之後馬上寫了篇教學文
之前一直沒有辦法解決的AutoShutdown問題終於順利解決了!
十分感謝前輩的協助
教學文網址:
(手把手玩Linux-Jdownloader下載完畢時自動關機)
2011/08/18
Install Firefox 6.0 On Ubuntu By PPA
Firefox Stable Channel Packages
從上面的URL找到對應的Ubuntu版本
然後將來源加入到source list中
sudo gedit /etc/apt/sources.list
Ubuntu 10.04
deb http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu lucid main
deb-src http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu lucid main
Ubuntu 10.10
deb http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu maverick main
deb-src http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu maverick main
Ubuntu 11.04
deb http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu natty main
deb-src http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu natty main
2011/08/14
Ubuntu安裝VLCPlayer
VLCPlayer是Linux下好用的DVD播放軟體
(個人喜歡基於MPlayer的SMPlayer,也是不錯的選擇!)
Ubuntu 10.04以上的版本可以直接這樣下指令安裝
sudo apt-get update
sudo apt-get install vlc vlc-plugin-pulse mozilla-plugin-vlc
Ubuntu 10.04則需要先匯入PPA來源
sudo add-apt-repository ppa:lucid-bleed/ppa
sudo apt-get update
sudo apt-get install vlc vlc-plugin-pulse mozilla-plugin-vlc
(個人喜歡基於MPlayer的SMPlayer,也是不錯的選擇!)
Ubuntu 10.04以上的版本可以直接這樣下指令安裝
sudo apt-get update
sudo apt-get install vlc vlc-plugin-pulse mozilla-plugin-vlc
Ubuntu 10.04則需要先匯入PPA來源
sudo add-apt-repository ppa:lucid-bleed/ppa
sudo apt-get update
sudo apt-get install vlc vlc-plugin-pulse mozilla-plugin-vlc
2011/08/13
Ubuntu更換鏡像站
突然想到的問題所以就記下來
昨天剛裝好Ubunut 10.04.3
下更新指令時tw.archive.ubuntu.com總是會連不上
大概是台灣的鏡像站壞了
如此一來就無法透過台灣的鏡像站來進行套件的安裝及更新
這時候就要先透過修改鏡像來源以取得需要的套件
昨天剛裝好Ubunut 10.04.3
下更新指令時tw.archive.ubuntu.com總是會連不上
大概是台灣的鏡像站壞了
如此一來就無法透過台灣的鏡像站來進行套件的安裝及更新
這時候就要先透過修改鏡像來源以取得需要的套件
Ubuntu 10.04 安裝 LibreOffice
首先Oracle和OpenOffice的未來發展、為何原開發團隊投入LibreOffice的緣由
有興趣者可以參考以下連結:
(話說Ubuntu 11.04之前版本使用的應該叫Go OO,算是OpenOffice的一個分支,到了Ubuntu 11.04之後就正式把LibreOffice作為預設的辦公室軟體了)
進入重點
想要在Ubuntu 10.04中安裝LibreOffice需要藉由PPA的方式
1.首先刪除原本的OpenOffice
sudo apt-get remove openoffice*.*
2.加入PPA來源
sudo add-apt-repository ppa:libreoffice/ppa
3.更新一下來源
sudo apt-get update
4.安裝LibreOffice以及中文語系檔
sudo apt-get install libreoffice libreoffice-l10n-zh-tw
5.(這個應該是加上Gnome的框架我想,一開始忘記安裝LibreOffice介面醜醜的,還請前輩不吝指正囉)
sudo apt-get install libreoffice-gnome
※參考來源:
Ubuntu 10.04 安裝 CodeBlock 10.05
昨天剛剛從Ubuntu 11.04換回到10.04
在安裝CodeBlock時發現10.04官方套件庫裡的版本還停在10.02
(其實還有10.04滿多套件停在舊版,想要換到新版的話可以藉由PPA或者到官網下載新版安裝程式來更新)
所以參考了這篇:
http://dexter7311.pixnet.net/blog/post/27180890
依照文中的步驟把需要的套件裝好
需要注意的地方是版本代號的地方要改一下
文中的指令是edgy及feisty分別是6.10與7.04的代號
由於這邊用的是10.04 所以要把代號的部份改為lucid
一切程序完成之後
再到CodeBlock官網
Distro的地方找不到Ubuntu?
由上到下的Distro分別是Debian、Fedora、OpenSUSE、Mandriva
別擔心~Distro選擇的地方我們選用Debian的檔案來下載
最後依照參考文章中的作法
在終端機中完成安裝
在安裝CodeBlock時發現10.04官方套件庫裡的版本還停在10.02
(其實還有10.04滿多套件停在舊版,想要換到新版的話可以藉由PPA或者到官網下載新版安裝程式來更新)
所以參考了這篇:
http://dexter7311.pixnet.net/blog/post/27180890
依照文中的步驟把需要的套件裝好
需要注意的地方是版本代號的地方要改一下
文中的指令是edgy及feisty分別是6.10與7.04的代號
由於這邊用的是10.04 所以要把代號的部份改為lucid
一切程序完成之後
再到CodeBlock官網
Distro的地方找不到Ubuntu?
由上到下的Distro分別是Debian、Fedora、OpenSUSE、Mandriva
別擔心~Distro選擇的地方我們選用Debian的檔案來下載
最後依照參考文章中的作法
在終端機中完成安裝
解決Ubuntu解壓縮亂碼
在Ubuntu解壓縮.rar檔案
通常會裝上rar套件
但是解壓某些壓縮檔時
解出來的檔案會有亂碼的情形
爬文之後發現是rar作怪
解決的辦法是把rar、unrar移除
並且安裝7z-full和7z-rar
叫出終端機~
sudo apt-get remove rar
sudo apt-get remove unrar
sudo apt-get install 7z-full
sudo apt-get install 7z-rar
參考來源:http://dexter7311.pixnet.net/blog/post/25277201
通常會裝上rar套件
但是解壓某些壓縮檔時
解出來的檔案會有亂碼的情形
爬文之後發現是rar作怪
解決的辦法是把rar、unrar移除
並且安裝7z-full和7z-rar
叫出終端機~
sudo apt-get remove rar
sudo apt-get remove unrar
sudo apt-get install 7z-full
sudo apt-get install 7z-rar
參考來源:http://dexter7311.pixnet.net/blog/post/25277201
解決Ubuntu下.txt亂碼問題
在Ubuntu下以預設的gedit打開.txt文字檔時
會出現中文亂碼的問題
解決的辦法是把BIG5編碼加入到gedit中
打開終端機輸入
gconf-editor
會出現中文亂碼的問題
解決的辦法是把BIG5編碼加入到gedit中
打開終端機輸入
gconf-editor
依序進入app→gedit-2→preferences→encoding
打開auto_detected
加入BIG5並且將BIG5選項移到最上方
調整視窗按鈕位置-Metacity Window Buttons
Ubuntu將原本的視窗按鈕(關閉、放大、縮小)預設放在左上角
在這裡可以用Metacity Window Buttons依照喜好來設置視窗按鈕的排列方式
官方網站:https://launchpad.net/mwbuttons
載點:http://launchpad.net/mwbuttons/trunk/v0.2/+download/mwbuttons-0.2.4.tar.gz
進到終端機,切換到mwbuttons-0.2.4.tar.gz所在的目錄底下
1.解壓縮
tar xvfz mwbuttons-0.2.4.tar.gz
2.切換到解開的目錄下
cd mwbuttons-0.2.4.tar.gz/
3.安裝
sudo ./install.sh
完成之後就可以在「應用程式」→「附屬應用程式」→「Metacity Window Buttons」來進行設定
在這裡可以用Metacity Window Buttons依照喜好來設置視窗按鈕的排列方式
官方網站:https://launchpad.net/mwbuttons
載點:http://launchpad.net/mwbuttons/trunk/v0.2/+download/mwbuttons-0.2.4.tar.gz
進到終端機,切換到mwbuttons-0.2.4.tar.gz所在的目錄底下
1.解壓縮
tar xvfz mwbuttons-0.2.4.tar.gz
2.切換到解開的目錄下
cd mwbuttons-0.2.4.tar.gz/
3.安裝
sudo ./install.sh
完成之後就可以在「應用程式」→「附屬應用程式」→「Metacity Window Buttons」來進行設定
2011/07/30
Ubuntu安裝Oracle Java JDK
Ubuntu預設套件庫來源是安裝OpenJDK
對於習慣用Oracle Java JDK(原Sun JDK)的人來說
可以參考下面這篇文章來替換
如何於Ubuntu安裝Oracle Java JDK?
http://single9.net/2011/05/how-to-install-java-jdk-in-ubuntu/
爬了一下網路上的設定方法
個人感覺上面是最簡單直覺的作法
唯一的小發現是編輯完JDK的路徑之後
必須先登出一次再登入
系統才能正確抓到Java的設定
對於習慣用Oracle Java JDK(原Sun JDK)的人來說
可以參考下面這篇文章來替換
如何於Ubuntu安裝Oracle Java JDK?
http://single9.net/2011/05/how-to-install-java-jdk-in-ubuntu/
爬了一下網路上的設定方法
個人感覺上面是最簡單直覺的作法
唯一的小發現是編輯完JDK的路徑之後
必須先登出一次再登入
系統才能正確抓到Java的設定
2011/07/24
Ubuntu x86下安裝PAE 開啟4G以上ram支援
sudo apt-get update
sudo apt-get install linux-headers-server linux-image-server linux-server
2011/07/12
Ubuntu將CD/DVD存成.iso
在Windows底下
要將CD/DVD製作成.iso來儲存
常用Alcohol 120%、Daemon Tools等軟體來達成
在Linux底下
只要用一行指令就可以達到相同的功能~
dd if=/dev/cdrom of=輸出檔名
例如:
dd if=/dev/cdrom of=Ubuntu.iso
即從CD-ROM裝置讀取資料存成Ubuntu.iso
要將CD/DVD製作成.iso來儲存
常用Alcohol 120%、Daemon Tools等軟體來達成
在Linux底下
只要用一行指令就可以達到相同的功能~
dd if=/dev/cdrom of=輸出檔名
例如:
dd if=/dev/cdrom of=Ubuntu.iso
即從CD-ROM裝置讀取資料存成Ubuntu.iso
2011/07/11
在Ubuntu安裝hifree
hifree官方只有釋出Windows平台的版本
因此在Linux系統中需要藉由Wine模擬出運作的環境
相關的設定可以參考這篇:
http://jclin.blogspot.com/2011/04/linux-hifree.html "在Linux上裝hifree"
因此在Linux系統中需要藉由Wine模擬出運作的環境
相關的設定可以參考這篇:
http://jclin.blogspot.com/2011/04/linux-hifree.html "在Linux上裝hifree"
2011/07/10
Install Ubuntu One Client On Kubuntu
How do I install the GNOME Ubuntu One client on Kubuntu?
Although less than ideal, you should be able to get the GNOME Ubuntu One client working in KDE (Kubuntu) running these commands at a terminal session:
1. sudo apt-get install ubuntuone-client*
Although less than ideal, you should be able to get the GNOME Ubuntu One client working in KDE (Kubuntu) running these commands at a terminal session:
1. sudo apt-get install ubuntuone-client*
2. u1sdtool -c
That will install GNOME dependencies and then kick off the process to setup your computer with Ubuntu One.
Note, you may notice getting prompted twice for your keyring password. To work around this, please try the following:
1.In a terminal session run:
4.In a terminal session run:
That will install GNOME dependencies and then kick off the process to setup your computer with Ubuntu One.
Note, you may notice getting prompted twice for your keyring password. To work around this, please try the following:
1.In a terminal session run:
rm ~/.gnome2/keyrings/default*
2.Add the following lines to /etc/pam.d/kdm:
2.Add the following lines to /etc/pam.d/kdm:
auth optional pam_gnome_keyring.so try_first_pass session optional pam_gnome_keyring.so auto_start
3.Logout / login
3.Logout / login
4.In a terminal session run:
u1sdtool -c
訂閱:
文章 (Atom)