Tag Info

New answers tagged

0

After some debian updates. It works now as expected.


0

Create a file in your home dir called /home/$USER/.config/autostart/my_app.desktop with the following content: [Desktop Entry] Type=Application Exec=gksudo my_application Hidden=false NoDisplay=false X-GNOME-Autostart-enabled=true Name=my_app Comment=My comment Then login again.


0

You should use gksudo to start graphical apps with root rights.


0

Boot your machine with a live CD, mount your hard drive, chroot to your hard drive and change password. Reboot without the live CD, now your new password should give you access.


1

I see from this link that it is in wheezy-backports and sid, but not jessie, as you say. The version in sid appears to be quite a bit higher than I remember a couple of weeks ago. Most packages move to jessie automatically after 5 days, I think, so you could either wait for a bit or install from sid. The old version could have been removed from Jessie due to ...


0

The approach I would recommend is to route all your traffic through the VPN except SSH; this provides much more protection for your privacy and significantly reduces the risk of any personal information leaking. This approach has several separate components. Torrent client rtorrent is an excellent torrent client for running in a headless environment. Run ...


0

The solution in the end (inspired by @steeldriver) was to download this app from the play store because under Android KitKat you need to change the SELinux mode to permissive. A combination of that and apt-get install selinux-policy-default fixed the permission problems and LXDE now works great on my Sony Xperia Tablet Z


1

Scribus is an open-source desktop publishing program and the closest analogue to Publisher. It supports importing Publisher files in the development branch (that is, the next major release). LibreOffice Draw is also comparable. Its focus is as more of a vector graphics editor than a DTP tool, but it does have many DTP features too. It also supports ...


0

