Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 04-20-2007, 09:26 AM   #196
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57

Using b-trees:
Originally Posted by man tune2fs
The following filesystem features can be set or cleared using

Use hashed b-trees to speed up lookups in large
Originally Posted by man e2fsck
-D Optimize directories in filesystem. This option causes e2fsck
to try to optimize all directories, either by reindexing them if
the filesystem supports directory indexing, or by sorting and
compressing directories for smaller directories, or for filesys‐
tems using traditional linear directories.

This is the default options for Suse10.2 ext3. reiserfs uses this in its structure.

Use at your own risk.
I did it just now and my system is still running

su -
<enter root password>
telinit 1
<enter root password>
mount / -o remount,ro            <-- my / is /dev/hda3
umount /home                     <-- I have a /home it's /dev/hda2
umount /var                      <-- I have a /var it's /dev/hda4
tune2fs -O dir_index /dev/hda2
tune2fs -O dir_index /dev/hda3
tune2fs -O dir_index /dev/hda4
e2fsck -p -D -f /dev/hda2
e2fsck -p -D -f /dev/hda3
e2fsck -p -D -f /dev/hda4
mount / -o remount,rw
mount /var
If you have only one partition, just skip the others

Last edited by nx5000; 04-20-2007 at 09:30 AM.
Old 05-07-2007, 12:42 PM   #197
Registered: Jan 2003
Location: San Antonio, Texas
Distribution: Debian testing
Posts: 416

Rep: Reputation: 36
Nvidia driver install

I have found this to work every time for me:

Coming off years of Gentoo, it is bizzare and more difficult than building things the manual way, at least to me, but it has not failed me, yet...hope someone finds this useful.
Old 08-17-2007, 12:34 AM   #198
LQ Newbie
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
Question debian 4.0 ntfsmount

Thanks for the very good information about after install...

Recently i have downloaded Debian r4.0 and compiled ntfsprogs along with library. After invoking command

ntfsmount /dev/win_ntfs win_c

i get an erro massage

fusermount: unable to locate /dev/fuse . No Such file or Directory
fuse_mount failed
unmounting win_ntfs

I Tried with creating file as well as directory fuse in /dev but it doesnot solve my problem...
Can you throw some light in this
Old 10-17-2007, 12:19 PM   #199
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
I Love Debian
Old 12-14-2007, 01:53 AM   #200
Junior Hacker
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I think this thread is like wet ice on wet ice, nothing sticky about it. Debian is not what it used to be. Debian has evolved.
Old 04-20-2009, 11:48 AM   #201
Senior Member
Registered: Jul 2003
Distribution: Devuan, Slackwre64-current
Posts: 1,022

Original Poster
Rep: Reputation: 62
New Xorg

With the new implementation of xorg, there are problems with the configuration if your hardware is a different or for other unforseeable reason.

I'm using Sid and my SiS driver for video is buggy, so i changed it to "vesa", that stopped the freeze ups. Here's my /etc/X11/xorg.conf, it might help someone :

# xorg.conf (X.Org X Window System server configuration file)
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
        Identifier "Generic Keyboard"
        Driver "kbd"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "es"

Section "InputDevice"
        Identifier "Configured Mouse"
        Driver "mouse"

Section "Device"
        Identifier "SiS"
        Driver "vesa"
        BusID ""

Section "Monitor"
        Identifier "Generic Monitor"
        Option "DPMS"
        HorizSync 31-70
        VertRefresh 50-160

Section "Screen"
        Identifier "Default Screen"
        Device "SiS"
        Monitor "Generic Monitor"
        DefaultDepth 16
 SubSection "Display"
            Depth 16
            Modes "1024x768" "800x600" "640x480"
 SubSection "Display"
            Depth 24
            Modes "1024x768" "800x600" "640x480"

Section "ServerLayout"
        Identifier "Default Layout"
        Screen "Default Screen"
        Option "StandbyTime" "3" # Turn off screen in 3 minutes (DPMS)
        Option "OffTime" "15" # Turn off DPMS monitor (DPMS)

Section "ServerFlags"
        Option "AllowEmptyInput" "0"
        Option "AutoAddDevices" "0" # will turn off the HAL Features
        Option "DontZap" "Off" # Enables ctrl-alt-del
Thanks to the boys from Sidux and anticapitalista from the antiX forums
Old 07-16-2009, 04:30 AM   #202
Tony Bradley
LQ Newbie
Registered: May 2006
Location: Plymouth UK
Distribution: Debian
Posts: 14

Rep: Reputation: 1
Menu Configuration Question

One of the great things about Debian is the plethora of apps available. However, this can also cause problems: Due to the sheer number of programs, the menu system for selecting an application rapidly becomes unweildy.
Is there a way of rearranging the menu system using folders so that applications can be grouped according to taste?
1 members found this post helpful.
Old 09-02-2015, 07:35 AM   #203
Registered: Sep 2009
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 299

Rep: Reputation: 34
This Sticky hasn't been updated in a while and even though i do not imagine for a moment that i could improve on it in any way, i am hoping that my real time implementation of post-installation debian configuration as applied to Jessie while i do it now may be of some use.
The final goal is a minimal Debian Jessie install with a conveniently configured standalone OpenBox.

So if permitted here goes:

During installation i had ticked the box marked "Yes" when asked about non-free software and also the box marked "backports" when configuring apt. I had also unticked everything except Standard System Utilities when given the option to choose software. Thanks to the default Greek mirror my sources.list is nicely preconfigured to include non-free software, Release updates and backport releases without any need for further alterations.

This is what i have done after logging in for the first time:

$ su -
Password: <root password>
# apt-get update
# apt-get install gpm vim sudo 
# apt-get install menu gksu xorg
You don't have to install vim if you are comfortable using nano.

Am about to install firmware after i give myself administrative rights as a normal user. When i come back and find that the administrators have in their wisdom deemed my extension of the sticky relevant and it hasn't been removed, i will edit this post as i go along. Thanks.

Before i gave myself administrative rights i changed the system's default editor which is nano to vim because despite several years of linux experience under my belt i still feel like a rat in a maze in nano while i find vim more navigable and easier for simple editing. If you feel more comfortable with nano good for you. You can avoid this step.

# update-alternatives --config editor
You will be presented with a table with the available editors in numbered rows. Type the number of the editor of your choice at the prompt and press "Enter".

Note that i have chosen to not yet enter the graphical environment with the "startx" command because it will be pretty much like this at this point.
To give yourself administrative rights as normal user do this:
# visudo
This will open the /etc/sudoers file in the default system editor or the one you picked as per the previous step.
Scroll down to the line,
root    ALL=(ALL:ALL) ALL
underneath it add the line,
<your_username>    ALL=(ALL:ALL) ALL
Exit the editor after saving changes and reboot. Now you can perform administrative tasks with sudo.
On reboot i did this;
$ sudo apt-get update 
$ sudo apt-get install firmware-linux firmware-linux-free firmware-linux-nonfree
Now i am about to install OpenBox as below:

$ sudo apt-get install openbox obconf obmenu
Will be back soon.

Alrighty, before i proceed i should make a few things clear. My aim has been to arrive at an optimal balance of minimum system resources and the advantages of the day-to-day conveniences that a full blown Desktop Environment provides. To that end i have chosen to have a standalone Window Manager instead of a Desktop Environment. My choices are dictated by my degree of comfort with the software, and not being an advanced user who is equally at home in any environment i have chosen OpenBox. If your preferences are Fluxbox or something else, then it's configuration shall be entirely up to you because i haven't the foggiest about it.
Before entering X i am going to install a graphical File Browser and Text Editor as without these two there's isn't any point of having a graphical environment at all, right? I have found that nothing beats xfe in a standalone Window Manager. Just tried out Thunar before i came here and trust me, without a DE it's practically useless and looks quite threadbare too. However the choice is entirely yours, there's loads of them out there, choose the one you prefer. Another thing, i have found having Synaptic Package Manager around very convenient, if nothing just to have a visual representation of the software i wish to look up, it's dependencies and to remove any "residual configs" after i uninstall a package. Advanced users may find this very amusing and even cause them to smirk but we noobs shouldn't worry about that, should we? So here goes:
$ sudo apt-get install synaptic xfe leafpad
Now lets run startx and enter the graphical environment we made for ourselves. What do you think, it's beautiful, ja? No it ain't but we will do something about that tomorrow, including deciding on a browser. At the end of this i hope to compile and upgrade to a newer kernel besides having all my multimedia needs met.

Good morning everybody, today i am going to rush through the tips i picked up over the years from my betters on how i get my basic configuration working without implementing them myself yet so that any newbie can get this thing on the road quickly.

