Quick Tips

From andLinux

(Difference between revisions)
Jump to: navigation, search
(windows: correkt the port to dword)
Line 61: Line 61:
The mount options for cofuse are not documented very well, flowing line change the owner of /mnt/win to a non root user.
The mount options for cofuse are not documented very well, flowing line change the owner of /mnt/win to a non root user.
 +
'''/etc/fstab:'''
<pre>
<pre>
-
user@andLinux:~$ cat /etc/fstab
 
# /etc/fstab: static file system information.
# /etc/fstab: static file system information.
#
#
Line 73: Line 73:
/dev/cobd1 none swap sw 0 0
/dev/cobd1 none swap sw 0 0
/dev/cofs0 /mnt/win cofs defaults,uid=1001,gid=100 0 0
/dev/cofs0 /mnt/win cofs defaults,uid=1001,gid=100 0 0
-
user@andLinux:~$
 
</pre>
</pre>

Revision as of 14:33, 25 April 2008

Contents

German Keyboard Layout in Xming

via Xming arguments

Add "-xkbmodel pc105 -xkblayout de" to the startup arguments in the Xming shortcut

in terminal

With "loadkeys de" you can set to german keyboard for the current session.

via dpkg

run "dpkg-reconfigure console-data" to run the setup.


pulsaudio tools

In the linux vm you have these pulsaudio tools:

  • paman - PulsAudio Manager
  • pavucontrol - PulseAudio Volume Control
  • pavumeter - PulseAudio Volume Meter
  • padevchooser - PulseAudio Device Chooser
  • paprefs - PulseAudio Preferences

more information: http://www.pulseaudio.org/wiki/AboutPulseAudio#RelatedSoftware


change date/timezone

run "dpkg-reconfigure tzdata" to change the timezone.


save disk space

If you use the NTFS online compression you can save many HDD memory, because the disk images contains many unused Bytes. Discuss in our Forum.


create a normal user

use useradd -m username to create a new non-root user, with a homedir.

change root to a normal user

change to default user

edit /usr/bin/X11/startwindowsterminalsession and replace 'root' with you used username. Add this user to /etc/sudoers.

Change Launcher Port

windows

Non-root-users can't use ports <1024. The Launcher must use a port greater than 1024, e.g. 8081 You can use this .reg file to change the Launchers:

andLinux Launcher.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\andLinux\Launcher]
"IP"="192.168.11.150"
"Port"=dword:00001f91

The Port is coded in HEX. It means 8081. Look also FAQ - Chaning the Launcher Port

linux vm

edit /usr/local/sbin/launcher.pl and change LocalPort. Reboot.

Permissions of windows disk

Normally the windows disk in is mounted as root, so a non root user is not allowed to write to the windows disk in /mnt/win.

The mount options for cofuse are not documented very well, flowing line change the owner of /mnt/win to a non root user.

/etc/fstab:

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>               <dump>  <pass>
proc            /proc           proc    defaults                0       0
tmpfs           /dev/shm        tmpfs   defaults                0       0
none            /dev/pts        devpts  gid=5,mode=620          0       0
/dev/cobd0 / ext3 defaults 1 1
31 /mnt/and cofs defaults 0 0
/dev/cobd1 none swap sw 0 0
/dev/cofs0 /mnt/win cofs defaults,uid=1001,gid=100 0 0

the parameter uid in the last line is the important one. Put here the UID of the User you have created. As default it should be the 1001 for the first user.

The mode option is not supported by the cofuse, so it is not possible to change the file permissions in general.

Seen a page that contains spam or objectionable material? Please report the link and/or login of the author to david @ andLinux . org (remove spaces)