Just to remember the stuff on me
Taking Screenshots in Mac OS X - Mac Guides
November 23, 2012
November 14, 2012
Resetting your windows password
You lost it he's getting it back for ya'll: passwd
October 09, 2012
Insight debugger
Insight debugger remember to add the repository key:
#sudo apt-key adv --keyserver=keyserver.ubuntu.com --recv-keys 35DA01C261E46227
#sudo apt-key adv --keyserver=keyserver.ubuntu.com --recv-keys 35DA01C261E46227
September 29, 2012
Nvidia on Linux mint 13
I own a Lenovo thinkpad W520 (well work owns it but I'm using it) it runs Linux mint 13 - mate with the latest generic-pae kernel. At writing (3.2.0-31). At work when my machine is docked I need support for multiple monitors, and for this I need the Nvidia drivers. Here's the recipe that worked for me.
reboot your machine hold the blue ThinkVantage key and go into the bios menu.
Once you're booted into the mate desktop and logged in, enable the xorg edgers ppa
There's a recipe in the link. Then, do a
# sudo aptitude install nvidia-current nvidia-setting
I rebooted, and had nvidia graphics for dual monitors, but there's no intel graphics saving when I'm undocked!
I tried a buncha stuff from various blogs and forums, but nothing worked for me except disabling the optimus setting in the bios. The nvidia module was inserted but not activated. There's a number of ways to look at your gfx loading to help you locate the error.
Checking if glx is running:
# glxinfo
Looking at info from the Xserver startup:
# egrep '\((EE|WW|NI)\)' /var/log/Xorg.0.log
Checking that the glx module is loaded:
# egrep -i 'glx|nvidia' /var/log/Xorg.0.log
Check the references for details: Nvidia-304.51 X-swat Changing driver dual gfx cards Xorg-wiki
reboot your machine hold the blue ThinkVantage key and go into the bios menu.
- Choose the nvidia graphis card. It's called discrete graphics in the display bios display menu item.
- Then disable the optimus os detection setting.
- save & exit
Once you're booted into the mate desktop and logged in, enable the xorg edgers ppa
There's a recipe in the link. Then, do a
# sudo aptitude install nvidia-current nvidia-setting
I rebooted, and had nvidia graphics for dual monitors, but there's no intel graphics saving when I'm undocked!
I tried a buncha stuff from various blogs and forums, but nothing worked for me except disabling the optimus setting in the bios. The nvidia module was inserted but not activated. There's a number of ways to look at your gfx loading to help you locate the error.
Checking if glx is running:
# glxinfo
Looking at info from the Xserver startup:
# egrep '\((EE|WW|NI)\)' /var/log/Xorg.0.log
Checking that the glx module is loaded:
# egrep -i 'glx|nvidia' /var/log/Xorg.0.log
Check the references for details: Nvidia-304.51 X-swat Changing driver dual gfx cards Xorg-wiki
Labels:
Linuxmint 13,
mate,
nvidia,
optimus
September 20, 2012
VPN connection from Linuxmint 13
The default Mint 13 installation doesn't include the Cisco AnyConnection compatible client. This means that you'll need to install the network-manager-openconnect plug-in in your network manager.
#sudo aptitude install network-manager-openconnect
Once its done, restart the networkmanager with:
#sudo service network-manager restart
You'll now be able to select open connect from the networkm-anagers vnp menu. If the networkmanager is not shown in the panel you can run it with
#nm-applet &
Then click the network connection icon oon your panel, and select VPN connections > configure VPN
In the network connections window select the +add button, and select Cisco AnyConnect Compatible VPN option.
Fill in your credentials and server name/ip in the edit VPN connection window, and name your connection to what ever you'd like. When you're done save it.
To use your new VPC connection, click the network icon on your panel, and select vpn connections and select your freshly baked connection.
In the connect window, click the hostname/ip address and then click the connection button. Wait .... and fill in your user/passwd when you're asked to.
You'll see a small lock on-top of your network icon once your connection is established.
#sudo aptitude install network-manager-openconnect
Once its done, restart the networkmanager with:
#sudo service network-manager restart
You'll now be able to select open connect from the networkm-anagers vnp menu. If the networkmanager is not shown in the panel you can run it with
#nm-applet &
Then click the network connection icon oon your panel, and select VPN connections > configure VPN
In the network connections window select the +add button, and select Cisco AnyConnect Compatible VPN option.
Fill in your credentials and server name/ip in the edit VPN connection window, and name your connection to what ever you'd like. When you're done save it.
To use your new VPC connection, click the network icon on your panel, and select vpn connections and select your freshly baked connection.
In the connect window, click the hostname/ip address and then click the connection button. Wait .... and fill in your user/passwd when you're asked to.
You'll see a small lock on-top of your network icon once your connection is established.
Rolling debs
Rolling a Debian package from a single control file: equivs
Setting up a local test repository
Hardcore packaging
Setting up a local test repository
Hardcore packaging
September 19, 2012
Mozilla using mem as cache
There's two options: browser mem cache vs Ramdisk
Citrix & openmotif on mint13
I need the citrix reciever to look at some work related stuff but the citrix client doesn't work out of the box if you don't have the openmotif library installed, since Citrix depend on this lib.
sudo aptitude install libopenmotif4
That's all you need. You can get the Citric client here or through aptitude
sudo aptitude install libopenmotif4
That's all you need. You can get the Citric client here or through aptitude
Updating ant tools.jar not found
Turns out, the openjdk-6 that comes installed on Linuxmint contains an error that causes ant to bitch bout a missing tools.jar file! Luckily this file is shipped with openjdk-7 ;)
Basically you'll need to installs openjdk-7 and then update the alternatives
sudo aptitude install openjdk-7
sudo update-alternatives --config java
select openjk-7 option and then remove the old java stuff
sudo aptitude remove openjdk-6
Refs:
https://help.ubuntu.com/community/Java
http://ubuntuforums.org/showthread.php?t=1977619
Basically you'll need to installs openjdk-7 and then update the alternatives
sudo aptitude install openjdk-7
sudo update-alternatives --config java
select openjk-7 option and then remove the old java stuff
sudo aptitude remove openjdk-6
Refs:
https://help.ubuntu.com/community/Java
http://ubuntuforums.org/showthread.php?t=1977619
September 12, 2012
Send tab url
Did you ever try to browse for work related stuff on your on machine? I did and often did I copy each tab into my gmail account to send em to work.
But now I installed the send tab url add on to firefox and voila .... One click and all my tabs got work ;)
There's a bunca stuff to help your productivity with firefox on mint! like: Installing firefox, Ridding the mint search & 10 extentions.
But now I installed the send tab url add on to firefox and voila .... One click and all my tabs got work ;)
There's a bunca stuff to help your productivity with firefox on mint! like: Installing firefox, Ridding the mint search & 10 extentions.
August 30, 2012
Using UML for documentation? Here's a small and great quick guide
April 03, 2012
Instruments
http://www.earslap.com/projectslab/otomata
March 30, 2012
Creating a live distribution from your installation
There where my 3 references, they are there because I needed to create a new kernel for the Asus machine, It uses the inttel GMA500 chipset and therefore it must have build in KMS to get the correct framebuffer set.
I still build my kernels using the oldschool method!
Custom distro from your installation. Remember to remove all th eimages and crap you don't want to distribute.
Once you have your live distribution, you can use this strategy to update it.
I still build my kernels using the oldschool method!
Custom distro from your installation. Remember to remove all th eimages and crap you don't want to distribute.
Once you have your live distribution, you can use this strategy to update it.
March 02, 2012
Using Adobe Air on new linux distributions?
Whoa, if you really wanna feel the suck, this is where you need to go. There's no longer support for Air on Linux (or android) from adobe :(
So, if you're stuck with a bunca flashaholics, blinded by the virtual machine. A boss that insists this is the technology (Since it's blameable), be sure to wget the contents before the documentation disappear as well.
On Debian based systems: sudo aptitude install adobeair does the installation trick! At least for now. If not, here's an adobeair 2.6 package for your needs.
Rreferences:
help.adobe
air.administrators.guide
So, if you're stuck with a bunca flashaholics, blinded by the virtual machine. A boss that insists this is the technology (Since it's blameable), be sure to wget the contents before the documentation disappear as well.
On Debian based systems: sudo aptitude install adobeair does the installation trick! At least for now. If not, here's an adobeair 2.6 package for your needs.
Rreferences:
help.adobe
air.administrators.guide
February 29, 2012
asciidoc
Today, I finally realized it's so much better to write documentation using asciidoc
asciidoc cheat sheet
Adding filters
We're using the program to traverse a build and collect readme files that then serves as different sections of a document. This has the documentation as close to source code as possible. That is a clear advantage. Also we can run scripts from inside the documents that ensure the latest version of the documentation is used.
Asciidoc ROCKs!!!! In a way Metallica can't even imagine!!!
asciidoc cheat sheet
Adding filters
We're using the program to traverse a build and collect readme files that then serves as different sections of a document. This has the documentation as close to source code as possible. That is a clear advantage. Also we can run scripts from inside the documents that ensure the latest version of the documentation is used.
Asciidoc ROCKs!!!! In a way Metallica can't even imagine!!!
February 17, 2012
Linux mint 12 configuration
There's a bloat of new stuff in Mint 12, mostly related to gnome 3 update ;) This helped me getting through the update.
Tips and tricks
Loads of stuff:
Only thing I didn't respolve yet is my iPhone :(
Tips and tricks
Loads of stuff:
Only thing I didn't respolve yet is my iPhone :(
Subscribe to:
Posts (Atom)