Skip to main content

iscrow 's Library tagged howto   View Popular

28 Nov 09

Xrandr detects resolution on monitor wrong - Ubuntu Forums

Here's how you can add additional resolutions besides the one xrandr detects from a display.

ubuntuforums.org/showthread.php - Preview

solution linux display video xorg reference howto

  • Re: Xrandr detects resolution on monitor wrong



    <!-- / icon and title -->




    <!-- message -->

    Quote:





    Originally Posted by Istonian
    View Post

    Anyone care to guide me through newmode? I am having problems




    use cvt to find the thing to put into new mode, ex cvt 1920 1080

    Youll get a output like

    Code:

    # 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
    Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync

    you@ll be interested in this

    Code:

     173.00  1920 2048 2248 2576  1080 1083 1088 1120

    Youll do

    Code:

    xrandr --newmode name  173.00  1920 2048 2248 2576  1080 1083 1088 1120

    then youll have to do

    Code:

    xrandr --addmode TMDS-1 name

    (if it is to TMDS-1 youll add this mode...



    Now youll have this new mode "name" for TMDS-1. Hope this points you in the right direction!
  • Re: Xrandr detects resolution on monitor wrong



    <!-- / icon and title -->




    <!-- message -->

    Quote:





    Originally Posted by Istonian
    View Post

    Anyone care to guide me through newmode? I am having problems




    use cvt to find the thing to put into new mode, ex cvt 1920 1080

    Youll get a output like

    Code:

    # 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
    Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync

    you@ll be interested in this

    Code:

     173.00  1920 2048 2248 2576  1080 1083 1088 1120

    Youll do

    Code:

    xrandr --newmode name  173.00  1920 2048 2248 2576  1080 1083 1088 1120

    then youll have to do

    Code:

    xrandr --addmode TMDS-1 name

    (if it is to TMDS-1 youll add this mode...



    Now youll have this new mode "name" for TMDS-1. Hope this points you in the right direction!
12 Nov 09

Bjoerns Homepage » Blog Archive » OpenWRT hotspot + bridged OpenVPN + roaming

With this document I want to describe how to set up a hotspot using an accesspoint running with OpenWrt.

www.bjoern-b.de/wordpress - Preview

openwrt wrt linksys openvpn vpn reference howto tutorial

29 Oct 09

limit bash script memory usage with ulimit

ulimit: "User limits - limit the use of system-wide resources."

ss64.com/ulimit.html - Preview

bash linux scripting howto reference programming

FLVTool2 Usage Examples Open Source Flash

Repairing duration data in FLV files with flvtool2


flvtool2 -UPs example.flv

Adds an onMetaData tag and prints out the onMetaData tag data, but doesn’t write updated information back (simulation mode).

flvtool2 -UDs example.flv

Adds an onMetaData tag and prints out debug information, but doesn’t write updated information back (simulation mode).

flvtool2 -CU -o 2000 example.flv

Cuts file after 2 seconds and writes it back to input-source.

flvtool2 -U example.flv stdout out.flv

Adds an onMetaData tag and redirects writing to out.flv. bn

cat example.flv | flvtool2 -U stdin out.flv

Takes example.flv input from stdin (piped in), adds a onMetaData tag and writes file to out.flv.

ffmpeg -i myvideo.mpg -f flv - | flvtool2 -U stdin myvideo.flv

Pipes the output of ffmpeg into FLVTool2, updates the stream with a onMetaTag and writes it to myvideo.flv (only works on Linux OS at the moment).

flvtool2 -U -duration:55.435 example.flv

Overwrites an existing metadata value using the -key:value switch. In this case the duration timestamp is modified.

osflash.org/flvtool2-usageexamples - Preview

flv flowplayer video web linux tool howto

  • FLVTool2 Usage Examples





    flvtool2 -UPs example.flv




    Adds an onMetaData tag and prints out the onMetaData tag data, but doesn’t write updated information back (simulation mode).




    flvtool2 -UDs example.flv




    Adds an onMetaData tag and prints out debug information, but doesn’t write updated information back (simulation mode).




    flvtool2 -CU -o 2000 example.flv




    Cuts file after 2 seconds and writes it back to input-source.




    flvtool2 -U example.flv stdout out.flv




    Adds an onMetaData tag and redirects writing to out.flv. bn




    cat example.flv | flvtool2 -U stdin out.flv




    Takes example.flv input from stdin (piped in), adds a onMetaData tag and writes file to out.flv.




    ffmpeg -i myvideo.mpg -f flv - | flvtool2 -U stdin myvideo.flv




    Pipes the output of ffmpeg into FLVTool2, updates the stream with a onMetaTag and writes it to myvideo.flv (only works on Linux OS at the moment).




    flvtool2 -U -duration:55.435 example.flv




    Overwrites an existing metadata value using the -key:value switch. In this case the duration timestamp is modified.

23 Oct 09

Adding a Global Group to the Local Administrators Group

  • There’s a Group Policy, called Restricted Groups, that provides a more elegant method for adding a global group to a local group. The Restricted Groups policy’s name doesn’t describe it very well. Even the Microsoft article at support.microsoft.com/kb/279301 doesn’t quite provide the whole story about Restricted Groups. Let’s look at how you can use Restricted Groups to add a global group to a local group.



    You can find this Group Policy under Computer Configuration/Windows Settings/Security Settings/Restricted Groups. Once you’ve navigated to the Group Policy Object (GPO), right-click it and choose Add Group from the context menu. Next, enter the name of the local group on the machine to which you want to add global groups. For our example, you’ll want to add to the local Administrators group. A new window will pop up that lets you add domain users or groups to the local group, which you can do by clicking Add in the Members of this Group section. I recommend referring to Figure A to keep the process straight as to which group goes where.



    Be sure to note which groups are already in the local group that you’re modifying because implementing the Restricted Groups policy will remove all groups and users from the list on the local machine. For example, the Domain Administrators global group is automatically added to the Local Administrators group when a machine is added to the domain. If you forget to add domain administrators to the Restricted Groups policy, domain administrators will be removed from the local Administrators group. At this time, I don’t know of a way to force the GPO to append additional users and groups to the original list; it’s strictly a replace operation. The next time that Group Policy is refreshed on the machine or the machine is rebooted, the list of users and groups in the local Administrators group will be replaced by the list in the Restricted Groups policy.

13 Sep 09

vlku.com » Django+Eclipse with Code Complete Screencast

set up the Eclipse IDE to do your Python and Django development with PyDev, complete with code complete, jump-to-code functionality and live breakpoints + code replace.

blog.vlku.com/...-with-code-complete-screencast - Preview

django python solution eclipse programming howto reference tutorial screencast del.icio.us

08 Sep 09

Bash Quoting | Linux Journal

Quoting things in bash is quite simple... until it isn't. I've written scripts where I'd swear 90% of the effort was getting bash to quote things correctly.

www.linuxjournal.com/...bash-quoting - Preview

linux howto bash tutorial reference solution scripting programming tips del.icio.us

Tech Tip: Get Notifications from Your Scripts with notify-send | Linux Journal

Notify-send is a great application for notifying you when an event has occurred. An event such as a script running to completion.

www.linuxjournal.com/...tions-your-scripts-notify-send - Preview

linux bash programming howto scripting tips del.icio.us

14 Aug 09

Remote debugging - debugging pesky server only bugs — The Uswaretech Blog - Django Web Development

You can put debug trace import pdb; pdb.set_trace() in your code, and put it on the server. When you access this view from your local browser, the debug is still hit and you have a debug shell on your server where you can step through. (Obviously this wor

uswaretech.com/...bugging-pesky-server-only-bugs - Preview

python django debug howto reference tutorial del.icio.us

1 - 20 of 313 Next › Last »
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo