Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

HOWTO: Speeding up Debian

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Message
Author
Lou
Posts: 1739
Joined: 2006-05-08 02:15

#31 Post by Lou »

Pobega wrote: Actually, the X system doesn't need one. X creates a new one when you call it.

Ex: I have TTY1 and TTY2 enabled as consoles, When I hit startx from the command line X shows up in what would be TTY3.
Noted. Thanks for the tip, bud.
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid

pdean1
Posts: 18
Joined: 2005-09-19 19:38

Wajig

#32 Post by pdean1 »

Wajig is a program you wont have to worry about breaking your system?
Have you encountered any problems ever after running it?

Lou
Posts: 1739
Joined: 2006-05-08 02:15

#33 Post by Lou »

No, it's part of the Debian repos, it's been around for a while, used mostly by Debian administrators.

Here's a good article and postings by some users.
http://debaday.debian.net/2007/03/18/wa ... front-end/

Yesterday, i had a problem with dist-upgrading in Sid and installing the upgrades for some libraries, i did:

sudo wajig fix-configure
sudo wajig fix-missing
sudo wajig fix-install

and it worked right away. I like the aptitude's options:

wajig installr Install package and associated recommended packages
wajig installrs Install package and recommended and suggested packages
wajig installs Install package and associated suggested packages
wajig install/dist Install packages from specified distribution
Last edited by Lou on 2007-04-25 18:49, edited 1 time in total.
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

#34 Post by llivv »

'
Last edited by llivv on 2019-02-18 02:56, edited 1 time in total.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.

th0rgal
Posts: 3
Joined: 2007-04-27 13:48

#35 Post by th0rgal »

Hi,

I installed initng 0.6.10 (from the initng own debian reps, see www.initng.org). My laptop used to boot in about 1mn15 with old sysv-init. It now boots in ... 16sec! from grub to X start-up. Very impressive ... initng is improving quite fast. There are still some issues but it is very easy to maintain. And there is no overwrite of the older /sbin/init so you can switch from one to the other by editing your boot params. You can even test timing with bootchard, if you are not convinced :)

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

#36 Post by llivv »

'
Last edited by llivv on 2019-02-18 02:57, edited 1 time in total.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

#37 Post by llivv »

'
Last edited by llivv on 2019-02-18 02:57, edited 1 time in total.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.

Lou
Posts: 1739
Joined: 2006-05-08 02:15

Re: devlinks

#38 Post by Lou »

llivv wrote: Lou, you're right! ice is nice! Nice HOWTO too!
I've tried them all, and for my money, icewm is the one for me. It's highly configurable, i moved the taskbar to the top and put it in autohide and went to the theme i chose:

$ sudo jpico /usr/share/icewm/themes/Area51/default.theme

and changed the line:

TitleBarHeight=20

from 20 to 0, that way i got no title bar, the whole combo of no title bar and a taskbar in autohide gives a lot more real estate on my screen.

saved/exited

Then,
Ctrl+Alt+Delete+r
that restarted icewm, making all the changes effective.

I close my apps and manage my browsers manually (it's faster). Nothing is wasted, don't have the distraction of the mouse, just work with everything maximized. I have never had to deal with a bug in icewm.
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

#39 Post by llivv »

'
Last edited by llivv on 2019-02-18 02:58, edited 1 time in total.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.

User avatar
DeanLinkous
Posts: 1570
Joined: 2006-06-04 15:28

#40 Post by DeanLinkous »

I am a mouse person but icewm is great! The config files are all just text and have many examples so IMO that is the best way to configure it. Or you iceconf/icepref/icemc and look at what it changes about the text files and remember them.

Not sure if it was mentioned but.... XFE is a awesome lite GUI/clicky file manager!

Good info Lou...and everyone else!
Aye, fight and you may fail, sellout, and you may live, a while. And dying in your MScash beds, you'll be willin' to trade ALL the cash, to come back here and tell our enemies that they may FUD our customers, but they'll never take...OUR FREEDOM!

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

#41 Post by Bulkley »

Lou wrote:Keeping your system lean and mean, requires maintenance:

1. Removing is not enough, you have to PURGE! and not only that, then you have to go to your /home and enable the 'hidden files', and remove manually any vestige of the app you wiped out (dot files).
Yes it does require maintenence. From time to time I think about doing a fresh minimalist install, just to clean it up. The reason I don't is that I know that it would only be a few months before I would have to start purging again. So, my constant challenge is getting rid of what I no longer need.

Question: does removing the dot files help speed it up?

User avatar
Pobega
Posts: 833
Joined: 2007-01-04 04:30
Location: New York

#42 Post by Pobega »

Bulkley wrote:
Lou wrote:Keeping your system lean and mean, requires maintenance:

1. Removing is not enough, you have to PURGE! and not only that, then you have to go to your /home and enable the 'hidden files', and remove manually any vestige of the app you wiped out (dot files).
Yes it does require maintenence. From time to time I think about doing a fresh minimalist install, just to clean it up. The reason I don't is that I know that it would only be a few months before I would have to start purging again. So, my constant challenge is getting rid of what I no longer need.

Question: does removing the dot files help speed it up?
It's barely noticable, it probably only speeds up doing "ls" in your home directory, or opening Nautilus/Thunar/PCManFM if you have "View Hidden Files" selected.

Removing the hidden recipe files is good if you just want a clean home directory, so that you can "ls -a" in peace.
Jabber: pobega@gmail.com
Pronunciation: Poh - Bay - Guh

Lou
Posts: 1739
Joined: 2006-05-08 02:15

#43 Post by Lou »

Bulkley wrote: Question: does removing the dot files help speed it up?
All your config files for the app you just 'purged' sometimes stay put, if you wanna clean up everything you have to delete them.

afterwards,

$ sudo apt-get clean

I do apt-get clean 2-3 times a week, debfoster is great too, and once you install 'localepurge' it keeps your skystem free of locales you never use automatically.

Edit: as for speeding it up, maybe not much, but it keeps your box clean and mean, and saves future headaches.
Last edited by Lou on 2007-05-01 15:23, edited 1 time in total.
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid

Lou
Posts: 1739
Joined: 2006-05-08 02:15

#44 Post by Lou »

DeanLinkous wrote:Not sure if it was mentioned but.... XFE is a awesome lite GUI/clicky file manager!
xfe is my favorite file manager, it's light and fast and easy to use, right click on a file and choose from the menu:

open with, open, delete, move, copy, paste, extract to, you name it, plus you can drag it and drop it wherever you want.
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid

Lou
Posts: 1739
Joined: 2006-05-08 02:15

#45 Post by Lou »

llivv wrote:I was able to do almost everything in ice that you posted above. :wink: I have Area51 as a theme with one user and aeteria with another. I'm wondering if I now ( after moving config files around) understand why you mentioned grabbing the theme from it's default location.
As in everything in life, the first time you do something, you're a dummy. After you do it 5 times, you are good, after 20 times, you are a genius!

Read:
HOWTO: IceWM Basic Configuration
http://forums.debian.net/viewtopic.php?t=5450

it will answer some questions.

Then you begin to invent your own tricks, so working with your box becomes easier, second nature.

Coincidently, ( you say you don't bother with the mouse and use your keymap instead) which is probably why I can't figure out what iceconf is doing underneath the gui. I'm going to try renaming my $/.ice as well as my just recently created /etc/ice directories and see if I can't map things better that way.
Iceconf is there because you install it, in the icewm howto and the wiki from icewm.org, you're supposed to create an .icewm in your /home.

If it is not there yet, then:

$ mkdir /home/your_name/.icewm

$ nano .icewm/preferences

and put there your preferences, same with winoptions and keys:

$ nano .icewm/keys
$ nano .icewm/winoptions

But as times passes, you start getting smart, and taking shortcuts:

I chose all my preferences, winoptions, and keys and put them all in an 'icewm' folder i created in my web mail (yahoo mail), so when i do an new debian install, and i do:

$ sudo apt-get install icewm icewm-themes menu

i go to my web mail and copy/paste my config, it takes 5 minutes:

.icewm/preferences

OpaqueMove=0
OpaqueResize=0
SmartPlacement=1
MenuMouseTracking=1
ModSuperIsCtrlAlt=1
UseMouseWheel=1
QuickSwitch=1
AutoReloadMenus=1
ShowProgramsMenu=1
ShowThemesMenu=1
ShowHelp=1
TerminalCommand="aterm"
ShutdownCommand="sudo halt"
RebootCommand="sudo reboot"
WorkspaceNames=" 1 ", " 2 "


ShowTaskBar=1
TaskBarAutoHide=1
TaskBarShowClock=1
TaskBarShowAPMStatus=0
TaskBarAtTop=1
TaskBarShowAPMStatus=0
TaskBarShowAPMTime=0
TaskBarShowMailboxStatus=1
TaskBarShowWindows=1
TaskBarShowShowDesktopButton=0
TaskBarShowTray=1
TaskBarShowWindowIcons=0
TaskBarShowCPUStatus=0
TaskBarShowNetStatus=0
TaskBarShowCollapseButton=0
TaskBarWorkspacesLeft=1
TimeFormat="%a %d %b %R"
TaskBarShowShowDesktopButton=0
TaskBarShowWindowListMenu=0
TaskBarShowMailboxStatus=0
NormalTaskBarFontName="-*-sans-medium-r-*-*-*-100-*-*-*-*-*-*"
NormalTaskBarFontNameXft="sans-serif:size=10"
ActiveTaskBarFontName="-*-sans-r-*-*-*-100-*-*-*-*-*-*"
ActiveTaskBarFontNameXft="sans-serif:size=10"

.icewm/keys

key "Ctrl+Alt+F12" aterm
key "Ctrl+Alt+F11" xfe
key "Ctrl+Alt+F10" xchat
key "Ctrl+Alt+F9" xzgv
key "Ctrl+Alt+F8" iceweasel
key "Ctrl+Alt+F7" opera
key "Ctrl+Alt+F6" icedove
key "Ctrl+Alt+F5" aterm -e scrot -c -d 10

key "Alt+Ctrl+KP_Divide" aumix -v -5 # lower volume
key "Alt+Ctrl+KP_Multiply" aumix -v +5 # raise volume

Here Ctrl+Alt = Windows key

the reason for that is, that the windows key does not interfere with other apps default keys i use. Besides it's easier for me to move from right to left.

.icewm/winoptions

aterm.startMaximized: 1
icedove.startMaximized: 1
xchat.startMaximized: 1
xzgv.startMaximized: 1
iceweasel.startMaximized: 1
xfe.startMaximized: 1

in winoptions you can knock off the titlebar also but i like to go to the theme so EVERY app appears with no title bar:

$ sudo updatedb
$ locate icewm
$ sudo nano /usr/share/icewm/themes/Area51/default.theme

once in the theme file i edit the line:

TitleBarHeight=17

and leave it like this:

TitleBarHeight=0

save/exit

then i restart icewm:

Ctrl + Alt + Delete + r

the reason i do this, is because i use a 17" crt, i want more real estate, like i said you configure icewm the way it's better for you. The taskbar will be at the top a la Gnome in auto-hide.

Last, i put this line in my .bashrc and .bash_profile:

alias startx='startx -- -dpi 80'

save/exit/reboot to take effect, if the fonts are too small, increase the -dpi number to 85,90.95. etc until you're happy.


Clear as mud??
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid

User avatar
Hevoos
Posts: 69
Joined: 2007-03-30 18:04

#46 Post by Hevoos »

When I ran sysvconfig I noticed that I have three daemons running that seems to do the same thing, these are:
cron
atd
and anacron

Do I really need all three of them, or can I just remove atd and anacron?

Lou
Posts: 1739
Joined: 2006-05-08 02:15

#47 Post by Lou »

This is up to you, do

$ apt-cache show

for cron, anacron and at

and draw your own conclusions, i opted for letting them run.
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

#48 Post by Bulkley »

Question: do I need ppp and pppconfig? I haven't used a dial-up modem since I switched to adsl which used pppoe. Or, are they mixed somehow?

Lou
Posts: 1739
Joined: 2006-05-08 02:15

#49 Post by Lou »

I don't really know, i didn't touch them just to play it safe. Maybe somebody else will enlighten us :lol:
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid

User avatar
mzilikazi
Forum Account
Forum Account
Posts: 3282
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

#50 Post by mzilikazi »

Bulkley wrote:Question: do I need ppp and pppconfig? I haven't used a dial-up modem since I switched to adsl which used pppoe. Or, are they mixed somehow?
They are optional packages.
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G

Post Reply