Kubuntu10.04 use record

A. To be resolved
  1. keyboard failure is often the case will appear in NetBeans6.8, the IDE and restart normal, with input method ibus, do not know why, how to solve?
  2. NB and openoffice, it also found no ibus the tune, ff can. I do not know whether there are effects log off or restart. -------------- now good, I do not know the reason is not restarted, did not pay attention.

Second set
  1.ibus random start
    System Settings - Advanced - start automatically, add the program, enter ibus-daemon -x -r -d, OK, and finally re-board cancellation.
  2. Disable Wallet
    otherwise every time you open the program must be sick of your password. System Settings - Advanced -KDE wallet, cancel options.
  The automatic loading windows partition
    1) Partition Status: hard points C (about 30G, ntfs), D (about 30G, ntfs), E (40 Multi G, ntfs), F (about 10G, fat32) four partitions, XP is installed on the C drive, D-pan wubi installed Kubuntu10.04.
       Need C, E, F, respectively mounted to the disk / mnt / windows / DiskC, / mnt / windows / DiskE, / mnt / windows / DiskF.
    2) to establish mounted directory: / mnt / windows / DiskC, / mnt / windows / DiskE, / mnt / windows / DiskF.
       mkdir -p sudo / mnt / Windows / DiskC
       sudo mkdir -p / mnt / Windows / diske
       mkdir -p the sudo / mnt / Windows / DiskF
    . 3) to the display device is mounted in a terminal, run the following command: mount
    Example: not mounted when the CEF
    FZJ Ubuntu @: ~ $ Mount
    / dev / loop0 ON / type ext4 (RW, the remount-errors = RO)
      . . . . . . Omitting several rows
    / dev / sda5 on / host type fuseblk (rw, nosuid, nodev, relatime, user_id = 0, group_id = 0, allow_other, blksize = 4096)
    Dictionary
    / dev / sda5 D drive, it should be CEF / dev / sda1, / dev / sda6 , / dev / sda7.
    4) sudo vi / etc / fstab
    end the following is added
      / dev / sda7 and a / mnt / Windows / DiskF vfat the umask = 0000 0 0
      / dev / sda1 / mnt / Windows / DiskC NTFS rwx, the umask = 0000 0 0
      / dev / sda6 / mnt / windows / diskE ntfs rwx , umask = 0000 0 0
    save and exit.
    5) no need to reboot and remount / etc / fstab
       sudo Mount -a
    6) Other
      unmount the partition: sudo umount / mnt / windows / DiskF
      manually re-mount: sudo Mount / dev / sda7 / mnt / Windows / DiskF the umask = 0000 -o -t vfat
          sudo Mount / dev / sda6 / mnt / Windows / diskE -t ntfs -o rwx, umask = 0000

three software installation.
  1 will be installed: jdk, eclipse, netbeans6.8 (include tomcat6)
    previously installed in Ubuntu10.04 6.9 netbean6.8 or not to bring up the input method ibus , failed to achieve Chinese character input, now in Kubuntu10.04 in :), it is probably not the reason ibus-gtk.
    1) When installing NB tomcat6 binding if installed, will produce two tomcat configuration file is located in a tomcat installation directory (/opt/apache-tomcat-6.0.20/conf/), another is
       in the NB-related directory (/home/fzj/.netbeans/6.8/apache-tomcat-6.0.20_base/conf). Tomcat run in NB, it is contributing its share of NB, such as "Authenthi
       asked to enter account / password cation Required" is saved in /home/fzj/.netbeans/6.8/apache-tomcat-6.0.20_base/ conf / tomcat-users.xml
  2.oracle xe server installation fails, also in ubuntu10.04 in. sql develper successful installation.
    Installation oracle xe client:
      (1) to download deb package, installed directly: sudo dpkg -i oracle-xe- client_10.2.0.1-1.0_i386.deb. The results suggest that swap is not big enough
      (2) expansion of swap
      (3) re-install: sudo dpkg -i oracle-xe- client_10.2.0.1-1.0_i386.deb. Encountered
      chmod: can not access `/usr/lib/oracle/xe/app/oracle/product/10.2.0/client/bin/sqlplus' : No such file or directory
      because one already installed, the workaround is to uninstall and then reinstall
          sudo dpkg -r the Oracle-Client-xe
          sudo dpkg -i the Oracle-xe-client_10.2.0.1-1.0_i386.deb
      (4) to be a symlink
      LN -s / usr / lib / the Oracle / xe / App / Oracle / Product / 10.2.0 / Client / scripts / sqlplus.sh / usr / bin / sqlplus
      (. 5) connected to the remote database sqlplus
        SQL> conn username / password @ hostname (or ip) / instance
  3.firefox 4
    1) GET the Add-ONS: Video DownloadHelper; Firefox Sync
    2) to ff configured as the default browser.
      Modify two places:
      First, K-Menu - Applications - Settings - System Settings - Default Applications - Web Browser - in the following browser, specify it.
      The second is to modify the x-www-browser Alternatives
      A different way to view the x-www-browser alternatives information.
      FZJ Ubuntu @: ~ $ Alternatives --display the sudo Update-x-www-browser
      x-www-browser - Auto MODE
      Link Points to Currently / usr / bin / Konqueror
      / usr / bin / Konqueror - 100 priority
      . Best Current ` 'Version IS / usr / bin / Konqueror
      FZJ Ubuntu @: ~ $ Update the sudo Alternatives --list-X-WWW-Browser
      / usr / bin / Konqueror
      FZJ @ Ubuntu: ~ $ sudo --config the X-Update-Alternatives-the WWW-Browser
      There IS only One Alternative in the X-Link Group-the WWW-Browser: / usr / bin / Konqueror
      Nothing to the configure.
        Only a konqueror, and the mode is auto, priority 100.
      . b ff added to the x-www-browser of the alternatives
    FZJ Ubuntu @: ~ $ the sudo Update-alternatives --install / usr / bin / x-www-browser x-www-browser / opt / Firefox / Firefox 110
    Update -alternatives: the using / opt / Firefox / Firefox to Provide / usr / bin / X-WWW-Browser (X-WWW-Browser) in Auto MODE.
    / opt / ff is Firefox installation directory 110 is a priority, because the ratio of konqueror 100 high, so the status is "auto mode", the default browser.
      . c again to view information
    fzj @ ubuntu: ~ $ sudo update -alternatives --display x-www-browser
    x-www-browser - auto mode
    link currently points to /opt/firefox/firefox
    /opt/firefox/firefox - priority 110
    /usr/bin/konqueror - priority 100
    Current `best' version is /opt/firefox/firefox.
    fzj@ubuntu:~$ sudo update-alternatives --config x-www-browser
    There are 2 choices for the alternative x-www-browser (providing /usr/bin/x-www-browser).

      Selection    Path                  Priority   Status
    ------------------------------------------------------------
    * 0            /opt/firefox/firefox   110       auto mode
      1            /opt/firefox/firefox   110       manual mode
      2            /usr/bin/konqueror     100       manual mode

    Current to the Enter the Keep at The Press Choice [*], or of the type Selection Number The:
    3) update from beta1 to beta2 permission problem encountered directly after the update. Then run ff to root, as follows:
      kmenu Right-click --Menu Editor - Internet - Firefox - Advanced-- check the "Run as a different user", "Username" as the "root" - "Save . "
      So the next time is to start as root ff, and will be able to successfully update to beta2, and then to KMenu cancel "Run as a different user", and then open the beta2 is when the ff.
      Suddenly thought, direct "sudo / opt / firefox / firefox " is not no permission problem. Try again next time.

  4. Install Multimedia Player
    (1) install VLC, (also can play rmvb format)
      sudo install VLC APT-GET
      A Chinese subtitles garbled to solve the problem:
    First, start VLC, press Ctrl + P (Tools - Preferences) ,
    lower left display setting angle (show settings) select all (all),
    in turn points to open:
    font Font field video Video- subtitles subtitles / OSD- text renderer renderer text on the right side, select a Chinese font. (I chose the
    /usr/share/fonts/truetype/wqy/wqy-zenhei.ttc)
    then opening the:
    input / encoding Input / Codecs- other caption text encoding Subtitles codecs- right encoder Other selected subtitle Subtitles text encoding GB18030
    then automatically subtitles detection UTF-8 (UTF-8 subtitles autodetection) and formatted subtitle (formatted subtitles) before removing the hook.
    Last saved Save.
        Reopen VLC OK.

IV. Met
  1. After previously installed hard disk, restart directly into Kubuntu system, there is no alternative system boot menu appears, execute
      sudo update-grub
    to update the boot menu. Note: when partitions are selected logic rather than primary.
  2. Silent
    Click on the small speaker --Mixer below - PCM is muted, and it can be set to maximum.
  3.ibus input method konqueror, kate, terminal can call up in, but in firefox, chrome, openoffice can not bring up the
    sudo apt-get install ibus-gtk
    and then restart, ok.
  4. Repeat Login phenomenon: boot, login screen appears, enter the correct username / password, what first black screen, or screen flashed, the login screen appears again, it follows that the cycle of.
    Solution Alternative:
    . 1) boot, select "***** (recovery mode)" menu item in GRUB;
    after 2) appears "Recovery Menu" menu item is selected from the last one, i.e., "root Drop to root shell prompt" , carriage return;
    3) If the root account to set up your password, press prompted for a password;
    4) after a successful login, the "root @ Ubuntu: ~ #";
    5) switching from the root user to user fzj want to register: " su - FZJ ";
    6) appears" fzj @ ubuntu: ~ $ " , then execute the command" startx "to enter the kde
    7) restart or shutdown: you must first logout, return to text mode" fzj @ ubuntu: ~ $ " , and then the implementation of "exit" back to "root @ ubuntu: ~ #" ,
       then perform the reboot (or shutdown -r now) or shutdown -h now.
    Another possible solution: after entering kde in accordance with the first method, xp running on virtualbox, incorrect report. Follow the prompts "sudo /etc/init.d/vboxdrv setup",
    and then you can normally start the xp. Later restart Kubuntu, found that the normal login, no longer appear repeatedly asked to log phenomenon. With estimated repair virtualbox related.
  The problem: / etc / environment variable environment set, every time you open terminal, every source it to be effective, even if the restart as well.
    You will need to set the environment variable (here mainly Java) together with the / etc / environment variable to the Central Plains and some are added back together to / etc / profile in.
    SUMMARY The original / etc / environment is from: the PATH = "/ usr / local / bin: / usr / bin: / bin: / usr / local / games: / usr / games",
    Java installation directory is "/ opt /jdk1.6.0_21 ",
    and now have to configure the java environment variable, (ie before umask 022) add the following to the penultimate line 2 / etc / profile file:
      the PATH =" / usr / local / sbin: / usr / local / bin: / usr / sbin: / usr / bin: / sbin: / bin: / usr / games "
      Export JAVA_HOME =" / opt / jdk1.6.0_21 "
      Export the CLASSPATH =":. $ JAVA_HOME / lib "
      Export the PATH = "$ JAVA_HOME / bin: $ PATH"
    reboot ok.
  6. phenomenon: can not enter the system, stuck in the blue screen "Kubuntu ....." place. Before the action is: the program was running, there are many, including xp on virtual box, want to hibernate it, but prompted to
    say there is not enough free swap, just stuck there, so pressing the power button off, and so the boot is again the case.
    Resolution: The above point 4 steps while ok.
    I guess: It is not all systems can not enter the case can be solved in this way. Give it a try.
  7. The taskbar will display the current previously open windows, then accidentally remove out, how to restore?
    Add Widgets: Select "Windows and Tasks" in "categories", add "Task Manager" can be. But now with the next "Window List" used to it.

V. Other
  1. a virtual XP with VirtualBox, like when the MyEclipse IDE for use shortcut keys, found a pattern, CTRL, SHIFT, ALT has not left you? Left key combination normally used,
    while the right key combinations have been occupied by another application.

Published 18 original articles · won praise 16 · views 390 000 +

Guess you like

Origin blog.csdn.net/f_zongjian/article/details/5761950