Delete uneeded xorg drivers

Forums: 
Forum tags: 

I would like Bleachbit to be able to remove unneeded xorg log files:
"/usr/lib/xorg/modules/drivers/"

for example, I only need, and will never need anything else but my integrated Intel driver.
There is a ton of useless drivers that for my system I will never use.

Good idea. I see 5MB of drivers there on my Fedora 11 system. However this could be tricky to implement---especially for all Linux distro's. Please file here https://bugs.launchpad.net/bleachbit/+bug/ so it doesn't get lost

---
Andrew, lead developer

One of the big advantages of Linux distributions over windows is if your motherboard blows up. Yes completely dies. The Linux harddrive can more often then not be just plugged into another system and away you go again as if nothing happened if it was installed right. Of course it is depending on your distribution using UUID or Labels to mount drives you had to do nothing to location partitions.

Take away those drivers you just make the process of dead motherboard many times more painful. Same problem comes from building kernels with the bare min drivers.

Idea is fine until stuff goes wrong. Then you start wishing you never did it if you know about Linux nature to love hardware change. If you are a person from windows who thinks a computer failing to run on changed hardware you might not notice.

Now if you want to cut down your drivers uninstall what you are allowed by the system to uninstall. Defaults will leave behind like basic Vesa and a few other drivers to deal with any event of hardware dished up.

Paying 5 to 10 megs of disk space to make recovery simpler is wise.

Basically this is not a job for bleachbit. If your distributions packaging is wrong they should be correcting.

BleachBit provides options, and each user decides which are appropriate for him. If this were not a good system (options), then BleachBit wouldn't have any checkboxes.

A user who is skilled enough to swap his motherboard can also decide this is not a good idea for him. Personally I've installed Linux on ~50 machines and don't remember worrying about this situation.

If this feature is implemented, it would do it safely at least in the way to provide a fallback driver (Vesa).

---
Andrew, lead developer

All the combinations of video cards min driver set is about 5 megs. Vesa is not supported by all cards or in the case of some new intel cards it don't work dependable in vesa mode.

Be aware removing the X11 drivers alone is not the issue here. The Linux kernel can have detected and already loaded a framebuffer driver for the card so making Vesa driver non functional or unstable. To cut the X11 drivers down less does mean custom kernel as well to be sure not to need some of the drivers.

Basically the bare min most distribution package managers support is about right for all events including the provided kernel.

Dead motherboard is worse case. Dead video card is another. So you pull video card out you better still have the driver for the motherboard onboard. Problem here is lot of cases the motherboard onboard is disabled and bleachbit will not be able to see what driver it requires to work stable.

Swaping motherboard with most Linux distributions is a piece of cake no worse than removing a video card. Only have to watch out for closed source Nvidia and ATI drivers ie same issue as removing a video card. I have done the motherboard swap with Linux servers that are over 10 years old. Yes pushing things kernel more than due for a upgrade. Difference here is inside 1 hour I have the server back up and running as it was before compared to reinstalling.

Basically try moving one of your installs from one machine to another. You will see the importance in case of failure of what I am talking about. Of course everyone tries to fool themselves that failure will not happen to them.

IE the person asking for this was asking to remove the fallback drivers. Yes drivers. Its a no go unless you want todo major changes. Custom Linux kernel with cut back driver support is kinda key so vesa will not get disrupted by framebuffer drivers.

I have todo data recovery andrew. I am sorry people who come to me with a blown up computer never think that is going to happen to them. Some things like leaving the full set of fall back drivers in place make the process a lot simpler.

Personally I have lost count of Linux machines I have installed andrew. Largest was 100 machines in a single setup. You simply have not installed enough to know the importance of what I am talking about. Failure of hardware is always an option. How prepared for it you are says how much it will hurt.