Debian Configuration :: Change Default Editor In Live Usb-hdd Creation?
Apr 29, 2011
Howto change default editor by live usb-hdd creation? Normally, I can change from the command line:# update-alternatives --config editorbut howto put it into live config?
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 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.
How can I change the default text editor for console programs in Ubuntu.When I run mutt and send a message, it currently loads up Joe and I would prefet to load Vim.I know I can change $EDITOR for me only, but would prefe to do it system wide.
I'm using Thunar, and I would like to know how to change the default text editor. It's set to emacs (due to a weird install), and I'd like it set to gedit globally.
How do I change the EDITOR environment variable so it stays changed? I already put a line
EDITOR=/bin/nano
in /etc/environment, and I also tried
sudo update-alternatives --config editor
to no avail; when I do gksu nautilus in Debian and open a config file I get abiword, and when I run the script "open as administrator" in Ubuntu I open Emacs if it is installed (I'd like to learn Emacs but not use it right away for simple editing tasks). How come? How can I make nano stick in all cases? I'll keep looking but have not yet found anything useful.
I want to change the default command line editor from vim to nano, so for example when I type "visudo", I want it to user nano. In Ubuntu this can be easily done by using "update-alternatives --config editor", but openUSE doesn't have an editor-option
After mapping iscsi storage from my netapp and scanning for new devices I run multipath -v2 to create the multipath device handle under /dev/mapping/. This normally takes about 2 seconds or less on every other linux distribution I use. On Stretch it takes a little over 3 minutes. I have tried several different versions of multipath.conf but the result is always the same.
My most recent multipath.conf file is available here : [URL] ....
and the output of multipath -v4 is available here : [URL] ....
I would like to set the default text editor in Xfce to gedit. The only solution that I found on Google was to right click on a given text file, select 'open with other application', sleect gedit, and make sure that the "use as default kind" button is checked. Unfortunately this only works for text files with the same extension as the original file. Is there a way of setting every text file to open with gedit by default that doesn't involve repeating this exercise for every possible text file extension (.c, .py, .h, .hs, etc.)?
I installed elog 2.9.2+2014.05.11git44800a72 on my Jessie system. When entering a new post just a simple plain text editing box is shown instead of the WYSIWYG editor, and no drag and drop area for attachments is shown. When I start the elog service with "systemctl start elog" I get this suspect message in the journal: "FCKedit NOT detected".
Indeed, I see that the elog installation creates a symlink which I guess is supposed to point to the fckeditor installation, which nevertheless is missing:
Code: Select allroot@static-3-080:/usr/share/elog/scripts# ll fckeditor lrwxrwxrwx 1 root root 15 Oct 25 2014 fckeditor -> ../../fckeditor root@static-3-080:/usr/share/elog/scripts# ll ../../fckeditor ls: cannot access ../../fckeditor: No such file or directory
I installed ckeditor 4.4.4+dfsg1-3 but his did not fix the problem. I'd say that either the elog package is broken or that it misses a dependency on a package providing FCKedit. Or maybe my system is misconfigured?
A week ago I opened this thread viewtopic.php?f=17&t=61580 in "Board index ‹ Help ‹ Installation" and asked for a moderator to move this to here. Because it hasnt happened up to know, I am reopening the thread here. It would be reeeeally great if somebody could help me with my problem!
I own two computers, one netbook and one laptop. I want to boot my netbook as a diskless client via PXE.I set up a dhcp-, tftp and nfs-server on my laptop but when i boot my netbook, the follwoing messages are displayed:(to make it more clear, i uploaded the whole output and shortened the output below)
I'm looking to customize the environment for new users by changing the items in the GNOME menu, change the panel layout, add some shortcuts, and do a few other things. I looked in /etc/skel and there doesn't seem to be anything GNOME related in there; I also tried to put .gconf, .gconfd and .gnome2 from my home directory into /etc/skel and that didn't do what I wanted.
I'm using CFEngine 2.2.8 to configure a network of Debian servers, the servers have two interfaces eth0 and eth1, how can I configure cfagent to take as the default interface eth1? eth0 is the internal interface and eht1 is the one with the public IP, I need to define classes based on lists of public IPs and it would be really helpfull if I could use functions as IPRange that only consider IP in eth0 interface.
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.
My problem is that I want newly created files to be 775 but they are 644 according to ls -l tho user that created can still write to file while other user in same group can't.
Current umask is 002.
Can't findout how to get newly created files to be 775. What should i do make all new files created by a user to be 775?
Does anyone here have experience with using the Debian Live Builder from HERE? Every time I attempt a build, it fails. I thought it strange that it didn't let me select 'amd64' under 'LB_ARCHITECTURE', 'testing' under 'LB_DISTRIBUTION', or multiple options under 'LB_LINUX_FLAVOURS'. Does anyone see what I might have done wrong?
Our network uses static ip's and I cannot get them to work with Debian live. In fact, when I reboot, it always goes back to "roaming". What am I doing wrong here?
I try to create squeeze live usb-hdd and try to add additional group using this script in config/chroot_local-hooks:#!/bin/sh # Give VIEW_USB access to the USB devices to allow USB redirection
VIEW_USB="/usr/lib/vmware/vmware-view-usb" if [ -x "$VIEW_USB" ]; then if [ -e /proc/bus/usb ]; then groupadd usb 2>/dev/null || : # Do not error if group already exists
When I am creating a user (say sandy) on my FC14 system, I find that the default permissions for her home directory (/home/sandy) are 700.Can I somehow set up my system so that these permissions are 711 in place of 700.
On a new Lenovo Thinkpad T450s, I encounter the following issue: The USB drive containing live CD image ("burned" to the USB using mkusb tool --> which in turn uses dd) cannot be booted from the UEFI boot loader. I have to reconfigure the hardware (BIOS) setup to support both UEFI & legacy system, and with first boot priority given to legacy (BIOS-style) booting. But if I do this, I don't see the UEFI system in the /sys/firmware/uefi directory. I am using the 64-bit live CD image (debian-live-8.0.0-amd64-xfce-desktop.iso).
This is my goal: to boot the live USB from UEFI, so that I can install it in a form that is UEFI-bootable.
I'd like to create my own custom Debian live CD — the idea being to have my own rescue CD with my favorite Debian tools installed. I read about bootcd and was going to give that a try, after creating the ideal system in a qemu virtual machine.
How much exactly can you install on a system so that bootcd can still fit it on a CD? I'm presuming there is some kind of compression involved. When I tried to create my VM, I coudln't get Jessie + LXDE to install onto a 2GB virtual drive (net install) so naturally I'm wondering what I'm going to be able to put on a 700MB CD.
I'm trying to boot Live Debian (on a usb stick) on a Dell XPS ('Developers Edition' aka 9343). From what I've read about the status of on this hardware [URL] and about Debian Live (https://www.debian.org/CD/live/) it sounds like this may be possible, but I haven't figured it out. I don't know how to deal with the bios &| uefi settings.
I created the boot stick with dd if=debian-live-8.3.0-amd64-mate-desktop+nonfree.iso of=/dev/sdd1 bs=4M; sync
I have been trying to build a Debian-live-version for some time using live-helper. It works fine if I choose lenny as distribution. With sid I always get into trouble.Sometimes live-helper does't find any aufs-modules but it stops looking for them if I keep the options as simple as above.What is the problem of live-helper's to build on sid or squeeze (which I have met similar troubles with)?
I've created Live Debian USB image and it works well, but if I put an additional USB stick, then it's just read only. Howto configure Live Debian before rebuild an image to get fully USB support, i mean to write into other USB drives?