LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Blogs > drask
User Name
Password

Notices


  1. Old Comment

    Displaylink display

    Well, I finally decided that I could use it to host a KVM Virtual Machine that I was running as root anyway. So now I run the client in full screen on the extra monitor. I found that I could not make the mouse enter all areas of the screen. There was an odd rectangular block that the mouse could not enter. It appears that this is an odd x2x problem so I switched to using x11vnc and x2vnc. Still no luck sharing a clipboard between the two displays.

    # DISPLAY=:2 x11vnc -nofb -rfbauth /root/.vnc/passwd

    # x2vnc localhost:0 -west
    Posted 12-06-2013 at 03:43 PM by drask drask is offline
  2. Old Comment

    Wheezy annoyances

    sudo issues

    I was able to resolve my sudo issues by adding a line to my sudoers file. Just below the line "Defaults env_reset" at the top of the file should be:

    Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

    This is probably in the replacement sudoers file which I blew past in the upgrade process opting to keep my own rather than adding the repository version or examining the differences since there has never been a reason to in the past when running updates. I guess in the future I need to remember to look for the diffs in all of these configuration files when upgrading.
    Posted 05-29-2013 at 08:11 AM by drask drask is offline
    Updated 05-29-2013 at 08:20 AM by drask
  3. Old Comment

    Wheezy annoyances

    I ended up installing MATE and using that for the primary desktop. Gnome 3 Classic mode still felt really slow and bloated, and LXDE was hard to configure the way I wanted it for dual monitors. MATE is not quite as snappy as LXDE, but it works well and is familiar. I have a second user with the desktop set to LXDE for use on a single monitor.

    I was still getting problems connecting to wireless in MATE, but not in LXDE. Apparently this is an issue with gnome-keyring. I did
    $ sudo vi /etc/xdg/autostart/gnome-keyring-pkcs11.desktop
    and changed the "OnlyShowIn" line from
    OnlyShowIn=GNOME;Unity;
    to
    OnlyShowIn=GNOME;Unity;MATE;
    and now it seems happy again.
    Posted 05-29-2013 at 08:07 AM by drask drask is offline
  4. Old Comment

    Why does my answering machine want to know what year it is?

    If it only announces the day of the week then the year isn't needed.

    If it announces the day of the month then the year can let it know if there are 29 days in February.
    Posted 05-25-2012 at 06:00 PM by TracyTiger TracyTiger is offline
  5. Old Comment

    Netgear WG311 PCI Wireless Network Adapter on Ubuntu 9.10 Karmic Koala

    Thanks sir,
    Your post is very useful, i have just followed your post and successfully installed Netgear WG311 PCI Wireless Network Adapter in my Ubuntu 9.10 Desktop computer.
    i also give additional commands for inserting kernel module and to be loaded each time of booting the computer

    code :
    sudo modprobe ndiswrapper

    sudo ndiswrapper -m
    Posted 01-03-2010 at 09:26 AM by ramesh24 ramesh24 is offline
  6. Old Comment

    #howmany for grub 2

    Here is the full text of my /etc/grub.d/10_linux file:

    Code:
    #! /bin/sh -e
    
    # grub-mkconfig helper script.
    # Copyright (C) 2006,2007,2008,2009  Free Software Foundation, Inc.
    #
    # GRUB is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    #
    # GRUB is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with GRUB.  If not, see <http://www.gnu.org/licenses/>.
    
    prefix=/usr
    exec_prefix=${prefix}
    libdir=${exec_prefix}/lib
    . ${libdir}/grub/grub-mkconfig_lib
    
    echo "libdir=$libdir";
    
    if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
      OS=GNU/Linux
    else
      OS="${GRUB_DISTRIBUTOR}"
    fi
    
    # loop-AES arranges things so that /dev/loop/X can be our root device, but
    # the initrds that Linux uses don't like that.
    case ${GRUB_DEVICE} in
      /dev/loop/*|/dev/loop[0-9])
        GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
        # We can't cope with devices loop-mounted from files here.
        case ${GRUB_DEVICE} in
          /dev/*) ;;
          *) exit 0 ;;
        esac
      ;;
    esac
    
    if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
        || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
        || [ "`grub-probe -t abstraction --device ${GRUB_DEVICE} | sed -e 's,.*\(lvm\).*,\1,'`" = "lvm"  ] ; then
      LINUX_ROOT_DEVICE=${GRUB_DEVICE}
    else
      LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
    fi
    
    # add crashkernel option if we have the required tools
    if [ -x "/usr/bin/makedumpfile" ] && [ -x "/sbin/kexec" ]; then
        GRUB_CMDLINE_EXTRA="$GRUB_CMDLINE_EXTRA crashkernel=384M-2G:64M,2G-:128M"
    fi
    
    linux_entry ()
    {
      cat << EOF
    menuentry "$1" {
            recordfail=1
            if [ -n \${have_grubenv} ]; then save_env recordfail; fi
    EOF
      if [ "x$3" = "xquiet" ]; then
        cat << EOF
    	set quiet=1
    EOF
      fi
      save_default_entry | sed -e "s/^/\t/"
      prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/"
      cat << EOF
    	linux	${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro $2
    EOF
      if test -n "${initrd}" ; then
        cat << EOF
    	initrd	${rel_dirname}/${initrd}
    EOF
      fi
      cat << EOF
    }
    EOF
    }
    
    list=`for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* ; do
            if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
          done`
    
    found="0";
    
    if [ "x${GRUB_HOWMANY}" = "x" ] || ! [ "x`echo ${GRUB_HOWMANY} | sed 's/^[0-9]\+\(\.[0-9]\+\)\?$//'`" = "x" ] ;then
    	GRUB_HOWMANY=0
    fi
    
    while ( [ "x$list" != "x" ] && ( [ "${GRUB_HOWMANY}" -eq "0" ] || [ "$found" -lt "${GRUB_HOWMANY}" ] )); do
      found=$((found + 1));
      linux=`version_find_latest $list`
      echo "Found linux image: $linux" >&2
      basename=`basename $linux`
      dirname=`dirname $linux`
      rel_dirname=`make_system_path_relative_to_its_root $dirname`
      version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
      alt_version=`echo $version | sed -e "s,\.old$,,g"`
      linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
    
      initrd=
      for i in "initrd.img-${version}" "initrd-${version}.img" \
    	   "initrd-${version}" "initrd.img-${alt_version}" \
    	   "initrd-${alt_version}.img" "initrd-${alt_version}"; do
        if test -e "${dirname}/${i}" ; then
          initrd="$i"
          break
        fi
      done
      if test -n "${initrd}" ; then
        echo "Found initrd image: ${dirname}/${initrd}" >&2
      else
        # "UUID=" magic is parsed by initrds.  Since there's no initrd, it can't work here.
        linux_root_device_thisversion=${GRUB_DEVICE}
      fi
    
      linux_entry "${OS}, Linux ${version}" \
          "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_EXTRA} ${GRUB_CMDLINE_LINUX_DEFAULT}" \
          quiet
      if [ "x${GRUB_DISABLE_LINUX_RECOVERY}" != "xtrue" ]; then
        linux_entry "${OS}, Linux ${version} (recovery mode)" \
    	"single ${GRUB_CMDLINE_LINUX}"
      fi
    
      list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
    done
    Posted 12-05-2009 at 10:36 PM by drask drask is offline
  7. Old Comment

    Restoring the KRDC menu

    thanks, did not know that and mine was set to MenuBar=Disable

    However, if you bookmark a site that you logged into often but change the password, KRDC will try to log you in with old password each time. I tried to delete bookmark, and the bookmark the remote pc again, but alas, still keeps old password.

    Do you know of way to change this?

    Thx though for above tip.
    Posted 07-17-2009 at 08:20 AM by Soo-Zah Soo-Zah is offline
  8. Old Comment

    Restoring the KRDC menu

    Thank you sir. This is exactly what I was looking for.
    Posted 03-24-2009 at 01:41 PM by djeepp djeepp is offline

  



All times are GMT -5. The time now is 06:42 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration