Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Window Management Through Terminal

  1. #1
    Join Date
    Dec 2010
    Beans
    13

    Post Window Management Through Terminal

    So I've been using Ubuntu for just over a year now and I figured it was about time that I learned how to use the terminal. I learned some things but they're not that useful,I want to learn how to use the terminal like a windows manager. So if programs freeze and are unresponsive I can close them, or if the mouse stops working properly I can hot key the terminal open and solve the issue without restarting my computer.
    Thank You

  2. #2
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,807

    Re: Window Management Through Terminal

    Quote Originally Posted by theoreo25 View Post
    So I've been using Ubuntu for just over a year now and I figured it was about time that I learned how to use the terminal. I learned some things but they're not that useful,I want to learn how to use the terminal like a windows manager. So if programs freeze and are unresponsive I can close them, or if the mouse stops working properly I can hot key the terminal open and solve the issue without restarting my computer.
    Thank You
    RAISING ELEPHANTS

    and top, ps, kill

    you can man them or --help them or info them
    Feel Free to Bitcoin Tip: 135Rp4pwwYTHEJ4u8bxKaDQiC91N9LUoV2

    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  3. #3
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Window Management Through Terminal

    One to start with is a lot of fun:

    run

    Code:
    xkill
    in a terminal.

    Your mouse will turn into a cross. Click on a window titlebar(preferably an unimportant one) Boom! Window gone.

    Run:

    Code:
    top
    And see what's using up what. You can then kill programs by pressing 'k' and choosing the pid of the process.

    You can swap window managers in terminal:

    Code:
    <window manager here> --replace.
    Have a look at linuxcommand.org for extra stuff. Coding in BASH is a lot of fun. Particularly ones that crash your computer

    Also, learn a few good text editors, if you're into command-line fun-it will save you time long term:

    -nano Very simple, very fast.
    -gedit If you can't bear a command-line
    and the big daddy:
    -vi(m) Which is incredibly fast, but takes a bit of investment to learn.

  4. #4
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Window Management Through Terminal

    Errr...but most of the time it's faster to just click and drag, etc.

  5. #5
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: Window Management Through Terminal

    It doesn't hurt if you understand the basics of process management: http://mywiki.wooledge.org/ProcessManagement

    And htop so much cooler than top.

  6. #6
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Window Management Through Terminal

    just installed htop. Agree, but the colours are a bit garish.

    You might also want to know a little about how Desktop environments, X window system, and window managers all play together nicely. If you can, have a little play with compiz settings manager (any excuse!) and see if you can work out what it's doing.

  7. #7
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,807

    Re: Window Management Through Terminal

    ha i didnt even see the file management part, i only saw kill frozen apps.

    yeah +1 to all the above.

    Bash scripting

    https://help.ubuntu.com/community/Be.../BashScripting


    learning the terminal

    http://linuxcommand.org/
    Feel Free to Bitcoin Tip: 135Rp4pwwYTHEJ4u8bxKaDQiC91N9LUoV2

    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  8. #8
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: Window Management Through Terminal

    Quote Originally Posted by haqking View Post

    Unfortunately, our community documentation about Bash scripting, like most of the published books and on-line tutorials, is relatively poor.

    For beginners, I can only recommend Greg's Wiki (links in my sig) and http://wiki.bash-hackers.org/

  9. #9
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Window Management Through Terminal

    Although to be fair, once you know control structures, grep, sed, and awk, you probably know enough to make a fearsome BASH script. You just string basic commands together. If you want something more specialised, look up the command for it and add it.

  10. #10
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,807

    Re: Window Management Through Terminal

    Quote Originally Posted by sisco311 View Post
    Unfortunately, our community documentation about Bash scripting, like most of the published books and on-line tutorials, is relatively poor.

    For beginners, I can only recommend Greg's Wiki (links in my sig) and http://wiki.bash-hackers.org/
    ahh yeah it is pretty poor i guess.

    nice link, i will have a nice read of that, cheers
    Feel Free to Bitcoin Tip: 135Rp4pwwYTHEJ4u8bxKaDQiC91N9LUoV2

    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •