[1] https://help.ubuntu.com/community/Lubuntu/Keyboard
[2] http://cipricuslinux.blogspot.com.au/2012/11/edit-shortcuts-keybindings-in-lubuntu.html
Keybindings in Lubuntu [1]
Modify keybindings in Lubuntu by changing its ~/.config/openbox/lubuntu-rc.xml [2]
Saturday, October 3, 2015
What's key ring for?
[1] http://askubuntu.com/questions/32164/what-does-a-keyring-do
[2] http://askubuntu.com/questions/184266/what-is-unlock-keyring-and-how-do-i-get-rid-of-it
[3] how-to-recover-reset-forgotten-gnome-keyring-password/65294#65294
Installed seahorse and reset/change keyring password. [3]
The big idea here is that if someone else were to access your PC and did not know the master password to your keyring, they could not access your stored login information. The same principle is put to use by lastpass.com's addon for your browser. (only it's distributed, meaning I can use it on several instances of browsers across PC's)
In summary, I offer this snippet from the gnome-keyring page located here
[2] http://askubuntu.com/questions/184266/what-is-unlock-keyring-and-how-do-i-get-rid-of-it
[3] how-to-recover-reset-forgotten-gnome-keyring-password/65294#65294
Installed seahorse and reset/change keyring password. [3]
The big idea here is that if someone else were to access your PC and did not know the master password to your keyring, they could not access your stored login information. The same principle is put to use by lastpass.com's addon for your browser. (only it's distributed, meaning I can use it on several instances of browsers across PC's)
In summary, I offer this snippet from the gnome-keyring page located here
GNOME Keyring is a collection of components in GNOME that store secrets, passwords, keys, certificates and make them available to applications.
GNOME Keyring is integrated with the user's login, so that their secret storage can be unlocked when the user logins into their session.
GNOME Keyring is based around a standard called PKCS#11, which is a standard way for applications to manage certificates and keys on smart cards or secure storage.
System log in Linux
[1] https://ask.fedoraproject.org/en/question/9299/sticky-how-do-i-view-logs-on-fedora/
After fedora20, /var/log/messages no longer available.
$journalctl -n 100 show latest 100 lines of system log message
In debian/ubuntu it's in /var/log/syslog.
After fedora20, /var/log/messages no longer available.
$journalctl -n 100 show latest 100 lines of system log message
In debian/ubuntu it's in /var/log/syslog.
Wednesday, September 30, 2015
Filesystem Hierarchy Standard in Linux
[1] http://askubuntu.com/questions/138547/how-to-understand-the-ubuntu-file-system-layout/138551#138551
[2] https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
Linux File System version is 2.3, announced on January 29, 2004. [1]
etc/
Since the publication of early documentation, the directory name has been re-explained in various ways. Recent interpretations include backronyms such as "Editable Text Configuration" or "Extended Tool Chest". [2]
[2] https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
Linux File System version is 2.3, announced on January 29, 2004. [1]
etc/
Since the publication of early documentation, the directory name has been re-explained in various ways. Recent interpretations include backronyms such as "Editable Text Configuration" or "Extended Tool Chest". [2]
Sunday, September 27, 2015
SVN Check out failure on Dbian - SSL error: Key usage violation in certificate has been detected
[1] http://stackoverflow.com/questions/18998025/ssl-handshake-failed-ssl-error-key-usage-violation-in-certificate-has-been-det
[2] https://www.visualsvn.com/support/topic/00056/
sudo apt-get install libneon27
cd /usr/lib
sudo rm libneon-gnutls.so.27
sudo ln -s /usr/lib/libneon.so.27 libneon-gnutls.so.27 (double check that symbolic link is created)
Another way is to upgrade SVN client to latest SVN 1.8.xx which already handles http/https access.
Reasons behind this [2]
GnuTLS library is an alternative to OpenSSL. Most Subversion clients for Windows are built against OpenSSL and are not affected by this issue. While some Subversion packages (available mostly on Linux-based operating systems such as Ubuntu and Debian) are built against GnuTLS and are affected.
[2] https://www.visualsvn.com/support/topic/00056/
sudo apt-get install libneon27
cd /usr/lib
sudo rm libneon-gnutls.so.27
sudo ln -s /usr/lib/libneon.so.27 libneon-gnutls.so.27 (double check that symbolic link is created)
Another way is to upgrade SVN client to latest SVN 1.8.xx which already handles http/https access.
Reasons behind this [2]
GnuTLS library is an alternative to OpenSSL. Most Subversion clients for Windows are built against OpenSSL and are not affected by this issue. While some Subversion packages (available mostly on Linux-based operating systems such as Ubuntu and Debian) are built against GnuTLS and are affected.
Install gcc / g++ man page manually on Debian.
[1] http://unix.stackexchange.com/questions/42474/find-and-install-man-file-manually
Install gcc / g++ man page manually on Debian.
Edit /etc/apt/sources.list to include non-free repositories.
#apt-get update
#apt-get install gcc-doc
Install gcc / g++ man page manually on Debian.
Edit /etc/apt/sources.list to include non-free repositories.
#apt-get update
#apt-get install gcc-doc
Wednesday, September 23, 2015
Linux package collection
[1] http://www.cyberciti.biz/tips/how-to-controlling-access-to-linux-services.html
[2] https://technicalsanctuary.wordpress.com/2016/05/28/installing-cisco-anyconnect-vpn-on-ubuntu-16-04/
[3] https://www.imagemagick.org/script/index.php
#apt-get autoremove clean up unused packages
#apt-get -f install fixing broken dependencies
#apt-get update update apt-get repository
#apt-get upgrade upgrade all apt packages
#apt-cache search keywordofpackage search for an apt package in Ubuntu
#apt update
#add-apt-repository ppa:teatime/ppa
#apt install teatime-unity
#dpkg --list list all installed package in Ubuntu
#dpkg -i xxxx.deb Install from downloaded package.
#yum search keywordofyumpackage search for an yum package in Fedora
$systemctl daemon-reload
DEVELOPMENT
----------------------------
#apt-get install gcc-4.9
#apt-get install g++-4.9
#apt-get install gcc
#apt-get install g++
#yum install libstdc++-docs libstdc++-docs.x86_64 0:4.8.3-7.fc20 man page for C++ lib
#apt-get install manpages-posix manpages-posix-dev
#yum install man-pages man-pages.noarch 0:3.53-6.fc20 showing $man ldd $man pthread_mutex_lock after installation
#apt-get install libasio-dev modern c++ library for network programming
#apt-get install libasio-doc
#apt-get install make
#apt-get install cmake
#apt-get install cmake-qt-gui replacement for cmake -i wizard option
#apt-get install ipython
Suggested packages:
ipython-doc ipython-notebook ipython-qtconsole python-matplotlib
python-numpy python-zmq python-pexpect-doc
The following NEW packages will be installed:
ipython python-decorator python-pexpect python-simplegeneric
#apt-get install python-matplotlib
sudo apt-get install qt4-designer --fix-missing
#apt-get install vim-gnome
#sudo apt-get install ctags then install tagsbar plug in
#sudo apt-get install exuberant-ctags exuberant-ctags better than ctags which covers only c
#apt-get install cscope
#apt-get install meld visual file comparison tool
#apt-get install subversion
#apt-get install git
#apt-get install kompare similar like meld....visual file comparison
MISC-DEV
----------------
#apt-get install gawk to change from mawk to gawk to use --field-separater option in awk command line
#apt-get install ack-grep
#apt-get install screen screen/terminal logging tool
#apt-get install trace-route to avoid modern firewall, u can use trace-route xxxx -T via tcp socket
#apt-get install dos2unix convert dos format text file to unix format
#apt-get install nfs-common nfs-kernel-server Then modify /etc/export and firewall settings to set up NFS server.
#apt-get install arp-scan ip-scan for LAN
#dpkg -i ~/Downloads/pac-4.5.5.7-all.deb PAC Manager, Perl/Gtk approach to sssh/telnet/rdp/... connections managing.
REMOTE ACCESS
------------------------------
#apt-get install openssh-server
#apt-get install freerdp-x11 to remote desktop From Linux to Windows
qyang@lubuntu-laptop:~$ xfreerdp /u:UserName /p:Password /v:10.1.1.218 /f
#apt-get install tightvncserver to remote desktop from Windows to Linux (faster than xrdp and x11vnc)
#apt-get install xtightvncviewer
#apt-get install autocutsel
$vino-preferences will bring ubuntu14.04.3 default installed desktop sharing options.
#apt-get install pptp-linux network-manager-pptp network-manager-pptp-gnome for VPN connection to Microsoft VPN server
#apt-get install network-manager-vpnc for VPN connection using Cisco Compatible VPN (vpnc)
#apt-get install network-manager-vpnc-gnome for VPN GUI integration with Gnome
#apt-get install lib32z1 lib32ncurses5 required package for Cisco AnyConnect client installation
#apt-get install network-manager-openconnect-gnome openconnect client
#./vpnsetup.sh for VPN connection using Cisco AnyConnect
Scripts downloaded when browsing https://vpn.dmglobal.com to install Cisco AnyConnect Client in Linux
run $systemctl daemon-reload if seeing error "Failed to start vpnagentd.service: Unit vpnagentd.service not found." [2]
#apt-get install ufw ufw - program for managing a netfilter firewall
SYSTEM
-----------
#apt-get install sysv-rc-con debian service config package installed on lubuntu-laptop
( #apt-get install rcconf service control)
( #apt-get install sysvconfig chkconfig like service config on debian [1] )
#yum install chkconfig fedora service control
MISC - MustHave
-----------------------
#apt-get install xpad sticky notes counterpart in Linux (others similar have knote,tomboy etc)
#apt-get install tree list folder structure
#apt-get install libreoffice
#apt-get install shutter screen shot tool, similar like snipping tool in win7. build-in pic annotation.
#apt-get install gnome-screenshot gnome build-in screen shot tool shift+prtscn
$gnome-screenshot –file=[FILENAME]
$gnome-screenshot -i
$gnome-screenshot -a
$gnome-screenshot -w
MISC
---------
#apt-get install docky
#apt-get install xcompmgr enable 3D effect for docky applicataion
#apt-get install seahorse front-end to reset/change key ring password
#apt-get install gconf-editor alt+f2 bring cmd prompt, type 'gconf-editor' config docky position
sudo apt-get install gtypist
sudo apt-get install dvorak7min
sudo apt-get install typespeed
MultiMedia
----------------
#sudo apt-get install ubuntu-restricted-extras
#sudo apt-get install libdvd-pkg (> 15.04)
#sudo dpkg-reconfigure libdvd-pkg
[2] https://technicalsanctuary.wordpress.com/2016/05/28/installing-cisco-anyconnect-vpn-on-ubuntu-16-04/
[3] https://www.imagemagick.org/script/index.php
#apt-get autoremove clean up unused packages
#apt-get -f install fixing broken dependencies
#apt-get update update apt-get repository
#apt-get upgrade upgrade all apt packages
#apt-cache search keywordofpackage search for an apt package in Ubuntu
#apt update
#add-apt-repository ppa:teatime/ppa
#apt install teatime-unity
#dpkg --list list all installed package in Ubuntu
#dpkg -i xxxx.deb Install from downloaded package.
#yum search keywordofyumpackage search for an yum package in Fedora
$systemctl daemon-reload
DEVELOPMENT
----------------------------
#apt-get install gcc-4.9
#apt-get install g++-4.9
#apt-get install gcc
#apt-get install g++
#yum install libstdc++-docs libstdc++-docs.x86_64 0:4.8.3-7.fc20 man page for C++ lib
#apt-get install manpages-posix manpages-posix-dev
#yum install man-pages man-pages.noarch 0:3.53-6.fc20 showing $man ldd $man pthread_mutex_lock after installation
#apt-get install libasio-dev modern c++ library for network programming
#apt-get install libasio-doc
#apt-get install make
#apt-get install cmake
#apt-get install cmake-qt-gui replacement for cmake -i wizard option
#apt-get install ipython
Suggested packages:
ipython-doc ipython-notebook ipython-qtconsole python-matplotlib
python-numpy python-zmq python-pexpect-doc
The following NEW packages will be installed:
ipython python-decorator python-pexpect python-simplegeneric
#apt-get install python-matplotlib
sudo apt-get install qt4-designer --fix-missing
#apt-get install vim-gnome
#sudo apt-get install ctags then install tagsbar plug in
#sudo apt-get install exuberant-ctags exuberant-ctags better than ctags which covers only c
#apt-get install cscope
#apt-get install meld visual file comparison tool
#apt-get install subversion
#apt-get install git
#apt-get install kompare similar like meld....visual file comparison
MISC-DEV
----------------
#apt-get install gawk to change from mawk to gawk to use --field-separater option in awk command line
#apt-get install ack-grep
#apt-get install screen screen/terminal logging tool
#apt-get install trace-route to avoid modern firewall, u can use trace-route xxxx -T via tcp socket
#apt-get install dos2unix convert dos format text file to unix format
#apt-get install nfs-common nfs-kernel-server Then modify /etc/export and firewall settings to set up NFS server.
#apt-get install arp-scan ip-scan for LAN
#dpkg -i ~/Downloads/pac-4.5.5.7-all.deb PAC Manager, Perl/Gtk approach to sssh/telnet/rdp/... connections managing.
REMOTE ACCESS
------------------------------
#apt-get install openssh-server
#apt-get install freerdp-x11 to remote desktop From Linux to Windows
qyang@lubuntu-laptop:~$ xfreerdp /u:UserName /p:Password /v:10.1.1.218 /f
#apt-get install tightvncserver to remote desktop from Windows to Linux (faster than xrdp and x11vnc)
#apt-get install xtightvncviewer
#apt-get install autocutsel
$vino-preferences will bring ubuntu14.04.3 default installed desktop sharing options.
#apt-get install pptp-linux network-manager-pptp network-manager-pptp-gnome for VPN connection to Microsoft VPN server
#apt-get install network-manager-vpnc for VPN connection using Cisco Compatible VPN (vpnc)
#apt-get install network-manager-vpnc-gnome for VPN GUI integration with Gnome
#apt-get install network-manager-openconnect-gnome openconnect client
#./vpnsetup.sh for VPN connection using Cisco AnyConnect
Scripts downloaded when browsing https://vpn.dmglobal.com to install Cisco AnyConnect Client in Linux
run $systemctl daemon-reload if seeing error "Failed to start vpnagentd.service: Unit vpnagentd.service not found." [2]
#apt-get install ufw ufw - program for managing a netfilter firewall
SYSTEM
-----------
#apt-get install sysv-rc-con debian service config package installed on lubuntu-laptop
( #apt-get install rcconf service control)
( #apt-get install sysvconfig chkconfig like service config on debian [1] )
#yum install chkconfig fedora service control
MISC - MustHave
-----------------------
#apt-get install xpad sticky notes counterpart in Linux (others similar have knote,tomboy etc)
#apt-get install tree list folder structure
#apt-get install libreoffice
#apt-get install shutter screen shot tool, similar like snipping tool in win7. build-in pic annotation.
#apt-get install gnome-screenshot gnome build-in screen shot tool shift+prtscn
$gnome-screenshot –file=[FILENAME]
$gnome-screenshot -i
$gnome-screenshot -a
$gnome-screenshot -w
#sudo apt-get install file-roller a tool to open and view *.tar *.tar.gz
#clock or teatimer a good tool for timer remind
#clock or teatimer a good tool for timer remind
#apt-get install imagemagick a good tool to convert multiple images into one pdf file using 'convert' command line as part of imagemagick.
MISC
---------
#apt-get install docky
#apt-get install xcompmgr enable 3D effect for docky applicataion
#apt-get install seahorse front-end to reset/change key ring password
#apt-get install gconf-editor alt+f2 bring cmd prompt, type 'gconf-editor' config docky position
sudo apt-get install gtypist
sudo apt-get install dvorak7min
sudo apt-get install typespeed
sudo apt-get install transmission default official BitTorrent client in ubuntu, transmission-gtk, transmission-common
MultiMedia
----------------
#sudo apt-get install ubuntu-restricted-extras
#sudo apt-get install libdvd-pkg (> 15.04)
#sudo dpkg-reconfigure libdvd-pkg
Subscribe to:
Posts (Atom)