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

 

 

 

Various questions after moving from Xubuntu

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
HyperHacker
Posts: 24
Joined: 2010-01-29 05:19

Various questions after moving from Xubuntu

#1 Post by HyperHacker »

I'm a programmer who's been using Xubuntu for nearly two years, and finally switched when 9.10 seemed to re-introduce a huge number of bugs and (as usual) break sound, and support was nowhere to be found... anyway I have a few questions about Debian.

1) One thing I notice is that the repositories seem to be missing a lot of packages/updates compared to Ubuntu. Many Pidgin plugins are not there, for example, and Transmission is out of date. I tried adding the Ubuntu repositories from the sources.list in my backup, and that seemed to not work out very well (suddenly 1500 updates that couldn't be installed), so I reverted it. Is there a way to get these additional/updated packages in Debian without it trying to turn into Ubuntu and breaking the update manager?

2) I use sudo often for editing config, testing programs that need root access, installing/removing packages, etc; is it a bad idea to add myself to the sudoers file? Having to open a separate "root terminal" window is a bit annoying, and I can't do that in text mode. (I like to mount my Truecrypt volumes in text mode, as TC seems to have trouble if you mount them from within X and then crash/restart X.)

3) Gnome seems to be rather lacking in customization, so I think I'd like to go back to Xfce. What's the best way to do that, that won't leave clutter or break things?

4) I have a crazy 10-button mouse (Logitech MX518) which worked in Xubuntu, but in Debian, button 10 is being read as another button 2. The mouse section in xorg.conf is the same, and I've tried adding Option "Buttons" "10". How to fix that?

5) Xfce has some nice window border themes such as Totem, but Compiz uses the setting from gnome-control-center, which can only see a few of them. Any way to use the others?

6) How to get Japanese characters to display? I only see boxes. A few things like quotes show up as boxes in 'screen' as well.

Maybe more to come (probably after getting Xfce installed). Thanks in advance.

refracta
Posts: 1234
Joined: 2008-10-26 01:46

Re: Various questions after moving from Xubuntu

#2 Post by refracta »

1) if you want newer software then you probably want either the testing flavor of debian or the unstable flavor
2) setup sudo or use su
3) debian leaves customization up to the user, you can have both install and select one on the login page
4) use a xorg.conf file that works
5) no idea
6) ???

User avatar
Absent Minded
Posts: 3464
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.
Been thanked: 3 times

Re: Various questions after moving from Xubuntu

#3 Post by Absent Minded »

I will try to offer some help with question # 1. there is a backport repository to update some of the things that have been updated since the release of the last stable. Debian has an 18month release cycle so things tend to get a bit old after a while. If you are interested in continually having more up to date packages you could concider using the testing branch. Things do break occationally though. It is however my experiance that testing is still more stable than ubuntu's final releases. Unfortunantly things getting out of date is the price one pays for stability from time to time.
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012

smallchange
Posts: 1740
Joined: 2009-05-04 15:56
Been thanked: 1 time

Re: Various questions after moving from Xubuntu

#4 Post by smallchange »

To get rid of gnome use aptitude purge on the most basic gnome libraries. I suspect that dpkg-reconfigure locales will allow you to select a japanese locale.

HyperHacker
Posts: 24
Joined: 2010-01-29 05:19

Re: Various questions after moving from Xubuntu

#5 Post by HyperHacker »

I don't want to switch everything to Japanese; I just seem to be missing East Asian fonts (Chinese and Korean I notice as well).

I do have backports set up, but there still seem to be some packages not present there (e.g. pidgin-awayonlock). Also it sounds like "apt-cache search foo" won't by default look at the backports? I might want to switch to a test version, but can I do that without downloading and running another install disc?

The xorg.conf is the same as in Xubuntu so I don't know why it's not working here. Everything else works, just that one button (which I use all the time in Compiz bindings) is not detecting correctly. :-/

