I have setup a VPS @ Strato with Linux Wheezy.Since I'am in the Netherlands I got a Dutch language package installed.I like to setup into englisch all the way.Via dpkg-reconfigure locales I have installed en_GB.UTF-8 UTF8 language packages and deïnstaled nl_NL.utf8
Generating locales (this might take a while)...
en_GB.UTF-8... done
Generation complete.
But a lot of the commands are still in Dutch like: h2458377:~# uitgelogd.And quite often I got:
-su: warning: setlocale: LC_ALL: cannot change locale (nl_NL.utf8)
How do I get ripped off this error?Just working with/on the command line
All my LC environment variables are currently set to POSIX at boot, though I can't find the startup script that does this. I've grepped through /etc/rcS.d and /etc/rc2.d but no luck. In /etc/default/locale, LANG is set to en_GB.UTF-8, which is my preferred locale. But this doesn't stop all the LC's being set to POSIX. Consequently, my dates follow the American convention, which I find hard to read.
I tried resetting with update-locale LC_TIME=en_GB.UTF-8. This changed all the locales to en_GB but only for the session. When I rebooted, everything went back to POSIX. The only change is that en_GB.utf-8 is now in the /etc/default/locale file as the value of LC_TIME as well as LANG.
I recently installed language packs for Japanese and changed my system language to it, too. The problem is, now that I try to go back to English, the locale doesn't change back, only the menus are in english. "Apply system wide" in the Language Support didn't do anything; Firefox is in japanese too. Here is my locale output:
Maverick 10.10 is unable to create Japanese locales on my wife's laptop (Acer Aspire 3000). This machine previously had no such problem. The install is a fresh install, since the machine froze during the upgrade (no fault of Ubuntu's). A possible complication is that it froze several times more during the install, and I have gone through many recovery boots and iterations of dpkg configure. All relevant packages are installed, I believe. Everything else works. Through System, Administration, Language Support, I have installed all components of English and Japanese. Currently English is selected. Japanese should appear in the list but does not. Japanese text appears properly, and I can write in Japanese,But all the menus are in English. Fine by me, but my wife will want Japanese when she uses the computer again (not soon).This mostly likely is a glibc/libc6 problem, as far as I can tell. I can't find any other Ubuntu user with this problem recently.And now, some outputs:1. dpkg-reconfigure locales
I want to ask a question regarding on the "locale" problem. I've searched a lot on Google, but I think there is no detailed information and logic explained this topic well. Someone may suggest use Preference->Administration->Language Support to add or change whatever language I want. I can't use this way beacuse:
1. I need try to push locale configuration to a lot of linux clients. 2. I want to know the detailed information of how to configure.
I have tried to find the most helpful page on the Internet and read some "man locale":
I installed Ubuntu for the ability to easily change the system wide locale and language settings.However I've noticed a strange thing when logging in to my account with Japanese set as the language. Although I'm using the default "Ambiance" theme, the folder icons in Nautilus and some other styling seem to change to a different (much uglier) theme. For example on the top panel the network connection icon also reverts to an blue computer screen icon from the other theme, although other icons on the panel and the rest of the styling remains as the correct theme!
I'm now back in English locale, and my theme is normal again. In fact I don't even see the ugly other theme in the theme selector window. I haven't noticed this problem using other languages such as French and Russian.It's only a stylistic theme, but it's really ugly and really bugging me. what might be going wrong?EDIT***********************Ok I just logged back in again using the Japanese locale in order to post a screencap, and of course the problem has vanished now! I already logged in and out a number of times earlier to see if it would solve the problem and it didn't
I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.
My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.
In accordance with directives - possibly misunderstood - I have reconfigured the Debian "locales" package; I changed the installed locale from en_US.ISO-8859-1 to en_US.UTF-8 and left the default locale for the system as "none". So far so good. In my ".bashrc" file, I have an entry for "LC_LANG".
If this entry is set to "en_US.ISO-8859-1" all my texts are readable on the console but I get warnings like: Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale If I change the LC_LANG entry to "en_US.UTF-8", I no longer get these warnings but the screen-display of Midnight Commander (mc) is a real mess. And even man-pages are no longer able to display hyphens (-) correctly.
Would someone please let me know how to change the default locale in Ubuntu 10.04. In System/Administration/Language Support both Language and Text have been set to English (Denmark).
/etc/default/locale entry is LANG="en_DK.UTF-8". /var/lib/locales/supported.d/locale entry is en_DK.UTF-8.
Yet locale command lists LANG=en_US.utf8, and all LC_ entries as "en_US.utf8". The machine has been reset many a time.
I have debian latest stable and have been using a geforce gfx card which has now failed.I have removed the gfx card and activated the on board gfx in bios and I can boot to the grub screen.The onboard gfx is on my i5 4600.After I select debian from grub I end up with a blank black screen and a small cursor in top left hand corner but I cannot type anything with this cursor. From this screen I can only ctrl+alt+del for reboot or physically turn off the pc.I think this is a driver issue but wouldnt debian just use a default gfx driver automatically in this situation so I would at least get to a console or desktop? If this is the case what is the process to enable the required driver? via rescue disk?Mobo is gigabyte GA z87 hd3 and im wondering if this might be something to do with uefi or similar?
Funny problem just began occurring in Debian Lenny.
If I use Konqueror to start Konsole (by pressing F4) and then run:
perl -le '{print "hello"}'
The result is:
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). hello
If I start Konsole directly, I do not receive any such errors.
I've an asuspro (more precisely the p2520la version) notebook with the fn+f5, fn+f6 buttons that should change brightness of the screen. But they don't work. For volume it's ok (fn+f11/f12), and if I go in the system settings I c an change manually the brightness (I use kde so there is a bar with which change it). But when I'm outside and the screen brightness is low I found difficult to find the menu settings and the hardware buttons would be better.I've tried adding to the kernel the "acpi_osi=" command but doesn't work.
I looked into my shell 'profile' on my running lenny and copied the PS1 definition over to my [virtual] new squeeze machine, but astoundingly, the prompt does not change!
The prompt always remains to be like this:${debian_chroot:+($debian_chroot)}u@h:w$
This does definitively not stem from 'profile' and I cannot find, where it is defined and how I can override this. If I do it interactively, in a terminal [terminal running in Gnome], it works like expected. In that script, even if I use 'unset PS1',followed by PS1= ... / export PS1, it does not change,Someone with the knowledge and/or a good idea would be great!
I'm trying to change the background for GDM3, but nothing happens. I have edit /etc/gdm3/greeter.gconf-defaults and /usr/share/gdm/greeter-config/20_debian and then dpkg-reconfigure gdm3 and invoke-rc.d gdm3 reload, but it still has a horrible, green background colour.
I am running a Debian server, but I have a problem with the locales, as I need to use the Danish letters I tried using dpkg-reconfigure locales, but it do not change the LC_* and LANG*, but it is set to POSIX How can I change the locales to da_DK_UTF-8?
I have three monitors, two Dells and an older LG all native at 1920x1080@60Hz and only recently installed Debian on this setup.
The LG is detected as running at 59.93Hz instead of 60Hz and this discrepancy appears to drive up the temperatures in my GPU constantly, even on idle, and introduces severe stuttering in any kind of graphical application.
I had the exact same issue with Windows 7 as well, but was able to fix it by changing the display settings of said monitor to 60Hz refresh, thereby returning the idle temps to normal and removing the stuttering.
My problem now is that I can't seem to change the refresh rate of this screen at all under debian.
xrandr -q returns that the monitor is running at 59.93Hz, but also shows 60Hz as available. xrandr --output DVI-I-1 --rate 60 appears to have absolutely no effect, it doesn't error but it also doesn't change the refresh rate.
Trying to add a new mode with 60hz and modeline obtained from cvt results in the following:
Code: Select allxrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync xrandr --addmode DVI-I-1 "1920x1080_60.00"X Error of failed request:Â BadMatch (invalid parameter attributes) Major opcode of failed request:Â 140 (RANDR) Minor opcode of failed request:Â 18 (RRAddOutputMode) Serial number of failed request:Â 41 Current serial number in output stream:Â 42
I've also tried to set the refresh rate through the proprietary nvidia driver and manually through xorg.conf, both to no effect;
Here's my current xorg.conf:
Code: Select allSection "ServerLayout"   Identifier   "Layout0"   Screen   0 "Screen0" 0 0   InputDevice  "Keyboard0" "CoreKeyboard"   InputDevice  "Mouse0" "CorePointer"   Option     "Xinerama" "0" EndSection
[Code] ....
The driver settings will show 60Hz but the listing for the monitor in the driver and xrandr will still show 59.93Hz. Saving the settings of nvidia-settings to .nvidia-settings-rc was equally fruitless.
The settings on the monitor itself also show it running at 60Hz, without an option to go down to 59.93Hz so I got no clue where that is even coming from.
What else to try, besides buying a new monitor, which I'm not quite prepared to do yet.
When I installed Debuntu i picked US as my country, and now when i try to change region/language/keyboard-layout to norwegian, Debuntu only suggests english. How can i install the Norwegian language pack to debuntu?
I got some trouble with suspending/hibernation using gnome or mate. None of them can suspend the T450 correcly neither to disk nor to ram. If I run pm-utils from a terminal pm-sleep and pm-hibernate work fine both. So I guess all I need is to change the commands which are run by clicking on the suspend or hibernate button, but how to change what is behind the GUI.
I have SSD drives without SCT support, because of this I want to tune /sys/block/device-name/device/timeout in order to force mdadm put these drives offline. So, I can see my drive like this:
Where can I tune /sys/block/device-name/device/timeout from 30 to 7 sec only for these drive? I don't want to use rc.local.
Can I create right udev rules for it in /etc/udev/rules.d?
I want to avoid any conflict with /lib/udev/rules.d.
Code: Select all# udevadm monitor --environment --udev monitor will print the received events for: UDEV - the event which udev sends out after rule processing
UDEV [9302.549485] add   /devices/pci0000:00/0000:00:01.2/0000:03:00.0/host0/target0:0:0 (scsi) ACTION=add DEVPATH=/devices/pci0000:00/0000:00:01.2/0000:03:00.0/host0/target0:0:0 DEVTYPE=scsi_target SEQNUM=5210 SUBSYSTEM=scsi
i have created a wordpress user with a symbolic link from his home (/home/wordpress) to /usr/share/wordpress but when wordpress ftps to wordpress home dir it does not follow the sym-link. is there a way to set default ftp dir for the wordpress user to /usr/share/wordpress rather than /home/wordpress?
How do I change amount of display Hertz in VC? I have a conjecture that it's not the same as in GUI (on my computer). Ubuntu 10.04, Gnome. if not Debian, but at least it's close.
how to change the default language of gnome.when i boot into x-window ,i can select the language ,But ,if boot into console ,via "startx" to run the w-window ,the language is english,i can't select .my native language is Chinese.i set the right locale .I also searched for it .Someone told to add "export LANG=zh_CN.UTF-8"to $HOME/.xinitrc.there's no this file in my home dicretion.I create it .after that,when i run "startx",it's failed to start x-window.the ~/.xsession-error file shows
Initializing gnome-mount extension seahorse nautilus module initialized Unrecognized number formatter: cjk-chinese-simp Unrecognized number formatter: cjk-chinese-simp
[code]...
how can i change the default language ,i have to .because if gnome is in English ,i can't run the Chines input method.
I'm trying to allow non-root account to use avrdude to program mucrocontrollers. There are many articles online about how to do that, but it seems not to work for me. Every time i try to execute avrdude it says "permission denied". Here's "$ udevadm info --name=/dev/bus/usb/002/011 --attribute-walk" says looking at device '/devices/pci0000:00/0000:00:1d.1/usb2/2-1':
However, after restarting udev, replugging the device, even rebooting the computer I still get "permission denied". The Vendor and Product match, so what's the problem?