Jump to content



Ubuntu 8.04 useful things after you install it


bkbilly

Recommended Posts

Ubuntu Tips For 8.04

Support RAR files

  • sudo apt-get install unrar

Auto mount NTFS partition

  • sudo mkdir /media/windows
  • gksudo gedit /etc/fstab

put this line in the end of the text:

  • /dev/sda1 /media/windows ntfs nls=utf8,umask=0222 0 0

In the first bullet you can put any name you want in the place of “Windows” but it has to be the same with the one in the las bullet

The letter of the partition can be found in the program “Partition Editor”

Change NTFS Permissions

  • sudo apt-get install ntfs-config
  • Go to “Applications—>System Tools—>NTFS Configuration Tool” and put the permitions you want

Installing WINE

Write on terminal

To run a program open console and then press:

  • wine start program.exe

To save files from wine install them in “My Documents” or “Desktop”

Manage Desktop effects

  • sudo apt-get install compizconfig-settings-manager

To see it go to system → preferences → “Advanced Desktop Effects Settings”

How to allow root user to login

  • System Administration Login Window Security Allow local system administrator login (Checked)

How to auto login to your account

  • System Administration Login Window Security Enable Automatic Login (Checked) select the User you want to login

Install Abyss Web Server x1

  • Download Abyss Web Server X1 from http://www.aprelium.com/abyssws/download.php
  • Move the file to home folder “/home/username”
  • tar xvfz abwsx1.tgz
  • cd abyssws
  • ./abyssws
  • Press CTRL+C to stop Abyss Web Server
  • sudo ./autostart-setup install

It will automatically start on startup but to run it yourself execute “sudo /etc/init.d/abyssws start

To open the page of Abyss Web Server go to http://127.0.0.1:9999

Autorun Programs

  • System Preferences Sessions
  • Press the button Add
  • You type the program to the Command
  • If you want you can put a name and a Comment

To find the Command of a program do the following:

Right click on Applications Edit Menus Find the program Right click on program Properties

Create keyboard shortcuts for programs

Ctr+Alt+Delete

  • Go to “Keyboard Shortcuts” and find “Logout” and delete this shortcut

  • Press Alt+F2 and type “gconf-editor” and navigate to “apps metacity”
  • Select "Global_keybindings" and search for a "run_command_X" value where X is between 1 and 12 and it is not used (i have used run_command_1)
  • Add this value: <Control><Alt>Delete
  • Now select "Keybindings_commands" on left tree. Goto "command_X" where X is the same number selected in run_command_X option
  • Add this value: gnome-system-monitor (For me is command_1)

MSN Messenger (emesene)

The best messenger for me is Emesene. The plugins that you need are LibNotify, Logger, Personal Message, Sound, Tiny URL, Youtube

Install Plugins

download from here: http://www.emesene.org/trac/wiki/Plugins and copy the plugins you want to: ~/.config/emesene1.0/pluginsEmesene/

Make it wark:

  • sudo sed -i.bak 's/09607671-1C32-421F-A6A6-CBFAA51AB5F4/CFE80F9D-180F-4399-82AB-413F33A1FA11/g' /usr/share/emesene/emesenelib/XmlTemplates.py

Install fonts:

  • sudo nautilus /usr/share/fonts/type1/gsfonts

and copy the fonts you want there

Terminal tips

  • If you don't want to type sudo for having root acces just type sudo bash. To have normal access type exit
  • To have grafical root access to folders type sudo nautilus /path/path
  • Go to a directory that it has space ie: “ubuntu linux” type: cd /the/directory/you/want/ubuntu\ linux
  • To see the list of the files in a directory type: ls /directory
  • To navigate up one directory level type cd ..
  • To navigate to the previous directory type cd -
  • Delete a file: rm /directrory/file.pdf Delete directory: rm -R /directory
  • Copy files from terminal and change name: sudo cp /directory/file.pdf /directory2/file2.pdf replace “cp” with “mv” to move files
  • See running processes: ps -A
  • Kill a process: sudo kill ##### or sudo killall #####
  • Eject cd-rom: eject -T

Wake On Lan

Go to bios and anable the “Wake On Lan”

  • sudo apt-get install wakeonlan
  • wakeonlan xx:xx:xx:xx:xx:xx

You replace this “xx:xx:xx:xx:xx:xx” with the MAC Address of the computer you want to wake up

Dual Monitor (TwinView)

  • gksudo gedit /etc/X11/xorg.conf

find the Section “Device” and replace it with this:

Section "Device"

Identifier "TwinView"

Driver "nvidia"

Option "TwinView"

Option "NoLogo" "True"

Option "TwinViewOrientation" "RightOf"

Option "UseEdidFreqs" "True"

Option "MetaModes" "1360x768,1360x768; 1360x768,NULL; NULL,1360x768"

EndSection

Auto Shutdown

  • sudo shutdown -h now
  • sudo shutdown -h 5
  • sudo shutdown -h 23:07

System info

  • apt-get install sysinfo

you can find it from Applications → System Tools → Sysinfo

System Details on your Dekstop

  • sudo apt-get install conky

to start it press Alt+F2 and type “conky

Record my desktop

  • sudo apt-get install gtk-recordmydesktop

you find it from Applications → Sound & Video → gtk-recordMyDesktop

How to install Ubuntu Manually

To install manually Ubuntu you will need to create a new partition and select it to be “swap”. It will be about 256MB

Then create an other which will be “ext3” and in the mount point put “/”. this partition will be about 2GB

Create your own custom Ubuntu

This command will take a while:

  • sudo remastersys dist

When it is over it will be created this file: “/home/remastersys/customdist.iso” that you will burn it on a CD

To remove the files that have been created, type “sudo remastersys clean

Backup and Restore Ubuntu

  • sudo apt-get install sbackup

To Backup your system go to “System Administration Simple Backup Config”

To Restore your system go to “System Administration Simple Backup Restore”

Convert bin/cue files to iso

  • sudo apt-get install bchunk
  • bchunk file.bin file.cue file

Read greek files in ISO-8859-7

  • iconv -f WINDOWS-1253 -t UTF-8 file.txt > newfile.txt

or

  • iconv -f ISO_8859-7 -t UTF-8 file.txt > newfile.txt

to see the type of your file type:

  • file the_file.txt

Install a 32bit deb package to a 64bit PC

  • sudo dpkg --force-architecture -i the_package.deb

or

  • sudo dpkg --force-all -i the_package.deb

Countdown timer applet for GNOME panel

  • sudo apt-get install timer-applet

to run it right click on GNOME panel → Add to Panel → select Timer

Για τυχών λάθη στις εντολές ή και για άλλες πληροφορίες επικοινωνήστε μαζί μου!!!:clap:

Link to comment
Share on other sites

  • Replies 48
  • Created
  • Last Reply
Put this in browser:

apt://wine

To run a program open console and then press:

wine program.exe

Για να χρησιμοποιήσεις το apt://wine πρέπει να χρησιμοποιήσεις Firefox μ' ένα Ubuntu specific Addon (δεν θυμάμαι πως το λένε) όχι οποιονδήποτε browser (αν κι είναι εμφανώς κλεμμένο αυτό από τον Konqueror και το One Click Install της Σούζις:hehe:).

Αφού θα έχει που θα έχει ανοιχτό Terminal μπορεί να κάνει κι ένα απλό apt-get install wine.

Για το δεύτερο σκέλος θα πρέπει να είσαι στο directory του .exe . Δηλαδή είτε wine /path/to/program/program.exe είτε cd /path/to/program && wine program.exe

How to allow root user to login

System → Administration → Login Window → Security → Allow local system administrator login (Checked)

OMG μόλις άνοιξες τους ασκούς του Αιόλου για όσους Ubunt-άδες το δούνε:hehe::hehe:

Link to comment
Share on other sites

Γιατί να logareis με root????

