I want to use themes from Gnome Art, but I can't find where to configure Control/Window Border/Icons
in Ubuntu 12.04.
Xiè Jìléi's questions
Can I have different screen savers on different monitors?
I have three monitors configured as:
[Desktop]---Main Board ---- Monitor 1
|
|- VGA Card - Monitor 2
|
`- VGA Card - Monitor 3
Mainly I'm working with Monitor 2, and I want the screen saver turn off Monitor 1, 3 for 30 minutes timeout. And turn on each monitor when mouse in.
I want to get a stat of packets/bytes from/to each IP in the network.
Wireshark is too heavy for me, and tcpdump has no stat function.
vnstat seems not aware of IP address at all.
Any choice?
Sometimes, I didn't remember what keys had I pressed, occasionally switched a text box to right-to-left layout. Well, maybe this is a very useful feature for Arabic users, but I just don't know how to switch back to left-to-right layout.
(P.S. In MS Windows, there's a text direction option in the right button menu for the text box. However, in Linux (GNOME Classic) I didn't see any.)
I'm used to GNOME Classic and personally don't want to change to anything else, but it seems there is no more GNOME Classic in the Oneiric release. After apt-get installed gnome-session and all, though there comes back the GNOME Classic option in the session listbox, however, after logged in, it seems not the expected one.
There is no System menu in the top bar, and I couldn't customize panels at all. I want to change the appearance(theme), but I can't find Appearance menu at all. And much more differences to my previous experience of GNOME classic shell.
There are multiple valid answers for this question spanning over several versions of Ubuntu. For your convenience an index of each below:
For example, when I type following command,
echo line | (cat >/dev/null; vi)
even wrapped in another shell,
sh -c 'echo line | (cat >/dev/null; vi)'
and returned from Vim, now it won't display carriage return any more.
How can I do to make it again display the new lines? (Without exit.)
Each time I changed and saved .config/user-dirs.dirs
, and after restarted the system, the XDG_DOWNLOAD_DIR
are reverted:
diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs
index 8f6e2db..dcff34e 100644
--- a/.config/user-dirs.dirs
+++ b/.config/user-dirs.dirs
@@ -7,11 +7,9 @@
#
XDG_PUBLICSHARE_DIR="$HOME/public"
XDG_TEMPLATES_DIR="$HOME/public/template"
-
XDG_DESKTOP_DIR="$HOME/private/desktop"
XDG_DOCUMENTS_DIR="$HOME/private/doc"
XDG_PICTURES_DIR="$HOME/private/picture"
XDG_MUSIC_DIR="$HOME/private/music"
XDG_VIDEOS_DIR="$HOME/private/video"
-
-XDG_DOWNLOAD_DIR="$HOME/var/downloads"
+XDG_DOWNLOAD_DIR="$HOME/"
How to make my changes permanent?
I've once programming with Keil C51, and later I found sdcc/uCsim is more elegant for me (though Keil C51 do optimization better), so I don't need Keil C51 anymore, and now I'm heavy relied on uCsim to do unit tests. Now I'm start to develop with ARM, however, sdcc doesn't support ARM. I've tried uVision which is very popular among my friends, but I want Ubuntu alternative. I can work smoothly with Makefile, so I don't need the IDE. uVision has a lot of predefined chipsets, I'm afraid they won't be included in GCC. My question is: is there any ARM compiler for Ubuntu, with a rich chipset support? And, is there any light-weight ARM VM like uCsim, so I can do unit test in ARM development?
Currently I'm trying to convert an Audio CD to ogg(s) using asunder
, however, the encoding used in the CD (GB2312) is different to the current X session's (UTF-8):
I tried to use a different one, but C library seems not support it:
$ LANG=zh_CN.GB2312 asunder
(process:19031): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(... and the same screenshot ...)
P.S. I have installed the language-pack-*-zh, and the encoding GB2312 is supported by iconv:
$ iconv --list | grep GB2312
CSGB2312//
GB2312//
(I guess C library doesn't use iconv, however.)
Maybe I missed something?
Is it possible to setup user environ before any user shell and X session?
I mean, X sessions won't read /etc/profile
, .profile
at all. And user shells won't read /etc/X11/*
at all. I want to set such environ vars that both Eclipse IDE and Maven CLI will see them. I know I can make an eclipse.sh wrapper, so everything can be executed from a shell, but I want to know whether this question is possible.
I want a small running bicycle (maybe an animation GIF) on the desktop, to remind me focus on work and work hard, can I?
It can be embedded in a small window, but it's better to remove the surrounding window border.
It's even better if it supports GIF-89a animation, so I can customize it whatever I want.
Say, I have foo-1.2.3.deb
which depends on perl
and python
, however, running command:
dpkg -i ./foo-1.2.3.deb
won't install these dependencies. So I must apt-get install perl python
by hand.
How to make dpkg -i
install these dependencies for me automatically?
Possible Duplicate:
How do I switch to the Classic GNOME Desktop?
How to revert to GNOME Classic?
I don't like both of Unity and Gnome 3, but I can't find the classic one either, after installed Gnome 3.
The only choices are:
Fluxbox
Gnome shell
Recovery mode
User defined session
So how to get back the classic session?
I was running Maverick very fluently, before I upgraded to Natty. However, the display performance seems fall down. For example, zoom desktop is very well in Maverick, but very slow in Natty.
I think it's caused by Unity. So I installed Gnome 3, using the source deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu natty main
.
After installed Gnome 3, unfortunately it runs in fallback mode, and said maybe my graphics hardware is not supported.
$ lspci |grep -i vga
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)
Should I have to upgrade my graphics card? The card is bought 2 years ago, though.
Each time apt-get
tries to process triggers for shared-mime-info, it reports warnings like:
...
Processing triggers for shared-mime-info...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'interface/x-winamp-skin'
I've checked /usr/share/mime-info
but doesn't see any of them:
/usr/share/mime-info$ grep 'url/rtspu' *
(Got nothing)
So, how to clean up my system so it won't report these unknown media types?
I'm trying to install Gnome3 for Natty, using the source deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu natty main
, however the following error:
$ sudo apt-get install -f
...
Unpacking replacement gnome-games-common ...
dpkg: error processing /var/cache/apt/archives/gnome-games-common_1%3a3.0.0- 0ubuntu1~build1_i386.deb (--unpack):
trying to overwrite '/usr/share/gnome-games-common/cards/bonded.svg', which is also in package gnome-games-extra-data 2.30.0-1ubuntu1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/gnome-games-common_1%3a3.0.0-0ubuntu1~build1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I can't sudo apt-get remove gnome-games-common
, neither gnome-games-extra-data
, before fixed the above problem:
$ sudo apt-get remove gnome-games-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
aisleriot : Depends: gnome-games-common (>= 1:3.0.0-0ubuntu1~build1) but it is not going to be installed
glchess : Depends: gnome-games-common (>= 1:3.0.0-0ubuntu1~build1) but it is not going to be installed
glines : Depends: gnome-games-common (>= 1:3.0.0-0ubuntu1~build1) but it is not going to be installed
gnect : Depends: gnome-games-common (>= 1:3.0.0-0ubuntu1~build1) but it is not going to be installed
gnibbles : Depends: gnome-games-common (>= 1:3.0.0-0ubuntu1~build1) but it is not going to be installed
gnobots2 : Depends: gnome-games-common (>= 1:3.0.0-0ubuntu1~build1) but it is not going to be installed
gnome-mahjongg : Depends: gnome-games-common (>= 1:3.0.0-0ubuntu1~build1) but it is not going to be installed
gnome-sudoku : Depends: gnome-games-common (>= 1:2.32.1-0ubuntu5) but it is not going to be installed
gnomine : Depends: gnome-games-common (>= 1:3.0.0-0ubuntu1~build1) but it is not going to be installed
gnotravex : Depends: gnome-games-common (>= 1:3.0.0-0ubuntu1~build1) but it is not going to be installed
gnotski : Depends: gnome-games-common (>= 1:3.0.0-0ubuntu1~build1) but it is not going to be installed
gtali : Depends: gnome-games-common (>= 1:3.0.0-0ubuntu1~build1) but it is not going to be installed
iagno : Depends: gnome-games-common (>= 1:3.0.0-0ubuntu1~build1) but it is not going to be installed
lightsoff : Depends: gnome-games-common (>= 1:2.32.1-0ubuntu5) but it is not going to be installed
quadrapassel : Depends: gnome-games-common (>= 1:3.0.0-0ubuntu1~build1) but it is not going to be installed
swell-foop : Depends: gnome-games-common (>= 1:2.32.1-0ubuntu5) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I'd like to just overwrite the existing file /usr/share/gnome-games-common/cards/bonded.svg
, can I?
I have set up 3x3 workspace switcher, and I want my position to be on the central one by default. Is it possible?
I use Ctrl-P very frequently to scroll backward in the command history, but I often mistype it as Mod4-P, which is bound to the switch display function.
I've searched around Keyboard shortcuts and CompizConfig, etc., but I couldn't find where Mod4-P is bound. What controls that?
When I dput -f myhost foobar_x.x.x.changes
, it successful uploaded the package, but produced the following warnings:
foobar has no source override entry
foobar has no binary override entry either
How can I specify the source/binary overrides, and/or just suppress the warnings?
I'm using mini-dinstall
as the backend aptitude repository manager.
I want to patch on Trac package. I know how to patch and rebuild the package, but there are some things I don't understand very well.
My patch is something dangerous and not likely to commit back to the community. So, let me just say, it's a very private patch. But, I want my patch keep working when the Ubuntu packages upgrade. (Should I apt-get source trac
and move my patch to the new version of source directory each time the Trac
upgrades?)
I see there is a patch/
directory (many using quilt
I guess) in debian/
, but I don't know how to use it? Will debuild
automatic apply all patches in the patch/
directory? And what about dpkg-buildpackage
? Is there some environ variables to control the selection of patches to apply?