ComTech: IT Support Stirling
TwitterFacebookGoogle

How to start programs at login in Debian LXDE

Today I will show you how to start programs at login in Debian LXDE.  Even though I am using Debian LXDE these steps will work on any distribution using LXDE.

LXDE uses the ./config/autostart file to load programs at startup so this is the file we will be configuring but first we have to get the exact name of the program we want to run.  Open up a terminal and type:

cd /usr/share/applications 

followed by

ls

You should get a list similar to the one below.

——————————————————————————————————————————–

alacarte.desktop
at-properties.desktop
baobab.desktop
bluetooth-properties.desktop
bme.desktop
brasero-copy-medium.desktop
brasero.desktop
brasero-nautilus.desktop
cheese.desktop
dasher.desktop
default-applications.desktop
defaults.list
display-properties.desktop
dropbox.desktop
ekiga.desktop
empathy-accounts.desktop
empathy.desktop
eog.desktop
epiphany.desktop
evince.desktop
evolution.desktop
evolution-mail.desktop
evolution-settings.desktop
file-roller.desktop
freecell.desktop
gcalctool.desktop
gconf-editor.desktop
gdebi.desktop
gedit.desktop
gimp.desktop
gksu.desktop
glchess.desktop
glines.desktop
gmenu-simple-editor.desktop
gnash.desktop
gnect.desktop
gnibbles.desktop
gnobots2.desktop
gnome-about.desktop
gnome-about-me.desktop
gnome-appearance-properties.desktop
gnomecc.desktop
gnome-dictionary.desktop
gnome-font-viewer.desktop
gnome-nettool.desktop
gnome-network-properties.desktop
gnome-panel.desktop
gnome-power-preferences.desktop
gnome-power-statistics.desktop
gnome-screensaver-preferences.desktop
gnome-screenshot.desktop
gnome-search-tool.desktop
gnome-settings-mouse.desktop
gnome-sound-recorder.desktop
gnome-sudoku.desktop
gnome-system-log.desktop
gnome-system-monitor.desktop
gnome-terminal.desktop
gnome-theme-installer.desktop
gnome-user-share-properties.desktop
gnome-volume-control.desktop
gnome-wm.desktop
gnomine.desktop
gnotravex.desktop
gnotski.desktop
gok.desktop
google-chrome.desktop
gparted.desktop
gpicview.desktop
grsync.desktop
gstreamer-properties.desktop
gtali.desktop
gucharmap.desktop
hamster-standalone.desktop
hplj1020.desktop
iagno.desktop
iceweasel.desktop
inkscape.desktop
keybinding.desktop
keyboard.desktop
leafpad.desktop
libfm-pref-apps.desktop
liferea.desktop
lxappearance.desktop
lxde-logout.desktop
lxde-screenlock.desktop
lxde-x-terminal-emulator.desktop
lxde-x-www-browser.desktop
lxinput.desktop
lxmusic.desktop
lxrandr.desktop
lxsession-edit.desktop
lxterminal.desktop
mahjongg.desktop
manage-print-jobs.desktop
metacity.desktop
mimeinfo.cache
nautilus-autorun-software.desktop
nautilus-browser.desktop
nautilus-computer.desktop
nautilus.desktop
nautilus-file-management-properties.desktop
nautilus-folder-handler.desktop
nautilus-home.desktop
network.desktop
network-scheme.desktop
nm-connection-editor.desktop
notification-properties.desktop
obconf.desktop
openbox.desktop
openjdk-6-java.desktop
openjdk-6-javaws.desktop
openjdk-6-policytool.desktop
openoffice.org-base.desktop
openoffice.org-calc.desktop
openoffice.org-draw.desktop
openoffice.org-impress.desktop
openoffice.org-math.desktop
openoffice.org-startcenter.desktop
openoffice.org-writer.desktop
orca.desktop
palimpsest.desktop
pcmanfm.desktop
python2.6.desktop
qt4config.desktop
quadrapassel.desktop
remmina.desktop
reportbug.desktop
rhythmbox.desktop
screensavers
seahorse.desktop
seahorse-pgp-encrypted.desktop
seahorse-pgp-keys.desktop
seahorse-pgp-preferences.desktop
seahorse-pgp-signature.desktop
services.desktop
session-properties.desktop
shares.desktop
shotwell.desktop
shotwell-viewer.desktop
simple-scan.desktop
software-properties.desktop
sol.desktop
sound-juicer.desktop
synaptic.desktop
synaptic-kde.desktop
system-config-printer.desktop
teamviewer-teamviewer7.desktop
time.desktop
tomboy.desktop
totem.desktop
transmission.desktop
unbranded-software-center.desktop
update-manager.desktop
users.desktop
vino-preferences.desktop
virtualbox.desktop
window-properties.desktop
xarchiver.desktop
xsane.desktop
xscreensaver-properties.desktop
yelp.desktop