(Can't accept my own answer yet, nor can I unfortunately upvote Faheem for the pointer due to low rep - will do when possible) Faheem Mitha pointed me in the right direction, mentioning the mailing lists. I searched them and it turns out I just didn't know how Debian boots: the initrd.gz file is where all the stuff is, that gets loaded as the base system. ...


1

The default locale on Debian is in a UTF-8 encoding, at least since wheezy (I don't remember when it switched). So you must have chosen some non-default setting during the installation. putting export LANG=en_US.UTF-8 in my .bashrc file. That's not going to work, because .bashrc is the wrong file. An environment variable defined there only applies to ...


0

First, I am surprised that you are able to update Mint 15 to Debian 7.6. They after all are different distributions. I assume Debian made the decision to use ISO 8859.1 because you are located in Europe and answered some question to that effect regarding the locale.


0

../include/id3/id3lib_strings.h: In static member function 'static std::char_traits<unsigned char>::char_type* std::char_traits<unsigned char>::move(std::char_traits<unsigned char>::char_type*, const char_type*, std::size_t)': ../include/id3/id3lib_strings.h:87:72: error: 'memmove' was not declared in this scope ...


1

do I need to remember to edit the .bashrc file for every new user account that I create from now on to edit the export line in? The best idea in this case is to put it in a system wide file; first check to see if it's already being set somewhere: grep -R LANG /etc You may or may not want to change anything there. Gilles' answer probably has the ...


1

the problem appears to be that the output drivers of the players: (I'e tested vlc, draon player, kmplayer, kplayer, gzine, smplayr and gnome Mplayer, all have the same problem). The following two players, MVP and Totem with the xine backend work. They work becaue their output driver is set to using the old x11 driver. The same trick works with smplayer ...


0

It seems to me that you do not have a working driver for your wireless card. In that case your wireless interface will obviously not work. If you lack a working device driver, you will have to address that problem first. For this you will generally have find the model (and the revision number) of your wireless card. You could use lspci. Please post the ...


1

Try the following: set your desired value with amixer set Master [100 | any other value] or amixer set 'Master',99957 (as you have found out for yourself) then force store the setting of the volume control with alsactl store(make sure you are root)


-1

I have the same problem, I suppose we don't have nvidia legacy support in jessie. The packages disappeared after a recent upgrade.


1

The cause is hdparm, there is a bug in there that spins down the HDD in 3-5 sec when idle. This has been known in hdparm since 2012 and reported fixed. Now it causes the same problems in Debian Wheezy (for me it was Debian 7.6 and not before that initial upgrade to 7.6). Solution: check what level you power management is on (Advanced power management ...


1

Changing only MaxSpeed is not enough. I've changed MinSpeed from 1 to 20 and MaxSpeed from 1.75 to 40 and the touchpad is usable again.


4

Turns out the was fallout of an attempt to get coordinate scaling working better with external monitors. That was trying to fix to pointer speed changing if adding an external monitor changes the aspect ratio. It, however, apparently didn't work with a at least some devices and caused this bug.¹ Thus, they reverted the change, especially since it turned out ...


0

Problem was in fact in /etc/security/pam_mount.conf.xml. Following some tutorial I had inserted the line <volume user="*" mountpoint="/home" path="/dev/disk/by-uuid/d79121a7-5fbd-4484-81d2-6cbdf1b95b5e" fstype="crypt" options="fsck" /> My understanding was that user="*" was a regexp-like notation standing for “any user”. Turns out there is no such ...


-2

You have to change your /etc/sources.list to this (taken from here): deb http://http.debian.net/debian wheezy main deb-src http://http.debian.net/debian wheezy main deb http://http.debian.net/debian wheezy-updates main deb-src http://http.debian.net/debian wheezy-updates main deb http://security.debian.org/ wheezy/updates main deb-src ...


0

Thanks for the answers. I ended up solving the issue by changing the the folder owner to myself, using chown. This resulted in me not having to use sudo everytime I wanted to create/edit a file.


0

Debian squeeze is no longer current, so you can't expect recent versions of programs to be available for it. If you really need the openssl command line tool, you could recompile it, but do consider whether you really need that: there aren't that many new features. There are still security updates for squeeze, if that's what you're concerned about. If you ...


0

Why don't you create a shell script and do a su - openproject -c "your_shell_script" Be aware of the - before openproject. That will set the environment variables of openproject instead of your user environment variables.


1

Turns out I only needed to install chromium-inspector (not to be confused with chromium-browser-inspector) and chromium. For some reason it "fixed" the other dependencies. The procedure was the following: Export bookmarks to a .html file (via Chromium's Bookmark Manager) Backup configs (cp -r ~/.config/chromium BAK) apt-get purge chromium apt-get ...


1

You want to hold that package at it's current version. Make sure you have apt-mark installed. After installing chromium version 34, use this command apt-mark hold chromium Then rerun apt-get install -f


1

You need to run vim as root. sudo vim /var/www/file


1

You can enable and disable init scripts with update-rc.d on Debian. Use update-rc.d lightdm disable. The reason disabling graphical.target does not work is that lightdm has no knowledge of graphical.target. It is an init script and starts on all multi-user runlevels (2-5).


-1

Before I go too far, study the Pictorial Linux Timeline To understand the differences in Package Managers, you must understand the philosophies of the the OS'es pictured above Three Major Parents Redhat, Now Fedora - Package Manger - RPM, short for Redhat Package Manager, command line rpm Slackware - Package Manager - tgz, ordinary zipped files. ...


0

This is common problem in 64 bits for installing Skype First a downgrade is required and done with the following: create the 'preferences' file: sudo vi /etc/apt/preferences and insert the following lines: Package: * Pin: release a=precise* Pin-Priority: 2012 Pin-Priority must be greater than 1000. Then you may downgrade the offending ...


2

Sorry I am not able to comment yet. Try to run command :sudo -s by this you will login as root. Then, I guess, you can do whatever work you want to.


0

I found a way, but it feels dirty... :) So i'll leave this open and see if someone has a clean way. My solution is to modify inittab to run a script instead of sulogin and restore the old inittab from within the script. here is a 'cut and paste to the terminal' proof of concept version which i just used to compact some VM harddrives. But: Don't just try ...


0

I needed full version information on possible upgrades, so I used a modification of jasonwryan's answer: apt-get -V -u upgrade It's simple and IMO reasonably formatted output.


1

It's not supposed to work on apt-get upgrade. The reason is that it's not a straight-forward upgrade. In this case, apt has to remove package_a and install package_b for it to do an "upgrade", and apt will only do direct upgrades (new version of an installed package and any additional dependencies installed) when running apt-get upgrade. apt-get ...


0

There is a long thread here discussing how policykit-1 can break your system in Debian. I didn't read it all, but this (closed) bug report suggests that systemd-shim might be helpful. Running the following command allowed me to reboot the computer, although I'm unsure as to how functional policykit-1 is. sudo apt-get install systemd-shim policykit-1


1

So this issue is now followed here: https://github.com/yrutschle/sslh/issues/24 msw's answer might be exhaustive, but is also wrong: select() will block regardless of the socket's O_NONBLOCK status, that's basically what it's there for, and in fact code that uses blocking sockets when using select() is wrong. From Linux' select(2): "Under Linux, select() ...


0

Do you really care about the drive letter, or is your problem with mounting the filesystems on them correctly and consistently? If the latter is the case maybe use the UUID in /etc/fstab instead of a device entry. UUID can be found with blkid /dev/sd[a-z]* and regardless you may want to check the /dev/disk/by-id/ directory. I noticed that in my RHEL 6 ...


1

Use Persistent naming, instead of using /dev/sdX you can use /dev/disk/by-id/scsi-SATA_MODELNUMBER_XXXXXXXX


1

Your script doesn't work because ^ introduces a control character sequence. The two-character ^A stuffs a Ctrl+A character, which bash interprets as the command to go to the beginning of the line. You need to use \^ instead. screen -p 0 -S mc -X stuff 'cd ...


0

I do not have much space here to describe to you step by step a possible solution to this little problem, because my time is half gone ... but here I'll give you a link where you have all the information to solve this little problem take a peek and if possible then let us know if you managed to solve this ok! ... information to resolve the wireless drive on ...


0

Same issue for me. This issue is reported and confirmed http://code.google.com/p/chromium/issues/detail?id=378303


2

For what it concerns Ubuntu you can search to follow what in Portable installed system that boots in UEFI as well as BIOS mode. You can find instructions on how to make an installed system (typically in a USB pendrive) that works with UEFI and BIOS, and is small enough to work in an undersized 8 GB pendrive (7.8 GB). So in a 16 it will be large ;-) The ...


-3

This is by no means a complete or exhaustive answer - the posters before me already gave some very good points, I'd just like to add my 2 cents. Another thing - I never really got used to apt/dpkg. It always seemd over-complex to me, I'm really most comfortable with yum/rpm. pacman is very easy to use, which is a pro and a con - you can learn to use it ...


4

I believe you're looking for the update-ca-certificates command. That should not require any user input. However, you're installing the certificate in the wrong place; you want to put it in /usr/local/share/ca-certificates/; that is the directory for locally-added certificates and any added there are automatically trusted. If you really want to put it in ...


1

I think the important thing your build is missing is that on make install the Makefile honours the DESTDIR variable (which on packaging target should be something like ./debian/myprog). After the build, before the packaging, the library should be in myprog-1.1.0/debian/myprog/usr/lib not tmp. Just as reference: Following is a minimal working example and ...


2

apt-get install nodejs=0.10.29~dfsg-1 or alternatively apt-get install nodejs/testing will probably work, unless there are additional dependencies which need to be installed from outside your preferred source, here apparently stable. If there are, you will need to specify them on the command line as well.


0

It looks to me like this is supported by the testing/unstable firmware-realtek package. The following are listed in the contents. * Realtek RTL8188EE firmware (rtlwifi/rtl8188efw.bin) * Realtek RTL8188EU firmware (rtlwifi/rtl8188eufw.bin) Why not try that?


0

Simple, as the message reads you don't have the specified file or directory. Check this link, it is in Spanish, but the important part is apt-get install linux-headers-$(uname -r), which will install the headers, so that you can compile programs that reference those headers.



Top 50 recent answers are included