Purging the basic Gnome libraries sounds like a bad idea... a lot of programs depend on GTK, Glib, etc. It looks like I can remove gnome-desktop-environment and install xfce4. Worth a shot...
...but I think I'd better wait for this stupid connection to speed up or it'll take forever :(
Last edited by HyperHacker on 2010-01-30 23:27, edited 1 time in total.

User avatar
62chevy
Posts: 1589
Joined: 2009-10-25 01:09
Location: West Virginia

Re: Various questions after moving from Xubuntu

#6 Post by 62chevy »

Read the testing release note first, it will save you a lot of headaches. If you you have nothing to lose on your partition then I would recommend using the debian-testing-i386-netinst.iso. Lenny and Squeese are to different animals and makes upgrading difficult at times.

Hope this helps.
Debian Buster

smallchange
Posts: 1740
Joined: 2009-05-04 15:56
Been thanked: 1 time

Re: Various questions after moving from Xubuntu

#7 Post by smallchange »

Gnome and GTK are not synonymous. Thankfully, I can install many things like wicd and not be forced to install all the bloated gnome libraries.

HyperHacker
Posts: 24
Joined: 2010-01-29 05:19

Re: Various questions after moving from Xubuntu

#8 Post by HyperHacker »

Is it possible to change repositories to get the latest test versions of things, without having to download the ISO? For some reason the installer wants to wipe my hard disk before beginning, which takes hours. :-/

blasicle
Posts: 36
Joined: 2010-01-20 17:20

Re: Various questions after moving from Xubuntu

#9 Post by blasicle »

HyperHacker wrote:I don't want to switch everything to Japanese; I just seem to be missing East Asian fonts (Chinese and Korean I notice as well).
For Japanese, install ttf-sazanami-mincho and ttf-sazanami-gothic.
For Chinese, ttf-arphic-uming.
For Korean, install ttf-unfonts.
(there might be others... these are the ones I use)
HyperHacker wrote:Is it possible to change repositories to get the latest test versions of things, without having to download the ISO? For some reason the installer wants to wipe my hard disk before beginning, which takes hours. :-/
You need to change your sources.list to point to "squeeze" or "testing", rather than lenny/stable. Then do a full-upgrade.
Make sure you know what you're getting into: http://www.debian.org/releases/
Enjoy!

HyperHacker
Posts: 24
Joined: 2010-01-29 05:19

Re: Various questions after moving from Xubuntu

#10 Post by HyperHacker »

You mean to replace all of "lenny" with "squeeze" like this?
deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 DVD Binary-1 20090905$

deb http://ftp.ca.debian.org/debian/ squeeze main non-free
deb-src http://ftp.ca.debian.org/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib

deb http://volatile.debian.org/debian-volatile squeeze/volatile main contrib no$
deb-src http://volatile.debian.org/debian-volatile squeeze/volatile main contrib

deb http://www.backports.org/debian lenny-backports main contrib non-free
I get some 404 errors from that:
# apt-get update
Ign cdrom://[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 DVD Binary-1 20090905-08:48] lenny Release.gpg
Ign cdrom://[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 DVD Binary-1 20090905-08:48] lenny/contrib Translation-en_CA
Ign cdrom://[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 DVD Binary-1 20090905-08:48] lenny/main Translation-en_CA
Ign cdrom://[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 DVD Binary-1 20090905-08:48] lenny Release
Ign cdrom://[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 DVD Binary-1 20090905-08:48] lenny/contrib Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 DVD Binary-1 20090905-08:48] lenny/main Packages/DiffIndex
Get:1 http://ftp.ca.debian.org squeeze Release.gpg [835B]
Ign http://ftp.ca.debian.org squeeze/main Translation-en_CA
Ign http://ftp.ca.debian.org squeeze/non-free Translation-en_CA
Get:2 http://ftp.ca.debian.org squeeze Release [89.5kB]
Get:3 http://security.debian.org squeeze/updates Release.gpg [835B]
Ign http://security.debian.org squeeze/updates/main Translation-en_CA
Ign http://security.debian.org squeeze/updates/contrib Translation-en_CA
Ign http://security.debian.org squeeze/updates/non-free Translation-en_CA
Get:4 http://security.debian.org squeeze/updates Release [44.6kB]
Hit http://www.backports.org lenny-backports Release.gpg
Ign http://www.backports.org lenny-backports/main Translation-en_CA
Ign http://www.backports.org lenny-backports/contrib Translation-en_CA
Ign http://www.backports.org lenny-backports/non-free Translation-en_CA
Hit http://www.backports.org lenny-backports Release
Ign http://www.backports.org lenny-backports/main Packages/DiffIndex
Ign http://www.backports.org lenny-backports/contrib Packages/DiffIndex
Ign http://www.backports.org lenny-backports/non-free Packages/DiffIndex
Hit http://www.backports.org lenny-backports/main Packages
Hit http://www.backports.org lenny-backports/contrib Packages
Get:5 http://security.debian.org squeeze/updates/main Packages [13.3kB]
Hit http://www.backports.org lenny-backports/non-free Packages
Get:6 http://security.debian.org squeeze/updates/contrib Packages [14B]
Get:7 http://security.debian.org squeeze/updates/non-free Packages [14B]
Get:8 http://security.debian.org squeeze/updates/main Sources [4209B]
Get:9 http://security.debian.org squeeze/updates/contrib Sources [14B]
Get:10 http://ftp.ca.debian.org squeeze/main Packages [6160kB]
Ign http://volatile.debian.org squeeze/volatile Release.gpg
Ign http://volatile.debian.org squeeze/volatile/main Translation-en_CA
Ign http://volatile.debian.org squeeze/volatile/contrib Translation-en_CA
Ign http://volatile.debian.org squeeze/volatile/non-free Translation-en_CA
Ign http://volatile.debian.org squeeze/volatile Release
Ign http://volatile.debian.org squeeze/volatile/main Packages
Ign http://volatile.debian.org squeeze/volatile/contrib Packages
Ign http://volatile.debian.org squeeze/volatile/non-free Packages
Ign http://volatile.debian.org squeeze/volatile/main Sources
Ign http://volatile.debian.org squeeze/volatile/contrib Sources
Ign http://volatile.debian.org squeeze/volatile/main Packages
Ign http://volatile.debian.org squeeze/volatile/contrib Packages
Ign http://volatile.debian.org squeeze/volatile/non-free Packages
Ign http://volatile.debian.org squeeze/volatile/main Sources
Ign http://volatile.debian.org squeeze/volatile/contrib Sources
Err http://volatile.debian.org squeeze/volatile/main Packages
404 Not Found [IP: 86.59.118.153 80]
Err http://volatile.debian.org squeeze/volatile/contrib Packages
404 Not Found [IP: 86.59.118.153 80]
Err http://volatile.debian.org squeeze/volatile/non-free Packages
404 Not Found [IP: 86.59.118.153 80]
Err http://volatile.debian.org squeeze/volatile/main Sources
404 Not Found [IP: 86.59.118.153 80]
Err http://volatile.debian.org squeeze/volatile/contrib Sources
404 Not Found [IP: 86.59.118.153 80]
Get:11 http://ftp.ca.debian.org squeeze/non-free Packages [100kB]
Get:12 http://ftp.ca.debian.org squeeze/main Sources [3399kB]
Fetched 9813kB in 5min44s (28.5kB/s)
W: Failed to fetch http://volatile.debian.org/debian-volat ... 6/Packages 404 Not Found [IP: 86.59.118.153 80]

W: Failed to fetch http://volatile.debian.org/debian-volat ... 6/Packages 404 Not Found [IP: 86.59.118.153 80]

W: Failed to fetch http://volatile.debian.org/debian-volat ... 6/Packages 404 Not Found [IP: 86.59.118.153 80]

W: Failed to fetch http://volatile.debian.org/debian-volat ... ce/Sources 404 Not Found [IP: 86.59.118.153 80]

W: Failed to fetch http://volatile.debian.org/debian-volat ... ce/Sources 404 Not Found [IP: 86.59.118.153 80]

[edit] OK, so removing "gnome-desktop-environment" and installing "xfce4" gets me... Gnome, but with a much slower startup and even buggier panels. What. Oh, and PulseAudio no longer works reliably.

User avatar
Absent Minded
Posts: 3464
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.
Been thanked: 3 times

Re: Various questions after moving from Xubuntu

#11 Post by Absent Minded »

Personally I think I would reinstall things using your desired DE as the install only takes mere minutes.
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012

higgins
Posts: 56
Joined: 2008-05-03 20:26
Location: Indiana, USA

Re: Various questions after moving from Xubuntu

#12 Post by higgins »

I get some 404 errors from that:
there is no volatile repo for squeeze

http://www.debian.org/volatile/
http://volatile.debian.org/debian-volatile/


how about some more information regarding "even buggier panels"

User avatar
izar
Posts: 1714
Joined: 2007-01-01 18:34
Location: Euskal Herria

Re: Various questions after moving from Xubuntu

#13 Post by izar »

Your sources.list file should look like this:

deb http://ftp.ca.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
Your present sources.list file has entries for the Lenny CD-Rom and for Lenny backports, so they should be commented out (add # to the beginning of the lines for those entries). As already pointed out get rid of the volatile lines.
Don't forget to do "aptitude update" after any changes to sources.list

HyperHacker
Posts: 24
Joined: 2010-01-29 05:19

Re: Various questions after moving from Xubuntu

#14 Post by HyperHacker »

Absent Minded wrote:Personally I think I would reinstall things using your desired DE as the install only takes mere minutes.
I might, but in my case the install takes over 8 hours. It insists on completely wiping the hard disk before beginning, and downloading all the updates on this connection also takes a while.
higgins wrote:how about some more information regarding "even buggier panels"
I have vertical panels, which had some issues to begin with - the window list would not use the full height available to it, and some of the notification icons became huge at times. Now, the clock is rotated (which would be nice, except it's using more space it doesn't need); the notification area icons have all become massive and only one shows at a time; the window list switches between one column and two randomly at various events (window focus changing, windows wanting attention, mouse movement over it), sometimes several times per second.

That's one of the reasons I want to go back to Xfce; its panels worked better in vertical mode and they (as with file manager, window manager, and desktop) generally had more customization options.

Don't mean to sound rude, was just a "wait, what?" reaction when I logged in again and still saw the Gnome DE. O.o

User avatar
Absent Minded
Posts: 3464
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.
Been thanked: 3 times

Re: Various questions after moving from Xubuntu

#15 Post by Absent Minded »

You "should" be able to avoid the hours and hours of wiping done when formating if you use the expert/advanced install instead of the standard install. For the most part you can just accept the defaults suggested by the expert/advanced install and just make changes to the partitioning process.
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012

HyperHacker
Posts: 24
Joined: 2010-01-29 05:19

Re: Various questions after moving from Xubuntu

#16 Post by HyperHacker »

Alright, now I'm annoyed. It's now been over two weeks since I had a working OS, and a good few days trying to make Debian work. Not even proprietary OSes have ever given me this much grief.

I modified my sources.list as above, and let it update. That broke both X and apt. X would not start because of some sort of dependency error (what?) and apt would not install anything because of another dependency error.

So I reinstalled, using the "testing" DVD. Then I went to install the nvidia driver, because without it, nothing works - even text mode is garbage once it's tried to load.

Now, on Ubuntu, this is one command: sudo apt-get install nvidia-glx-185. On Debian, there's an entire page detailing all these methods talking about building custom kernels and source packages and all this... what is this, Gentoo? The best part is, suddenly, none of them work.

Module-assistant fails, giving such unhelpful messages as "build failed". The other steps are basically either a) do the exact same thing manually (guess what, "build failed") or b) install the kernel sources (dependency error), compile your own kernel, and then do the same thing as above.