To mount and open usb drives in xfe:
$ sudo apt-get install pmount usbmount
Since i do not have a Desktop environment, i do not have a default browser, i have found this 2 browser combo works for me;
$ sudo apt-get install qupzilla links2
Java and Flash for my browser;
$ sudo apt-get install default-jre flashplugin-nonfree flashplugin-nonfree-extrasound
To get sound and video just installing these 2 got me pulseaudio and VLC media player without having to install them separately;
$ sudo apt-get install pavucontrol vlc-plugin-pulse
To get a wallpaper i followed the Debian Openbox Wiki:

For autologin and automatic "startx":

To improve the quality of fonts for Qupzilla and my sparse and thrifty configuration:

To increase the default xterm font size to suit my poor vision i used Method 2 suggested by Serg here:

To modify the openbox menu and add applications i use regularly:
$ sudo leafpad /etc/xdg/openbox/menu.xml
I have been advised to use geany to edit the xml file and you might want to do that. I make do with leafpad. This is what mine's like:

<?xml version="1.0" encoding="UTF-8"?>

<openbox_menu xmlns=""
<menu id="root-menu" label="Openbox 3">
  <item label="Terminal emulator">
    <action name="Execute"><execute>x-terminal-emulator</execute></action>
  <item label="File Manager">
    <action name="Execute"><execute>xfe</execute></action>
  <item label="Text Editor">
    <action name="Execute"><execute>leafpad</execute></action>
  <item label="Volume">
    <action name="Execute"><execute>pavucontrol</execute></action>
  <item label="Blender3D">
    <action name="Execute"><execute>/home/sade/blender-2.75a-linux-glibc211-x86_64/blender</execute></action>
  <item label="Web browser">
    <action name="Execute"><execute>x-www-browser</execute></action>
  <item label="Package Manager">
    <action name="Execute"><execute>gksudo synaptic</execute></action>
  <item label="Reboot">
    <action name="Execute"><execute>gksudo reboot</execute></action>
  <item label="Shutdown">
    <action name="Execute"><execute>gksudo poweroff -i -f</execute></action>
  <!-- This requires the presence of the 'menu' package to work -->
  <menu id="/Debian" />
  <separator />
  <menu id="client-list-menu" />
  <separator />
  <item label="ObConf">
    <action name="Execute"><execute>obconf</execute></action>
  <item label="Reconfigure">
    <action name="Reconfigure" />
  <item label="Restart">
    <action name="Restart" />
  <separator />
  <item label="Exit">
    <action name="Exit" />


There, this is mostly all that i need to have my system up and running. The reason i am not implementing this yet is because i intend to compile and upgrade my kernel to the latest stable version 4.2 as shown by @m_yates in the Sticky here. Previous attempts had caused my pulseaudio and sound to stop working so i am going to hold off installing them, and also making any core system level changes like implementing the autologin i mentioned here, until later. Good luck.

Last edited by mzsade; 09-02-2015 at 11:56 PM.
Old 09-05-2017, 08:44 AM   #204
LQ Newbie
Registered: Feb 2014
Posts: 1

Rep: Reputation: Disabled
Debian Jessie with no gui

Hi there! This is my first post, apologize if should not be doing it here =S

I've been gazing though the tutorial and found out the @mzsade post, which is something I was thinking about when reading previous statements. Thing is I also installed Debian without a Desktop Environment, and indeed wanted to have a minimal look, not just for the sake of system resources, but for the sake of it =D I just like old-graphics-looking stuff, and no wallpaper.

I'd like to thank, in first place, and in a second placemente, I would like to suggest a sticky thread for non-gui instalations. I've found it quite difficult to find info, besides being a newcomer to the Debian world. Many posts and google results point to a GUI installation, and a virtual terminal, emulated in a DE.

I'd like to help, but so far I cannot but ask! =D



debian, setup

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Debian Post-Install Configuration macondo LinuxAnswers Discussion 5 12-11-2008 10:21 PM
(new to Debian) post install questions gugamare Debian 4 11-01-2005 09:01 AM
debian ugly post-install ssaady Debian 4 10-27-2005 06:02 AM
FC3 installation fails at post install configuration stage grstaker Fedora - Installation 8 06-20-2005 10:43 AM
RedHat 7.3 post install configuration LOCKS UP sput Linux - Distributions 7 07-19-2002 12:10 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration