chkconfig -A > services.save
chkconfig -s < services.save
chkconfig sshd off
chkconfig sshd --level 23 off
Sunday, December 28, 2008
Edit daemons/services in ubuntu runlevels
Use chkconfig:
Saturday, December 27, 2008
Change KDE3 apps theme color in ubuntu intrepid (even if you have kde4 installed).
Sometime I'm amazed at some people's ingenuity.
Original post for getting around the kde4 new systemsettings not accounting for kde3 apps colors/themes (yeah, you'd think that you change it in KDE4, all kde apps would look like that...).
Quote
i'd like to change the color theme of amarok and k3b in kubuntu intrepid (8.10). in hardy i could do that running kcontrol.
Hmm - this says that there are no such beast > qt3 wrapper to make kde3 applications look like kde4 ?
Hmm #2 - let's use kde3 tools: kcontrol module color.
Quick and dirty way to get kde3 color controls
Going to the Ubuntu Packages
Searching:
Quote
Search: kcontrol
Distribution: hardy-backports
=> kcontrol (4:3.5.10-0ubuntu1~hardy2)
Scrolling down, there are download kcontrol (amd386/i386)
In this example i386 =>
Download Page for kcontrol_3.5.10-0ubuntu1~hardy2_i386.deb on Intel x86 machines
Downloading it in to the ~/kcontrol/
that is /home//kcontrol/
Opening a konsole there, it tells:
Quote
user@machine:~/kcontrol$
Giving a command:
Code:
dpkg -x kcontrol_3.5.10-0ubuntu1~hardy2_i386.deb ~/kcontrol
There are lot of stuff, but now we only need:
- kcm_colors.la
- kcm_colors.so
they are ~/kcontrol/usr/lib/kde3
- colors.desktop
it is in the
~/kcontrol/usr/share/applications/kde
Explanation > KConfig Module HOWTO
Copying:
Code:
sudo cp ~/kcontrol/usr/lib/kde3/kcm_colors.la /usr/lib/kde3
sudo cp ~/kcontrol/usr/lib/kde3/kcm_colors.so /usr/lib/kde3
sudo cp ~/kcontrol/usr/share/applications/kde/colors.desktop /usr/share/applications/kde
Restarting, sometimes KDE 4.1.X and Intrepid is a bit slow to notice that there are installed/modified applications.
Testing: Alt + F2 and typing
Code:
kcmshell colors
Let there be light colors:
Original post for getting around the kde4 new systemsettings not accounting for kde3 apps colors/themes (yeah, you'd think that you change it in KDE4, all kde apps would look like that...).
Quote
i'd like to change the color theme of amarok and k3b in kubuntu intrepid (8.10). in hardy i could do that running kcontrol.
Hmm - this says that there are no such beast > qt3 wrapper to make kde3 applications look like kde4 ?
Hmm #2 - let's use kde3 tools: kcontrol module color.
Quick and dirty way to get kde3 color controls
Going to the Ubuntu Packages
Searching:
Quote
Search: kcontrol
Distribution: hardy-backports
=> kcontrol (4:3.5.10-0ubuntu1~hardy2)
Scrolling down, there are download kcontrol (amd386/i386)
In this example i386 =>
Download Page for kcontrol_3.5.10-0ubuntu1~hardy2_i386.deb on Intel x86 machines
Downloading it in to the ~/kcontrol/
that is /home/
Opening a konsole there, it tells:
Quote
user@machine:~/kcontrol$
Giving a command:
Code:
dpkg -x kcontrol_3.5.10-0ubuntu1~hardy2_i386.deb ~/kcontrol
There are lot of stuff, but now we only need:
- kcm_colors.la
- kcm_colors.so
they are ~/kcontrol/usr/lib/kde3
- colors.desktop
it is in the
~/kcontrol/usr/share/applications/kde
Explanation > KConfig Module HOWTO
Copying:
Code:
sudo cp ~/kcontrol/usr/lib/kde3/kcm_colors.la /usr/lib/kde3
sudo cp ~/kcontrol/usr/lib/kde3/kcm_colors.so /usr/lib/kde3
sudo cp ~/kcontrol/usr/share/applications/kde/colors.desktop /usr/share/applications/kde
Restarting, sometimes KDE 4.1.X and Intrepid is a bit slow to notice that there are installed/modified applications.
Testing: Alt + F2 and typing
Code:
kcmshell colors
Let there be light colors:
Tuesday, December 23, 2008
Change theme (color) of outlook 2007
Being forced to use OL07, never would I able to find this trick.
Wednesday, April 23, 2008
Change Outlook 2007 color scheme (and the whole office suite)
1. Click Outlook: Tools ==> Options ==> Mail Format
image
2. Click Editor Options. Select Color Scheme. Click OKs to close the dialog boxes.
image
Source: Changing your theme
Wednesday, April 23, 2008
Change Outlook 2007 color scheme (and the whole office suite)
1. Click Outlook: Tools ==> Options ==> Mail Format
image
2. Click Editor Options. Select Color Scheme. Click OKs to close the dialog boxes.
image
Source: Changing your theme
Sunday, December 21, 2008
Tube damper DIY?!
Not sure what to make of this.
http://www.jt30.com/jt30page/micKdiy/DIY-Tube-Dampers.html
> What I'm looking to do is to find some o-rings that can withstand the heat
> to use as dampers for the tubes... 100 - 130F is no problem if that's all
> a preamp tube does....I've heard of using stretch watch bands as
> damper-coolers for tubes. They could take a lot more heat.
Ah. I see. The watch bands trick will work, or you can go to an auto parts
store and buy some of Perma-Tex's silicone rubber gasketing goo. This stuff
is like RTV, except it is opaque red and will supposedly withstand up to
about 500F (they say...). This ought to be a good thing to run a bead around
the base of preamp tubes just above the socket line.
O-rings would work, but I wonder if the hard rubber would make for much
mechanical damping.
The Permatex ought to be good for gooping on the socket-to-chassis joint, too.
You could drill the rivets or remove the screws and nuts holding it on, goop
the joint, then put in new, slightly longer screws. This should damp a lot
of chassis borne feedback. I've seen a lot of older chasses with rubber
o-rings between socket and chassis.
Some urethanes are fairly high temp, too. A ring of softish urethane would
make a good - and removable - damper.
http://www.jt30.com/jt30page/micKdiy/DIY-Tube-Dampers.html
> What I'm looking to do is to find some o-rings that can withstand the heat
> to use as dampers for the tubes... 100 - 130F is no problem if that's all
> a preamp tube does....I've heard of using stretch watch bands as
> damper-coolers for tubes. They could take a lot more heat.
Ah. I see. The watch bands trick will work, or you can go to an auto parts
store and buy some of Perma-Tex's silicone rubber gasketing goo. This stuff
is like RTV, except it is opaque red and will supposedly withstand up to
about 500F (they say...). This ought to be a good thing to run a bead around
the base of preamp tubes just above the socket line.
O-rings would work, but I wonder if the hard rubber would make for much
mechanical damping.
The Permatex ought to be good for gooping on the socket-to-chassis joint, too.
You could drill the rivets or remove the screws and nuts holding it on, goop
the joint, then put in new, slightly longer screws. This should damp a lot
of chassis borne feedback. I've seen a lot of older chasses with rubber
o-rings between socket and chassis.
Some urethanes are fairly high temp, too. A ring of softish urethane would
make a good - and removable - damper.
Wednesday, October 08, 2008
Disabling dmix completely
Tried it with ubuntu Hardy, seems working. The reason you want to disable the dmix is if you using a high-quality DAC and HiFi system, and you know you do not need multiple sound sources at the same time (playing game+mp3). This will improve the sound quality.
edit your ~/.asoundrc
add
pcm.!default {
type plug
slave.pcm hw
}
edit your ~/.asoundrc
add
pcm.!default {
type plug
slave.pcm hw
}
Wednesday, October 01, 2008
HOW TO: Firefox 3 and dark themes
Excerpt from http://ubuntuforums.org/showthread.php?t=873486 . Works like a charm up to 3.03.
A few dark GTK themes show how to fix the resulting Firefox's dark textboxes and forms, however those fixes don't work with Firefox 3. After a bit of googling I found an Arch Linux thread that provided a solution. Since I couldn't find anything on Ubuntu Forums I thought I would post it here. Step 1. Install the Stylish Add-on **notes on using Stylish ** The next 2 steps need you to create Styles in the Stylish add-on. To do this you can: A. Click on the stylish icon to the right of the status bar > Manage Styles > Write OR B. Tools > Add-ons > Scroll to Stylish and click Preferences > Manage Styles >Write **back to the HOW-TO ** Step 2. Create (and Enable) "Nice Firefox Themes" Style in Stylish Code: /******* Stylish Code: @namespace url(http://www.w3.org/1999/xhtml); Step 4. Back up original forms.css in /usr/lib/xulrunner-x.x.x.x/res (at the time of this HOW-TO, xulrunner-1.9.0.1 is used, it may be different) Code: sudo cp /usr/lib/xulrunner-1.9.0.1/res/forms.css /usr/lib/xulrunner-1.9.0.1/res/forms.css.back Step 5. Create a new forms.css Code: (KDE users type kwrite instead of gedit)sudo gedit /usr/lib/xulrunner-1.9.0.1/res/forms.css Paste the following as your new forms.css Code: /* ***** BEGIN LICENSE BLOCK ***** Step 6. Restart Firefox Done! Notes: **Everytime Firefox updates, you will have to repeat steps 4 and 5. Just keep a copy of the fixed forms.css (ie. forms.css.dark) in your /usr/lib/xulrunner-x.x.x.x **If you're using Firefox Widgets, this forms.css will stop using Firefox Widgets. However, the widgets do not use the default look, the forms.css gives them a rounded apple look. |
Thursday, March 27, 2008
USB DAC in Linux
If your linux desktop has its own soundcard (which in alsa is already the default device), and you need to use your video/audio players to use another usb external one. Find out your usb device's address (usually would be 1,0).
In kaffeine, use hw:1,0 as device name for expert option under Audio in "setting Xine engine parameters". Same thing in vlc. In Amarok, make sure the cross-fading is disable, as when it does cross-fading, it'd try and open up two mixer channels to the device, which if it's a usb external one, it'd crash the software.
In kaffeine, use hw:1,0 as device name for expert option under Audio in "setting Xine engine parameters". Same thing in vlc. In Amarok, make sure the cross-fading is disable, as when it does cross-fading, it'd try and open up two mixer channels to the device, which if it's a usb external one, it'd crash the software.
Subscribe to:
Posts (Atom)