Gryphon - OpenSUSE 11.0: Difference between revisions
Jump to navigation
Jump to search
(→Opera) |
|||
(75 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
== Introduction == |
|||
== Gryphon - OpenSUSE 11.0 - Configuration log== |
|||
This is the configuration page for the '''OpenSUSE 11.0''' partition on '''[[Configuration Gryphon|Gryphon]]'''. |
|||
== |
== Configuration files == |
||
All configuration files can be found [[{{PAGENAME}} - Files|here]]. |
|||
== Installed Applications == |
|||
* [<tt>2008-07-28</tt>] - '''php5-mysql'''. |
|||
* [<tt>2008-07-28</tt>] - '''yast2-http-server'''. |
|||
* [<tt>2008-07-28</tt>] - Wiki '''mediawiki 1.12.0'''. |
|||
* [<tt>2008-07-28</tt>] - '''Opera 9.51'''. |
|||
* [<tt>2008-07-28</tt>] - '''BitStream Vera 1.10''' (copied to /usr/share/fonts). |
|||
* [<tt>2008-07-28</tt>] - '''TrueCrypt 6.0a''' (extract and execute; will install very quickly with YaST). |
|||
* [<tt>2008-07-30</tt>] - '''w32codec-all'''. |
|||
* [<tt>2008-07-31</tt>] - '''codecs-gnome.ymp''' (http://opensuse-community.org/codecs-gnome.ymp). |
|||
** Added repositories: |
|||
*** http://download.opensuse.org/distribution/11.0/repo/non-oss/suse (Main Repository (NON-OSS)) |
|||
*** http://download.opensuse.org/distribution/11.0/repo/oss (Main Repository (OSS)) |
|||
*** http://download.videolan.org/pub/videolan/vlc/SuSE/11.0/ (VideoLan Repository) |
|||
*** http://ftp.skynet.be/pub/packman/suse/11.0/ (Packman Repository) |
|||
** Package installed: '''ffmpeg''', '''flash-player''', '''gst-fluendo-mp3''', '''java-1_5_0-sun-plugin''', '''libdvdcss''', '''libxine1''', '''w32codec-all''' |
|||
* [<tt>2008-07-31</tt>] - gstreamer plugins and addons: gstreamer-0_10-ffmpeg, gstreamer-0_10-plugins-ugly (see [http://opensuse-community.org/codecs-gnome.ymp]). |
|||
* [<tt>2008-08-13</tt>] - '''Launchy'''. |
|||
* [<tt>2008-09-17</tt>] - '''Psi''' instant messaging, v0.12.2. |
|||
* [<tt>2008-09-17</tt>] - '''p7zip''' v4.57 (needed to extract archive with password encrypted with AES using WinZip 9.0, <tt>unsupported compression method 99</tt>). |
|||
* [<tt>2008-10-04</tt>] - '''htop''' (an improved ''top'') |
|||
* [<tt>2008-10-13</tt>] - '''courier imap''' |
|||
* [<tt>2008-12-09</tt>] - '''youtube-dl''' |
|||
* [<tt>2009-01-31</tt>] - '''xsel''' (xsel-1.2.0) from source (<tt>configure/make/su/make install</tt>, man page path <tt>/usr/local/share/man</tt> should be added in manpath at next reboot?). |
|||
* [<tt>2009-08-26</tt>] - '''outguess''' (outguess-0.2) from source (applied patch from [[Steganography#Patch_on_OutGuess_0.2|here]], then <tt>configure/make/su/make install</tt>). |
|||
* [<tt>2009-09-21</tt>] - '''dog'''. |
|||
Applications previously installed (by uninstalled date): |
|||
* [<tt>2008-10-13</tt>] - '''imap''' (it's actually UW IMAP - no support for maildir) |
|||
* [<tt>2009-01-21</tt>] - '''freefont''' (Free UCS Outline Fonts), to solve Doxygen bug ''Pango-WARNING **: Error loading GPOS table 5503'' (see [http://simon.hoerder.de/node/18 here]). |
|||
== Simple Settings == |
|||
Settings recovered from previous install: |
|||
* [<tt>2008-07-28</tt>] Truecrypt directory '''~/.tc'''. |
|||
* [<tt>2008-07-28</tt>] GNUpg directory '''~/.gnupg'''. |
|||
Current settings: |
|||
* [<tt>2008-07-28</tt>] - YaST → System Services (run level) → enable '''mysql''' to run at level 2,3,5. |
|||
* [<tt>2008-07-28</tt>] - Copied from previous install: '''~/.gnupg'''. |
|||
* <s>[<tt>2008-07-28</tt>] - TrueCrypt - <tt>chmod u+s /usr/bin/truecrypt</tt>.</s> |
|||
** Setuid does not work on GTK+. Instead add /usr/bin/truecrypt to /etc/sudoers. |
|||
* [<tt>2008-07-28</tt>] - TrueCrypt - Added to <tt>/etc/sudoers</tt>: <tt>ALL ALL = (ALL) NOPASSWD: /usr/bin/truecrypt</tt>. |
|||
* [<tt>2008-07-28</tt>] - TrueCrypt - as root, <tt>mkdir /mnt/tc</tt>; |
|||
* [<tt>2008-07-28</tt>] - TrueCrypt - Added macro '''tc''' in '''~/.bashrc'''. |
|||
* [<tt>2008-07-28</tt>] - Bash - Added to '''~/.bashrc''' alias '''sshag''', '''sftpn''', '''sshn''', '''dua''', '''dfh''', '''la''', '''lla'''. |
|||
* [<tt>2008-07-30</tt>] - '''MySql''' - Change root password (phpMyAdmin → privileges → select root user → Change pwd). |
|||
* [<tt>2008-07-30</tt>] - '''Amarok''' - wizard setup - use MySQL. |
|||
* [<tt>2008-07-30</tt>] - '''Gnome''' - Window List panel - show window from all workspace. |
|||
* [<tt>2008-07-31</tt>] - '''MediaWiki''' - Enabled file upload. |
|||
* [<tt>2008-07-31</tt>] - '''MediaWiki''' - Added '''pdf''' as allowed upload file type. |
|||
* [<tt>2008-07-31</tt>] - '''MediaWiki''' - Added directory <tt>http://localhost/wiki/upload</tt> for big file upload. |
|||
* [<tt>2008-07-31</tt>] - ''YaST'' → ''Network devices'' → ''Network settings'' → '''Hostname/site''' = <tt>'''gryphon.hell'''</tt> (before was <tt>linux-co7e.site</tt>). |
|||
** Note: hostname can also be found in /etc/HOSTNAME - but might be set/ignored by DHCP client |
|||
** Note: domain name must only contain letter/figure/hyphen; it can't contain any underscore! |
|||
* [<tt>2008-08-09</tt>] - '''<tt>/etc/fstab</tt>''' - changed <tt>fmask=133,dmask=022</tt> to <tt>fmask=113,dmask=002</tt> (enable write access to users). |
|||
* [<tt>2008-08-10</tt>] - '''KDE''' - Global keyboard shortcuts for [[#KMixer|KMixer]]. |
|||
* [<tt>2008-08-10</tt>] - '''VLC''' - ''Settings'' → ''Preferences'' → ''Video'' → ''Zoom video'' = '''2.0000''' (requires ''Advanced options'' checked). |
|||
* [<tt>2008-08-10</tt>] - '''FireFox''' - installed '''iFox 3.0.1''' theme add-on. |
|||
* [<tt>2008-08-12</tt>] - '''X''' - Installed (home) MAC fonts (Garamond, Lucida, Aqua base) |
|||
* [<tt>2008-08-12</tt>] - '''X''' - Installed (home) fonts ChessAlpha2, chess_merida_unicode, fences, symbol |
|||
* [<tt>2008-08-12</tt>] - '''KDE''' - Updated window shadows, window decorations,... |
|||
* [<tt>2008-08-21</tt>] - '''Configure Desktop''' - ''Popup Launch Menu'' keyboard shortcut = <tt>Win + Space</tt>. |
|||
* [<tt>2008-08-21</tt>] - '''Network settings''' - Do not ''change hostname via DHCP''. |
|||
== Detailed System Settings == |
|||
=== 1st Install === |
|||
* Automatic configuration update ⇒ added NVIDIA repository + added auto update repository |
* Automatic configuration update ⇒ added NVIDIA repository + added auto update repository |
||
* YaST ⇒ Repositories ⇒ disabled DVD repository |
* YaST ⇒ Repositories ⇒ disabled DVD repository |
||
=== File system === |
=== File system === |
||
* See Configuration files [[{{PAGENAME}} - Files|here]] (<tt>/etc/fstab</tt>) |
|||
* Mount '''sda5''' to '''mnt/sda5''' |
* Mount '''sda5''' to '''mnt/sda5''' |
||
<source lang="bash"> |
<source lang="bash"> |
||
su |
|||
mkdir /mnt/sda5 |
|||
chmod 777 /mnt/sda5 |
|||
ln -s /mnt/sda5/home /home |
|||
mv /srv /mnt/sda5/srv |
|||
ln -s /mnt/sda5/srv /srv |
|||
</source> |
</source> |
||
* Enable write access to user in group for NTFS mount (<tt>fmask=113,dmask=002</tt> in <tt>/etc/fstab</tt>) |
* Enable write access to user in group for NTFS mount (<tt>fmask=113,dmask=002</tt> in <tt>/etc/fstab</tt>) |
||
* Installed package '''sdram'''. |
|||
* '''<tt>/etc/fstab</tt>''' |
|||
* Create share directories |
|||
<pre> |
|||
<source lang="bash"> |
|||
... |
|||
sudo mkdir -p /net/mnemosyne/public /net/mnemosyne/backup /net/mnemosyne/photos /net/mnemosyne/movies /net/mnemosyne/videos /net/mnemosyne/musics |
|||
/dev/disk/by-id/scsi-SATA_IC35L040AVER07-_SXPTXF49264-part1 /windows/C ntfs-3g users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0 |
|||
sudo mkdir -p /net/mnemosyne/publicrw /net/mnemosyne/backuprw /net/mnemosyne/photosrw /net/mnemosyne/moviesrw /net/mnemosyne/videosrw /net/mnemosyne/musicsrw |
|||
/dev/disk/by-id/scsi-SATA_ST3250620A_3QF0EC3W-part1 /windows/D ntfs-3g users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0 |
|||
</source> |
|||
/dev/disk/by-id/scsi-SATA_IC35L040AVER07-_SXPTXF49264-part6 /windows/F vfat users,gid=users,umask=0002,utf8=true 0 0 |
|||
/dev/disk/by-id/scsi-SATA_IC35L120AVV207-_VNVD02G4G4TKBG-part1 /windows/J ntfs-3g users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0 |
|||
/dev/disk/by-id/scsi-SATA_IC35L120AVV207-_VNVD02G4G4TKBG-part2 /windows/K ntfs-3g users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0 |
|||
... |
|||
</pre> |
|||
=== YaST Repositories === |
|||
== Applications == |
|||
* Added http://download.opensuse.org/repositories/home:/Fisiu/openSUSE_11.0/ (for ''Psi''). |
|||
* Packman: http://packman.mirrors.skynet.be/pub/packman/suse/11.0/ |
|||
=== |
=== Users === |
||
* Changed default useradd settings in <tt>/etc/default/useradd: |
|||
GROUPS=video,dialout,sambashare |
|||
* Note: better create the users after updating default user home directory at <tt>/etc/skel</tt>. |
|||
* Note: use <tt>sudo su backupnas</tt> to login without specifying a password |
|||
<source lang="bash"> |
|||
sudo groupadd --gid 124 sambashare |
|||
sudo useradd --uid 1025 --gid 124 -m -s /bin/bash guestnas |
|||
sudo useradd --uid 1027 --gid 124 -m -s /bin/bash backupnas |
|||
sudo useradd --uid 1028 --gid 124 -m -s /bin/bash photosnas |
|||
sudo useradd --uid 1029 --gid 124 -m -s /bin/bash moviesnas |
|||
sudo useradd --uid 1030 --gid 124 -m -s /bin/bash videosnas |
|||
sudo useradd --uid 1031 --gid 124 -m -s /bin/bash musicsnas |
|||
</source> |
|||
== Detailed Application Settings == |
|||
=== Amarok === |
|||
* Amarok collection stored in MySQL (host: '''localhost''', port: '''3306''', DB name: '''amarok''', user: '''amarok''') |
* Amarok collection stored in MySQL (host: '''localhost''', port: '''3306''', DB name: '''amarok''', user: '''amarok''') |
||
* To set up Amarok MySQL database (see [http://amarok.kde.org/wiki/MySQL_HowTo Amarok MySQL HowTo]): |
* To set up Amarok MySQL database (see [http://amarok.kde.org/wiki/MySQL_HowTo Amarok MySQL HowTo]): |
||
Line 50: | Line 132: | ||
* Updated to '''xine-lib/1.1.15''' (solve bug Amarok freeze at track change). |
* Updated to '''xine-lib/1.1.15''' (solve bug Amarok freeze at track change). |
||
=== |
=== Amule === |
||
* [[Amule|reference page]] |
|||
* 3 ports to open: '''TCP 4911''', '''UDP 4672''', '''UDP 4914'''. |
|||
* Limit connection to '''30kB upload''' and '''200kB download'''. |
|||
* Install from ''Packman'' repository, package ''amule''. |
|||
==== iplist ==== |
|||
* Installed '''iplist''' to deny spying peer. See [[Amule#iplist]]. |
|||
* Lists: |
|||
** '''level1.gz''', '''ads-trackers-and-bad-pr0n.gz''','''edu.gz''','''spyware.gz''' (removed '''bogon.gz''') |
|||
=== Apache 2 === |
|||
* Configuration files in '''/etc/apache2'''. |
* Configuration files in '''/etc/apache2'''. |
||
* Can be partly configured through YaST package '''yast2-http-server'''. |
* Can be partly configured through YaST package '''yast2-http-server'''. |
||
Line 73: | Line 164: | ||
=== Bash === |
=== Bash === |
||
See configuration file <tt>[[{{PAGENAME}} - Files|~/.bashrc-excerpt, ~/.inputrc, ~/.dir_colors]]</tt> |
|||
==== ~/.bashrc (excerpt) ==== |
|||
<source lang="bash"> |
|||
... |
|||
=== Courier-IMAP === |
|||
# 2007-07-28 - Misc. shell alias |
|||
* Installed '''courier-imap''' and setup init.d scripts (see [[IMAP#Courier IMAP]]). |
|||
LS_OPTIONS="$LS_OPTIONS --group-directories-first"; |
|||
alias dua="du -sh * .*" |
|||
alias dfh="df -h" |
|||
alias la="ls -a" |
|||
alias lla="la -l" |
|||
=== Evolution === |
|||
... |
|||
* Edited as root <tt>/usr/share/evolution/2.22/ui/evolution-mail-message.xml</tt> and <tt>.../evolution.xml</tt> to change keyboard shortcuts: |
|||
** Exit application: ''*Control*q'' → ''none''; |
|||
** Mark mail as read: ''*Control*k'' → ''*Control*q''; |
|||
** Mark mail as unread: ''*Control**Shift*k'' → ''*Control*u''; |
|||
** Message source: ''*Control*u'' → ''*Control*k''; |
|||
<source lang="xml"> |
|||
<!-- /usr/share/evolution/2.22/ui/evolution.xml: --> |
|||
<cmd name="FileExit" _label="_Quit" _tip="Exit the program"/> |
|||
<!-- /usr/share/evolution/2.22/ui/evolution-mail-message.xml: --> |
|||
<cmd name="MessageMarkAsRead" _tip="Mark the selected messages as having been read" accel="*Control*q" pixtype="pixbuf"/> |
|||
<cmd name="MessageMarkAsUnRead" _tip="Mark the selected messages as not having been read" accel="*Control*u" pixtype="pixbuf"/> |
|||
<cmd name="ViewSource" _tip="Show the raw email source of the message" accel="*Control*k"/> |
|||
</source> |
</source> |
||
Line 94: | Line 193: | ||
** '''Delicious Bookmarks 2.0.95''' |
** '''Delicious Bookmarks 2.0.95''' |
||
** '''Fire Gestures 1.1.3.1''' |
** '''Fire Gestures 1.1.3.1''' |
||
** '''Cycle Input Focus 1.0.0''' |
|||
** '''Fast Dial 2.3''' |
|||
*** 4x3 thumbnails. Page font = Sans-serif, size 12. |
|||
{| |
|||
|- |
|||
|width="60px"| |
|||
| |
|||
{| class="wikitable" |
|||
|- |
|||
| width="25%" | http://www.google.be/ || width="25%" | http://www.wikipedia.org/ || width="25%" | http://delicious.com/m1p || width="25%" | |
|||
|- |
|||
| https://secure.priorweb.be/webmail/src/login.php || http://www.scarlet.be/wlogon/?uncnx= || https://kiwi.noekeon.org/miki/index.php?title=Main_Page || |
|||
|- |
|||
| || http://www.theregister.co.uk/ || http://mip.noekeon.org/ || |
|||
|} |
|||
|} |
|||
* Removed/disabled extensions |
* Removed/disabled extensions |
||
** '''Beagle Indexer 1.1.0''' |
** '''Beagle Indexer 1.1.0''' |
||
* ''Remember password for sites'' + ''Use a Master Password'' |
* ''Always ask me where to save files'' + ''Always show the tab bar'' + ''Remember password for sites'' + ''Use a Master Password'' |
||
* Keyword searches: |
|||
** '''g''' → Google | http://www.google.be |
|||
** '''w''' → Wikipedia | http://en.wikipedia.org |
|||
** '''wf''' → Wikipedia FR | http://fr.wikipedia.org |
|||
** '''dt''' → Delicious - Add tag | http://delicious.com/m1p (tag search - type space separated tag for multiple tag search) |
|||
=== Gnome === |
=== Gnome === |
||
Line 116: | Line 236: | ||
** [https://wiki.ubuntu.com/GnomeDo/Plugins/GNOMETerminal GNOME Terminal] v1.0 |
** [https://wiki.ubuntu.com/GnomeDo/Plugins/GNOMETerminal GNOME Terminal] v1.0 |
||
** [https://wiki.ubuntu.com/GnomeDo/Plugins/GoogleCalculator Google Calculator] v1.0 |
** [https://wiki.ubuntu.com/GnomeDo/Plugins/GoogleCalculator Google Calculator] v1.0 |
||
=== grub === |
|||
* See [[grub]] reference page |
|||
* Changes in <tt>/etc/sudoers</tt> - allow ALL to run '''/usr/sbin/grubonce'''; added '''DISPLAY''' to <tt>env_keep</tt> list. |
|||
=== Homebank === |
|||
* ING Homebank |
|||
* Require package '''expat0'''. |
|||
<source lang="bash"> |
|||
% ./HBSetup |
|||
% ./HBSecurity |
|||
</source> |
|||
* Import previous configuration |
|||
* !!! Security module does not show up in front when asking for the password. Click on it when it is blinking in the taskbar. |
|||
=== htop === |
|||
* Setup → Display Options → '''Tree view''' |
|||
* Setup → Display Options → '''Hide userland threads''' |
|||
* Setup → Display Options → '''Highlight program "basename"''' |
|||
* Setup → Colors → '''Light Terminal''' |
|||
=== K3b === |
=== K3b === |
||
* Do not eject medium after write process. |
* Do not eject medium after write process. |
||
=== Kate === |
|||
* <u>Appearance</u>: no Dynamic word wrap, show line numbers, show scrollbar marks |
|||
* <u>Fonts & Colors</u>: Bitstream Vera Sans Mono 8 |
|||
* <u>Cursor & Selection</u>: no Smart home and smart end |
|||
* <u>Editing</u>: don't show tabulators, tab width=4 |
|||
* <u>Indentation</u>: indentation mode=Normal, tab/backspace indents, |
|||
* <u>Open/Save</u>: Remove trailing space, Backup prefix=<tt>.</tt>, Backup suffix=<tt>~</tt> |
|||
* <u>Plugins</u>: KTextEditory Word Completion Plugin |
|||
=== KDE === |
=== KDE === |
||
Line 125: | Line 274: | ||
* ''Style'' = '''Baghira''' |
* ''Style'' = '''Baghira''' |
||
** Restored settings from previous install. |
** Restored settings from previous install. |
||
** Don't animate buttons / hovered sliders |
|||
** Progress bars: Style=Baghira, do not show value |
|||
* ''Window Decorations'' = '''Baghira''' |
* ''Window Decorations'' = '''Baghira''' |
||
** ''Border size'' = '''Normal''' |
** ''Border size'' = '''Normal''' |
||
Line 164: | Line 315: | ||
** ''Popup Launch Menu'' = <tt>Win + Space</tt> |
** ''Popup Launch Menu'' = <tt>Win + Space</tt> |
||
::: Very handy in OpenSuse when combined with the search box in launch menu. Simply type <tt>Win + Space</tt> followed by the name of the application. |
::: Very handy in OpenSuse when combined with the search box in launch menu. Simply type <tt>Win + Space</tt> followed by the name of the application. |
||
=== Kate === |
|||
=== KMixer === |
=== KMixer === |
||
Line 192: | Line 341: | ||
=== MediaWiki === |
=== MediaWiki === |
||
* Version '''mediawiki 1.12.0'''. |
* Version '''mediawiki 1.12.0'''. |
||
* Requires LAMP server packages ('''Linux''', '''Apache''', '''MySQL''' and '''PHP'''). |
* Requires LAMP server packages ('''Linux''', '''Apache''', '''MySQL''' and '''PHP'''). |
||
Line 241: | Line 389: | ||
=== Opera === |
=== Opera === |
||
* [<tt>2009-09-01</tt>] - '''Opera 10.00''' |
|||
* ''Use Master Password to protect saved passwords''. |
* ''Use Master Password to protect saved passwords''. |
||
* Set '''Google''' as default search engine (toolbar and speed dial). |
* Set '''Google''' as default search engine (toolbar and speed dial). |
||
* Keyboard configuration in file '''<tt>~/.opera/keyboard/standard_keyboard_1.ini</tt>''' |
|||
* Edit keyboard configuration to map Ctrl PageUp/PageDown to ''Switch to Previous/Next Page'' (don't forget to delete old assignments to Ctrl PageUp/PageDown) |
|||
** Note that shortcut can also be defined through ''Opera'', but it does not work for '''² alt''' (! this file is UTF8. See this [[Opera#Bug report bug-361427@bugs.opera.com|bug]]) |
|||
Platform Windows-Unix-MCE, PageDown ctrl Switch to next page |
|||
[Application] |
|||
Platform Windows-Unix-MCE, PageUp ctrl Switch to previous page |
|||
Platform Windows-Unix-MCE, PageUp ctrl=Switch to previous page |
|||
Platform Windows-Unix-MCE, PageDown ctrl=Switch to next page |
|||
... |
|||
Esc=Leave access key mode | Cancel current voice |
|||
Esc shift=Leave access key mode | Cancel current voice |
|||
² alt=Enter access key mode | Leave access key mode |
|||
... |
|||
<strike>PageUp ctrl=Page left</strike> |
|||
<strike>PageDown ctrl=Page right</strike> |
|||
* Added 2 buttons for '''Delicious''' in file '''<tt>~/.opera/toolbar/standard_toolbar (1).ini</tt>''': |
|||
** Changed URL from <tt>http://del.icio.us/m1p</tt> to <tt>http://delicious.com/m1p</tt> to solve cookie issues |
|||
** Using ''post'' button code from http://goetz.buerkle.org/delicious-opera (insert highlighted text as note) |
|||
<pre> |
|||
[Hotlist Floating.content] |
|||
Button0, -1726668283=Add/Remove Panels |
|||
Button1, "Go to page"="Go to page, "http://delicious.com/m1p", , "Delicious", "Panel Mail"" |
|||
Button2, "post to del.icio.us"="Go to page, "javascript:loc=location.href;title=document.title;notes=window.getSelection();void(open(' http://delicious.com/post?v=4;noui=yes;jump=close;url='+encodeURIComponent(loc)+';title='+encodeURIComponent(title)+';notes='+encodeURIComponent(notes),'delicious','toolbar=no,width=700,height=400'));", , "post to del.icio.us", "Compose mail"" |
|||
</pre> |
|||
* <font color="red">'''TODO:'''</font> Set cookie policy to ''Accept only cookies from site I visit'', and ''Delete new cookies when exiting Opera''. |
|||
=== Password Safe === |
|||
* Installed Windows version using ''Wine'' |
|||
* Version 3.18 ([http://sourceforge.net/projects/passwordsafe/files/passwordsafe/3.18/pwsafe-3.18.exe/download here]) |
|||
<div style="padding-left:2em;"><source lang="bash"> |
|||
% cp pwsafe-3.18.exe ~/.wine/drive_c/temp/pwsafe-3.18.exe |
|||
% cd ~/.wine/drive_c/temp |
|||
% wine pwsafe-3.18.exe |
|||
... |
|||
% cd "~/.wine/drive_c/Program Files/Password Safe" |
|||
% wine pwsafe.exe |
|||
</source></div> |
|||
=== Psi === |
|||
* Gnome: Added '''Psi''' as startup program (''Psi'', <tt>/usr/bin/psi</tt>, ''Jabber-Client''). |
|||
* '''Options''' → '''Events''' → '''Enable popup notifications''' (all notifications) |
|||
=== SSH === |
=== SSH === |
||
* Helper aliases in [[#Bash]]: |
* Helper aliases in <tt>[[#Bash|~/.bashrc]]</tt>: |
||
<source lang="bash"> |
<source lang="bash"> |
||
##### SSH ##################################################################### |
|||
alias sshag="ssh-agent bash --rcfile ~/.basshrc" # launch a shell in which ssh private key passphrase is cached |
|||
alias sshag="ssh-agent bash --rcfile ~/.basshrc" # launch a shell in which ssh private key passphrase is cached |
|||
alias sftpn="sftp daemenj@ftp.noekeon.org" |
alias sftpn="sftp daemenj@ftp.noekeon.org" |
||
alias sshn="ssh |
alias sshn="ssh -t noekeon 'bash --rcfile ~/private/mip.bashrc'" |
||
# function scpnup - Copy file from/to remote Miki Wiki's upload directory |
|||
# USAGE: scpnup localfilename @ |
|||
# scpnup @ remotefilename |
|||
function scpnup() { |
|||
[ "$1" = "@" ] && SRC="daemenj@noekeon:/opt/www/daemenj/web/kiwi.noekeon.org/miki/upload/$2" || SRC="$1"; |
|||
[ "$2" = "@" ] && DST="daemenj@noekeon:/opt/www/daemenj/web/kiwi.noekeon.org/miki/upload/" || DST="."; |
|||
scp "$SRC" "$DST" |
|||
} |
|||
</source> |
</source> |
||
* '''sshag''' starts a new shell in which passphrase is cached. It uses the rcfile <tt>~/.basshrc</tt> |
* '''sshag''' starts a new shell in which passphrase is cached. It uses the rcfile <tt>[[{{PAGENAME}} - Files#~/.basshrc|~/.basshrc]]</tt>. |
||
* Content of <tt>~/.ssh/config</tt>: |
|||
<pre> |
|||
Host ftp.noekeon.org noekeon |
|||
User daemenj |
|||
HostName ftp.noekeon.org |
|||
</pre> |
|||
=== Synergy === |
|||
* [[X#Synergy|Reference page]] |
|||
* Installed package '''synergy''' v1.3.1, and '''xselection''' (to circumvent Firefox copy/paste Chine bug) |
|||
** Package download from homepage, installed with ''YaST'' (double-click in ''Konqueror'') |
|||
* Helper aliases in <tt>[[#Bash|~/.bashrc]]</tt>: |
|||
<source lang="bash"> |
<source lang="bash"> |
||
##### SYNERGY ################################################################# |
|||
# .basshrc: Bash resource file for preloading ssh keys in the ssh-agent |
|||
# Run 'xselection PRIMARY' after copy from Firefox (before paste) to workaround Chinese bug |
|||
alias xsel='xselection PRIMARY' |
|||
</source> |
|||
* Configuration file <tt>[[{{PAGENAME}} - Files#/etc/synergy.conf|/etc/synergy.conf]]</tt> |
|||
* At the beginning of <tt>/etc/X11/gdm/Init</tt> |
|||
<pre> |
|||
# |
# |
||
# Start the synergy server |
|||
# Use: |
|||
# |
|||
# --- |
|||
/usr/bin/killall synergys |
|||
# ssh-agent bash --rcfile ~/.basshrc |
|||
sleep 1 |
|||
/usr/bin/synergys --config /etc/synergy.conf --daemon |
|||
#Source primary resource file |
|||
</pre> |
|||
source ~/.bashrc |
|||
* At the beginning of <tt>/etc/gdm/PostLogin/Default</tt> |
|||
<pre> |
|||
#Add all ssh keys in ~/.ssh |
|||
# |
|||
ssh-add |
|||
# Kill all running synergy server |
|||
</source> |
|||
# |
|||
/usr/bin/killall synergys |
|||
sleep 1 |
|||
</pre> |
|||
* At the beginning of <tt>/etc/gdm/PreSession/Default</tt> |
|||
<pre> |
|||
# |
|||
# Start synergy server |
|||
# |
|||
/usr/bin/killall synergys |
|||
sleep 1 |
|||
/usr/bin/synergys --config /etc/synergy.conf --daemon |
|||
</pre> |
|||
=== TrueCrypt === |
=== TrueCrypt === |
||
Line 297: | Line 520: | ||
=== Vim === |
=== Vim === |
||
* Changes to <tt>~/.vimrc</tt> (see [[Vi#Some_Stuff_to_Add_in_.7E.2Fvimrc_file|this page]]) |
* Changes to <tt>~/.vimrc</tt> and <tt>/root/.vimrc</tt> (see [[Vi#Some_Stuff_to_Add_in_.7E.2Fvimrc_file|this page]]) |
||
** Enable Syntax highlighting |
** Enable Syntax highlighting |
||
** Remap HJKLM to |
** Remap HJKLM to MHJKL |
||
=== Wine === |
|||
* Installed package '''Wine 0.9.64_aka_1.0.rc3-2.2 (i586)''' |
|||
* Downloaded winetools '''winetools-0.9jo-III''' ([http://www.openoffice.de/wt/winetools-0.9jo-III.tar.gz]). Installed to '''/usr/local/winetools''' |
|||
<div style="padding-left:2em;"><source lang="bash"> |
|||
% tar -xvzf winetools-0.9jo-III.tar.gz |
|||
% cd winetools-0.9jo-III |
|||
% su |
|||
$ ./install |
|||
</source></div> |
|||
* Configure wine (as normal user) |
|||
<div style="padding-left:2em;"><source lang="bash"> |
|||
% winecfg |
|||
</source></div> |
|||
:* ''Applications'' → selected '''Windows 2000''' |
|||
* Create link to windows disks |
|||
<div style="padding-left:2em;"><source lang="bash"> |
|||
% cd ~/.wine/dosdevices |
|||
% ln -s /windows/D d: |
|||
% ln -s /windows/F f: |
|||
% ln -s /windows/J j: |
|||
% ln -s /windows/K k: |
|||
</source></div> |
|||
* <font color="red">To Do:</font> If doesn't work, look [[Configuraton Gryphon SuSE 10.2|here]] (don't miss the export WINEVER) |
|||
=== X === |
=== X === |
||
Line 310: | Line 557: | ||
** '''fences''' |
** '''fences''' |
||
** '''symbol''' |
** '''symbol''' |
||
* Mouse pointer speed: '''<tt>xset m |
* Mouse pointer speed: '''<tt>xset m 3/2 10</tt>''' (for new Microsoft Laser Wireless Mouse 6000). Can be set permanently using KDE/Gnome Mouse configuration GUI. |
||
== Problems / Solutions == |
|||
* [<tt>2008-11-10</tt>] - High CPU load when burning dvds in '''k3b''' |
|||
** <u>Solution</u>: load apparently due to KDE ''Baghira'' style animations → disable all widgets animations (button animations, use ''Baghira'' style progress bars...) |
|||
* [<tt>2008-11-10</tt>] - High X load due to ''KDE Baghira'' animated widgets |
|||
** <u>Solution</u>: disable all widgets animations in ''Baghira'' (disable button animations, use ''Baghira'' style progress bars...) |
|||
** <u>Next problem</u>: disable button animation settings seems not to be kept. Eg.: burn a DVD in ''K3b'', open ''htop'' and note ''X'' load, open KDE ''kcontrol'', enable and disable back ''Baghira'' button animation, open ''htop'' again and compare current ''X'' load (problem is that the load is now smaller meaning the previou settings was not kept). |
|||
== To Do == |
== To Do == |
||
* [<tt>2009-10-16</tt>]Enable '''write-back''' on reiserfs [http://www.ubuntugeek.com/how-to-increase-ext3-and-reiserfs-filesystems-performance.html] and use options '''notail,noatime''' [http://www.funtoo.org/en/articles/linux/ffg/2/] |
|||
* [<tt>2008-08-13</tt>] @TODO - Upgrade Launchy. |
* [<tt>2008-08-13</tt>] @TODO - Upgrade Launchy. |
||
* [<tt>2008-07-28</tt>] @TODO - Describe general file system setup (sda5, symlink to /home, symlink to /srv). |
* [<tt>2008-07-28</tt>] @TODO - Describe general file system setup (sda5, symlink to /home, symlink to /srv). |
||
Line 330: | Line 585: | ||
* [<tt>2008-07-31</tt>]Solve Amarok not playing OGG file in Gnome. |
* [<tt>2008-07-31</tt>]Solve Amarok not playing OGG file in Gnome. |
||
** → Install Amarok package from ''Packman'' repository, and select '''Xine''' engine. |
** → Install Amarok package from ''Packman'' repository, and select '''Xine''' engine. |
||
== Recovered from previous install == |
|||
* [<tt>2008-07-28</tt>] Truecrypt directory '''~/.tc'''. |
|||
* [<tt>2008-07-28</tt>] GNUpg directory '''~/.gnupg'''. |
|||
== Configuration Log == |
|||
<!-- !!! space after Settings, Install, Uninstall... are unbreakable space !!! --> |
|||
* [<tt>2008-07-28</tt>] <tt>'''Install''' -</tt> Package '''php5-mysql'''. |
|||
* [<tt>2008-07-28</tt>] <tt>'''Install''' -</tt> Package '''yast2-http-server'''. |
|||
* [<tt>2008-07-28</tt>] <tt>'''Install''' -</tt> Wiki '''mediawiki 1.12.0'''. |
|||
* [<tt>2008-07-28</tt>] <tt>'''Settings''' -</tt> YaST → System Services (run level) → enable '''mysql''' to run at level 2,3,5. |
|||
* [<tt>2008-07-28</tt>] <tt>'''Settings''' -</tt> Copied from previous install: '''~/.gnupg'''. |
|||
* [<tt>2008-07-28</tt>] <tt>'''Install''' -</tt> '''Opera 9.51'''. |
|||
* [<tt>2008-07-28</tt>] <tt>'''Install''' -</tt> '''BitStream Vera 1.10''' (copied to /usr/share/fonts). |
|||
* [<tt>2008-07-28</tt>] <tt>'''Install''' -</tt> TrueCrypt - '''TrueCrypt 6.0a''' (extract and execute; will install very quickly with YaST). |
|||
* <s>[<tt>2008-07-28</tt>] <tt>'''Settings''' -</tt> TrueCrypt - <tt>chmod u+s /usr/bin/truecrypt</tt>.</s> |
|||
** Setuid does not work on GTK+. Instead add /usr/bin/truecrypt to /etc/sudoers. |
|||
* [<tt>2008-07-28</tt>] <tt>'''Settings''' -</tt> TrueCrypt - Added to <tt>/etc/sudoers</tt>: <tt>ALL ALL = (ALL) NOPASSWD: /usr/bin/truecrypt</tt>. |
|||
* [<tt>2008-07-28</tt>] <tt>'''Settings''' -</tt> TrueCrypt - as root, <tt>mkdir /mnt/tc</tt>; |
|||
* [<tt>2008-07-28</tt>] <tt>'''Settings''' -</tt> TrueCrypt - Added macro '''tc''' in '''~/.bashrc'''. |
|||
* [<tt>2008-07-28</tt>] <tt>'''Settings''' -</tt> Bash - Added to '''~/.bashrc''' alias '''sshag''', '''sftpn''', '''sshn''', '''dua''', '''dfh''', '''la''', '''lla'''. |
|||
* [<tt>2008-07-30</tt>] <tt>'''Install''' -</tt> Package '''w32codec-all'''. |
|||
* [<tt>2008-07-30</tt>] <tt>'''Settings''' -</tt> '''MySql''' - Change root password (phpMyAdmin → privileges → select root user → Change pwd). |
|||
* [<tt>2008-07-30</tt>] <tt>'''Settings''' -</tt> '''Amarok''' - wizard setup - use MySQL. |
|||
* [<tt>2008-07-30</tt>] <tt>'''Settings''' -</tt> '''Gnome''' - Window List panel - show window from all workspace. |
|||
* [<tt>2008-07-31</tt>] <tt>'''Settings''' -</tt> '''MediaWiki''' - Enabled file upload. |
|||
* [<tt>2008-07-31</tt>] <tt>'''Settings''' -</tt> '''MediaWiki''' - Added '''pdf''' as allowed upload file type. |
|||
* [<tt>2008-07-31</tt>] <tt>'''Settings''' -</tt> '''MediaWiki''' - Added directory <tt>http://localhost/wiki/upload</tt> for big file upload. |
|||
* [<tt>2008-07-31</tt>] <tt>'''Settings''' -</tt> '''Scarlet box''' - ''DNS Relay'' → ''DNS Relay local database'' → ''local domain name'' = '''hell'''. |
|||
* [<tt>2008-07-31</tt>] <tt>'''Settings''' -</tt> ''YaST'' → ''Network devices'' → ''Network settings'' → '''Hostname/site''' = <tt>'''gryphon.hell'''</tt> (before was <tt>linux-co7e.site</tt>). |
|||
** Note: hostname can also be found in /etc/HOSTNAME - but might be set/ignored by DHCP client |
|||
** Note: domain name must only contain letter/figure/hyphen; it can't contain any underscore! |
|||
* [<tt>2008-07-31</tt>] <tt>'''Install''' -</tt> Installed '''codecs-gnome.ymp''' (http://opensuse-community.org/codecs-gnome.ymp). |
|||
** Added repositories: |
|||
*** http://download.opensuse.org/distribution/11.0/repo/non-oss/suse (Main Repository (NON-OSS)) |
|||
*** http://download.opensuse.org/distribution/11.0/repo/oss (Main Repository (OSS)) |
|||
*** http://download.videolan.org/pub/videolan/vlc/SuSE/11.0/ (VideoLan Repository) |
|||
*** http://ftp.skynet.be/pub/packman/suse/11.0/ (Packman Repository) |
|||
** Package installed: '''ffmpeg''', '''flash-player''', '''gst-fluendo-mp3''', '''java-1_5_0-sun-plugin''', '''libdvdcss''', '''libxine1''', '''w32codec-all''' |
|||
* [<tt>2008-08-09</tt>] <tt>'''Settings''' -</tt> '''<tt>/etc/fstab</tt>''' - changed <tt>fmask=133,dmask=022</tt> to <tt>fmask=113,dmask=002</tt> (enable write access to users). |
|||
* [<tt>2008-07-31</tt>] <tt>'''Install''' -</tt> Installed gstreamer plugins and addons: gstreamer-0_10-ffmpeg, gstreamer-0_10-plugins-ugly'''gstreamer''' (http://opensuse-community.org/codecs-gnome.ymp). |
|||
* [<tt>2008-08-10</tt>] <tt>'''Settings''' -</tt> '''KDE''' - Global keyboard shortcuts for [[#KMixer|KMixer]]. |
|||
* [<tt>2008-08-10</tt>] <tt>'''Settings''' -</tt> '''VLC''' - ''Settings'' → ''Preferences'' → ''Video'' → ''Zoom video'' = '''2.0000''' (requires ''Advanced options'' checked). |
|||
* [<tt>2008-08-10</tt>] <tt>'''Settings''' -</tt> '''FireFox''' - installed '''iFox 3.0.1''' theme add-on. |
|||
* [<tt>2008-08-12</tt>] <tt>'''Settings''' -</tt> '''X''' - Installed (home) MAC fonts (Garamond, Lucida, Aqua base) |
|||
* [<tt>2008-08-12</tt>] <tt>'''Settings''' -</tt> '''X''' - Installed (home) fonts ChessAlpha2, chess_merida_unicode, fences, symbol |
|||
* [<tt>2008-08-12</tt>] <tt>'''Settings''' -</tt> '''KDE''' - Updated window shadows, window decorations,... |
|||
* [<tt>2008-08-13</tt>] <tt>'''Install''' -</tt> '''Launchy'''. |
|||
* [<tt>2008-08-21</tt>] <tt>'''Settings''' -</tt> '''Configure Desktop''' - ''Popup Launch Menu'' keyboard shortcut = <tt>Win + Space</tt>. |
|||
* [<tt>2008-08-21</tt>] <tt>'''Settings''' -</tt> '''Network settings''' - Do not ''change hostname via DHCP''. |
|||
<!-- template lines |
|||
* [<tt>2008-xx-yy</tt>] <tt>'''Settings''' -</tt> some text here. |
|||
* [<tt>2008-xx-yy</tt>] <tt>'''Install''' -</tt> some text here. |
|||
* [<tt>2008-xx-yy</tt>] <tt>'''Uninstall''' -</tt> some text here. |
|||
--> |
Latest revision as of 11:34, 26 April 2013
Introduction
This is the configuration page for the OpenSUSE 11.0 partition on Gryphon.
Configuration files
All configuration files can be found here.
Installed Applications
- [2008-07-28] - php5-mysql.
- [2008-07-28] - yast2-http-server.
- [2008-07-28] - Wiki mediawiki 1.12.0.
- [2008-07-28] - Opera 9.51.
- [2008-07-28] - BitStream Vera 1.10 (copied to /usr/share/fonts).
- [2008-07-28] - TrueCrypt 6.0a (extract and execute; will install very quickly with YaST).
- [2008-07-30] - w32codec-all.
- [2008-07-31] - codecs-gnome.ymp (http://opensuse-community.org/codecs-gnome.ymp).
- Added repositories:
- http://download.opensuse.org/distribution/11.0/repo/non-oss/suse (Main Repository (NON-OSS))
- http://download.opensuse.org/distribution/11.0/repo/oss (Main Repository (OSS))
- http://download.videolan.org/pub/videolan/vlc/SuSE/11.0/ (VideoLan Repository)
- http://ftp.skynet.be/pub/packman/suse/11.0/ (Packman Repository)
- Package installed: ffmpeg, flash-player, gst-fluendo-mp3, java-1_5_0-sun-plugin, libdvdcss, libxine1, w32codec-all
- Added repositories:
- [2008-07-31] - gstreamer plugins and addons: gstreamer-0_10-ffmpeg, gstreamer-0_10-plugins-ugly (see [1]).
- [2008-08-13] - Launchy.
- [2008-09-17] - Psi instant messaging, v0.12.2.
- [2008-09-17] - p7zip v4.57 (needed to extract archive with password encrypted with AES using WinZip 9.0, unsupported compression method 99).
- [2008-10-04] - htop (an improved top)
- [2008-10-13] - courier imap
- [2008-12-09] - youtube-dl
- [2009-01-31] - xsel (xsel-1.2.0) from source (configure/make/su/make install, man page path /usr/local/share/man should be added in manpath at next reboot?).
- [2009-08-26] - outguess (outguess-0.2) from source (applied patch from here, then configure/make/su/make install).
- [2009-09-21] - dog.
Applications previously installed (by uninstalled date):
- [2008-10-13] - imap (it's actually UW IMAP - no support for maildir)
- [2009-01-21] - freefont (Free UCS Outline Fonts), to solve Doxygen bug Pango-WARNING **: Error loading GPOS table 5503 (see here).
Simple Settings
Settings recovered from previous install:
- [2008-07-28] Truecrypt directory ~/.tc.
- [2008-07-28] GNUpg directory ~/.gnupg.
Current settings:
- [2008-07-28] - YaST → System Services (run level) → enable mysql to run at level 2,3,5.
- [2008-07-28] - Copied from previous install: ~/.gnupg.
[2008-07-28] - TrueCrypt - chmod u+s /usr/bin/truecrypt.- Setuid does not work on GTK+. Instead add /usr/bin/truecrypt to /etc/sudoers.
- [2008-07-28] - TrueCrypt - Added to /etc/sudoers: ALL ALL = (ALL) NOPASSWD: /usr/bin/truecrypt.
- [2008-07-28] - TrueCrypt - as root, mkdir /mnt/tc;
- [2008-07-28] - TrueCrypt - Added macro tc in ~/.bashrc.
- [2008-07-28] - Bash - Added to ~/.bashrc alias sshag, sftpn, sshn, dua, dfh, la, lla.
- [2008-07-30] - MySql - Change root password (phpMyAdmin → privileges → select root user → Change pwd).
- [2008-07-30] - Amarok - wizard setup - use MySQL.
- [2008-07-30] - Gnome - Window List panel - show window from all workspace.
- [2008-07-31] - MediaWiki - Enabled file upload.
- [2008-07-31] - MediaWiki - Added pdf as allowed upload file type.
- [2008-07-31] - MediaWiki - Added directory http://localhost/wiki/upload for big file upload.
- [2008-07-31] - YaST → Network devices → Network settings → Hostname/site = gryphon.hell (before was linux-co7e.site).
- Note: hostname can also be found in /etc/HOSTNAME - but might be set/ignored by DHCP client
- Note: domain name must only contain letter/figure/hyphen; it can't contain any underscore!
- [2008-08-09] - /etc/fstab - changed fmask=133,dmask=022 to fmask=113,dmask=002 (enable write access to users).
- [2008-08-10] - KDE - Global keyboard shortcuts for KMixer.
- [2008-08-10] - VLC - Settings → Preferences → Video → Zoom video = 2.0000 (requires Advanced options checked).
- [2008-08-10] - FireFox - installed iFox 3.0.1 theme add-on.
- [2008-08-12] - X - Installed (home) MAC fonts (Garamond, Lucida, Aqua base)
- [2008-08-12] - X - Installed (home) fonts ChessAlpha2, chess_merida_unicode, fences, symbol
- [2008-08-12] - KDE - Updated window shadows, window decorations,...
- [2008-08-21] - Configure Desktop - Popup Launch Menu keyboard shortcut = Win + Space.
- [2008-08-21] - Network settings - Do not change hostname via DHCP.
Detailed System Settings
1st Install
- Automatic configuration update ⇒ added NVIDIA repository + added auto update repository
- YaST ⇒ Repositories ⇒ disabled DVD repository
File system
- See Configuration files here (/etc/fstab)
- Mount sda5 to mnt/sda5
su
mkdir /mnt/sda5
chmod 777 /mnt/sda5
ln -s /mnt/sda5/home /home
mv /srv /mnt/sda5/srv
ln -s /mnt/sda5/srv /srv
- Enable write access to user in group for NTFS mount (fmask=113,dmask=002 in /etc/fstab)
- Installed package sdram.
- Create share directories
sudo mkdir -p /net/mnemosyne/public /net/mnemosyne/backup /net/mnemosyne/photos /net/mnemosyne/movies /net/mnemosyne/videos /net/mnemosyne/musics
sudo mkdir -p /net/mnemosyne/publicrw /net/mnemosyne/backuprw /net/mnemosyne/photosrw /net/mnemosyne/moviesrw /net/mnemosyne/videosrw /net/mnemosyne/musicsrw
YaST Repositories
- Added http://download.opensuse.org/repositories/home:/Fisiu/openSUSE_11.0/ (for Psi).
- Packman: http://packman.mirrors.skynet.be/pub/packman/suse/11.0/
Users
- Changed default useradd settings in /etc/default/useradd:
GROUPS=video,dialout,sambashare
- Note: better create the users after updating default user home directory at /etc/skel.
- Note: use sudo su backupnas to login without specifying a password
sudo groupadd --gid 124 sambashare
sudo useradd --uid 1025 --gid 124 -m -s /bin/bash guestnas
sudo useradd --uid 1027 --gid 124 -m -s /bin/bash backupnas
sudo useradd --uid 1028 --gid 124 -m -s /bin/bash photosnas
sudo useradd --uid 1029 --gid 124 -m -s /bin/bash moviesnas
sudo useradd --uid 1030 --gid 124 -m -s /bin/bash videosnas
sudo useradd --uid 1031 --gid 124 -m -s /bin/bash musicsnas
Detailed Application Settings
Amarok
- Amarok collection stored in MySQL (host: localhost, port: 3306, DB name: amarok, user: amarok)
- To set up Amarok MySQL database (see Amarok MySQL HowTo):
% mysql -p -u root mysql> CREATE DATABASE amarok; mysql> USE amarok; mysql> GRANT ALL ON amarok.* TO amarok@localhost IDENTIFIED BY 'PASSWORD_CHANGE_ME'; mysql> FLUSH PRIVILEGES;
- Installed amarok-packman package (metapackage to install amarok from the packman repository).
- Selected Xine engine (needed for crossfading).
- → Now Amarok plays ogg in Gnome desktop too!
- Crossfading: 0ms (crossfading 100ms handy for making gapless playback, but playback is sometimes jerky when enabled)
- Fade-out: 1500ms (3500ms much too long)
- Updated to xine-lib/1.1.15 (solve bug Amarok freeze at track change).
Amule
- reference page
- 3 ports to open: TCP 4911, UDP 4672, UDP 4914.
- Limit connection to 30kB upload and 200kB download.
- Install from Packman repository, package amule.
iplist
- Installed iplist to deny spying peer. See Amule#iplist.
- Lists:
- level1.gz, ads-trackers-and-bad-pr0n.gz,edu.gz,spyware.gz (removed bogon.gz)
Apache 2
- Configuration files in /etc/apache2.
- Can be partly configured through YaST package yast2-http-server.
- port: 80, interface: 127.0.0.1, 172.19.3.3, open port in firewall, Modules: PHP5.
- /etc/apache2/httpd.conf
... <Directory /> Options FollowSymLinks # because /srv is a symlink ... </Directory> ...
- /etc/apache2/default-server.conf
... ServerName gryphon ServerAdmin root@gryphon
- Apache user is given in /etc/apache2/uid.conf
Bash
See configuration file ~/.bashrc-excerpt, ~/.inputrc, ~/.dir_colors
Courier-IMAP
- Installed courier-imap and setup init.d scripts (see IMAP#Courier IMAP).
Evolution
- Edited as root /usr/share/evolution/2.22/ui/evolution-mail-message.xml and .../evolution.xml to change keyboard shortcuts:
- Exit application: *Control*q → none;
- Mark mail as read: *Control*k → *Control*q;
- Mark mail as unread: *Control**Shift*k → *Control*u;
- Message source: *Control*u → *Control*k;
<!-- /usr/share/evolution/2.22/ui/evolution.xml: -->
<cmd name="FileExit" _label="_Quit" _tip="Exit the program"/>
<!-- /usr/share/evolution/2.22/ui/evolution-mail-message.xml: -->
<cmd name="MessageMarkAsRead" _tip="Mark the selected messages as having been read" accel="*Control*q" pixtype="pixbuf"/>
<cmd name="MessageMarkAsUnRead" _tip="Mark the selected messages as not having been read" accel="*Control*u" pixtype="pixbuf"/>
<cmd name="ViewSource" _tip="Show the raw email source of the message" accel="*Control*k"/>
FireFox
- home = http://www.google.be
- iFox 3.0.1 add-on theme.
- Extensions
- Live HTTP headers 0.14
- Delicious Bookmarks 2.0.95
- Fire Gestures 1.1.3.1
- Cycle Input Focus 1.0.0
- Fast Dial 2.3
- 4x3 thumbnails. Page font = Sans-serif, size 12.
- Removed/disabled extensions
- Beagle Indexer 1.1.0
- Always ask me where to save files + Always show the tab bar + Remember password for sites + Use a Master Password
- Keyword searches:
- g → Google | http://www.google.be
- w → Wikipedia | http://en.wikipedia.org
- wf → Wikipedia FR | http://fr.wikipedia.org
- dt → Delicious - Add tag | http://delicious.com/m1p (tag search - type space separated tag for multiple tag search)
Gnome
- Gnome desktop - added new panel + config.
- Window List panel - show window from all workspace.
- gnome-terminal
- Set default terminal window size to 150x50, position +100+100.
Gnome DO
- My reference page
- Start Gnome DO at login
- Hide window on first launch (quiet mode)
- Launch key: <alt>+space.
- Add kde3 applications to catalog:
sudo ln -s /opt/kde3/share/applications/kde /usr/share/applications/kde
- Plugins:
- Del.icio.us Tag Search - v2.0.
- Firefox v2.0.4 (don't forget about:config → browser.bookmarks.autoExportHTML = true).
- GNOME Terminal v1.0
- Google Calculator v1.0
grub
- See grub reference page
- Changes in /etc/sudoers - allow ALL to run /usr/sbin/grubonce; added DISPLAY to env_keep list.
Homebank
- ING Homebank
- Require package expat0.
% ./HBSetup
% ./HBSecurity
- Import previous configuration
- !!! Security module does not show up in front when asking for the password. Click on it when it is blinking in the taskbar.
htop
- Setup → Display Options → Tree view
- Setup → Display Options → Hide userland threads
- Setup → Display Options → Highlight program "basename"
- Setup → Colors → Light Terminal
K3b
- Do not eject medium after write process.
Kate
- Appearance: no Dynamic word wrap, show line numbers, show scrollbar marks
- Fonts & Colors: Bitstream Vera Sans Mono 8
- Cursor & Selection: no Smart home and smart end
- Editing: don't show tabulators, tab width=4
- Indentation: indentation mode=Normal, tab/backspace indents,
- Open/Save: Remove trailing space, Backup prefix=., Backup suffix=~
- Plugins: KTextEditory Word Completion Plugin
KDE
- Wiki page on KDE.
- Installed Baghira OSX-like theme (package baghira).
- Style = Baghira
- Restored settings from previous install.
- Don't animate buttons / hovered sliders
- Progress bars: Style=Baghira, do not show value
- Window Decorations = Baghira
- Border size = Normal
- Minimum Title Height = 22
- Show resize grip
- Add auto spacing
- Default Mode = Tiger
- Tiger → Border size = 1
- Buttons → custom title bar button positions = Help / Maximize / Minimize / (no spacer!) / Close (match WindowBlinds settings).
- Mouse
- Icons theme = Shere Khan X.
- Checked Double Click to open files and folders.
- Window Shadows enabled
- Active window size = Inactive window size = 6.
- Vertical offset = 80%.
- Horizontal offset = 40%.
- Shadow color = black.
- Remove shadow on move/resize.
- Desktop background = ~/.customization/Isabelle Hires Noir&Blanc crop-despeckle 936x1024.png.
- Screensaver → slideshow from slide~/.customization/screensaver< (incl. subfolders / resize photo).
- Appearance → Fonts
- Custom settings:
- General = Lucida Sans 9
- Fixed width = Lucida Console 9
- Toolbar = Lucida Sans 9
- Menu = Lucida Sans 9
- Window Title = Lucida Sans 10 (semibold)
- Taskbar = Lucida Sans 9
- Desktop = Lucida Sans 9
- Default settings:
- General = Sans Serif 10
- Fixed width = monospace 10
- Toolbar = Sans Serif 10
- Menu = Sans Serif 10
- Window Title = Sans Serif 10
- Taskbar = Sans Serif 10
- Desktop = Sans Serif 11
- Custom settings:
- Keyboard shortcuts
- Popup Launch Menu = Win + Space
- Very handy in OpenSuse when combined with the search box in launch menu. Simply type Win + Space followed by the name of the application.
KMixer
- Global keyboard shortcuts (Menu Settings → Configure Global Shortcuts or through YaST → Look & Feel):
- Increase Volume of Master Channel: Ctrl+KP_Add
- Decrease Volume of Master Channel: Ctrl+KP_Subtract
- Toggle Mute of Master Channel: Ctrl+KP_Divide
Konsole
- Settings → Font → Bitstream Vera Sans Mono, size 8.
- Settings → Size → 132x40.
- Settings → Save as Default.
- Window Menu → Advanced → Special Application Settings; → Geometry panel → Position → Remember.
Konqueror
- View → Icon Size → Tiny.
Launchy
- Installed from packman repository.
- Option: NO check for update at start up.
- Option: Hide Launchy when it loses focus.
- Shortcut: Alt+Space (Ctrl+Space is taken by Opera for home page)
- Catalog: added /opt/kde3/share/applications/kde/, extension *.desktop
- Gnome: add Launchy as new entry to startup program list (Launchy, /usr/bin/launchy, keystroke launcher).
- Firefox: bookmarks must be exported to .html to be indexed by Launchy. Type about:config in address bar, and change the settings browser.bookmarks.autoExportHTML ← true.
MediaWiki
- Version mediawiki 1.12.0.
- Requires LAMP server packages (Linux, Apache, MySQL and PHP).
- Installation
- Assume mediawiki-1.12.0.tar.gz copied at /srv/www/htdocs
- Assume apache browser user/grp: wwwrun/www
% su
% cd /srv/www/htdocs/
% tar -xzvf mediawiki-1.12.0.tar.gz
% mv mediawiki-1.12.0 wiki
% chown -R wwwrun wiki
% chgrp -R www wiki
- Browse to http://localhost/wiki/config. Settings set as follows:
- Wiki name: wiki
- Admin user: wikiadmin
- Admin pwd: ********
- database name: wikidb
- DB username: wikiuser
- DB pwd: ********
- su account: root
- su pwd: ********
- Copy configuration files:
cd /srv/www/htdocs/wiki/
cp config/LocalSettings.php .
chmod 600 LocalSettings.php
chown wwwrun LocalSettings.php
chgrp www LocalSettings.php
rm -r config
- Browse to http://localhost/wiki. Create user baddreams.
- user: baddreams
- pwd: ********
- email: baddreams@gryphon.hell
- real name: Baddreams
- File LocalSettings.inc.php:
- Enable file upload.
$wgEnableUploads = true;
- File includes/DefaultSettings.php:
- Change supported upload file types.
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf' );
- Add directory http://localhost/wiki/upload (root - chmod 755), to store big upload files.
MySQL
- Root password set (e.g. through phpMyAdmin → privileges → select root user → Change pwd)
Opera
- [2009-09-01] - Opera 10.00
- Use Master Password to protect saved passwords.
- Set Google as default search engine (toolbar and speed dial).
- Keyboard configuration in file ~/.opera/keyboard/standard_keyboard_1.ini
- Note that shortcut can also be defined through Opera, but it does not work for ² alt (! this file is UTF8. See this bug)
[Application] Platform Windows-Unix-MCE, PageUp ctrl=Switch to previous page Platform Windows-Unix-MCE, PageDown ctrl=Switch to next page ... Esc=Leave access key mode | Cancel current voice Esc shift=Leave access key mode | Cancel current voice ² alt=Enter access key mode | Leave access key mode ...PageUp ctrl=Page leftPageDown ctrl=Page right
- Added 2 buttons for Delicious in file ~/.opera/toolbar/standard_toolbar (1).ini:
- Changed URL from http://del.icio.us/m1p to http://delicious.com/m1p to solve cookie issues
- Using post button code from http://goetz.buerkle.org/delicious-opera (insert highlighted text as note)
[Hotlist Floating.content] Button0, -1726668283=Add/Remove Panels Button1, "Go to page"="Go to page, "http://delicious.com/m1p", , "Delicious", "Panel Mail"" Button2, "post to del.icio.us"="Go to page, "javascript:loc=location.href;title=document.title;notes=window.getSelection();void(open(' http://delicious.com/post?v=4;noui=yes;jump=close;url='+encodeURIComponent(loc)+';title='+encodeURIComponent(title)+';notes='+encodeURIComponent(notes),'delicious','toolbar=no,width=700,height=400'));", , "post to del.icio.us", "Compose mail""
- TODO: Set cookie policy to Accept only cookies from site I visit, and Delete new cookies when exiting Opera.
Password Safe
- Installed Windows version using Wine
- Version 3.18 (here)
% cp pwsafe-3.18.exe ~/.wine/drive_c/temp/pwsafe-3.18.exe
% cd ~/.wine/drive_c/temp
% wine pwsafe-3.18.exe
...
% cd "~/.wine/drive_c/Program Files/Password Safe"
% wine pwsafe.exe
Psi
- Gnome: Added Psi as startup program (Psi, /usr/bin/psi, Jabber-Client).
- Options → Events → Enable popup notifications (all notifications)
SSH
- Helper aliases in ~/.bashrc:
##### SSH #####################################################################
alias sshag="ssh-agent bash --rcfile ~/.basshrc" # launch a shell in which ssh private key passphrase is cached
alias sftpn="sftp daemenj@ftp.noekeon.org"
alias sshn="ssh -t noekeon 'bash --rcfile ~/private/mip.bashrc'"
# function scpnup - Copy file from/to remote Miki Wiki's upload directory
# USAGE: scpnup localfilename @
# scpnup @ remotefilename
function scpnup() {
[ "$1" = "@" ] && SRC="daemenj@noekeon:/opt/www/daemenj/web/kiwi.noekeon.org/miki/upload/$2" || SRC="$1";
[ "$2" = "@" ] && DST="daemenj@noekeon:/opt/www/daemenj/web/kiwi.noekeon.org/miki/upload/" || DST=".";
scp "$SRC" "$DST"
}
- sshag starts a new shell in which passphrase is cached. It uses the rcfile ~/.basshrc.
- Content of ~/.ssh/config:
Host ftp.noekeon.org noekeon User daemenj HostName ftp.noekeon.org
Synergy
- Reference page
- Installed package synergy v1.3.1, and xselection (to circumvent Firefox copy/paste Chine bug)
- Package download from homepage, installed with YaST (double-click in Konqueror)
- Helper aliases in ~/.bashrc:
##### SYNERGY #################################################################
# Run 'xselection PRIMARY' after copy from Firefox (before paste) to workaround Chinese bug
alias xsel='xselection PRIMARY'
- Configuration file /etc/synergy.conf
- At the beginning of /etc/X11/gdm/Init
# # Start the synergy server # /usr/bin/killall synergys sleep 1 /usr/bin/synergys --config /etc/synergy.conf --daemon
- At the beginning of /etc/gdm/PostLogin/Default
# # Kill all running synergy server # /usr/bin/killall synergys sleep 1
- At the beginning of /etc/gdm/PreSession/Default
# # Start synergy server # /usr/bin/killall synergys sleep 1 /usr/bin/synergys --config /etc/synergy.conf --daemon
TrueCrypt
- Using TrueCrypt 6.0a.
- Personal configuration directory in ~/.tc.
- Added function tc in ~/.bashrc to mount tc volume in command-line.
# 2008-07-28 - macro for TrueCrypt
# To mount a volume: tc VOLUME-NAME
# to unmount : tc -d
tc() {
if [ "$1" == "" ]
then
echo "usage:"
echo " tc VOLUME-NAME"
echo " tc -d"
elif [ "$1" == "-d" ]
then
truecrypt -d
else
echo "Mounting TrueCrypt volume \"$1\" to /mnt/tc"
truecrypt -k ~/.tc/tckeyfile "$1" /mnt/tc
fi
}
- Settings → Keyfiles → add ~/.tc/tckeyfile as default key file.
- Settings → Preferences → System Integration panel → Open Explorer window for succesfully mounted volume.
Vim
- Changes to ~/.vimrc and /root/.vimrc (see this page)
- Enable Syntax highlighting
- Remap HJKLM to MHJKL
Wine
- Installed package Wine 0.9.64_aka_1.0.rc3-2.2 (i586)
- Downloaded winetools winetools-0.9jo-III ([2]). Installed to /usr/local/winetools
% tar -xvzf winetools-0.9jo-III.tar.gz
% cd winetools-0.9jo-III
% su
$ ./install
- Configure wine (as normal user)
% winecfg
- Applications → selected Windows 2000
- Create link to windows disks
% cd ~/.wine/dosdevices
% ln -s /windows/D d:
% ln -s /windows/F f:
% ln -s /windows/J j:
% ln -s /windows/K k:
- To Do: If doesn't work, look here (don't miss the export WINEVER)
X
- Fonts installed in ~/.fonts:
- Mac fonts AppleGaramond (Bold/Italic/...)
- Mac fonts Aquabase (Bold/Italic/...)
- Mac fonts Lucida (Console/Sans/...)
- Chess Alpha 2
- chess_merida_unicode
- fences
- symbol
- Mouse pointer speed: xset m 3/2 10 (for new Microsoft Laser Wireless Mouse 6000). Can be set permanently using KDE/Gnome Mouse configuration GUI.
Problems / Solutions
- [2008-11-10] - High CPU load when burning dvds in k3b
- Solution: load apparently due to KDE Baghira style animations → disable all widgets animations (button animations, use Baghira style progress bars...)
- [2008-11-10] - High X load due to KDE Baghira animated widgets
- Solution: disable all widgets animations in Baghira (disable button animations, use Baghira style progress bars...)
- Next problem: disable button animation settings seems not to be kept. Eg.: burn a DVD in K3b, open htop and note X load, open KDE kcontrol, enable and disable back Baghira button animation, open htop again and compare current X load (problem is that the load is now smaller meaning the previou settings was not kept).
To Do
- [2009-10-16]Enable write-back on reiserfs [3] and use options notail,noatime [4]
- [2008-08-13] @TODO - Upgrade Launchy.
- [2008-07-28] @TODO - Describe general file system setup (sda5, symlink to /home, symlink to /srv).
- [2008-07-28] @TODO - fix mbstring support (see http://localhost/phpMyAdmin).
- [2008-07-28] @TODO - MediaWiki - change pwd.
- [2008-07-28] @TODO - MediaWiki - Install some memcache sw (Turck MMCache, eAccelerator, APC or XCache).
- [2008-07-30] @TODO - Set up phpMyAdmin (can't be accessed anymore since root password was set).
- [2008-07-31] @TODO - Solve pulseaudio dependency problem during system update.
pulseaudio-utils-0.9.10-26.3.i586 requires libpulse-browse0 = 0.9.10, but this requirement cannot be provided pulseaudio-module-gconf-0.9.10-26.3.i586 requires pulseaudio = 0.9.10, but this requirement cannot be provided
- Temporary fix: disable packman repository from the list of software repositories.
- [2008-07-31] @TODO - Solve VLC no sound in Gnome.
Done
- [2008-07-31]Solve Amarok not playing OGG file in Gnome.
- → Install Amarok package from Packman repository, and select Xine engine.