Επειδή μπορεί να θέλεις να διαγράψεις ή να γράψεις σε κάποιο φάκελο που δεν μπορείς να έχεις πρόσβαση!:rolleyes:

edit: Μπορείς να τρέξεις όποιο πρόγραμμα exe θέλεις χωρίς να χρησιμοποιήσεις το terminal αλλά απλά κάνοντας διπλό κλικ πάνω του!

Link to comment
Share on other sites

Communicate with Windows on LAN (install Samba)

EDIT: Αυτό δεν λειτουργεί καλά... Βρήκα καλύτερη λύση η οποία είναι στο τέλος του μυνήματος :nuke:

  • sudo apt-get install samba smbfs
  • sudo gedit /etc/samba/smb.conf

replace this:

####### Authentication #######

# "security = user" is always a good idea. This will require a Unix account

# in this server for every user accessing the server. See

# /usr/share/doc/samba-doc/htmldocs/Samba-HOWTO-Collection/ServerType.html

# in the samba-doc package for details.

; security = user

with this:

####### Authentication #######

# "security = user" is always a good idea. This will require a Unix account

# in this server for every user accessing the server. See

# /usr/share/doc/samba-doc/htmldocs/Samba-HOWTO-Collection/ServerType.html

# in the samba-doc package for details.

security = user

username map = /etc/samba/smbusers

  • sudo smbpasswd -a <username>
  • sudo gedit /etc/samba/smbusers

Put this in the file

<username> = "<username>"

Δεύτερη και καλήτερη επιλογή:

  • sudo apt-get install samba
  • sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.backup
  • sudo /etc/init.d/samba restart
  • sudo smbpasswd -L -a your_username

when it asks for username press enter

  • sudo smbpasswd -L -e your_username
  • sudo /etc/init.d/samba restart

Link to comment
Share on other sites

δεν χρειάζεται να κάνεις replace αρκεί να βγάλεις το ":" απο "; security = user"

μπορείς να βάλεις και

security =  share 

και να μην χρειάζεται να βάζεις users και pass

είναι για δίκτυο σπιτιού να μην παιδεύεσαι!

και στο τέλος να βάλεις


path = /path/to/directory/
comment = comment of shared
read only = no
guest ok = yes
public = yes

και έχετε πλήρη δικαιώματα από όλο το δίκτυο!

Link to comment
Share on other sites

OMG μόλις άνοιξες τους ασκούς του Αιόλου για όσους Ubunt-άδες το δούνε:hehe::hehe:

δηλαδή δε θα χρειάζεται να ξαναστήνω drivers κάθε φορά που θα αλλάζει ο kernel, και θα γίνει σταθερό και γρήγορό; :p

Link to comment
Share on other sites

δεν χρειάζεται να κάνεις replace αρκεί να βγάλεις το ";" απο "; security = user"

μπορείς να βάλεις και

security =  share 

και να μην χρειάζεται να βάζεις users και pass

είναι για δίκτυο σπιτιού να μην παιδεύεσαι!

και στο τέλος να βάλεις


path = /path/to/directory/
comment = comment of shared
read only = no
guest ok = yes
public = yes

και έχετε πλήρη δικαιώματα από όλο το δίκτυο!

Αυτό το τελευταίο το γράφεις κάτω από το "security = share";

Link to comment
Share on other sites

How to allow root user to login

* System → Administration → Login Window → Security → Allow local system administrator login (Checked)

τρελαθηκε και το αφεντικο και τα βγαλε ολα τσαμπα. Ακομα και Priviledges.

θελεις root bash ?

sudo bash

θελεις root γραφικο περιβαλος για να αντιγραψεις αρχεια κλπ ;

sudo nautilus /path/path/path/path_2Hell

Link to comment
Share on other sites

  • 1 month later...

Πρόσθεσα μερικά ακόμη πράγματα στο αρχικό μύνημά μου!

Τα παρακάτω θα πρέπει για να τα κάνετε να κετεβάσετε αυτό

Make linux look like MacOS

install visual effects

  • Go to System Preferences Appearance theme and click Install
  • Open “Ubuntu Themes” from my directory and install everything inside
  • Select a theme and then press “Customize” find the tabs “Controls, Window Border, Icons and Pointer” and select what you like

change window buttons place

  • Press Alt+F2 and type “gconf-editor” and navigate to “apps metacity general”
  • On the right double click “button_layout” and replace with “close,minimize,maxmize:menu”
  • To reverce it write “menu:minimize,maximize,close”

install Avant Window Navigator

this quote is for ubuntu 8.04

echo "deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main" | sudo tee -a /etc/apt/sources.list

echo "deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main" | sudo tee -a /etc/apt/sources.list

sudo apt-get update

sudo apt-get install awn-manager-trunk awn-extras-applets-trunk

this one is for 8.10

  • sudo apt-get install avant-window-navigator
  • Once you open AWN from “Applications Accessories Avant window Navigator” right click on dock and press “Dock Preferences”
  • Go to “Themes” and press “Add”
  • find the “AWN Dock Theme” and install that and press Apply

Set as Wallpaper with right click

copy the script “Set as Wallpaper” from my folder to “/home/bkbilly/.gnome2/nautilus-scripts”

Στον φάκελό μου υπάρχει και το "Cairo Clock" που για να το εγκαταστήσετε πατήστε διπλό κλικ πάνω του και μετά το κουμπί "Install Package"

Link to comment
Share on other sites

  • 2 weeks later...
Μεγιστος εισαι kbilly!!

Μπραβο!

Φαινεται κατεχεις και την αγγλικη γλωσσα πολυ καλα!

Σε ενδιαφερει να κανεις μεταφρασεις για το ubuntu ;

Ευχαριστώ!

Όταν λές μεταφράσεις τι εννοείς; Τα ubuntu είναι ήδη μεταφρασμένα!:look:

Link to comment
Share on other sites

  • 2 weeks later...

Convert a Video

  • sudo apt-get install ffmpeg

  • ffmpeg -i input.avi -ar 22050 -r 25 -ab 32k -t 15.4 -s 320x240 output.avi

-i the video you want to convert

-r framerate

-s resolution of the video

-t → how much time you want to convert

-sameq → same quality

-ab → audio bitrate

-ar → audio friquency

for more info click here

Put a Watermark on a Video

  • sudo apt-get install ffmpeg
  • ffmpeg -i input.avi -vhook "/usr/lib/vhook/drawtext.so -f /the/path/of/your/font/comic.ttf -x 5 -y 5 -t YourText -s 30" -sameq output.avi

-s <size> font size

-x <pos> -y <pos> position of the watermark

-t <text> the text you want to display

-o outline glyphs

-c <#RRGGBB> color of the text

Link to comment
Share on other sites

  • 1 month later...

Disable F-Lock and program keys from the keyboard (doesn't work on 8.10)

  • sudo apt-get install keytouch

to run it go to System → Preferences → KeyTouch

Openoffice 2.4

Install Greek dictionary

  • Download the language you want from here
  • sudo nautilus /usr/lib/openoffice/share/dict/ooo and copy all the files inside the tar file
  • sudo gedit /usr/lib/openoffice/share/dict/ooo/dictionary.lst
  • Write in this file “DICT el GR el_GR”. Replace it with the ones of your language

Backup settings

  • go to ~/.openoffice.org or to ~/openoffice.org2 and copy the folder user folder where you want to save it.

OpenOffice 3 beta (64bit)

  • firefox "http://openoffice.bouncer.osuosl.org/?product=OpenOffice.org&os=linuxinteldeb〈=en-US&version=3.0.0"
  • tar xzf /Ooo_3.0.0_LinuxIntel_install_en-US_deb.tar.gz
  • sudo dpkg -i ~/OOO300_m9_native_packed-1_en-US.9358/DEBS/*.deb
  • sudo apt-get install ia32-libs
  • sudo apt-get install sun-java6-jre ia32-sun-java6-bin
  • start the program with this command: /opt/openoffice.org3/program/soffice

How to fix the, switch keyboard layout

  • sudo gedit /etc/X11/xorg.conf

find Section “InputDevice” and replace it with this:

Section "InputDevice"

Identifier "Generic Keyboard"

Driver "keyboard"

Option "CoreKeyboard"

Option "XkbRules" "xorg"

Option "XkbModel" "pc105"

Option "XkbLayout" "us,gr"

Option "XkbVariant" ","

Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"

EndSection

Fix login small font size

Choose from the “Login Window Preferences” under the “Local” menu the Human theme which is the default

  • sudo gedit /usr/share/gdm/themes/Human/Human.xml

and find the “<normal color=......../>” and change the font size

  • sudo gedit /usr/share/gdm/themes/Human/gtk-2.0/gtkrc

and find the “font_name = .......” and change the font size

Install GDM Theme

Download from here the theme you want and copy the folder you downloaded to “/usr/share/gdm/themes/”

Install latest, not stable, version of Ubuntu

  • update-manager -d

Ubuntu-system-panel

for 64 bit you will need one more step

  • sudo cp /usr/lib/python2.4/site-packages/usp/plugins/_keybind64.so _keybinder.so

Link to comment
Share on other sites

Ευχαριστώ ΠΟΛΥ*, στον Η/Υ σπίτι πλέον παίζει το 8.04.1 (32βιτ) και δεν υπάρχει ούτε backup partition για MS λειτουργικό.

Τα μόνα ίχνη ΜS είναι: έχει μπεί Wine για games και μέσω QEMU τα Win2K για το VS2005 μιας και το mono ειναι λίγο πίσω.

*Συμβουλεύτικα αρκετές φορές αυτό τον οδηγό, μπράβο στην προσπαθειά σας.

Link to comment
Share on other sites

Εναλλακτικος και πιο ευκολος τροπος για πολλους να εγκαταστησεις οποιο προγραμμα θες ειναι το synaptic package manager.Απλα κανεις ενα search βρισκεις το προγραμμα η τα προγραμματα που θες το μαρκαρεις και εγκαθισταται.

Με τον ιδιο τροπο τα κανεις απεγκατασταση.

Tip:οριστε καποιο ελληνικο server στα repositories για μεγαλυτερη ταχυτητα.

Link to comment
Share on other sites

Μπράβο Βασίλη. Υπέροχος οδηγός.

Μου αρέσει και ο τρόπος εμφάνισης.

Βρίσκουμε εύκολα αυτά που θέλουμε.

Δεν έχω Internet ADSL αλλά βρήκα τρόπο να σου στείλω αυτό που ζήτησες.

http://rapidshare.com/files/152034467/dict-el.oxt.html

Ελληνικός συλλαβισμός, θησαυρός και λεξικό για OpenOffice3.

Το αρχείο dict-el.oxt εγκαθίσταται από tools - extension manager.

Link to comment
Share on other sites

Ubuntu 8.04 system requirements

Minimum System Requirements

  • 300 MHz x86 processor
  • 64 MB of system memory (RAM)
  • At least 4 GB of disk space (for full installation and swap space)
  • VGA graphics card capable of 640x480 resolution
  • CD-ROM drive or network card

System requirements to run ubuntu smoothly

  • 700 MHz x86 processor
  • 384 MB of system memory (RAM)
  • 8 GB of disk space
  • Graphics card capable of 1024x768 resolution
  • Sound card
  • A network or Internet connection

Requirements To run Visual Effects, Compiz

  • 1.2 GHz x86 processor
  • 384 MB of system memory (RAM)
  • Supported graphics card (see DesktopEffects)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Δημιουργία...

Important Information

Ο ιστότοπος theLab.gr χρησιμοποιεί cookies για να διασφαλίσει την καλύτερη εμπειρία σας κατά την περιήγηση. Μπορείτε να προσαρμόσετε τις ρυθμίσεις των cookies σας , διαφορετικά θα υποθέσουμε ότι είστε εντάξει για να συνεχίσετε.