SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.

   PastimesLinux OS.: Technical questions


Previous 10 Next 10 
From: FJB5/3/2014 3:04:10 PM
   of 477
 
Want to get rid of those annoying 1 pixel wide borders in Ubuntu? Here's how!

By borders I mean the edge of the window that you need to grab in order to resize it. I've always been annoyed by the default size being almost impossible to grab. Here's a way to fix it.

  • Open a terminal windowenter: cd /
  • enter: cd usr/share/themes/Ambiance/metacity-1/
  • enter: sudo vi metacity-theme-1.xmlenter password "saasbook"
  • VI will open in the terminal. Near the top is a section with name="frame_geometry_normal"
  • Look for these 3 tags
  • <distance name="left_width" value="1" />
  • <distance name="right_width" value="1" />
  • <distance name="bottom_height" value="1" />
  • Change the values to 8
  • Save and exit the file with wq


You will need to load a different theme and then switch back for the changes to take effect

Share RecommendKeepReplyMark as Last ReadRead Replies (2)


To: FJB who wrote (420)5/3/2014 4:01:31 PM
From: Greg from Edmonton
   of 477
 
Never bothered to learn vi or emacs. Just yuck. Nano is the terminal text editor that I use, simple and workable enough.

Share RecommendKeepReplyMark as Last ReadRead Replies (1)


To: Greg from Edmonton who wrote (421)5/3/2014 4:42:13 PM
From: FJB
   of 477
 
I learned to program over 20 years using vi. But never used it again after those first couple classes. I mostly use nano as my basic text editor in Linux. Have taken a couple of MOOCs that forced me to use emacs. Yes, yuck to vi and emacs...

Share RecommendKeepReplyMark as Last ReadRead Replies (1)


To: FJB who wrote (422)5/10/2014 3:05:14 PM
From: Thomas A Watson
   of 477
 
I've been doing vi forever, I use it often enough that I can do simple stuff quick. But mostly I use gedit. It's been around for years. It's a simple screen editor. Never bothered with nano.

For code editing I would love to get a working version of crisp. I had a uex license, but don't want to pay for an upgrade to get u13.10 campatible

I usually do not like kde apps, but the kate editor is a really nice code editor the colors the text. understands shell scripts.

And it seems to work on my fvwm2 window manager running on ubuntu 13.10

Share RecommendKeepReplyMark as Last ReadRead Replies (2)


To: Thomas A Watson who wrote (423)5/10/2014 3:34:48 PM
From: Thomas A Watson
   of 477
 
Oh gedit also colorizes code in u13.10.

Share RecommendKeepReplyMark as Last ReadRead Replies (1)


To: Thomas A Watson who wrote (423)5/10/2014 4:42:04 PM
From: FJB
   of 477
 
I use Sublime Text mostly. Looking forward to Atom from Github coming to Linux soon...

lifehacker.com

Share RecommendKeepReplyMark as Last Read


To: Thomas A Watson who wrote (424)5/30/2014 3:04:49 AM
From: FJB
   of 477
 
Here is a question for you Linux experts. So sometimes when I boot an Ubuntu machine up the resizing of windows behavior is completely different than normal. When I grab the edge or corner of a window it wants to increase the size in both directions when pulling from an edge, or in all four directions when pulling from a corner. As opposed to the window being anchored in the upper left hand corner and only expanding in the direction you are pulling it. So is there a setting for this? I don't like the behavior of the window expanding in multiple directions and I have no idea why this happens only sometimes, when I turn the machine on...

Share RecommendKeepReplyMark as Last ReadRead Replies (1)


To: FJB who wrote (426)6/2/2014 6:49:45 AM
From: Thomas A Watson
   of 477
 
I am guessing you are using gnome desktop. I am not sure of where they define the default mouse ops.
I have never used the gnome destop. I use some gnome apps withing the fvwm2 window manager.
below are some of the mouse bindings used on my ~/.fvwm/.fvwm2rc file.

If you are using a wireless mouse, It could be the battery is at end of life. Or some other mouse issue. Other than that it is a strange problem.

toms.homeip.net

# for the root window:
Mouse 1 R A Menu RootMenu Nop # this means a left mouse click anywhere on the open desktop is like hitting the start button in a windows OS.
Mouse 2 R A Menu Window-Ops Nop # middle button move close resize raise lower the window you next select.
Mouse 3 R A WindowList # full list of all apps running on all desks.

# for the title bar buttons:
Mouse 0 1 A Menu Window-Ops2 Close
Mouse 0 2 A Maximize-Func
Mouse 0 4 A Thumbnail

# for other parts of the window/borders/icons:
Mouse 1 F A Resize-or-Raise
Mouse 1 TS A Move-or-Raise
Mouse 1 I A Move-or-Iconify
Mouse 2 I A Iconify
Mouse 2 FST A Menu Window-Ops2 Nop
Mouse 3 TSIF A RaiseLower

Share RecommendKeepReplyMark as Last Read


From: Thomas A Watson7/4/2014 10:24:54 AM
1 Recommendation   of 477
 
mounting usb devices ubuntu 12.04

serverfault.com apt-get install usbmount
was supposed to get usb devices to automount. flash drive did.
but my easypix all in one card reader with sony memory stick pro did not mount
automatically.

then looked for sd card stuff
askubuntu.com

df showed no /dev/sdd1 mounted so I guessed it would be next used.

manually forcing the mount......

as root.

285 mkdir /mnt/stick
286 chmod 777 /mnt/stick/
287 mount /dev/sdd1 /mnt/stick

ls /mnt/stick
autorun.inf/ AVF_INFO/ DCIM/ MEMSTICK.IND* MISC/ MP_ROOT/ MSTK_PRO.IND*

DCIM is where sony camera stores image files.

tom@asus-i7[8]df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/loop0 17596475 9241854 8354621 53% /
udev 4068476 4 4068472 1% /dev
tmpfs 815528 1128 814400 1% /run
none 5120 0 5120 0% /run/lock
none 4077636 80 4077556 1% /run/shm
/dev/sda2 462170132 103801124 358369008 23% /host
cgroup 4077636 0 4077636 0% /sys/fs/cgroup
/dev/sdd1 479424 58784 420640 13% /media/usb0
/dev/sdd1 479424 58784 420640 13% /mnt/stick

Share RecommendKeepReplyMark as Last Read


From: Thomas A Watson7/6/2014 12:25:35 PM
   of 477
 
Needed to process csv files. tried bash shell script. and perl. for processing in perl

ubuntuupdates.org
sudo apt-get install libtext-csv-perl

This was for ubuntu 12.04 on my asus-i7 machine.

Share RecommendKeepReplyMark as Last ReadRead Replies (2)
Previous 10 Next 10