Uswsusp-git buttons for kde

Hi.
I would like to ask you for and advice. I recently changed my computer spec (from AMD X4-955 to I5-4670K), and i've been trying to bring lost funcionality of being able to suspend to ram and suspend to disk. I succesfully bring back suspend to disk with uswsusp-git, but i have two concerns that i would like to discuss and fix it:
-s2ram doesen't work at all. When turned on, computer switchs to "tty", and freezes, don't know how to diagnose. It is strange because on archwiki it's being written that it should work out of the box. In my case, it just doesen't (i have added uresume hook to mkinitcpio.conf)
-how to make KDE use s2disk with kde suspend/sleep buttons in K>CLOSE(END)>suspend/hibernate/log off, switch user and so on?
Could somebody help me? I don't know what to look foor, i google it around but haven't found an solution. I would show what i have in mind:
Screen 01:
http://imgur.com/5UzCONH
Screen 02:
http://imgur.com/J7oB6Zv
Screen 03:
http://imgur.com/W0XawKQ
Screen 04:
http://imgur.com/NfnOa73
As you can see, i want to be able to ude KDE sleep/hibernate buttons (screen 01/02) for s2disk/s2ram, but the only solution i was able to come up was the one from picture 03-04. I just added new item to menu, and created script in bash (#!/bin/bash and put there sudo and sleep). I would like to use sleep/hibernate buttons from K, not the one i created (screen 03-04).
Could somebody points me to a good direction? Also, why s2ram doesen't work?
Thanks.

topito wrote:
I have no idea how to do that but the options that appear under "Special buttons" seem to be here, well, not all but at least some of them...
/opt/kde/share/apps/kicker/menuext
thank you! i had a look at these files and what i found
X-KDE-Library=kickermenu_prefmenu
i don't really like ... X-KDE-Library? this seems to be compiled and the desktop-file just calls this "kickermenu_prefmenu" and others ... hmmm ...
*going to search for the codes in the cvs tree of kde*

Similar Messages

  • Question about building QT for KDE

    I'd like to build my own version of QT for KDE, and I noticed that the PKGBUILD in ABS checks out kde-qt git, creates a patch from 4.5.3 to 4.5.3-patched, then applies that patch to qt-4.5.3.  Is there some reason this is done instead of just building kde-qt 4.5.3-patched directly?  It seems to me it's the exact same thing.

    Nevermind, I figured it out.  Yes, it is the same thing, though it turns out I don't actually need to build qt anyway...

  • My safari menu bar is missing --the menu bar for desktop, HD, and apps appears, but when I click on Safari, it disappears, so I can no longer see my buttons for History, etc.  I think my husband (pc user) clicked it away.  Any ideas how to retrieve it?

    My safari menu bar is missing.  The menu bar for desktop, HD, and apps appears, but when I click on Safari, it disappears, so I can no longer see my buttons for History, etc.  I think my husband (pc user) clicked it away when borrowing my computer.  Any ideas how to retrieve it?  Thanks. 

    I too was having the same problem However, I could access both the menu bar and the dock by hovering my mouse over them so it wasn't a huge problem but I prefered having it there anyway. I was not in full screen mode and I could still go into full screen mode if I wanted to.  I found the easiest solution was to just quit safai and restart it, but it might not work for you considering you couldn't access you menu bar either way.
    I found this article that allows you to hide/show the menu bar and the dock through TextEdit (didn't work for me) http://www.mactricksandtips.com/2009/07/hide-the-menubar-or-dock-in-specific-app s.html It is pretty old so it might not work for lion and a bit risky if you don't know what you're doing so I wouldn't really recommend doing it this way.
    And KSheppard, I know it's not really any of my buisness, but the way to get answers to a question isn't by insulting others and being quick-tempered. Even if you feel like you were insulted first, don't try snapping at people who aren't obligated to help you. Honestly, it just makes everything easier if everybody is cooperative and polite.

  • How do I disable "Exceptions" button for "Block pop-up windows" in Content tab?. I am able to Disable other Exception buttons in this tab using about:config preference.

    Need a way to disable "Exception" button for "Block Pop-up windows" in Tools-> Options -> Content tab. I want to be able to do this for Locking Down Firefox preferences.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    That button doesn't have a pref associated with it, so you can't disable that button with a pref on the about:config page or a lockPref call.
    That only leaves the choice to remove that button with code in userChrome.css
    <pre><nowiki>#popupPolicyButton {display:none!important;}</nowiki></pre>
    See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

  • How do I create a submit button for my form? I would like it to send the completed PDF to an email address

    Hi everyone,
    I recently upgraded to Adobe XI and I can't find a "submit by email" button for my form. I created a button and tried to set up some actions but, I can only get the button to direct the user to a URL. How do I make it send the completed PDF to our designated company email address? I'm not too familiar with JAVASCRIPTS so I haven't tried that plus I heard it may not work with users with adobe reader.
    Any help would be appreciated.
    Thanks,
    Matt

    Thanks for the input. I think you might have a different version of LiveCycle than the copy I have since it looks a little different. However, I found the answer in Adobe help. I had to type "mailto:" before the email address to indicate it's an email and not a URL. See below.
    To collect form data as attachments to email, type mailto: followed by the email address. For example, mailto:[email protected]

  • I opened my iPod Touch up to fix my home button. When i closed it back up it had a white screen. I tried pressing lock and home button for 10 seconds and it worked but while i'm using it it goes white with lines on the screen. Help please

    I opened my iPod Touch up to fix my home button. When i closed it back up it had a white screen. I tried pressing lock and home button for 10 seconds and it worked but while i'm using it it goes white with lines on the screen. Help please. This has been happening for a while and i've tried everything but it doesn't work.

    Try:
    fix for Home button
    iPhone Home Button Not Working or Unresponsive? Try This Fix
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    You can do it an an Apple store by:
    Apple Retail Store - Genius Bar
    or sent it in to Apple. See:
    Apple - Support - iPod - Service FAQ
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • How to create buttons for each slide in slideshow

    I currently have a slideshow working with prev and next buttons,
    but would like to add numbered buttons for each slide at bottom of images,
    with a static number for the active slide that has a colored circle around that number.
    I can create static number with colored circle in Photoshop and add that to a layer,
    but it's labor intensive to do that for all numbers.
    Is there a better way to create the highlighted numbers for active slide?
    For numbered buttons that link to non-active slides, I can create numbers in Photoshop and import images into Flash,
    then convert to symbols and assign actions for them,
    But that too is labor intensive to do for all the numbers.
    Is there a better way to create numbered buttons for non-active slides?
    I'd also like to have a hover function on the numbered buttons,
    that changes from plain image of number to number with colored circle like I want to use for active slide.
    How do I assign a hover function to button symbol, that will load another image or symbol?

    Try to think in terms of having reusable symbols.  Think it thru before you try it.
    Use a movieclip symbol instead of a button.  Have a dynamic textfield in that movieclip for the number, and set the textfield to not be selectable.  Have one frame of this movieclip where it displays as the highlighted (selected) one and have the movieclip go there where you are on that slide.
    Use the textfield for the number--assign it dynamically so that you don't have to import an image for it.  Use as many of these movieclips as you need to for all your buttons.
    Have functions that reset all the buttons at once so that when you move to a new slide, the previously selected one goes back to mormal... follow that with setting the newly selected one to be in its "selected" frame.

  • Hot to remove button for a particular record in ALV lvc version

    Hi,
    i have created ALV using
    'REUSE_ALV_GRID_DISPLAY_LVC' function module, in which am displaying buttons in a colomn.
    Now i want to remove the button for few records based on some condition.How is it possible.
    Regards,
    Manoj.

    Hi Susan,
    Thanks for the reply.
    i have tried the same but still all the buttons are coming.
    please find the below code which i have written.
    TYPES: BEGIN OF ty_output, 
                  comm(50)   TYPE c,                 
                 order(14)  TYPE c,             
                 button      TYPE lvc_t_styl,
    end of gtyp_data1.
    data :lt_style   TYPE lvc_t_styl,
             ls_style   TYPE lvc_s_styl.
    *for the field catlog
    ls_fieldcat_lvc-fieldname = 'ORDER'.
    ls_fieldcat_lvc-scrtext_m = 'Order'.
    ls_fieldcat_lvc-tabname = c_out.
    ls_fieldcat_lvc-style = cl_gui_alv_grid=>mc_style_button.
    APPEND ls_fieldcat_lvc TO it_fldcat_lvc.
    loop at it_output INTO ls_output.
    clear ls_style.
        if ls_output-shortsr = 'HGR'.
          ls_style-fieldname = 'ORDER' .
          ls_style-style = cl_gui_alv_grid=>mc_style_button.
         APPEND ls_style  TO ls_output-button.
          ls_output-order = 'Order it Now'. 
       else.
          clear ls_style.
          ls_style-fieldname = 'ORDER' .
          ls_style-style = cl_gui_alv_grid=>mc_style_disabled.
          APPEND ls_style  TO ls_output-button.
       endif.
         MODIFY it_output FROM ls_output.
    ENDLOOP.

  • Update Button for every Row of Report

    hello,
    is it possible to get an update button for every row of a report?
    After clicking this button, only this row of the report should be updated.
    thanks in advance
    dave

    Create a hidden item on your page. Call it somehow - P1_KEY. Create other hidden fields
    for the rest of the columns you want to update. Create a link per report line. This link will be
    inserting the primary key of your record into P1_KEY and the other values you want to
    update in the other hidden fields. It will branch to the same page and contain a request - i.e. UPDATE_ROW. Then
    you create a process - On Load Before Header - which will
    take the value from your item P1_KEY and update the record
    in the database by setting the the column values to the
    values in your hidden fields. This process will fire upon
    request you specified. However, this way you will not be
    able to update your text areas, since you will not be able
    to transfer this over a link. Also you need to be carefull
    about special characters.
    Maybe there is a better proposal than this.
    Denes Kubicek

  • My iphone 4 wont turn on. it justr randomnly turned off and i have tried to hold the home and sleep buttons for a minute and also tried to put it into recovery mode but nothing is working?

    my iphone 4 wont turn on. it justr randomnly turned off and i have tried to hold the home and sleep buttons for a minute and also tried to put it into recovery mode but nothing is working?

    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...
    But... if the Device has been Modified... this will Not necessarily work.

  • My MacBook Pro 13in Mid-2010 won't start unless I hold the power button for about 10 seconds! Help Please!

    Hello.
    I have a MacBook Pro 13-inch (mid-2010):
    Processor: 2.66GHz Intel Core 2 Duo
    Memory: 4GB 1067 Mhz DDR3
    Running Mac OS X 10.7.2
    Yesterday I opened my computer (was sleeping as usual) and the screen just flasehed white and the computer powered off. The magnetic electricity thingy was connected and was green, so it was fully charged, and connected to the electricity.
    Since it powered off, I tried turning it on again, and again, one second after starting to boot up, screen flashed white and the computer powered off.
    I read somewhere I should hold down the power button longer, so I did, and it booted up. That's why I am able to write this. But every time I turn it off or put it to sleep, it does the same thing when I boot up.
    If I don't hold the power button for 10 seconds or so, the computer won't work.
    Then today, I did a backup of my entie hard drive, just in case. Later, I started using Excel, and about 1 hour after I was on it, suddenly it got really slow. Like I would click on a program like Safari, and it would take over 30-45 secs to start and be ready. And my computer is usually really fast!
    I went on the Internet again, started in safe mode, boot up with option+command+P+R to reset PRAM, and nothing worked. Then suddenly on one turn-off/turn-on (since I can't restart because the computer only starts if I hold the power button for 10 seconds), again it is working at normal speed.
    What can this be? Any ideas?
    I really appreciate your time and help in advance
    Gaby

    GabyBA wrote:
    I forgot to say I had already tried that as well. Just in case, I just tried it again and there was no change :S
    Are you running the Apple-supplied RAM? Have you run Apple Hardware Test? I don't know what else you've tried, but this may be time to do a fresh install of Lion if you have not done so since installing Lion.

  • How to use single button for different operations

    Hi
    I am using one button with image having 4 controls like left right up and down...
    How to use the single button for 4 different operations??
    Is there any way of defining hotspots on single button to do four different operations...
    Please have a look at the attached image, u can understand my problem better...
    Please let me know ASAP...
    Thanks and Regards
    Aruna.S.N.

    Here ya go:
    http://code.google.com/p/flexlib/wiki/ComponentList
    If this post answers your question or helps, please mark it as such.

  • How to create one Oprations button (Create Button Or CreateInsert Button )for all master And Detail block?

              hi
       I have master And Detail with 4 level ,I want to have on operations button for all block in data control .
      (similar to Oracle form toolbar)
    how to do it ?

    Well, if you tell us your jdev version and what exactly you try to do, without just telling us 'as in forms' we might be able to help.
    Most of us don't know how it's done in forms. So be specific when you describe your use case.
    Timo

  • How To Create On Submit Button For Master_detail Page ?

    I have adf page that is master And detail view.
    i want to have one submit button for master and detail block

    Duplicate of  How To Create On Submit Button For Master_detail Page ?
    Please don'r post your question multiple times.
    Timo

  • Is there a way to create a button for the tool bar that will View a page in "No Style'?

    I guess what I'm asking is...Is there a way to make a customized button for the toolbar that will allow me to change the view on a webpage to 'No Style' as listed under the view menu. If so, How can I do this?

    Try this add-on: <br />
    https://addons.mozilla.org/en-US/firefox/addon/custom-buttons/

Maybe you are looking for

  • Problem with forward reference

    Java requires that the declaration of a field must occur before its usage in any initializer expression, if the field is used on the right-hand side of an assignment in the initializer expression class NonStaticInitializers {      int sqSide = height

  • Bright white spot in ipad 3

    I am seeing a bright white spot on my ipad3 screen, it is very much visible in white pages, but not so much in black. Looks like a hardware problem. I purchased my ipad3 on day it was launched, and using it for almost 6 months now. Is it still covere

  • I teach a 3 yr old classroom on one of their ipads the setting icon has disappeared. How can I find it?

    my students play with 2 ipads in the classroom, one has lost the settings icon. I have tried to locate it, I swiped from left to right looking in all folders but cannot find it. Can any one help me?

  • Upgrade to OS 10.4 with SW coming from new Mac Mini (Intel duo core)

    Is it possible to upgrade my G4 PowerBook to the latest OS 10.4 and iLife06 with the SW provided and installed on new Mac Mini's with the Intel duo core? That would make purchasing a new Mac Mini a sweeter deal.

  • How to automatically decline contact requests?

    I had a creepy girl on Skype ask me if I wanted to see her camera and share dirty pics so I said no them blocked her. And that repeted 6 times. How would I set up Skype to where it automatically declines contact requests because I only add people tha