pdfcrop myfile.pdf
from http://alexsleat.co.uk/2011/01/25/using-pdfcrop-to-remove-white-margins-ubuntu/
This is not a blog, but my notes and tips for research. Feel free to take any information and leave any comments or questions.
Search This Blog
Friday, October 21, 2011
Thursday, October 20, 2011
Tuesday, October 18, 2011
XMind scroll problem
cgoise |
| More options Apr 7, 9:48 pm |
XMind (and other Eclipse applications) do currently not show up in the
new global menu, which is used in Ubuntu Natty Narwhale (11.04).
See here: https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/688136
Workarounds for this type problems can be found on the following site:
http://askubuntu.com/questions/6784/is-it-possible-to-make-indicator-...
In essence: the command to run XMind from the command line is now:
"APPMENU_DISPLAY_BOTH=1 /usr/local/xmind/xmind"
(without quotes)
The site does not mention how to start applications affected by this
bug from the main menu, which requires a slightly different command.
This can be done by changing the command in the main menu to:
"/bin/sh -c 'APPMENU_DISPLAY_BOTH=1 /usr/local/xmind/xmind'"
(again without quotes).
The program 'alacarte' can be used for this, just as in previous gnome
version.
This specific setting (APPMENU_DISPLAY_BOTH=1) causes the normal AND
the global menu to be shown. It will be therefore noticed when the bug
is fixed, so the main menu can be resetted.
from http://groups.google.com/group/xmind/browse_thread/thread/bd2badc7f785c254/f3af24cd09888116?lnk=gst&q=xmind+11.04#f3af24cd09888116
Regards
new global menu, which is used in Ubuntu Natty Narwhale (11.04).
See here: https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/688136
Workarounds for this type problems can be found on the following site:
http://askubuntu.com/questions/6784/is-it-possible-to-make-indicator-...
In essence: the command to run XMind from the command line is now:
"APPMENU_DISPLAY_BOTH=1 /usr/local/xmind/xmind"
(without quotes)
The site does not mention how to start applications affected by this
bug from the main menu, which requires a slightly different command.
This can be done by changing the command in the main menu to:
"/bin/sh -c 'APPMENU_DISPLAY_BOTH=1 /usr/local/xmind/xmind'"
(again without quotes).
The program 'alacarte' can be used for this, just as in previous gnome
version.
This specific setting (APPMENU_DISPLAY_BOTH=1) causes the normal AND
the global menu to be shown. It will be therefore noticed when the bug
is fixed, so the main menu can be resetted.
from http://groups.google.com/group/xmind/browse_thread/thread/bd2badc7f785c254/f3af24cd09888116?lnk=gst&q=xmind+11.04#f3af24cd09888116
Regards
Saturday, October 8, 2011
Friday, October 7, 2011
to convert column to row
in any directory with files and directories
$ ls -1 | sed ':a;N;$!ba;s/\n/ /g'
will show a row with information
$ ls -1 | sed ':a;N;$!ba;s/\n/ /g'
will show a row with information
Sunday, October 2, 2011
broadcom STA
root@nostalgia:~/Desktop/broadcom# pwd
/home/albertsk/Desktop/broadcom
root@nostalgia:~/Desktop/broadcom# ll
total 20
drwxr-xr-x 4 albertsk albertsk 4096 2011-10-01 17:33 ./
drwxr-xr-x 3 albertsk albertsk 4096 2011-10-01 17:31 ../
drwxr-xr-x 2 albertsk albertsk 4096 2010-12-14 15:58 lib/
-rw-r--r-- 1 albertsk albertsk 1134 2010-12-14 15:58 Makefile
drwxr-xr-x 5 albertsk albertsk 4096 2010-12-14 15:58 src/
root@nostalgia:~/Desktop/broadcom# make -C /lib/modules/2.6.38-8-generic/build M=`pwd` clean
root@nostalgia:~/Desktop/broadcom# make -C /lib/modules/2.6.38-8-generic/build M=`pwd`
root@nostalgia:~/Desktop/broadcom# rmmod bcm43xx b43 b43legacy ndiswrapper
ERROR: Module bcm43xx does not exist in /proc/modules
ERROR: Module b43legacy does not exist in /proc/modules
ERROR: Module ndiswrapper does not exist in /proc/modules
root@nostalgia:~/Desktop/broadcom# apt-get remove ndiswrapper-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ndiswrapper-common
root@nostalgia:~/Desktop/broadcom# modprobe ieee80211_crypt_tkip
FATAL: Module ieee80211_crypt_tkip not found.
cp wl.ko /lib/modules/2.6.38-8-generic/kernel/net/wireless/
root@nostalgia:~/Desktop/broadcom# cp wl.ko /lib/modules/2.6.38-8-generic/kernel/net/wireless/
root@nostalgia:~/Desktop/broadcom# depmod -a
insmod /lib/modules/2.6.38-8-generic/kernel/net/wireless/wl.ko
make -C /lib/modules/2.6.38-8-generic/build M=`pwd` clean
root@nostalgia:~/Desktop/broadcom# rmmod wl
root@nostalgia:~/Desktop/broadcom#
root@nostalgia:~/Desktop/broadcom#
root@nostalgia:~/Desktop/broadcom#
root@nostalgia:~/Desktop/broadcom# insmod /lib/modules/2.6.38-8-generic/kernel/net/wireless/wl.ko
root@nostalgia:~/Desktop/broadcom# depmod -a
/home/albertsk/Desktop/broadcom
root@nostalgia:~/Desktop/broadcom# ll
total 20
drwxr-xr-x 4 albertsk albertsk 4096 2011-10-01 17:33 ./
drwxr-xr-x 3 albertsk albertsk 4096 2011-10-01 17:31 ../
drwxr-xr-x 2 albertsk albertsk 4096 2010-12-14 15:58 lib/
-rw-r--r-- 1 albertsk albertsk 1134 2010-12-14 15:58 Makefile
drwxr-xr-x 5 albertsk albertsk 4096 2010-12-14 15:58 src/
root@nostalgia:~/Desktop/broadcom# make -C /lib/modules/2.6.38-8-generic/build M=`pwd` clean
root@nostalgia:~/Desktop/broadcom# make -C /lib/modules/2.6.38-8-generic/build M=`pwd`
root@nostalgia:~/Desktop/broadcom# rmmod bcm43xx b43 b43legacy ndiswrapper
ERROR: Module bcm43xx does not exist in /proc/modules
ERROR: Module b43legacy does not exist in /proc/modules
ERROR: Module ndiswrapper does not exist in /proc/modules
root@nostalgia:~/Desktop/broadcom# apt-get remove ndiswrapper-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ndiswrapper-common
root@nostalgia:~/Desktop/broadcom# modprobe ieee80211_crypt_tkip
FATAL: Module ieee80211_crypt_tkip not found.
cp wl.ko /lib/modules/2.6.38-8-generic/kernel/net/wireless/
root@nostalgia:~/Desktop/broadcom# cp wl.ko /lib/modules/2.6.38-8-generic/kernel/net/wireless/
root@nostalgia:~/Desktop/broadcom# depmod -a
insmod /lib/modules/2.6.38-8-generic/kernel/net/wireless/wl.ko
make -C /lib/modules/2.6.38-8-generic/build M=`pwd` clean
root@nostalgia:~/Desktop/broadcom# rmmod wl
root@nostalgia:~/Desktop/broadcom#
root@nostalgia:~/Desktop/broadcom#
root@nostalgia:~/Desktop/broadcom#
root@nostalgia:~/Desktop/broadcom# insmod /lib/modules/2.6.38-8-generic/kernel/net/wireless/wl.ko
root@nostalgia:~/Desktop/broadcom# depmod -a
Saturday, October 1, 2011
beamer->xouranl ->lecture
Recently I purchased Wacom Intuos4 small, which allows me to electronically write anything on digital note. Windows has Windows Journal Note and Smartnotebook is an excellent software with 30 days of evaluation period.
On the other hand, Ubuntu provides the best solution since I am making my presentation slides using beamer. Once you make a pdf file using beamer, open xournal on Ubuntu and just open the pdf file. The software xournal will smoothly convert the pdf to xoj format. You can start lecturing!.
On the other hand, Ubuntu provides the best solution since I am making my presentation slides using beamer. Once you make a pdf file using beamer, open xournal on Ubuntu and just open the pdf file. The software xournal will smoothly convert the pdf to xoj format. You can start lecturing!.
- generate pdf using beamer or use any pdf file
- start xournal and open the pdf file.
- enjoy electronic writing!
Subscribe to:
Posts (Atom)
Labels
- Academic Notes (4)
- BLAS (1)
- CEE618 (2)
- CentOS (1)
- Computation (1)
- Conferences (1)
- Cross compiling (1)
- Graphics (1)
- Hawaii Tour (2)
- Intel compiler (1)
- Just (1)
- Laptop (1)
- LaTex (22)
- Life and Humanity (8)
- Linux and Computing (107)
- LSF (1)
- Lyx (3)
- Macintosh (5)
- MPI (1)
- News (11)
- OpenFoam (1)
- OpenMPI (1)
- PBS (2)
- Software (4)
- SSH (2)
- torque (1)
- Touchpad (1)
- VMD (1)
- yum (1)