Home / Diverse

Diverse


-comandă pentru tastatură: setxkbmap -layout "ro,ro" -variant "std,std_cedilla"
-pentru repararea problemelor la revenirea din suspendare
https://ubuntuforums.org/showthread.php?t=2182922&page=2&p=12826404#post12826404 

   sursă: http://ubuntuforums.org/showthread.php?t=2189117
 

-comenzi pentru Laptopul Lenovo http://askubuntu.com/questions/507470/wifi-not-working-on-ubuntu-14-04-lenovo-g-50-30
-pentru a adăuga aplicaţii în autostart în lubuntu
You need to add it to your start up applications

Code:
sudo leafpad ~/.config/lxsession/Lubuntu/autostart
sudo nano /etc/xdg/lxsession/Lubuntu/autostart
add a line to the bottom of that file

Code:
@compiz --replace
Press Ctrl-O then Enter to save then Ctrl-X to close nano.
(sursă), unde înlocuim „nano” cu „leafpad” dacă vrem să utilizăm editorul.

Instalare medibuntu
https://help.ubuntu.com/community/Medibuntu
sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list; sudo apt-get -q update; sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring; sudo apt-get -q update

Instalare gyachi:
scrie în terminal:
sudo add-apt-repository ppa:adilson/experimental
sudo apt-get update
sudo apt-get install gyachi
(sursă)



Setări pentru pidgin:
scs.msg.yahoo.com
sau mai nou
cs101.msg.mud.yahoo.com

Pentru scrierea unei imagini pe stic (preluat din http://en.opensuse.org/Live_USB_stick ):
 dd if=/cale/imagine.iso of=/dev/sdb bs=4M;sync



-(1007010906) Pentru a repara grub

sudo grub-install /dev/sda
sursă: https://help.ubuntu.com/community/Grub2/Installing#Reinstalling_GRUB_2_from_a_Working_System

http://incearca.ubuntu.ro/dual-boot/restaurare-grub/#grub2

sudo grub
find /boot/grub/stage1
care va scoate o ieșire de genul (hd0,0)
după care
root (hd0,0)
setup (hd0)
quit
Preluat din http://forum.ubuntu.ro/viewtopic.php?pid=43317#p43317 .


-(1010241630) Pentru a sincroniza Pidgin
ln -s /home/username/Dropbox/.purple /home/username/


un topic interesant
http://www.stiintaazi.ro/Forum/index.php?topic=2569.msg40756#msg40756  










Cursorul
Create file /etc/pm/sleep.d/99_mousecursor

#!/bin/sh

case "${1}" in
  hibernate)
    #nothing
    ;;
  resume|thaw)
    /bin/chvt 1
    /bin/chvt 7
    ;;
esac

--- >8 ---

Effectively this script changes virtual terminal to 1 and back to 7 (supposing that your X is running on VT7).
Of course, remember to chmod +x 99_mousecursor

-Repararea grub 2

Repararea lui Grub2

apt-get install --reinstall grub-pc

Pentru a vă asigura că grub a fost instalat pe disk-ul sau partiția corectă, rulați:

dpkg-reconfigure grub-pc

sursa: http://manual.aptosid.com/ro/sys-admin-grub2-ro.htm#grub2-files

-setări pentru ceas digital în lubuntu: %e%a%H:%M:%S      sau %a %d %b %R:%S
-
-setări keyboard ubuntu suspend: „ sudo modprobe -r psmouse;sudo modprobe psmouse ”
-sau mai general 

I too have had the same issue on my Dell Vostro V13 starting a week ago after an upgrade - my mouse was always slow to reload after a resume from suspend, but now it had stopped resuming altogether. After a combination of fixes, I settled upon the following that works for me (thanks to anxrc from Arch Linux forums for the motivation - he originally employed the bind/unbind trick for i8042 drivers, but that did not work for me):

Create a file /etc/pm/sleeps.d/71input-reset, and paste in it:

#!/bin/sh
#
# Reload the AT keyboard interface.

case "$1" in
        hibernate|suspend)
                rmmod psmouse
                ;;
        thaw|resume)
                modprobe psmouse
                ;;
        *)
                ;;
esac

Make it executable:

sudo chmod +x /etc/pm/sleep.d/71input-reset

and we're done! This reloads the psmouse module every time a resume occurs (unloads it during suspend, but that does not affect anything), and it does work :)     sursă: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/59867/comments/121





     RSS of this page

    Written by:   Version:   Edited By:   Modified

    Un contor din 31 martie 2010

    contoare                                        
    contoare