After struggling with that for several hours, I gave up and just tried adding the Ubuntu repos and installing nvidia-glx-185 from those. Guess what, dependency error. So I have no graphics at all. Or I can go back to Ubuntu and have no sound. Or I could reinstall a THIRD time, using the "stable" DVD again, and have horribly outdated software. This seems more than a little ridiculous.

Why is Debian's package management such a pain compared to Ubuntu? One command to install anything you need, usually the latest version. That was pretty nice. It should not take this long to get critical system components working. (This goes for you too, Ubuntu guys - sound is arguably critical to a desktop PC as well.)

BTW, I was able to cancel the disk wipe, but the downloading and installing packages still takes several hours, and still pauses partway through (inevitably just after I've left) to ask for information. So it took all day even without that step.

I appreciate the help here, but gah! It's been over two weeks since my computer has worked properly, ever since I "upgraded" Ubuntu. And I am not buying yet another video card just because of software issues - heck, after ATI and nVidia, what's left? It all worked perfectly on 9.04, why can't it now? And why do my choices seem to be either "very outdated" or "not even finished testing"? Just the latest stable versions, is that such an unusual thing to want?

refracta
Posts: 1234
Joined: 2008-10-26 01:46

Re: Various questions after moving from Xubuntu

#17 Post by refracta »

HyperHacker wrote:Why is Debian's package management such a pain compared to Ubuntu?
cause debian sucks....just cant compare to ubuntu...
It all worked perfectly on 9.04, why can't it now?
why the freak dont you use 9.04 then
Just the latest stable versions, is that such an unusual thing to want?
try mint...that is ubuntu with extra junk...

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: Various questions after moving from Xubuntu

#18 Post by craigevil »

For nvidia take a look at smxi Literally takes 2 minutes to download it run and have nvidia up and running.

For xfce4 you can just do aptitude install xfce4 , if you do not want gnome (who does?) aptitude purge gnome*

Might want to install the recommends and suggests.
Suggested packages:
thunar-archive-plugin thunar-media-tags-plugin xfprint4
Recommended packages:
libxfce4util-bin xorg tango-icon-theme aumix xinput xfwm4-themes

Ubutnu uses a lot of metapackages for things like multimedia and drivers that Debian doesn't, Ubuntu also includes non-free drivers.

Debian is more of a geek distro where as *buntu tries to just have things work. But once you get Debian the way you like it you will never look back.

You might even try sidux it has a kde4 and a xfce install cd, and it takes about 5 minutes to install. sidux is based on Debian sid so it has newer packages than stable.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

User avatar
nadir
Posts: 5961
Joined: 2009-10-05 22:06
Location: away

Re: Various questions after moving from Xubuntu

#19 Post by nadir »

you gave two examples of outdated packages in lenny: transmission and pidgin.
pidgin in backports is version: 2.6.4.1
pidgin in testing is version: 2.6.4.1
plugins for pidgin in testing and stable look pretty similar to me (at least both are 30):
pidgin-plugins-stable
pidgin-plugins-testing

transmission in lenny backports is version: 1.7.6.1
transmission in tesing is version: 1.7.7.1

i for one wouldn't consider that being worth any trouble. but then: i'm not a programmer. :wink:

sidux might be a choice. i agree.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.

User avatar
nadir
Posts: 5961
Joined: 2009-10-05 22:06
Location: away

Re: Various questions after moving from Xubuntu

#20 Post by nadir »

ps:
when upgrading from lenny to testing check this:
http://forums.debian.net/viewtopic.php?f=16&t=48996
and, of course, adding ubuntu-repos/debs/etc, is not a good idea.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.

Post Reply