——————————————————————————————————————————–


For the purpose of this tutorial I will configure virtualbox at startup.  Now we have to copy the virtualbox.desktop file into the autostart directory so in your terminal type:

cp /usr/share/applications/virtualbox.desktop /home/chris/.config/autostart

and then restart the system.  Virtualbox should now start at login.

About the Author

Hi I am Chris Wakefield the owner of ComTech IT Support. I provide Windows and Linux based IT Support, laptop repairs and computer repairs to both business and personal clients in and around Stirling.

For a list of what I can offer you why not visit my website www.comtech247.net where you will find a list of my services, testimonials, blog and much more.

How to set up a DNS Server on Debian 6.0 “Squeeze”

Today we are going to set up and configure a DNS Server on Debian 6.0 “Squeeze”.  We will be using the bind9 package which does not come by default so we will need to install it. Open up a terminal and type:

sudo apt-get install bind9

There are four files which we we need to configure.  Lets take the first.  In a terminal type:

sudo nano /etc/bind/named.conf.local

I have used nano to open up the file but use whichever text editor you are happy with. Insert the following code into the file:

——————————————————————————————————————————–

# This is the zone definition. replace example.com with your domain name
zone “comtech.com” {
type master;
file “/etc/bind/zones/comtech.com.db”;
};

# This is the zone definition for reverse DNS. replace 0.168.192 with your network address in reverse notation – e.g my network address is 192.168.0
zone “1.168.192.in-addr.arpa” {
type master;
file “/etc/bind/zones/rev.0.168.192.in-addr.arpa”;
};

——————————————————————————————————————————–


Replace comtech.com with the name of your DNS domain (this is not the same as an active directory domain but rather a name for your DNS zone).

Next up we shall configure the options file. In the terminal type:

sudo nano /etc/bind/named.conf.options

Within this file we need to modify the forwarder with the address of your ISP’s DNS servers. So modify the file adding the following:

——————————————————————————————————————————–

forwarders {

194.72.0.114;
194.74.65.69;
};

——————————————————————————————————————————–

Replace the addresses above with the addresses of your ISP’s DNS servers.

Now we need to add the zones file:

sudo mkdir /etc/bind/zones

Now we need to configure it by typing:

sudo nano /etc/bind/zones/comtech.com.db (replace comtech.com with your DNS domain).

To configure the file you will need to add the following:

——————————————————————————————————————————–

// replace example.com with your domain name. do not forget the . after the domain name!
// Also, replace ns1 with the name of your DNS server
comtech.com. IN SOA chris-server.comtech.com.
// Do not modify the following lines!
2006081401
28800
3600
604800
38400

)

// Replace the following line as necessary:
// ns1 = DNS Server name
// mta = mail server name
// example.com = domain name
comtech.com. IN NS chris-server.comtech.com.
comtech.com. IN MX 10 mta.example.com.

// Replace the IP address with the right IP addresses.
www IN A 192.168.1.4
mta IN A 192.168.0.3
chris-server IN A 192.168.1.4

——————————————————————————————————————————–

In the above code replace the following:

comtech.com with your DNS domain name,

192.168.1.4 with your static DNS server address,

chris-server.comtech.com with your computers hostname.dns-domain,

mta is your mail server (if you have one). If you do modify the IP address to show this.

Next we have to create the reverse DNS zone file:

sudo nano /etc/bind/zones/rev.1.168.192.in-addr.arpa

Add the following code:

——————————————————————————————————————————–

//replace example.com with your domain name, ns1 with your DNS server name.
// The number before IN PTR example.com is the machine address of the DNS server
@ IN SOA chris-server.comtech.com admin.comtech.com. (
2006081401;
28800;
604800;
604800;
86400
)

IN NS chris-server.comtech.com.
1 IN PTR comtech.com

——————————————————————————————————————————–

All that is left to do is restart bind:

sudo service bind9 restart

Don’t forget to test the new configuration:

dig comtech.com

About the Author

Hi I am Chris Wakefield the owner of ComTech IT Support. I provide Windows and Linux based IT Support, laptop repairs and computer repairs to both business and personal clients in and around Stirling.

For a list of what I can offer you why not visit my website www.comtech247.net where you will find a list of my services, testimonials, blog and much more.

OS British Grid Reference Blackberry App


I do a lot of walking and climbing in the mountains and regularly use my map and compass to navigate when the weather gets bad and apart from some slight mishaps over the years have never got lost.  I will be the first to admit however that it is always nice for a second opinion and it was with this thought I came across the OS British Grid Reference App for Blackberry.

Now personally I hate GPS.  In my opinion it makes people lazy and reliant on technology and when that technology doesn’t work they then get in trouble.  If you know how to navigate by using a map and compass then you can’t go far wrong.  I did think however I would give this app a try to see if it was any good.  It is a simple app that gives you a grid reference of where you are and nothing more.  You then check it against a map and go from there.

It got its first trial run last weekend when I went hiking in the mountains around Comrie with a friend.  The forecast was pretty bad and the Scottish weather did not disappoint!! One minute we had good visibility the next 50m max.  The app got used twice and both times it was nice to have that second opinion of where we thought we were.  We were very impressed with how simple it was to use and how accurate it was (we checked it at the top of the first summit to check how accurate it was) and will definitely be taking it again when we go out next time.

So am I a convert to GPS? Not really.  Yes it has its place but I will still be navigating using my map and compass.

About the Author

Hi I am Chris Wakefield the owner of ComTech IT Support. I provide Windows and Linux based IT Support, laptop repairs and computer repairs to both business and personal clients in and around Stirling.

For a list of what I can offer you why not visit my website www.comtech247.net where you will find a list of my services, testimonials, blog and much more.

How to take screenshots on the Blackberry Playbook


For all its bad press I have found the Blackberry Playbook to be a serious piece of kit.  It is very intuitive to use and comes with some great features.  One of these is the ability to take screenshots which I shall discuss today.

Taking screenshots on the Blackberry Playbook is pretty straight forward.  You press both volume control buttons simultaneously on the top of the tablet.  The screenshot is then stored in pictures and can be transferred to another computer via wifi.  This tutorial will show you how to transfer files via wifi.

Below is a screenshot of my home page on the Blackberry Playbook taken using this method.

 

 

About the Author

Hi I am Chris the owner of ComTech. I provide IT Support, Laptop repairs and Computer repairs to both personal and business clients in and around Stirling. For a list of what I can offer you why not visit my website www.comtech247.net where you will find my blog, testimonials, services and much more.  Start supporting a local business today so I can start supporting you.

If you found this blog useful then why not sign up to my RSS Feed for news, tutorials, views and general techie stuff!!

 

How to customise a Windows 7 ISO


Today I will show you how to customise a Windows 7 ISO before you install it on a system.  This can come in useful if you are installing onto a tiny hard drive (eg netbook) or if you don’t want certain features installed automatically during the installation (eg media center etc).

The first thing to do is get your hands on a Windows 7 ISO and copy all the files into a new folder called Win7 Files (you can change this) on your desktop as shown below.

Next we need to download and install a package called RT Seven Lite.  RT Seven Lite allows you to remove components that you don’t need prior to installation. I was originally planning to use vLite, however vLite is not fully compatible with the new WAIK so by default is not fully compatible with Windows 7.

Time to get customising!! Start RT Seven Lite to get the screenshot below.

We now have to locate the Win7 Files folder so click on Browse and navigate to it.  When the windows installation files have been confirmed RT Seven Lite will then ask you to choose which version of Windows the installation files are for.  Choose your version and click ok.

The image will now be uploaded ready for configuration.  Once loaded we can start configuring so click on Task (top left under Home).

This is where we are given loads of options on what we would like to do with the installation files.  For the purpose of this tutorial we shall choose Components Removal and remove all media files so click Components and then Features Removal.

Tick the box next to Multi-Media and then click apply.  This brings you back to the main page where you need to click commit.  The Multi-Media files will now be removed from the Windows 7 Installation Files.

Now that we have removed the Multi-Media files we need to create a bootable ISO so click on ISO-Bootable.

We need to change the mode to Create Image and then enter a name for the volume (e.g Windows7 Lite etc).  Once done click Make ISO.  Choose a place to save the ISO and then click save.

The new image will now be created.  Burn the ISO to disk using your favourite disk burning software.

About the Author

Hi I am Chris Wakefield the owner of ComTech IT Support. I provide Windows and Linux based IT Support, laptop repairs and computer repairs to both business and personal clients in and around Stirling.

For a list of what I can offer you why not visit my website www.comtech247.net where you will find a list of my services, testimonials, blog and much more.

CyberChimps
Follow

Get every new post delivered to your Inbox

Join other followers

WordPress SEO fine-tune by Meta SEO Pack from Poradnik Webmastera
WP Like Button Plugin by Free WordPress Templates